From d330a791d922494fabd0ee801e9ffa1fbf999d9a Mon Sep 17 00:00:00 2001 From: cloud-java-bot Date: Fri, 12 Dec 2025 02:32:39 +0000 Subject: [PATCH 01/26] chore: Update generation configuration at Fri Dec 12 02:32:32 UTC 2025 --- generation_config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generation_config.yaml b/generation_config.yaml index 7913092ff..3468b8502 100644 --- a/generation_config.yaml +++ b/generation_config.yaml @@ -1,5 +1,5 @@ gapic_generator_version: 2.64.2 -googleapis_commitish: b32495a713a68dd0dff90cf0b24021debfca048a +googleapis_commitish: 05f65958eb7f2a8bc59db87ad40487f0fb093097 libraries_bom_version: 26.72.0 libraries: - api_shortname: logging From e74ce35812e2f002f705f3038ff3f75e98c080e6 Mon Sep 17 00:00:00 2001 From: cloud-java-bot Date: Sat, 13 Dec 2025 02:30:27 +0000 Subject: [PATCH 02/26] chore: Update generation configuration at Sat Dec 13 02:30:20 UTC 2025 --- .github/workflows/hermetic_library_generation.yaml | 2 +- generation_config.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/hermetic_library_generation.yaml b/.github/workflows/hermetic_library_generation.yaml index 8c3df5194..5b7d12af2 100644 --- a/.github/workflows/hermetic_library_generation.yaml +++ b/.github/workflows/hermetic_library_generation.yaml @@ -37,7 +37,7 @@ jobs: with: fetch-depth: 0 token: ${{ secrets.CLOUD_JAVA_BOT_TOKEN }} - - uses: googleapis/sdk-platform-java/.github/scripts@v2.64.2 + - uses: googleapis/sdk-platform-java/.github/scripts@v2.65.0-rc1 if: env.SHOULD_RUN == 'true' with: base_ref: ${{ github.base_ref }} diff --git a/generation_config.yaml b/generation_config.yaml index 3468b8502..4b8bc910e 100644 --- a/generation_config.yaml +++ b/generation_config.yaml @@ -1,5 +1,5 @@ -gapic_generator_version: 2.64.2 -googleapis_commitish: 05f65958eb7f2a8bc59db87ad40487f0fb093097 +gapic_generator_version: 2.65.0-rc1 +googleapis_commitish: 8f3e57f09707aeea497c82ba9fa96092c4d67d1c libraries_bom_version: 26.72.0 libraries: - api_shortname: logging From 6db22945a7e497552dcc562b7005dad967d55862 Mon Sep 17 00:00:00 2001 From: cloud-java-bot Date: Sat, 13 Dec 2025 02:32:47 +0000 Subject: [PATCH 03/26] chore: generate libraries at Sat Dec 13 02:30:50 UTC 2025 --- .kokoro/presubmit/graalvm-native-a.cfg | 2 +- .kokoro/presubmit/graalvm-native-b.cfg | 2 +- .kokoro/presubmit/graalvm-native-c.cfg | 2 +- .../reflect-config.json | 63 +++ .../google/logging/v2/BigQueryDataset.java | 112 ++--- .../logging/v2/BigQueryDatasetOrBuilder.java | 8 +- .../google/logging/v2/BigQueryOptions.java | 90 ++-- .../logging/v2/BigQueryOptionsOrBuilder.java | 4 +- .../com/google/logging/v2/BucketMetadata.java | 145 +++--- .../logging/v2/BucketMetadataOrBuilder.java | 4 +- .../com/google/logging/v2/CmekSettings.java | 178 +++----- .../logging/v2/CmekSettingsOrBuilder.java | 20 +- .../logging/v2/CopyLogEntriesMetadata.java | 143 +++--- .../v2/CopyLogEntriesMetadataOrBuilder.java | 4 +- .../logging/v2/CopyLogEntriesRequest.java | 128 ++---- .../v2/CopyLogEntriesRequestOrBuilder.java | 8 +- .../logging/v2/CopyLogEntriesResponse.java | 90 ++-- .../v2/CopyLogEntriesResponseOrBuilder.java | 4 +- .../logging/v2/CreateBucketRequest.java | 150 +++---- .../v2/CreateBucketRequestOrBuilder.java | 12 +- .../logging/v2/CreateExclusionRequest.java | 199 ++++----- .../v2/CreateExclusionRequestOrBuilder.java | 28 +- .../google/logging/v2/CreateLinkRequest.java | 178 +++----- .../v2/CreateLinkRequestOrBuilder.java | 20 +- .../logging/v2/CreateLogMetricRequest.java | 128 ++---- .../v2/CreateLogMetricRequestOrBuilder.java | 8 +- .../google/logging/v2/CreateSinkRequest.java | 198 ++++----- .../v2/CreateSinkRequestOrBuilder.java | 28 +- .../google/logging/v2/CreateViewRequest.java | 150 +++---- .../v2/CreateViewRequestOrBuilder.java | 12 +- .../logging/v2/DeleteBucketRequest.java | 168 +++---- .../v2/DeleteBucketRequestOrBuilder.java | 24 +- .../logging/v2/DeleteExclusionRequest.java | 168 +++---- .../v2/DeleteExclusionRequestOrBuilder.java | 24 +- .../google/logging/v2/DeleteLinkRequest.java | 154 +++---- .../v2/DeleteLinkRequestOrBuilder.java | 20 +- .../logging/v2/DeleteLogMetricRequest.java | 112 ++--- .../v2/DeleteLogMetricRequestOrBuilder.java | 8 +- .../google/logging/v2/DeleteLogRequest.java | 98 ++-- .../logging/v2/DeleteLogRequestOrBuilder.java | 4 +- .../google/logging/v2/DeleteSinkRequest.java | 168 +++---- .../v2/DeleteSinkRequestOrBuilder.java | 24 +- .../google/logging/v2/DeleteViewRequest.java | 126 ++---- .../v2/DeleteViewRequestOrBuilder.java | 12 +- .../google/logging/v2/GetBucketRequest.java | 168 +++---- .../logging/v2/GetBucketRequestOrBuilder.java | 24 +- .../logging/v2/GetCmekSettingsRequest.java | 168 +++---- .../v2/GetCmekSettingsRequestOrBuilder.java | 24 +- .../logging/v2/GetExclusionRequest.java | 168 +++---- .../v2/GetExclusionRequestOrBuilder.java | 24 +- .../com/google/logging/v2/GetLinkRequest.java | 154 +++---- .../logging/v2/GetLinkRequestOrBuilder.java | 20 +- .../logging/v2/GetLogMetricRequest.java | 112 ++--- .../v2/GetLogMetricRequestOrBuilder.java | 8 +- .../google/logging/v2/GetSettingsRequest.java | 168 +++---- .../v2/GetSettingsRequestOrBuilder.java | 24 +- .../com/google/logging/v2/GetSinkRequest.java | 168 +++---- .../logging/v2/GetSinkRequestOrBuilder.java | 24 +- .../com/google/logging/v2/GetViewRequest.java | 126 ++---- .../logging/v2/GetViewRequestOrBuilder.java | 12 +- .../com/google/logging/v2/IndexConfig.java | 115 ++--- .../logging/v2/IndexConfigOrBuilder.java | 4 +- .../java/com/google/logging/v2/IndexType.java | 16 +- .../com/google/logging/v2/LifecycleState.java | 16 +- .../main/java/com/google/logging/v2/Link.java | 208 ++++----- .../com/google/logging/v2/LinkMetadata.java | 145 +++--- .../logging/v2/LinkMetadataOrBuilder.java | 4 +- .../com/google/logging/v2/LinkOrBuilder.java | 24 +- .../google/logging/v2/ListBucketsRequest.java | 162 +++---- .../v2/ListBucketsRequestOrBuilder.java | 20 +- .../logging/v2/ListBucketsResponse.java | 118 ++--- .../v2/ListBucketsResponseOrBuilder.java | 4 +- .../logging/v2/ListExclusionsRequest.java | 162 +++---- .../v2/ListExclusionsRequestOrBuilder.java | 20 +- .../logging/v2/ListExclusionsResponse.java | 118 ++--- .../v2/ListExclusionsResponseOrBuilder.java | 4 +- .../google/logging/v2/ListLinksRequest.java | 162 +++---- .../logging/v2/ListLinksRequestOrBuilder.java | 20 +- .../google/logging/v2/ListLinksResponse.java | 119 ++--- .../v2/ListLinksResponseOrBuilder.java | 4 +- .../logging/v2/ListLogEntriesRequest.java | 220 ++++----- .../v2/ListLogEntriesRequestOrBuilder.java | 36 +- .../logging/v2/ListLogEntriesResponse.java | 118 ++--- .../v2/ListLogEntriesResponseOrBuilder.java | 4 +- .../logging/v2/ListLogMetricsRequest.java | 120 ++--- .../v2/ListLogMetricsRequestOrBuilder.java | 8 +- .../logging/v2/ListLogMetricsResponse.java | 118 ++--- .../v2/ListLogMetricsResponseOrBuilder.java | 4 +- .../google/logging/v2/ListLogsRequest.java | 212 ++++----- .../logging/v2/ListLogsRequestOrBuilder.java | 36 +- .../google/logging/v2/ListLogsResponse.java | 100 ++--- .../logging/v2/ListLogsResponseOrBuilder.java | 4 +- ...stMonitoredResourceDescriptorsRequest.java | 98 ++-- ...edResourceDescriptorsRequestOrBuilder.java | 4 +- ...tMonitoredResourceDescriptorsResponse.java | 118 ++--- ...dResourceDescriptorsResponseOrBuilder.java | 4 +- .../google/logging/v2/ListSinksRequest.java | 162 +++---- .../logging/v2/ListSinksRequestOrBuilder.java | 20 +- .../google/logging/v2/ListSinksResponse.java | 119 ++--- .../v2/ListSinksResponseOrBuilder.java | 4 +- .../google/logging/v2/ListViewsRequest.java | 120 ++--- .../logging/v2/ListViewsRequestOrBuilder.java | 8 +- .../google/logging/v2/ListViewsResponse.java | 119 ++--- .../v2/ListViewsResponseOrBuilder.java | 4 +- .../google/logging/v2/LocationMetadata.java | 90 ++-- .../logging/v2/LocationMetadataOrBuilder.java | 4 +- .../java/com/google/logging/v2/LogBucket.java | 191 ++++---- .../google/logging/v2/LogBucketOrBuilder.java | 8 +- .../java/com/google/logging/v2/LogEntry.java | 419 ++++++++---------- .../google/logging/v2/LogEntryOperation.java | 106 ++--- .../v2/LogEntryOperationOrBuilder.java | 4 +- .../google/logging/v2/LogEntryOrBuilder.java | 48 +- .../com/google/logging/v2/LogEntryProto.java | 61 +-- .../logging/v2/LogEntrySourceLocation.java | 106 ++--- .../v2/LogEntrySourceLocationOrBuilder.java | 4 +- .../com/google/logging/v2/LogExclusion.java | 160 +++---- .../logging/v2/LogExclusionOrBuilder.java | 8 +- .../java/com/google/logging/v2/LogMetric.java | 345 +++++++------- .../google/logging/v2/LogMetricOrBuilder.java | 44 +- .../java/com/google/logging/v2/LogSink.java | 281 ++++++------ .../google/logging/v2/LogSinkOrBuilder.java | 24 +- .../java/com/google/logging/v2/LogSplit.java | 98 ++-- .../google/logging/v2/LogSplitOrBuilder.java | 4 +- .../java/com/google/logging/v2/LogView.java | 230 ++++------ .../google/logging/v2/LogViewOrBuilder.java | 28 +- .../google/logging/v2/LoggingConfigProto.java | 339 +++++++------- .../logging/v2/LoggingMetricsProto.java | 82 ++-- .../com/google/logging/v2/LoggingProto.java | 127 +++--- .../com/google/logging/v2/OperationState.java | 16 +- .../java/com/google/logging/v2/Settings.java | 150 +++---- .../google/logging/v2/SettingsOrBuilder.java | 12 +- .../logging/v2/TailLogEntriesRequest.java | 221 ++++----- .../v2/TailLogEntriesRequestOrBuilder.java | 36 +- .../logging/v2/TailLogEntriesResponse.java | 233 ++++------ .../v2/TailLogEntriesResponseOrBuilder.java | 4 +- .../logging/v2/UndeleteBucketRequest.java | 168 +++---- .../v2/UndeleteBucketRequestOrBuilder.java | 24 +- .../logging/v2/UpdateBucketRequest.java | 199 ++++----- .../v2/UpdateBucketRequestOrBuilder.java | 24 +- .../logging/v2/UpdateCmekSettingsRequest.java | 200 ++++----- .../UpdateCmekSettingsRequestOrBuilder.java | 24 +- .../logging/v2/UpdateExclusionRequest.java | 200 ++++----- .../v2/UpdateExclusionRequestOrBuilder.java | 24 +- .../logging/v2/UpdateLogMetricRequest.java | 128 ++---- .../v2/UpdateLogMetricRequestOrBuilder.java | 8 +- .../logging/v2/UpdateSettingsRequest.java | 158 +++---- .../v2/UpdateSettingsRequestOrBuilder.java | 12 +- .../google/logging/v2/UpdateSinkRequest.java | 247 +++++------ .../v2/UpdateSinkRequestOrBuilder.java | 36 +- .../google/logging/v2/UpdateViewRequest.java | 157 +++---- .../v2/UpdateViewRequestOrBuilder.java | 12 +- .../v2/WriteLogEntriesPartialErrors.java | 92 ++-- ...WriteLogEntriesPartialErrorsOrBuilder.java | 4 +- .../logging/v2/WriteLogEntriesRequest.java | 239 +++++----- .../v2/WriteLogEntriesRequestOrBuilder.java | 30 +- .../logging/v2/WriteLogEntriesResponse.java | 90 ++-- .../v2/WriteLogEntriesResponseOrBuilder.java | 4 +- 157 files changed, 5463 insertions(+), 7925 deletions(-) diff --git a/.kokoro/presubmit/graalvm-native-a.cfg b/.kokoro/presubmit/graalvm-native-a.cfg index 406018c48..e02721bbf 100644 --- a/.kokoro/presubmit/graalvm-native-a.cfg +++ b/.kokoro/presubmit/graalvm-native-a.cfg @@ -3,7 +3,7 @@ # Configure the docker image for kokoro-trampoline. env_vars: { key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_a:3.54.2" # {x-version-update:google-cloud-shared-dependencies:current} + value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_a:3.55.0-rc1" # {x-version-update:google-cloud-shared-dependencies:current} } env_vars: { diff --git a/.kokoro/presubmit/graalvm-native-b.cfg b/.kokoro/presubmit/graalvm-native-b.cfg index 60c82d4bf..523202c39 100644 --- a/.kokoro/presubmit/graalvm-native-b.cfg +++ b/.kokoro/presubmit/graalvm-native-b.cfg @@ -3,7 +3,7 @@ # Configure the docker image for kokoro-trampoline. env_vars: { key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_b:3.54.2" # {x-version-update:google-cloud-shared-dependencies:current} + value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_b:3.55.0-rc1" # {x-version-update:google-cloud-shared-dependencies:current} } env_vars: { diff --git a/.kokoro/presubmit/graalvm-native-c.cfg b/.kokoro/presubmit/graalvm-native-c.cfg index 60982adf5..f8ffca6ef 100644 --- a/.kokoro/presubmit/graalvm-native-c.cfg +++ b/.kokoro/presubmit/graalvm-native-c.cfg @@ -3,7 +3,7 @@ # Configure the docker image for kokoro-trampoline. env_vars: { key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_c:3.54.2" # {x-version-update:google-cloud-shared-dependencies:current} + value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_c:3.55.0-rc1" # {x-version-update:google-cloud-shared-dependencies:current} } env_vars: { diff --git a/google-cloud-logging/src/main/resources/META-INF/native-image/com.google.cloud.logging.v2/reflect-config.json b/google-cloud-logging/src/main/resources/META-INF/native-image/com.google.cloud.logging.v2/reflect-config.json index 0d781d4b2..1dabb7c6e 100644 --- a/google-cloud-logging/src/main/resources/META-INF/native-image/com.google.cloud.logging.v2/reflect-config.json +++ b/google-cloud-logging/src/main/resources/META-INF/native-image/com.google.cloud.logging.v2/reflect-config.json @@ -2492,6 +2492,15 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$EnforceNamingStyle", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.protobuf.DescriptorProtos$FeatureSet$EnumType", "queryAllDeclaredConstructors": true, @@ -2546,6 +2555,33 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$VisibilityFeature", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$VisibilityFeature$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$VisibilityFeature$DefaultSymbolVisibility", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.protobuf.DescriptorProtos$FeatureSetDefaults", "queryAllDeclaredConstructors": true, @@ -2663,6 +2699,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions$FeatureSupport", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions$FeatureSupport$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.protobuf.DescriptorProtos$FieldOptions$JSType", "queryAllDeclaredConstructors": true, @@ -2969,6 +3023,15 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.protobuf.DescriptorProtos$SymbolVisibility", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.protobuf.DescriptorProtos$UninterpretedOption", "queryAllDeclaredConstructors": true, 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 585489e6f..8d5b22a5b 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 @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.logging.v2.BigQueryDataset} */ -public final class BigQueryDataset extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class BigQueryDataset extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.logging.v2.BigQueryDataset) BigQueryDatasetOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 0, + /* suffix= */ "", + "BigQueryDataset"); + } + // Use BigQueryDataset.newBuilder() to construct. - private BigQueryDataset(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private BigQueryDataset(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -43,19 +55,13 @@ private BigQueryDataset() { datasetId_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new BigQueryDataset(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_BigQueryDataset_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_BigQueryDataset_fieldAccessorTable @@ -79,7 +85,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * only). * * The dataset will have a resource path of - * "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET_ID]" + * "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET_ID]" * * * string dataset_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -109,7 +115,7 @@ public java.lang.String getDatasetId() { * only). * * The dataset will have a resource path of - * "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET_ID]" + * "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET_ID]" * * * string dataset_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -143,8 +149,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(datasetId_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, datasetId_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(datasetId_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, datasetId_); } getUnknownFields().writeTo(output); } @@ -155,8 +161,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(datasetId_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, datasetId_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(datasetId_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, datasetId_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -228,38 +234,38 @@ public static com.google.logging.v2.BigQueryDataset parseFrom( public static com.google.logging.v2.BigQueryDataset parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.BigQueryDataset parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.BigQueryDataset parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.BigQueryDataset parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.BigQueryDataset parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.BigQueryDataset parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -282,7 +288,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -296,7 +302,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.logging.v2.BigQueryDataset} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.BigQueryDataset) com.google.logging.v2.BigQueryDatasetOrBuilder { @@ -306,7 +312,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_BigQueryDataset_fieldAccessorTable @@ -318,7 +324,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.logging.v2.BigQueryDataset.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -368,39 +374,6 @@ private void buildPartial0(com.google.logging.v2.BigQueryDataset result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.BigQueryDataset) { @@ -481,7 +454,7 @@ public Builder mergeFrom( * only). * * The dataset will have a resource path of - * "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET_ID]" + * "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET_ID]" * * * string dataset_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -510,7 +483,7 @@ public java.lang.String getDatasetId() { * only). * * The dataset will have a resource path of - * "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET_ID]" + * "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET_ID]" * * * string dataset_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -539,7 +512,7 @@ public com.google.protobuf.ByteString getDatasetIdBytes() { * only). * * The dataset will have a resource path of - * "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET_ID]" + * "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET_ID]" * * * string dataset_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -567,7 +540,7 @@ public Builder setDatasetId(java.lang.String value) { * only). * * The dataset will have a resource path of - * "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET_ID]" + * "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET_ID]" * * * string dataset_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -591,7 +564,7 @@ public Builder clearDatasetId() { * only). * * The dataset will have a resource path of - * "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET_ID]" + * "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET_ID]" * * * string dataset_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -610,17 +583,6 @@ public Builder setDatasetIdBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.logging.v2.BigQueryDataset) } 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 74e807c5e..88202a4d2 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 @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; +@com.google.protobuf.Generated public interface BigQueryDatasetOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.BigQueryDataset) @@ -34,7 +36,7 @@ public interface BigQueryDatasetOrBuilder * only). * * The dataset will have a resource path of - * "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET_ID]" + * "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET_ID]" * * * string dataset_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -53,7 +55,7 @@ public interface BigQueryDatasetOrBuilder * only). * * The dataset will have a resource path of - * "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET_ID]" + * "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET_ID]" * * * string dataset_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; 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 58b38a994..e47266ac3 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 @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -28,32 +29,37 @@ * * Protobuf type {@code google.logging.v2.BigQueryOptions} */ -public final class BigQueryOptions extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class BigQueryOptions extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.logging.v2.BigQueryOptions) BigQueryOptionsOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 0, + /* suffix= */ "", + "BigQueryOptions"); + } + // Use BigQueryOptions.newBuilder() to construct. - private BigQueryOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private BigQueryOptions(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private BigQueryOptions() {} - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new BigQueryOptions(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_BigQueryOptions_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_BigQueryOptions_fieldAccessorTable @@ -227,38 +233,38 @@ public static com.google.logging.v2.BigQueryOptions parseFrom( public static com.google.logging.v2.BigQueryOptions parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.BigQueryOptions parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.BigQueryOptions parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.BigQueryOptions parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.BigQueryOptions parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.BigQueryOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -281,7 +287,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -295,7 +301,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.logging.v2.BigQueryOptions} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.BigQueryOptions) com.google.logging.v2.BigQueryOptionsOrBuilder { @@ -305,7 +311,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_BigQueryOptions_fieldAccessorTable @@ -317,7 +323,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.logging.v2.BigQueryOptions.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -371,39 +377,6 @@ private void buildPartial0(com.google.logging.v2.BigQueryOptions result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.BigQueryOptions) { @@ -636,17 +609,6 @@ public Builder clearUsesTimestampColumnPartitioning() { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.logging.v2.BigQueryOptions) } 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 e9cd03d9e..84e878b99 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 @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; +@com.google.protobuf.Generated public interface BigQueryOptionsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.BigQueryOptions) 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 4120fa1c9..ee9878cb6 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 @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.logging.v2.BucketMetadata} */ -public final class BucketMetadata extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class BucketMetadata extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.logging.v2.BucketMetadata) BucketMetadataOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 0, + /* suffix= */ "", + "BucketMetadata"); + } + // Use BucketMetadata.newBuilder() to construct. - private BucketMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private BucketMetadata(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -43,19 +55,13 @@ private BucketMetadata() { state_ = 0; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new BucketMetadata(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_BucketMetadata_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_BucketMetadata_fieldAccessorTable @@ -524,38 +530,38 @@ public static com.google.logging.v2.BucketMetadata parseFrom( public static com.google.logging.v2.BucketMetadata parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.BucketMetadata parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.BucketMetadata parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.BucketMetadata parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.BucketMetadata parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.BucketMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -578,7 +584,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -592,7 +598,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.logging.v2.BucketMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.BucketMetadata) com.google.logging.v2.BucketMetadataOrBuilder { @@ -602,7 +608,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_BucketMetadata_fieldAccessorTable @@ -616,15 +622,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getStartTimeFieldBuilder(); - getEndTimeFieldBuilder(); + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetStartTimeFieldBuilder(); + internalGetEndTimeFieldBuilder(); } } @@ -713,39 +719,6 @@ private void buildPartialOneofs(com.google.logging.v2.BucketMetadata result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.BucketMetadata) { @@ -811,13 +784,14 @@ public Builder mergeFrom( break; case 10: { - input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage( + internalGetStartTimeFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 18: { - input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage(internalGetEndTimeFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 18 @@ -830,14 +804,14 @@ public Builder mergeFrom( case 34: { input.readMessage( - getCreateBucketRequestFieldBuilder().getBuilder(), extensionRegistry); + internalGetCreateBucketRequestFieldBuilder().getBuilder(), extensionRegistry); requestCase_ = 4; break; } // case 34 case 42: { input.readMessage( - getUpdateBucketRequestFieldBuilder().getBuilder(), extensionRegistry); + internalGetUpdateBucketRequestFieldBuilder().getBuilder(), extensionRegistry); requestCase_ = 5; break; } // case 42 @@ -875,7 +849,7 @@ public Builder clearRequest() { private int bitField0_; private com.google.protobuf.Timestamp startTime_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> @@ -1018,7 +992,7 @@ public Builder clearStartTime() { public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { bitField0_ |= 0x00000001; onChanged(); - return getStartTimeFieldBuilder().getBuilder(); + return internalGetStartTimeFieldBuilder().getBuilder(); } /** @@ -1047,14 +1021,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * * .google.protobuf.Timestamp start_time = 1; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> - getStartTimeFieldBuilder() { + internalGetStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { startTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( @@ -1065,7 +1039,7 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { } private com.google.protobuf.Timestamp endTime_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> @@ -1208,7 +1182,7 @@ public Builder clearEndTime() { public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { bitField0_ |= 0x00000002; onChanged(); - return getEndTimeFieldBuilder().getBuilder(); + return internalGetEndTimeFieldBuilder().getBuilder(); } /** @@ -1237,14 +1211,14 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * * .google.protobuf.Timestamp end_time = 2; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> - getEndTimeFieldBuilder() { + internalGetEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { endTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( @@ -1349,7 +1323,7 @@ public Builder clearState() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.logging.v2.CreateBucketRequest, com.google.logging.v2.CreateBucketRequest.Builder, com.google.logging.v2.CreateBucketRequestOrBuilder> @@ -1510,7 +1484,7 @@ public Builder clearCreateBucketRequest() { * .google.logging.v2.CreateBucketRequest create_bucket_request = 4; */ public com.google.logging.v2.CreateBucketRequest.Builder getCreateBucketRequestBuilder() { - return getCreateBucketRequestFieldBuilder().getBuilder(); + return internalGetCreateBucketRequestFieldBuilder().getBuilder(); } /** @@ -1543,17 +1517,17 @@ public com.google.logging.v2.CreateBucketRequestOrBuilder getCreateBucketRequest * * .google.logging.v2.CreateBucketRequest create_bucket_request = 4; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.logging.v2.CreateBucketRequest, com.google.logging.v2.CreateBucketRequest.Builder, com.google.logging.v2.CreateBucketRequestOrBuilder> - getCreateBucketRequestFieldBuilder() { + internalGetCreateBucketRequestFieldBuilder() { if (createBucketRequestBuilder_ == null) { if (!(requestCase_ == 4)) { request_ = com.google.logging.v2.CreateBucketRequest.getDefaultInstance(); } createBucketRequestBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.logging.v2.CreateBucketRequest, com.google.logging.v2.CreateBucketRequest.Builder, com.google.logging.v2.CreateBucketRequestOrBuilder>( @@ -1567,7 +1541,7 @@ public com.google.logging.v2.CreateBucketRequestOrBuilder getCreateBucketRequest return createBucketRequestBuilder_; } - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.logging.v2.UpdateBucketRequest, com.google.logging.v2.UpdateBucketRequest.Builder, com.google.logging.v2.UpdateBucketRequestOrBuilder> @@ -1728,7 +1702,7 @@ public Builder clearUpdateBucketRequest() { * .google.logging.v2.UpdateBucketRequest update_bucket_request = 5; */ public com.google.logging.v2.UpdateBucketRequest.Builder getUpdateBucketRequestBuilder() { - return getUpdateBucketRequestFieldBuilder().getBuilder(); + return internalGetUpdateBucketRequestFieldBuilder().getBuilder(); } /** @@ -1761,17 +1735,17 @@ public com.google.logging.v2.UpdateBucketRequestOrBuilder getUpdateBucketRequest * * .google.logging.v2.UpdateBucketRequest update_bucket_request = 5; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.logging.v2.UpdateBucketRequest, com.google.logging.v2.UpdateBucketRequest.Builder, com.google.logging.v2.UpdateBucketRequestOrBuilder> - getUpdateBucketRequestFieldBuilder() { + internalGetUpdateBucketRequestFieldBuilder() { if (updateBucketRequestBuilder_ == null) { if (!(requestCase_ == 5)) { request_ = com.google.logging.v2.UpdateBucketRequest.getDefaultInstance(); } updateBucketRequestBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.logging.v2.UpdateBucketRequest, com.google.logging.v2.UpdateBucketRequest.Builder, com.google.logging.v2.UpdateBucketRequestOrBuilder>( @@ -1785,17 +1759,6 @@ public com.google.logging.v2.UpdateBucketRequestOrBuilder getUpdateBucketRequest return updateBucketRequestBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.logging.v2.BucketMetadata) } 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 5141f284c..97b9a2a64 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 @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; +@com.google.protobuf.Generated public interface BucketMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.BucketMetadata) 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 562200a44..672c6e250 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 @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -37,14 +38,25 @@ * * Protobuf type {@code google.logging.v2.CmekSettings} */ -public final class CmekSettings extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class CmekSettings extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.logging.v2.CmekSettings) CmekSettingsOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 0, + /* suffix= */ "", + "CmekSettings"); + } + // Use CmekSettings.newBuilder() to construct. - private CmekSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CmekSettings(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -55,19 +67,13 @@ private CmekSettings() { serviceAccountId_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new CmekSettings(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_CmekSettings_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_CmekSettings_fieldAccessorTable @@ -142,11 +148,11 @@ public com.google.protobuf.ByteString getNameBytes() { * * KMS key name format: * - * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" + * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" * * For example: * - * `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"` + * `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"` * * * @@ -193,11 +199,11 @@ public java.lang.String getKmsKeyName() { * * KMS key name format: * - * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" + * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" * * For example: * - * `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"` + * `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"` * * * @@ -249,11 +255,11 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() { * * KMS key name format: * - * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]/cryptoKeyVersions/[VERSION]" + * "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"` + * `"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 @@ -289,11 +295,11 @@ public java.lang.String getKmsKeyVersionName() { * * KMS key name format: * - * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]/cryptoKeyVersions/[VERSION]" + * "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"` + * `"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 @@ -410,17 +416,17 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyName_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, kmsKeyName_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(kmsKeyName_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, kmsKeyName_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccountId_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, serviceAccountId_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(serviceAccountId_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, serviceAccountId_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyVersionName_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, kmsKeyVersionName_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(kmsKeyVersionName_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 4, kmsKeyVersionName_); } getUnknownFields().writeTo(output); } @@ -431,17 +437,17 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyName_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, kmsKeyName_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(kmsKeyName_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, kmsKeyName_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccountId_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, serviceAccountId_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(serviceAccountId_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, serviceAccountId_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyVersionName_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, kmsKeyVersionName_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(kmsKeyVersionName_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(4, kmsKeyVersionName_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -522,38 +528,38 @@ public static com.google.logging.v2.CmekSettings parseFrom( public static com.google.logging.v2.CmekSettings parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.CmekSettings parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.CmekSettings parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.CmekSettings parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.CmekSettings parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.CmekSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -576,7 +582,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -599,7 +605,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.logging.v2.CmekSettings} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.CmekSettings) com.google.logging.v2.CmekSettingsOrBuilder { @@ -609,7 +615,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_CmekSettings_fieldAccessorTable @@ -621,7 +627,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.logging.v2.CmekSettings.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -682,39 +688,6 @@ private void buildPartial0(com.google.logging.v2.CmekSettings result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.CmekSettings) { @@ -937,11 +910,11 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * KMS key name format: * - * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" + * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" * * For example: * - * `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"` + * `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"` * * * @@ -987,11 +960,11 @@ public java.lang.String getKmsKeyName() { * * KMS key name format: * - * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" + * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" * * For example: * - * `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"` + * `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"` * * * @@ -1037,11 +1010,11 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() { * * KMS key name format: * - * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" + * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" * * For example: * - * `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"` + * `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"` * * * @@ -1086,11 +1059,11 @@ public Builder setKmsKeyName(java.lang.String value) { * * KMS key name format: * - * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" + * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" * * For example: * - * `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"` + * `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"` * * * @@ -1131,11 +1104,11 @@ public Builder clearKmsKeyName() { * * KMS key name format: * - * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" + * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" * * For example: * - * `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"` + * `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"` * * * @@ -1183,11 +1156,11 @@ public Builder setKmsKeyNameBytes(com.google.protobuf.ByteString value) { * * KMS key name format: * - * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]/cryptoKeyVersions/[VERSION]" + * "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"` + * `"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 @@ -1222,11 +1195,11 @@ public java.lang.String getKmsKeyVersionName() { * * KMS key name format: * - * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]/cryptoKeyVersions/[VERSION]" + * "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"` + * `"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 @@ -1261,11 +1234,11 @@ public com.google.protobuf.ByteString getKmsKeyVersionNameBytes() { * * KMS key name format: * - * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]/cryptoKeyVersions/[VERSION]" + * "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"` + * `"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 @@ -1299,11 +1272,11 @@ public Builder setKmsKeyVersionName(java.lang.String value) { * * KMS key name format: * - * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]/cryptoKeyVersions/[VERSION]" + * "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"` + * `"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 @@ -1333,11 +1306,11 @@ public Builder clearKmsKeyVersionName() { * * KMS key name format: * - * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]/cryptoKeyVersions/[VERSION]" + * "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"` + * `"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 @@ -1530,17 +1503,6 @@ public Builder setServiceAccountIdBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.logging.v2.CmekSettings) } 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 c3f9d00c2..ef3a12856 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 @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; +@com.google.protobuf.Generated public interface CmekSettingsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.CmekSettings) @@ -58,11 +60,11 @@ public interface CmekSettingsOrBuilder * * KMS key name format: * - * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" + * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" * * For example: * - * `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"` + * `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"` * * * @@ -98,11 +100,11 @@ public interface CmekSettingsOrBuilder * * KMS key name format: * - * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" + * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" * * For example: * - * `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"` + * `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"` * * * @@ -138,11 +140,11 @@ public interface CmekSettingsOrBuilder * * KMS key name format: * - * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]/cryptoKeyVersions/[VERSION]" + * "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"` + * `"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 @@ -167,11 +169,11 @@ public interface CmekSettingsOrBuilder * * KMS key name format: * - * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]/cryptoKeyVersions/[VERSION]" + * "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"` + * `"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 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 31bd88766..2ee70c121 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 @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.logging.v2.CopyLogEntriesMetadata} */ -public final class CopyLogEntriesMetadata extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class CopyLogEntriesMetadata extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.logging.v2.CopyLogEntriesMetadata) CopyLogEntriesMetadataOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 0, + /* suffix= */ "", + "CopyLogEntriesMetadata"); + } + // Use CopyLogEntriesMetadata.newBuilder() to construct. - private CopyLogEntriesMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CopyLogEntriesMetadata(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -44,19 +56,13 @@ private CopyLogEntriesMetadata() { writerIdentity_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new CopyLogEntriesMetadata(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_CopyLogEntriesMetadata_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_CopyLogEntriesMetadata_fieldAccessorTable @@ -389,8 +395,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (progress_ != 0) { output.writeInt32(6, progress_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(writerIdentity_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 7, writerIdentity_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(writerIdentity_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 7, writerIdentity_); } getUnknownFields().writeTo(output); } @@ -419,8 +425,8 @@ public int getSerializedSize() { if (progress_ != 0) { size += com.google.protobuf.CodedOutputStream.computeInt32Size(6, progress_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(writerIdentity_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, writerIdentity_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(writerIdentity_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(7, writerIdentity_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -527,38 +533,38 @@ public static com.google.logging.v2.CopyLogEntriesMetadata parseFrom( public static com.google.logging.v2.CopyLogEntriesMetadata parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.CopyLogEntriesMetadata parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.CopyLogEntriesMetadata parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.CopyLogEntriesMetadata parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.CopyLogEntriesMetadata parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.CopyLogEntriesMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -581,7 +587,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -595,7 +601,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.logging.v2.CopyLogEntriesMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.CopyLogEntriesMetadata) com.google.logging.v2.CopyLogEntriesMetadataOrBuilder { @@ -605,7 +611,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_CopyLogEntriesMetadata_fieldAccessorTable @@ -619,16 +625,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getStartTimeFieldBuilder(); - getEndTimeFieldBuilder(); - getRequestFieldBuilder(); + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetStartTimeFieldBuilder(); + internalGetEndTimeFieldBuilder(); + internalGetRequestFieldBuilder(); } } @@ -719,39 +725,6 @@ private void buildPartial0(com.google.logging.v2.CopyLogEntriesMetadata result) result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.CopyLogEntriesMetadata) { @@ -815,13 +788,14 @@ public Builder mergeFrom( break; case 10: { - input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage( + internalGetStartTimeFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 18: { - input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage(internalGetEndTimeFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 18 @@ -839,7 +813,7 @@ public Builder mergeFrom( } // case 32 case 42: { - input.readMessage(getRequestFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage(internalGetRequestFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000010; break; } // case 42 @@ -875,7 +849,7 @@ public Builder mergeFrom( private int bitField0_; private com.google.protobuf.Timestamp startTime_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> @@ -1018,7 +992,7 @@ public Builder clearStartTime() { public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { bitField0_ |= 0x00000001; onChanged(); - return getStartTimeFieldBuilder().getBuilder(); + return internalGetStartTimeFieldBuilder().getBuilder(); } /** @@ -1047,14 +1021,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * * .google.protobuf.Timestamp start_time = 1; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> - getStartTimeFieldBuilder() { + internalGetStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { startTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( @@ -1065,7 +1039,7 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { } private com.google.protobuf.Timestamp endTime_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> @@ -1208,7 +1182,7 @@ public Builder clearEndTime() { public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { bitField0_ |= 0x00000002; onChanged(); - return getEndTimeFieldBuilder().getBuilder(); + return internalGetEndTimeFieldBuilder().getBuilder(); } /** @@ -1237,14 +1211,14 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * * .google.protobuf.Timestamp end_time = 2; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> - getEndTimeFieldBuilder() { + internalGetEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { endTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( @@ -1406,7 +1380,7 @@ public Builder clearCancellationRequested() { } private com.google.logging.v2.CopyLogEntriesRequest request_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.logging.v2.CopyLogEntriesRequest, com.google.logging.v2.CopyLogEntriesRequest.Builder, com.google.logging.v2.CopyLogEntriesRequestOrBuilder> @@ -1551,7 +1525,7 @@ public Builder clearRequest() { public com.google.logging.v2.CopyLogEntriesRequest.Builder getRequestBuilder() { bitField0_ |= 0x00000010; onChanged(); - return getRequestFieldBuilder().getBuilder(); + return internalGetRequestFieldBuilder().getBuilder(); } /** @@ -1582,14 +1556,14 @@ public com.google.logging.v2.CopyLogEntriesRequestOrBuilder getRequestOrBuilder( * * .google.logging.v2.CopyLogEntriesRequest request = 5; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.logging.v2.CopyLogEntriesRequest, com.google.logging.v2.CopyLogEntriesRequest.Builder, com.google.logging.v2.CopyLogEntriesRequestOrBuilder> - getRequestFieldBuilder() { + internalGetRequestFieldBuilder() { if (requestBuilder_ == null) { requestBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.logging.v2.CopyLogEntriesRequest, com.google.logging.v2.CopyLogEntriesRequest.Builder, com.google.logging.v2.CopyLogEntriesRequestOrBuilder>( @@ -1796,17 +1770,6 @@ public Builder setWriterIdentityBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.logging.v2.CopyLogEntriesMetadata) } 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 a7f6eca40..4b0f95284 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 @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; +@com.google.protobuf.Generated public interface CopyLogEntriesMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.CopyLogEntriesMetadata) 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 becd41ae8..947821391 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 @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.logging.v2.CopyLogEntriesRequest} */ -public final class CopyLogEntriesRequest extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class CopyLogEntriesRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.logging.v2.CopyLogEntriesRequest) CopyLogEntriesRequestOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 0, + /* suffix= */ "", + "CopyLogEntriesRequest"); + } + // Use CopyLogEntriesRequest.newBuilder() to construct. - private CopyLogEntriesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CopyLogEntriesRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -45,19 +57,13 @@ private CopyLogEntriesRequest() { destination_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new CopyLogEntriesRequest(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_CopyLogEntriesRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_CopyLogEntriesRequest_fieldAccessorTable @@ -79,7 +85,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * For example: * - * `"projects/my-project/locations/global/buckets/my-source-bucket"` + * `"projects/my-project/locations/global/buckets/my-source-bucket"` * * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -107,7 +113,7 @@ public java.lang.String getName() { * * For example: * - * `"projects/my-project/locations/global/buckets/my-source-bucket"` + * `"projects/my-project/locations/global/buckets/my-source-bucket"` * * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -249,14 +255,14 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, filter_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(filter_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, filter_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(destination_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, destination_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(destination_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 4, destination_); } getUnknownFields().writeTo(output); } @@ -267,14 +273,14 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, filter_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(filter_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, filter_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(destination_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, destination_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(destination_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(4, destination_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -354,38 +360,38 @@ public static com.google.logging.v2.CopyLogEntriesRequest parseFrom( public static com.google.logging.v2.CopyLogEntriesRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.CopyLogEntriesRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.CopyLogEntriesRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.CopyLogEntriesRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.CopyLogEntriesRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.CopyLogEntriesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -408,7 +414,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -422,7 +428,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.logging.v2.CopyLogEntriesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.CopyLogEntriesRequest) com.google.logging.v2.CopyLogEntriesRequestOrBuilder { @@ -432,7 +438,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_CopyLogEntriesRequest_fieldAccessorTable @@ -444,7 +450,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.logging.v2.CopyLogEntriesRequest.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -502,39 +508,6 @@ private void buildPartial0(com.google.logging.v2.CopyLogEntriesRequest result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.CopyLogEntriesRequest) { @@ -635,7 +608,7 @@ public Builder mergeFrom( * * For example: * - * `"projects/my-project/locations/global/buckets/my-source-bucket"` + * `"projects/my-project/locations/global/buckets/my-source-bucket"` * * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -662,7 +635,7 @@ public java.lang.String getName() { * * For example: * - * `"projects/my-project/locations/global/buckets/my-source-bucket"` + * `"projects/my-project/locations/global/buckets/my-source-bucket"` * * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -689,7 +662,7 @@ public com.google.protobuf.ByteString getNameBytes() { * * For example: * - * `"projects/my-project/locations/global/buckets/my-source-bucket"` + * `"projects/my-project/locations/global/buckets/my-source-bucket"` * * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -715,7 +688,7 @@ public Builder setName(java.lang.String value) { * * For example: * - * `"projects/my-project/locations/global/buckets/my-source-bucket"` + * `"projects/my-project/locations/global/buckets/my-source-bucket"` * * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -737,7 +710,7 @@ public Builder clearName() { * * For example: * - * `"projects/my-project/locations/global/buckets/my-source-bucket"` + * `"projects/my-project/locations/global/buckets/my-source-bucket"` * * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -983,17 +956,6 @@ public Builder setDestinationBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.logging.v2.CopyLogEntriesRequest) } 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 85b163ba2..fc8686d4e 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 @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; +@com.google.protobuf.Generated public interface CopyLogEntriesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.CopyLogEntriesRequest) @@ -32,7 +34,7 @@ public interface CopyLogEntriesRequestOrBuilder * * For example: * - * `"projects/my-project/locations/global/buckets/my-source-bucket"` + * `"projects/my-project/locations/global/buckets/my-source-bucket"` * * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -49,7 +51,7 @@ public interface CopyLogEntriesRequestOrBuilder * * For example: * - * `"projects/my-project/locations/global/buckets/my-source-bucket"` + * `"projects/my-project/locations/global/buckets/my-source-bucket"` * * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; 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 a4b8ec3b7..f89d0275d 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 @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -28,32 +29,37 @@ * * Protobuf type {@code google.logging.v2.CopyLogEntriesResponse} */ -public final class CopyLogEntriesResponse extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class CopyLogEntriesResponse extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.logging.v2.CopyLogEntriesResponse) CopyLogEntriesResponseOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 0, + /* suffix= */ "", + "CopyLogEntriesResponse"); + } + // Use CopyLogEntriesResponse.newBuilder() to construct. - private CopyLogEntriesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CopyLogEntriesResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private CopyLogEntriesResponse() {} - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new CopyLogEntriesResponse(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_CopyLogEntriesResponse_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_CopyLogEntriesResponse_fieldAccessorTable @@ -182,38 +188,38 @@ public static com.google.logging.v2.CopyLogEntriesResponse parseFrom( public static com.google.logging.v2.CopyLogEntriesResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.CopyLogEntriesResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.CopyLogEntriesResponse parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.CopyLogEntriesResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.CopyLogEntriesResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.CopyLogEntriesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -236,7 +242,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -250,7 +256,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.logging.v2.CopyLogEntriesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.CopyLogEntriesResponse) com.google.logging.v2.CopyLogEntriesResponseOrBuilder { @@ -260,7 +266,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_CopyLogEntriesResponse_fieldAccessorTable @@ -272,7 +278,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.logging.v2.CopyLogEntriesResponse.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -322,39 +328,6 @@ private void buildPartial0(com.google.logging.v2.CopyLogEntriesResponse result) } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.CopyLogEntriesResponse) { @@ -477,17 +450,6 @@ public Builder clearLogEntriesCopiedCount() { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.logging.v2.CopyLogEntriesResponse) } 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 34c265661..6dbe74015 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 @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; +@com.google.protobuf.Generated public interface CopyLogEntriesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.CopyLogEntriesResponse) 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 53c6c1bfc..2446919a3 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 @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.logging.v2.CreateBucketRequest} */ -public final class CreateBucketRequest extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class CreateBucketRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.logging.v2.CreateBucketRequest) CreateBucketRequestOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 0, + /* suffix= */ "", + "CreateBucketRequest"); + } + // Use CreateBucketRequest.newBuilder() to construct. - private CreateBucketRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CreateBucketRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -44,19 +56,13 @@ private CreateBucketRequest() { bucketId_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new CreateBucketRequest(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_CreateBucketRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_CreateBucketRequest_fieldAccessorTable @@ -77,11 +83,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]"
+   * "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
    *
    * For example:
    *
-   *   `"projects/my-project/locations/global"`
+   * `"projects/my-project/locations/global"`
    * 
* * @@ -109,11 +115,11 @@ public java.lang.String getParent() { *
    * Required. The resource in which to create the log bucket:
    *
-   *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
+   * "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
    *
    * For example:
    *
-   *   `"projects/my-project/locations/global"`
+   * `"projects/my-project/locations/global"`
    * 
* * @@ -261,11 +267,11 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, parent_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bucketId_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, bucketId_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(bucketId_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, bucketId_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(3, getBucket()); @@ -279,11 +285,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, parent_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bucketId_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, bucketId_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(bucketId_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, bucketId_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getBucket()); @@ -371,38 +377,38 @@ public static com.google.logging.v2.CreateBucketRequest parseFrom( public static com.google.logging.v2.CreateBucketRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.CreateBucketRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.CreateBucketRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.CreateBucketRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.CreateBucketRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.CreateBucketRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -425,7 +431,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -439,7 +445,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.logging.v2.CreateBucketRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.CreateBucketRequest) com.google.logging.v2.CreateBucketRequestOrBuilder { @@ -449,7 +455,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_CreateBucketRequest_fieldAccessorTable @@ -463,14 +469,14 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getBucketFieldBuilder(); + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetBucketFieldBuilder(); } } @@ -535,39 +541,6 @@ private void buildPartial0(com.google.logging.v2.CreateBucketRequest result) { result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.CreateBucketRequest) { @@ -633,7 +606,7 @@ public Builder mergeFrom( } // case 18 case 26: { - input.readMessage(getBucketFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage(internalGetBucketFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 26 @@ -664,11 +637,11 @@ public Builder mergeFrom( *
      * Required. The resource in which to create the log bucket:
      *
-     *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
+     * "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
      *
      * For example:
      *
-     *   `"projects/my-project/locations/global"`
+     * `"projects/my-project/locations/global"`
      * 
* * @@ -695,11 +668,11 @@ public java.lang.String getParent() { *
      * Required. The resource in which to create the log bucket:
      *
-     *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
+     * "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
      *
      * For example:
      *
-     *   `"projects/my-project/locations/global"`
+     * `"projects/my-project/locations/global"`
      * 
* * @@ -726,11 +699,11 @@ public com.google.protobuf.ByteString getParentBytes() { *
      * Required. The resource in which to create the log bucket:
      *
-     *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
+     * "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
      *
      * For example:
      *
-     *   `"projects/my-project/locations/global"`
+     * `"projects/my-project/locations/global"`
      * 
* * @@ -756,11 +729,11 @@ public Builder setParent(java.lang.String value) { *
      * Required. The resource in which to create the log bucket:
      *
-     *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
+     * "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
      *
      * For example:
      *
-     *   `"projects/my-project/locations/global"`
+     * `"projects/my-project/locations/global"`
      * 
* * @@ -782,11 +755,11 @@ public Builder clearParent() { *
      * Required. The resource in which to create the log bucket:
      *
-     *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
+     * "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
      *
      * For example:
      *
-     *   `"projects/my-project/locations/global"`
+     * `"projects/my-project/locations/global"`
      * 
* * @@ -929,7 +902,7 @@ public Builder setBucketIdBytes(com.google.protobuf.ByteString value) { } private com.google.logging.v2.LogBucket bucket_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.logging.v2.LogBucket, com.google.logging.v2.LogBucket.Builder, com.google.logging.v2.LogBucketOrBuilder> @@ -1093,7 +1066,7 @@ public Builder clearBucket() { public com.google.logging.v2.LogBucket.Builder getBucketBuilder() { bitField0_ |= 0x00000004; onChanged(); - return getBucketFieldBuilder().getBuilder(); + return internalGetBucketFieldBuilder().getBuilder(); } /** @@ -1128,14 +1101,14 @@ public com.google.logging.v2.LogBucketOrBuilder getBucketOrBuilder() { * .google.logging.v2.LogBucket bucket = 3 [(.google.api.field_behavior) = REQUIRED]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.logging.v2.LogBucket, com.google.logging.v2.LogBucket.Builder, com.google.logging.v2.LogBucketOrBuilder> - getBucketFieldBuilder() { + internalGetBucketFieldBuilder() { if (bucketBuilder_ == null) { bucketBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.logging.v2.LogBucket, com.google.logging.v2.LogBucket.Builder, com.google.logging.v2.LogBucketOrBuilder>( @@ -1145,17 +1118,6 @@ public com.google.logging.v2.LogBucketOrBuilder getBucketOrBuilder() { return bucketBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.logging.v2.CreateBucketRequest) } 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 09a07f8af..1d87b51f5 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 @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; +@com.google.protobuf.Generated public interface CreateBucketRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.CreateBucketRequest) @@ -30,11 +32,11 @@ public interface CreateBucketRequestOrBuilder *
    * Required. The resource in which to create the log bucket:
    *
-   *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
+   * "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
    *
    * For example:
    *
-   *   `"projects/my-project/locations/global"`
+   * `"projects/my-project/locations/global"`
    * 
* * @@ -51,11 +53,11 @@ public interface CreateBucketRequestOrBuilder *
    * Required. The resource in which to create the log bucket:
    *
-   *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
+   * "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
    *
    * For example:
    *
-   *   `"projects/my-project/locations/global"`
+   * `"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 b5cfe176c..da711916c 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 @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.logging.v2.CreateExclusionRequest} */ -public final class CreateExclusionRequest extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class CreateExclusionRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.logging.v2.CreateExclusionRequest) CreateExclusionRequestOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 0, + /* suffix= */ "", + "CreateExclusionRequest"); + } + // Use CreateExclusionRequest.newBuilder() to construct. - private CreateExclusionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CreateExclusionRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -43,19 +55,13 @@ private CreateExclusionRequest() { parent_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new CreateExclusionRequest(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_CreateExclusionRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_CreateExclusionRequest_fieldAccessorTable @@ -76,15 +82,15 @@ 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]"
+   * "projects/[PROJECT_ID]"
+   * "organizations/[ORGANIZATION_ID]"
+   * "billingAccounts/[BILLING_ACCOUNT_ID]"
+   * "folders/[FOLDER_ID]"
    *
    * For examples:
    *
-   *   `"projects/my-logging-project"`
-   *   `"organizations/123456789"`
+   * `"projects/my-logging-project"`
+   * `"organizations/123456789"`
    * 
* * @@ -112,15 +118,15 @@ 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]"
+   * "projects/[PROJECT_ID]"
+   * "organizations/[ORGANIZATION_ID]"
+   * "billingAccounts/[BILLING_ACCOUNT_ID]"
+   * "folders/[FOLDER_ID]"
    *
    * For examples:
    *
-   *   `"projects/my-logging-project"`
-   *   `"organizations/123456789"`
+   * `"projects/my-logging-project"`
+   * `"organizations/123456789"`
    * 
* * @@ -215,8 +221,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, parent_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getExclusion()); @@ -230,8 +236,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, parent_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getExclusion()); @@ -316,38 +322,38 @@ public static com.google.logging.v2.CreateExclusionRequest parseFrom( public static com.google.logging.v2.CreateExclusionRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.CreateExclusionRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.CreateExclusionRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.CreateExclusionRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.CreateExclusionRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.CreateExclusionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -370,7 +376,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -384,7 +390,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.logging.v2.CreateExclusionRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.CreateExclusionRequest) com.google.logging.v2.CreateExclusionRequestOrBuilder { @@ -394,7 +400,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_CreateExclusionRequest_fieldAccessorTable @@ -408,14 +414,14 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getExclusionFieldBuilder(); + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetExclusionFieldBuilder(); } } @@ -476,39 +482,6 @@ private void buildPartial0(com.google.logging.v2.CreateExclusionRequest result) result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.CreateExclusionRequest) { @@ -563,7 +536,8 @@ public Builder mergeFrom( } // case 10 case 18: { - input.readMessage(getExclusionFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage( + internalGetExclusionFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 18 @@ -594,15 +568,15 @@ 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]"
+     * "projects/[PROJECT_ID]"
+     * "organizations/[ORGANIZATION_ID]"
+     * "billingAccounts/[BILLING_ACCOUNT_ID]"
+     * "folders/[FOLDER_ID]"
      *
      * For examples:
      *
-     *   `"projects/my-logging-project"`
-     *   `"organizations/123456789"`
+     * `"projects/my-logging-project"`
+     * `"organizations/123456789"`
      * 
* * @@ -629,15 +603,15 @@ 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]"
+     * "projects/[PROJECT_ID]"
+     * "organizations/[ORGANIZATION_ID]"
+     * "billingAccounts/[BILLING_ACCOUNT_ID]"
+     * "folders/[FOLDER_ID]"
      *
      * For examples:
      *
-     *   `"projects/my-logging-project"`
-     *   `"organizations/123456789"`
+     * `"projects/my-logging-project"`
+     * `"organizations/123456789"`
      * 
* * @@ -664,15 +638,15 @@ 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]"
+     * "projects/[PROJECT_ID]"
+     * "organizations/[ORGANIZATION_ID]"
+     * "billingAccounts/[BILLING_ACCOUNT_ID]"
+     * "folders/[FOLDER_ID]"
      *
      * For examples:
      *
-     *   `"projects/my-logging-project"`
-     *   `"organizations/123456789"`
+     * `"projects/my-logging-project"`
+     * `"organizations/123456789"`
      * 
* * @@ -698,15 +672,15 @@ 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]"
+     * "projects/[PROJECT_ID]"
+     * "organizations/[ORGANIZATION_ID]"
+     * "billingAccounts/[BILLING_ACCOUNT_ID]"
+     * "folders/[FOLDER_ID]"
      *
      * For examples:
      *
-     *   `"projects/my-logging-project"`
-     *   `"organizations/123456789"`
+     * `"projects/my-logging-project"`
+     * `"organizations/123456789"`
      * 
* * @@ -728,15 +702,15 @@ 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]"
+     * "projects/[PROJECT_ID]"
+     * "organizations/[ORGANIZATION_ID]"
+     * "billingAccounts/[BILLING_ACCOUNT_ID]"
+     * "folders/[FOLDER_ID]"
      *
      * For examples:
      *
-     *   `"projects/my-logging-project"`
-     *   `"organizations/123456789"`
+     * `"projects/my-logging-project"`
+     * `"organizations/123456789"`
      * 
* * @@ -758,7 +732,7 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { } private com.google.logging.v2.LogExclusion exclusion_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.logging.v2.LogExclusion, com.google.logging.v2.LogExclusion.Builder, com.google.logging.v2.LogExclusionOrBuilder> @@ -924,7 +898,7 @@ public Builder clearExclusion() { public com.google.logging.v2.LogExclusion.Builder getExclusionBuilder() { bitField0_ |= 0x00000002; onChanged(); - return getExclusionFieldBuilder().getBuilder(); + return internalGetExclusionFieldBuilder().getBuilder(); } /** @@ -961,14 +935,14 @@ public com.google.logging.v2.LogExclusionOrBuilder getExclusionOrBuilder() { * .google.logging.v2.LogExclusion exclusion = 2 [(.google.api.field_behavior) = REQUIRED]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.logging.v2.LogExclusion, com.google.logging.v2.LogExclusion.Builder, com.google.logging.v2.LogExclusionOrBuilder> - getExclusionFieldBuilder() { + internalGetExclusionFieldBuilder() { if (exclusionBuilder_ == null) { exclusionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.logging.v2.LogExclusion, com.google.logging.v2.LogExclusion.Builder, com.google.logging.v2.LogExclusionOrBuilder>( @@ -978,17 +952,6 @@ public com.google.logging.v2.LogExclusionOrBuilder getExclusionOrBuilder() { return exclusionBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.logging.v2.CreateExclusionRequest) } 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 5eb027106..104097717 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 @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; +@com.google.protobuf.Generated public interface CreateExclusionRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.CreateExclusionRequest) @@ -30,15 +32,15 @@ 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]"
+   * "projects/[PROJECT_ID]"
+   * "organizations/[ORGANIZATION_ID]"
+   * "billingAccounts/[BILLING_ACCOUNT_ID]"
+   * "folders/[FOLDER_ID]"
    *
    * For examples:
    *
-   *   `"projects/my-logging-project"`
-   *   `"organizations/123456789"`
+   * `"projects/my-logging-project"`
+   * `"organizations/123456789"`
    * 
* * @@ -55,15 +57,15 @@ 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]"
+   * "projects/[PROJECT_ID]"
+   * "organizations/[ORGANIZATION_ID]"
+   * "billingAccounts/[BILLING_ACCOUNT_ID]"
+   * "folders/[FOLDER_ID]"
    *
    * For examples:
    *
-   *   `"projects/my-logging-project"`
-   *   `"organizations/123456789"`
+   * `"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 54a71afd5..99d51551a 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 @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.logging.v2.CreateLinkRequest} */ -public final class CreateLinkRequest extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class CreateLinkRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.logging.v2.CreateLinkRequest) CreateLinkRequestOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 0, + /* suffix= */ "", + "CreateLinkRequest"); + } + // Use CreateLinkRequest.newBuilder() to construct. - private CreateLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CreateLinkRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -44,19 +56,13 @@ private CreateLinkRequest() { linkId_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new CreateLinkRequest(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_CreateLinkRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_CreateLinkRequest_fieldAccessorTable @@ -77,10 +83,10 @@ 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]"
-   *     "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+   * "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]"
    * 
* * @@ -108,10 +114,10 @@ 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]"
-   *     "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+   * "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]"
    * 
* * @@ -253,14 +259,14 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, parent_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getLink()); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(linkId_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, linkId_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(linkId_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, linkId_); } getUnknownFields().writeTo(output); } @@ -271,14 +277,14 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, parent_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getLink()); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(linkId_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, linkId_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(linkId_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, linkId_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -362,38 +368,38 @@ public static com.google.logging.v2.CreateLinkRequest parseFrom( public static com.google.logging.v2.CreateLinkRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.CreateLinkRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.CreateLinkRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.CreateLinkRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.CreateLinkRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.CreateLinkRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -416,7 +422,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -430,7 +436,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.logging.v2.CreateLinkRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.CreateLinkRequest) com.google.logging.v2.CreateLinkRequestOrBuilder { @@ -440,7 +446,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_CreateLinkRequest_fieldAccessorTable @@ -454,14 +460,14 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getLinkFieldBuilder(); + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetLinkFieldBuilder(); } } @@ -526,39 +532,6 @@ private void buildPartial0(com.google.logging.v2.CreateLinkRequest result) { result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.CreateLinkRequest) { @@ -618,7 +591,7 @@ public Builder mergeFrom( } // case 10 case 18: { - input.readMessage(getLinkFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage(internalGetLinkFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 18 @@ -655,10 +628,10 @@ 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]"
-     *     "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+     * "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]"
      * 
* * @@ -685,10 +658,10 @@ 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]"
-     *     "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+     * "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]"
      * 
* * @@ -715,10 +688,10 @@ 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]"
-     *     "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+     * "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]"
      * 
* * @@ -744,10 +717,10 @@ 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]"
-     *     "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+     * "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]"
      * 
* * @@ -769,10 +742,10 @@ 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]"
-     *     "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+     * "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]"
      * 
* * @@ -794,7 +767,7 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { } private com.google.logging.v2.Link link_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.logging.v2.Link, com.google.logging.v2.Link.Builder, com.google.logging.v2.LinkOrBuilder> @@ -937,7 +910,7 @@ public Builder clearLink() { public com.google.logging.v2.Link.Builder getLinkBuilder() { bitField0_ |= 0x00000002; onChanged(); - return getLinkFieldBuilder().getBuilder(); + return internalGetLinkFieldBuilder().getBuilder(); } /** @@ -966,14 +939,14 @@ public com.google.logging.v2.LinkOrBuilder getLinkOrBuilder() { * * .google.logging.v2.Link link = 2 [(.google.api.field_behavior) = REQUIRED]; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.logging.v2.Link, com.google.logging.v2.Link.Builder, com.google.logging.v2.LinkOrBuilder> - getLinkFieldBuilder() { + internalGetLinkFieldBuilder() { if (linkBuilder_ == null) { linkBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.logging.v2.Link, com.google.logging.v2.Link.Builder, com.google.logging.v2.LinkOrBuilder>(getLink(), getParentForChildren(), isClean()); @@ -1103,17 +1076,6 @@ public Builder setLinkIdBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.logging.v2.CreateLinkRequest) } 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 d5d33ea52..cf0fa905c 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 @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; +@com.google.protobuf.Generated public interface CreateLinkRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.CreateLinkRequest) @@ -30,10 +32,10 @@ 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]"
-   *     "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+   * "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]"
    * 
* * @@ -50,10 +52,10 @@ 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]"
-   *     "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+   * "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]"
    * 
* * 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 74c7bcbae..52fc06a4c 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 @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_metrics.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.logging.v2.CreateLogMetricRequest} */ -public final class CreateLogMetricRequest extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class CreateLogMetricRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.logging.v2.CreateLogMetricRequest) CreateLogMetricRequestOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 0, + /* suffix= */ "", + "CreateLogMetricRequest"); + } + // Use CreateLogMetricRequest.newBuilder() to construct. - private CreateLogMetricRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CreateLogMetricRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -43,19 +55,13 @@ private CreateLogMetricRequest() { parent_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new CreateLogMetricRequest(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingMetricsProto .internal_static_google_logging_v2_CreateLogMetricRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingMetricsProto .internal_static_google_logging_v2_CreateLogMetricRequest_fieldAccessorTable @@ -76,7 +82,7 @@ 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]"
+   * "projects/[PROJECT_ID]"
    *
    * The new metric must be provided in the request.
    * 
@@ -106,7 +112,7 @@ public java.lang.String getParent() { *
    * Required. The resource name of the project in which to create the metric:
    *
-   *     "projects/[PROJECT_ID]"
+   * "projects/[PROJECT_ID]"
    *
    * The new metric must be provided in the request.
    * 
@@ -196,8 +202,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, parent_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getMetric()); @@ -211,8 +217,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, parent_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getMetric()); @@ -297,38 +303,38 @@ public static com.google.logging.v2.CreateLogMetricRequest parseFrom( public static com.google.logging.v2.CreateLogMetricRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.CreateLogMetricRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.CreateLogMetricRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.CreateLogMetricRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.CreateLogMetricRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.CreateLogMetricRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -351,7 +357,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -365,7 +371,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.logging.v2.CreateLogMetricRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.CreateLogMetricRequest) com.google.logging.v2.CreateLogMetricRequestOrBuilder { @@ -375,7 +381,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingMetricsProto .internal_static_google_logging_v2_CreateLogMetricRequest_fieldAccessorTable @@ -389,14 +395,14 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getMetricFieldBuilder(); + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetMetricFieldBuilder(); } } @@ -457,39 +463,6 @@ private void buildPartial0(com.google.logging.v2.CreateLogMetricRequest result) result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.CreateLogMetricRequest) { @@ -544,7 +517,7 @@ public Builder mergeFrom( } // case 10 case 18: { - input.readMessage(getMetricFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage(internalGetMetricFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 18 @@ -575,7 +548,7 @@ public Builder mergeFrom( *
      * Required. The resource name of the project in which to create the metric:
      *
-     *     "projects/[PROJECT_ID]"
+     * "projects/[PROJECT_ID]"
      *
      * The new metric must be provided in the request.
      * 
@@ -604,7 +577,7 @@ public java.lang.String getParent() { *
      * Required. The resource name of the project in which to create the metric:
      *
-     *     "projects/[PROJECT_ID]"
+     * "projects/[PROJECT_ID]"
      *
      * The new metric must be provided in the request.
      * 
@@ -633,7 +606,7 @@ public com.google.protobuf.ByteString getParentBytes() { *
      * Required. The resource name of the project in which to create the metric:
      *
-     *     "projects/[PROJECT_ID]"
+     * "projects/[PROJECT_ID]"
      *
      * The new metric must be provided in the request.
      * 
@@ -661,7 +634,7 @@ public Builder setParent(java.lang.String value) { *
      * Required. The resource name of the project in which to create the metric:
      *
-     *     "projects/[PROJECT_ID]"
+     * "projects/[PROJECT_ID]"
      *
      * The new metric must be provided in the request.
      * 
@@ -685,7 +658,7 @@ public Builder clearParent() { *
      * Required. The resource name of the project in which to create the metric:
      *
-     *     "projects/[PROJECT_ID]"
+     * "projects/[PROJECT_ID]"
      *
      * The new metric must be provided in the request.
      * 
@@ -709,7 +682,7 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { } private com.google.logging.v2.LogMetric metric_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.logging.v2.LogMetric, com.google.logging.v2.LogMetric.Builder, com.google.logging.v2.LogMetricOrBuilder> @@ -866,7 +839,7 @@ public Builder clearMetric() { public com.google.logging.v2.LogMetric.Builder getMetricBuilder() { bitField0_ |= 0x00000002; onChanged(); - return getMetricFieldBuilder().getBuilder(); + return internalGetMetricFieldBuilder().getBuilder(); } /** @@ -899,14 +872,14 @@ public com.google.logging.v2.LogMetricOrBuilder getMetricOrBuilder() { * .google.logging.v2.LogMetric metric = 2 [(.google.api.field_behavior) = REQUIRED]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.logging.v2.LogMetric, com.google.logging.v2.LogMetric.Builder, com.google.logging.v2.LogMetricOrBuilder> - getMetricFieldBuilder() { + internalGetMetricFieldBuilder() { if (metricBuilder_ == null) { metricBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.logging.v2.LogMetric, com.google.logging.v2.LogMetric.Builder, com.google.logging.v2.LogMetricOrBuilder>( @@ -916,17 +889,6 @@ public com.google.logging.v2.LogMetricOrBuilder getMetricOrBuilder() { return metricBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.logging.v2.CreateLogMetricRequest) } 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 9ced49128..d4cf19303 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 @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_metrics.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; +@com.google.protobuf.Generated public interface CreateLogMetricRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.CreateLogMetricRequest) @@ -30,7 +32,7 @@ public interface CreateLogMetricRequestOrBuilder *
    * Required. The resource name of the project in which to create the metric:
    *
-   *     "projects/[PROJECT_ID]"
+   * "projects/[PROJECT_ID]"
    *
    * The new metric must be provided in the request.
    * 
@@ -49,7 +51,7 @@ public interface CreateLogMetricRequestOrBuilder *
    * Required. The resource name of the project in which to create the metric:
    *
-   *     "projects/[PROJECT_ID]"
+   * "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 4903408e0..a1bb055ff 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 @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.logging.v2.CreateSinkRequest} */ -public final class CreateSinkRequest extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class CreateSinkRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.logging.v2.CreateSinkRequest) CreateSinkRequestOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 0, + /* suffix= */ "", + "CreateSinkRequest"); + } + // Use CreateSinkRequest.newBuilder() to construct. - private CreateSinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CreateSinkRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -43,19 +55,13 @@ private CreateSinkRequest() { parent_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new CreateSinkRequest(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_CreateSinkRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_CreateSinkRequest_fieldAccessorTable @@ -76,15 +82,15 @@ 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]"
+   * "projects/[PROJECT_ID]"
+   * "organizations/[ORGANIZATION_ID]"
+   * "billingAccounts/[BILLING_ACCOUNT_ID]"
+   * "folders/[FOLDER_ID]"
    *
    * For examples:
    *
-   *   `"projects/my-project"`
-   *   `"organizations/123456789"`
+   * `"projects/my-project"`
+   * `"organizations/123456789"`
    * 
* * @@ -112,15 +118,15 @@ 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]"
+   * "projects/[PROJECT_ID]"
+   * "organizations/[ORGANIZATION_ID]"
+   * "billingAccounts/[BILLING_ACCOUNT_ID]"
+   * "folders/[FOLDER_ID]"
    *
    * For examples:
    *
-   *   `"projects/my-project"`
-   *   `"organizations/123456789"`
+   * `"projects/my-project"`
+   * `"organizations/123456789"`
    * 
* * @@ -238,8 +244,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, parent_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getSink()); @@ -256,8 +262,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, parent_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getSink()); @@ -347,38 +353,38 @@ public static com.google.logging.v2.CreateSinkRequest parseFrom( public static com.google.logging.v2.CreateSinkRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.CreateSinkRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.CreateSinkRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.CreateSinkRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.CreateSinkRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.CreateSinkRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -401,7 +407,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -415,7 +421,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.logging.v2.CreateSinkRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.CreateSinkRequest) com.google.logging.v2.CreateSinkRequestOrBuilder { @@ -425,7 +431,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_CreateSinkRequest_fieldAccessorTable @@ -439,14 +445,14 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getSinkFieldBuilder(); + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetSinkFieldBuilder(); } } @@ -511,39 +517,6 @@ private void buildPartial0(com.google.logging.v2.CreateSinkRequest result) { result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.CreateSinkRequest) { @@ -601,7 +574,7 @@ public Builder mergeFrom( } // case 10 case 18: { - input.readMessage(getSinkFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage(internalGetSinkFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 18 @@ -638,15 +611,15 @@ 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]"
+     * "projects/[PROJECT_ID]"
+     * "organizations/[ORGANIZATION_ID]"
+     * "billingAccounts/[BILLING_ACCOUNT_ID]"
+     * "folders/[FOLDER_ID]"
      *
      * For examples:
      *
-     *   `"projects/my-project"`
-     *   `"organizations/123456789"`
+     * `"projects/my-project"`
+     * `"organizations/123456789"`
      * 
* * @@ -673,15 +646,15 @@ 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]"
+     * "projects/[PROJECT_ID]"
+     * "organizations/[ORGANIZATION_ID]"
+     * "billingAccounts/[BILLING_ACCOUNT_ID]"
+     * "folders/[FOLDER_ID]"
      *
      * For examples:
      *
-     *   `"projects/my-project"`
-     *   `"organizations/123456789"`
+     * `"projects/my-project"`
+     * `"organizations/123456789"`
      * 
* * @@ -708,15 +681,15 @@ 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]"
+     * "projects/[PROJECT_ID]"
+     * "organizations/[ORGANIZATION_ID]"
+     * "billingAccounts/[BILLING_ACCOUNT_ID]"
+     * "folders/[FOLDER_ID]"
      *
      * For examples:
      *
-     *   `"projects/my-project"`
-     *   `"organizations/123456789"`
+     * `"projects/my-project"`
+     * `"organizations/123456789"`
      * 
* * @@ -742,15 +715,15 @@ 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]"
+     * "projects/[PROJECT_ID]"
+     * "organizations/[ORGANIZATION_ID]"
+     * "billingAccounts/[BILLING_ACCOUNT_ID]"
+     * "folders/[FOLDER_ID]"
      *
      * For examples:
      *
-     *   `"projects/my-project"`
-     *   `"organizations/123456789"`
+     * `"projects/my-project"`
+     * `"organizations/123456789"`
      * 
* * @@ -772,15 +745,15 @@ 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]"
+     * "projects/[PROJECT_ID]"
+     * "organizations/[ORGANIZATION_ID]"
+     * "billingAccounts/[BILLING_ACCOUNT_ID]"
+     * "folders/[FOLDER_ID]"
      *
      * For examples:
      *
-     *   `"projects/my-project"`
-     *   `"organizations/123456789"`
+     * `"projects/my-project"`
+     * `"organizations/123456789"`
      * 
* * @@ -802,7 +775,7 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { } private com.google.logging.v2.LogSink sink_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.logging.v2.LogSink, com.google.logging.v2.LogSink.Builder, com.google.logging.v2.LogSinkOrBuilder> @@ -952,7 +925,7 @@ public Builder clearSink() { public com.google.logging.v2.LogSink.Builder getSinkBuilder() { bitField0_ |= 0x00000002; onChanged(); - return getSinkFieldBuilder().getBuilder(); + return internalGetSinkFieldBuilder().getBuilder(); } /** @@ -983,14 +956,14 @@ public com.google.logging.v2.LogSinkOrBuilder getSinkOrBuilder() { * * .google.logging.v2.LogSink sink = 2 [(.google.api.field_behavior) = REQUIRED]; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.logging.v2.LogSink, com.google.logging.v2.LogSink.Builder, com.google.logging.v2.LogSinkOrBuilder> - getSinkFieldBuilder() { + internalGetSinkFieldBuilder() { if (sinkBuilder_ == null) { sinkBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.logging.v2.LogSink, com.google.logging.v2.LogSink.Builder, com.google.logging.v2.LogSinkOrBuilder>( @@ -1089,17 +1062,6 @@ public Builder clearUniqueWriterIdentity() { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.logging.v2.CreateSinkRequest) } 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 0b2040e31..042f7860c 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 @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; +@com.google.protobuf.Generated public interface CreateSinkRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.CreateSinkRequest) @@ -30,15 +32,15 @@ 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]"
+   * "projects/[PROJECT_ID]"
+   * "organizations/[ORGANIZATION_ID]"
+   * "billingAccounts/[BILLING_ACCOUNT_ID]"
+   * "folders/[FOLDER_ID]"
    *
    * For examples:
    *
-   *   `"projects/my-project"`
-   *   `"organizations/123456789"`
+   * `"projects/my-project"`
+   * `"organizations/123456789"`
    * 
* * @@ -55,15 +57,15 @@ 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]"
+   * "projects/[PROJECT_ID]"
+   * "organizations/[ORGANIZATION_ID]"
+   * "billingAccounts/[BILLING_ACCOUNT_ID]"
+   * "folders/[FOLDER_ID]"
    *
    * For examples:
    *
-   *   `"projects/my-project"`
-   *   `"organizations/123456789"`
+   * `"projects/my-project"`
+   * `"organizations/123456789"`
    * 
* * 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 db5c577f0..c0c4d8949 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 @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.logging.v2.CreateViewRequest} */ -public final class CreateViewRequest extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class CreateViewRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.logging.v2.CreateViewRequest) CreateViewRequestOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 0, + /* suffix= */ "", + "CreateViewRequest"); + } + // Use CreateViewRequest.newBuilder() to construct. - private CreateViewRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CreateViewRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -44,19 +56,13 @@ private CreateViewRequest() { viewId_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new CreateViewRequest(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_CreateViewRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_CreateViewRequest_fieldAccessorTable @@ -77,11 +83,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]"`
+   * `"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"`
    *
    * For example:
    *
-   *   `"projects/my-project/locations/global/buckets/my-bucket"`
+   * `"projects/my-project/locations/global/buckets/my-bucket"`
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -107,11 +113,11 @@ public java.lang.String getParent() { *
    * Required. The bucket in which to create the view
    *
-   *     `"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"`
+   * `"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"`
    *
    * For example:
    *
-   *   `"projects/my-project/locations/global/buckets/my-bucket"`
+   * `"projects/my-project/locations/global/buckets/my-bucket"`
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -251,11 +257,11 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, parent_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(viewId_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, viewId_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(viewId_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, viewId_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(3, getView()); @@ -269,11 +275,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, parent_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(viewId_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, viewId_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(viewId_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, viewId_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getView()); @@ -360,38 +366,38 @@ public static com.google.logging.v2.CreateViewRequest parseFrom( public static com.google.logging.v2.CreateViewRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.CreateViewRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.CreateViewRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.CreateViewRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.CreateViewRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.CreateViewRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -414,7 +420,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -428,7 +434,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.logging.v2.CreateViewRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.CreateViewRequest) com.google.logging.v2.CreateViewRequestOrBuilder { @@ -438,7 +444,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_CreateViewRequest_fieldAccessorTable @@ -452,14 +458,14 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getViewFieldBuilder(); + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetViewFieldBuilder(); } } @@ -524,39 +530,6 @@ private void buildPartial0(com.google.logging.v2.CreateViewRequest result) { result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.CreateViewRequest) { @@ -622,7 +595,7 @@ public Builder mergeFrom( } // case 18 case 26: { - input.readMessage(getViewFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage(internalGetViewFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 26 @@ -653,11 +626,11 @@ public Builder mergeFrom( *
      * Required. The bucket in which to create the view
      *
-     *     `"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"`
+     * `"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"`
      *
      * For example:
      *
-     *   `"projects/my-project/locations/global/buckets/my-bucket"`
+     * `"projects/my-project/locations/global/buckets/my-bucket"`
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -682,11 +655,11 @@ public java.lang.String getParent() { *
      * Required. The bucket in which to create the view
      *
-     *     `"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"`
+     * `"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"`
      *
      * For example:
      *
-     *   `"projects/my-project/locations/global/buckets/my-bucket"`
+     * `"projects/my-project/locations/global/buckets/my-bucket"`
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -711,11 +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]"`
+     * `"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"`
      *
      * For example:
      *
-     *   `"projects/my-project/locations/global/buckets/my-bucket"`
+     * `"projects/my-project/locations/global/buckets/my-bucket"`
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -739,11 +712,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]"`
+     * `"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"`
      *
      * For example:
      *
-     *   `"projects/my-project/locations/global/buckets/my-bucket"`
+     * `"projects/my-project/locations/global/buckets/my-bucket"`
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -763,11 +736,11 @@ public Builder clearParent() { *
      * Required. The bucket in which to create the view
      *
-     *     `"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"`
+     * `"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"`
      *
      * For example:
      *
-     *   `"projects/my-project/locations/global/buckets/my-bucket"`
+     * `"projects/my-project/locations/global/buckets/my-bucket"`
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -908,7 +881,7 @@ public Builder setViewIdBytes(com.google.protobuf.ByteString value) { } private com.google.logging.v2.LogView view_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.logging.v2.LogView, com.google.logging.v2.LogView.Builder, com.google.logging.v2.LogViewOrBuilder> @@ -1051,7 +1024,7 @@ public Builder clearView() { public com.google.logging.v2.LogView.Builder getViewBuilder() { bitField0_ |= 0x00000004; onChanged(); - return getViewFieldBuilder().getBuilder(); + return internalGetViewFieldBuilder().getBuilder(); } /** @@ -1080,14 +1053,14 @@ public com.google.logging.v2.LogViewOrBuilder getViewOrBuilder() { * * .google.logging.v2.LogView view = 3 [(.google.api.field_behavior) = REQUIRED]; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.logging.v2.LogView, com.google.logging.v2.LogView.Builder, com.google.logging.v2.LogViewOrBuilder> - getViewFieldBuilder() { + internalGetViewFieldBuilder() { if (viewBuilder_ == null) { viewBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.logging.v2.LogView, com.google.logging.v2.LogView.Builder, com.google.logging.v2.LogViewOrBuilder>( @@ -1097,17 +1070,6 @@ public com.google.logging.v2.LogViewOrBuilder getViewOrBuilder() { return viewBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.logging.v2.CreateViewRequest) } 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 29e256c86..ec36f50c0 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 @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; +@com.google.protobuf.Generated public interface CreateViewRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.CreateViewRequest) @@ -30,11 +32,11 @@ public interface CreateViewRequestOrBuilder *
    * Required. The bucket in which to create the view
    *
-   *     `"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"`
+   * `"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"`
    *
    * For example:
    *
-   *   `"projects/my-project/locations/global/buckets/my-bucket"`
+   * `"projects/my-project/locations/global/buckets/my-bucket"`
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -49,11 +51,11 @@ public interface CreateViewRequestOrBuilder *
    * Required. The bucket in which to create the view
    *
-   *     `"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"`
+   * `"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"`
    *
    * For example:
    *
-   *   `"projects/my-project/locations/global/buckets/my-bucket"`
+   * `"projects/my-project/locations/global/buckets/my-bucket"`
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; 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 a4de92e84..c8eb17761 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 @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.logging.v2.DeleteBucketRequest} */ -public final class DeleteBucketRequest extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class DeleteBucketRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.logging.v2.DeleteBucketRequest) DeleteBucketRequestOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 0, + /* suffix= */ "", + "DeleteBucketRequest"); + } + // Use DeleteBucketRequest.newBuilder() to construct. - private DeleteBucketRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DeleteBucketRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -43,19 +55,13 @@ private DeleteBucketRequest() { name_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new DeleteBucketRequest(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_DeleteBucketRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_DeleteBucketRequest_fieldAccessorTable @@ -75,14 +81,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]"
+   * "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"`
+   * `"projects/my-project/locations/global/buckets/my-bucket"`
    * 
* * @@ -110,14 +116,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]"
+   * "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"`
+   * `"projects/my-project/locations/global/buckets/my-bucket"`
    * 
* * @@ -153,8 +159,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); } getUnknownFields().writeTo(output); } @@ -165,8 +171,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -240,38 +246,38 @@ public static com.google.logging.v2.DeleteBucketRequest parseFrom( public static com.google.logging.v2.DeleteBucketRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.DeleteBucketRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.DeleteBucketRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.DeleteBucketRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.DeleteBucketRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.DeleteBucketRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -294,7 +300,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -308,7 +314,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.logging.v2.DeleteBucketRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.DeleteBucketRequest) com.google.logging.v2.DeleteBucketRequestOrBuilder { @@ -318,7 +324,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_DeleteBucketRequest_fieldAccessorTable @@ -330,7 +336,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.logging.v2.DeleteBucketRequest.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -380,39 +386,6 @@ private void buildPartial0(com.google.logging.v2.DeleteBucketRequest result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.DeleteBucketRequest) { @@ -489,14 +462,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]"
+     * "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"`
+     * `"projects/my-project/locations/global/buckets/my-bucket"`
      * 
* * @@ -523,14 +496,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]"
+     * "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"`
+     * `"projects/my-project/locations/global/buckets/my-bucket"`
      * 
* * @@ -557,14 +530,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]"
+     * "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"`
+     * `"projects/my-project/locations/global/buckets/my-bucket"`
      * 
* * @@ -590,14 +563,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]"
+     * "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"`
+     * `"projects/my-project/locations/global/buckets/my-bucket"`
      * 
* * @@ -619,14 +592,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]"
+     * "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"`
+     * `"projects/my-project/locations/global/buckets/my-bucket"`
      * 
* * @@ -647,17 +620,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.logging.v2.DeleteBucketRequest) } 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 333833e1c..eba5189e9 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 @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; +@com.google.protobuf.Generated public interface DeleteBucketRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.DeleteBucketRequest) @@ -30,14 +32,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]"
+   * "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"`
+   * `"projects/my-project/locations/global/buckets/my-bucket"`
    * 
* * @@ -54,14 +56,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]"
+   * "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"`
+   * `"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 5b9241fda..8706881aa 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 @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.logging.v2.DeleteExclusionRequest} */ -public final class DeleteExclusionRequest extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class DeleteExclusionRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.logging.v2.DeleteExclusionRequest) DeleteExclusionRequestOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 0, + /* suffix= */ "", + "DeleteExclusionRequest"); + } + // Use DeleteExclusionRequest.newBuilder() to construct. - private DeleteExclusionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DeleteExclusionRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -43,19 +55,13 @@ private DeleteExclusionRequest() { name_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new DeleteExclusionRequest(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_DeleteExclusionRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_DeleteExclusionRequest_fieldAccessorTable @@ -75,14 +81,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]"
+   * "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"`
+   * `"projects/my-project/exclusions/my-exclusion"`
    * 
* * @@ -110,14 +116,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]"
+   * "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"`
+   * `"projects/my-project/exclusions/my-exclusion"`
    * 
* * @@ -153,8 +159,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); } getUnknownFields().writeTo(output); } @@ -165,8 +171,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -240,38 +246,38 @@ public static com.google.logging.v2.DeleteExclusionRequest parseFrom( public static com.google.logging.v2.DeleteExclusionRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.DeleteExclusionRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.DeleteExclusionRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.DeleteExclusionRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.DeleteExclusionRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.DeleteExclusionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -294,7 +300,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -308,7 +314,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.logging.v2.DeleteExclusionRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.DeleteExclusionRequest) com.google.logging.v2.DeleteExclusionRequestOrBuilder { @@ -318,7 +324,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_DeleteExclusionRequest_fieldAccessorTable @@ -330,7 +336,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.logging.v2.DeleteExclusionRequest.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -380,39 +386,6 @@ private void buildPartial0(com.google.logging.v2.DeleteExclusionRequest result) } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.DeleteExclusionRequest) { @@ -489,14 +462,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]"
+     * "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"`
+     * `"projects/my-project/exclusions/my-exclusion"`
      * 
* * @@ -523,14 +496,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]"
+     * "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"`
+     * `"projects/my-project/exclusions/my-exclusion"`
      * 
* * @@ -557,14 +530,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]"
+     * "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"`
+     * `"projects/my-project/exclusions/my-exclusion"`
      * 
* * @@ -590,14 +563,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]"
+     * "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"`
+     * `"projects/my-project/exclusions/my-exclusion"`
      * 
* * @@ -619,14 +592,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]"
+     * "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"`
+     * `"projects/my-project/exclusions/my-exclusion"`
      * 
* * @@ -647,17 +620,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.logging.v2.DeleteExclusionRequest) } 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 085aec573..5e64e2926 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 @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; +@com.google.protobuf.Generated public interface DeleteExclusionRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.DeleteExclusionRequest) @@ -30,14 +32,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]"
+   * "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"`
+   * `"projects/my-project/exclusions/my-exclusion"`
    * 
* * @@ -54,14 +56,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]"
+   * "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"`
+   * `"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 24bf2d235..10690142e 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 @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.logging.v2.DeleteLinkRequest} */ -public final class DeleteLinkRequest extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class DeleteLinkRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.logging.v2.DeleteLinkRequest) DeleteLinkRequestOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 0, + /* suffix= */ "", + "DeleteLinkRequest"); + } + // Use DeleteLinkRequest.newBuilder() to construct. - private DeleteLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DeleteLinkRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -43,19 +55,13 @@ private DeleteLinkRequest() { name_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new DeleteLinkRequest(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_DeleteLinkRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_DeleteLinkRequest_fieldAccessorTable @@ -75,10 +81,10 @@ 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]"
-   *   "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
+   * "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]"
    * 
* * @@ -106,10 +112,10 @@ 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]"
-   *   "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
+   * "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]"
    * 
* * @@ -145,8 +151,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); } getUnknownFields().writeTo(output); } @@ -157,8 +163,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -231,38 +237,38 @@ public static com.google.logging.v2.DeleteLinkRequest parseFrom( public static com.google.logging.v2.DeleteLinkRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.DeleteLinkRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.DeleteLinkRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.DeleteLinkRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.DeleteLinkRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.DeleteLinkRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -285,7 +291,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -299,7 +305,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.logging.v2.DeleteLinkRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.DeleteLinkRequest) com.google.logging.v2.DeleteLinkRequestOrBuilder { @@ -309,7 +315,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_DeleteLinkRequest_fieldAccessorTable @@ -321,7 +327,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.logging.v2.DeleteLinkRequest.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -371,39 +377,6 @@ private void buildPartial0(com.google.logging.v2.DeleteLinkRequest result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.DeleteLinkRequest) { @@ -480,10 +453,10 @@ 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]"
-     *   "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
+     * "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]"
      * 
* * @@ -510,10 +483,10 @@ 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]"
-     *   "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
+     * "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]"
      * 
* * @@ -540,10 +513,10 @@ 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]"
-     *   "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
+     * "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]"
      * 
* * @@ -569,10 +542,10 @@ 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]"
-     *   "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
+     * "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]"
      * 
* * @@ -594,10 +567,10 @@ 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]"
-     *   "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
+     * "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]"
      * 
* * @@ -618,17 +591,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.logging.v2.DeleteLinkRequest) } 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 a02c71920..bbb175de2 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 @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; +@com.google.protobuf.Generated public interface DeleteLinkRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.DeleteLinkRequest) @@ -30,10 +32,10 @@ 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]"
-   *   "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
+   * "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]"
    * 
* * @@ -50,10 +52,10 @@ 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]"
-   *   "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
+   * "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]"
    * 
* * 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 a41c0add5..2d3921b51 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 @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_metrics.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.logging.v2.DeleteLogMetricRequest} */ -public final class DeleteLogMetricRequest extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class DeleteLogMetricRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.logging.v2.DeleteLogMetricRequest) DeleteLogMetricRequestOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 0, + /* suffix= */ "", + "DeleteLogMetricRequest"); + } + // Use DeleteLogMetricRequest.newBuilder() to construct. - private DeleteLogMetricRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DeleteLogMetricRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -43,19 +55,13 @@ private DeleteLogMetricRequest() { metricName_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new DeleteLogMetricRequest(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingMetricsProto .internal_static_google_logging_v2_DeleteLogMetricRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingMetricsProto .internal_static_google_logging_v2_DeleteLogMetricRequest_fieldAccessorTable @@ -75,7 +81,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]"
+   * "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
    * 
* * @@ -103,7 +109,7 @@ public java.lang.String getMetricName() { *
    * Required. The resource name of the metric to delete:
    *
-   *     "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
+   * "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
    * 
* * @@ -139,8 +145,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(metricName_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, metricName_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(metricName_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, metricName_); } getUnknownFields().writeTo(output); } @@ -151,8 +157,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(metricName_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, metricName_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(metricName_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, metricName_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -226,38 +232,38 @@ public static com.google.logging.v2.DeleteLogMetricRequest parseFrom( public static com.google.logging.v2.DeleteLogMetricRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.DeleteLogMetricRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.DeleteLogMetricRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.DeleteLogMetricRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.DeleteLogMetricRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.DeleteLogMetricRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -280,7 +286,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -294,7 +300,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.logging.v2.DeleteLogMetricRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.DeleteLogMetricRequest) com.google.logging.v2.DeleteLogMetricRequestOrBuilder { @@ -304,7 +310,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingMetricsProto .internal_static_google_logging_v2_DeleteLogMetricRequest_fieldAccessorTable @@ -316,7 +322,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.logging.v2.DeleteLogMetricRequest.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -366,39 +372,6 @@ private void buildPartial0(com.google.logging.v2.DeleteLogMetricRequest result) } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.DeleteLogMetricRequest) { @@ -475,7 +448,7 @@ public Builder mergeFrom( *
      * Required. The resource name of the metric to delete:
      *
-     *     "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
+     * "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
      * 
* * @@ -502,7 +475,7 @@ public java.lang.String getMetricName() { *
      * Required. The resource name of the metric to delete:
      *
-     *     "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
+     * "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
      * 
* * @@ -529,7 +502,7 @@ public com.google.protobuf.ByteString getMetricNameBytes() { *
      * Required. The resource name of the metric to delete:
      *
-     *     "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
+     * "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
      * 
* * @@ -555,7 +528,7 @@ public Builder setMetricName(java.lang.String value) { *
      * Required. The resource name of the metric to delete:
      *
-     *     "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
+     * "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
      * 
* * @@ -577,7 +550,7 @@ public Builder clearMetricName() { *
      * Required. The resource name of the metric to delete:
      *
-     *     "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
+     * "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
      * 
* * @@ -598,17 +571,6 @@ public Builder setMetricNameBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.logging.v2.DeleteLogMetricRequest) } 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 b32fe1a65..f719f542a 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 @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_metrics.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; +@com.google.protobuf.Generated public interface DeleteLogMetricRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.DeleteLogMetricRequest) @@ -30,7 +32,7 @@ public interface DeleteLogMetricRequestOrBuilder *
    * Required. The resource name of the metric to delete:
    *
-   *     "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
+   * "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
    * 
* * @@ -47,7 +49,7 @@ public interface DeleteLogMetricRequestOrBuilder *
    * Required. The resource name of the metric to delete:
    *
-   *     "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
+   * "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 88218d316..6f9106c3e 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 @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.logging.v2.DeleteLogRequest} */ -public final class DeleteLogRequest extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class DeleteLogRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.logging.v2.DeleteLogRequest) DeleteLogRequestOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 0, + /* suffix= */ "", + "DeleteLogRequest"); + } + // Use DeleteLogRequest.newBuilder() to construct. - private DeleteLogRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DeleteLogRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -43,19 +55,13 @@ private DeleteLogRequest() { logName_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new DeleteLogRequest(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingProto .internal_static_google_logging_v2_DeleteLogRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingProto .internal_static_google_logging_v2_DeleteLogRequest_fieldAccessorTable @@ -159,8 +165,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(logName_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, logName_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(logName_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, logName_); } getUnknownFields().writeTo(output); } @@ -171,8 +177,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(logName_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, logName_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(logName_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, logName_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -245,38 +251,38 @@ public static com.google.logging.v2.DeleteLogRequest parseFrom( public static com.google.logging.v2.DeleteLogRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.DeleteLogRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.DeleteLogRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.DeleteLogRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.DeleteLogRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.DeleteLogRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -299,7 +305,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -313,7 +319,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.logging.v2.DeleteLogRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.DeleteLogRequest) com.google.logging.v2.DeleteLogRequestOrBuilder { @@ -323,7 +329,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingProto .internal_static_google_logging_v2_DeleteLogRequest_fieldAccessorTable @@ -335,7 +341,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.logging.v2.DeleteLogRequest.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -385,39 +391,6 @@ private void buildPartial0(com.google.logging.v2.DeleteLogRequest result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.DeleteLogRequest) { @@ -667,17 +640,6 @@ public Builder setLogNameBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.logging.v2.DeleteLogRequest) } 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 4bb411c68..88317968c 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 @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; +@com.google.protobuf.Generated public interface DeleteLogRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.DeleteLogRequest) 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 617b83325..05a322414 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 @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.logging.v2.DeleteSinkRequest} */ -public final class DeleteSinkRequest extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class DeleteSinkRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.logging.v2.DeleteSinkRequest) DeleteSinkRequestOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 0, + /* suffix= */ "", + "DeleteSinkRequest"); + } + // Use DeleteSinkRequest.newBuilder() to construct. - private DeleteSinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DeleteSinkRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -43,19 +55,13 @@ private DeleteSinkRequest() { sinkName_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new DeleteSinkRequest(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_DeleteSinkRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_DeleteSinkRequest_fieldAccessorTable @@ -76,14 +82,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]" + * "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"` + * `"projects/my-project/sinks/my-sink"` * * * @@ -112,14 +118,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]" + * "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"` + * `"projects/my-project/sinks/my-sink"` * * * @@ -155,8 +161,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sinkName_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sinkName_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(sinkName_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, sinkName_); } getUnknownFields().writeTo(output); } @@ -167,8 +173,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sinkName_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, sinkName_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(sinkName_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, sinkName_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -241,38 +247,38 @@ public static com.google.logging.v2.DeleteSinkRequest parseFrom( public static com.google.logging.v2.DeleteSinkRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.DeleteSinkRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.DeleteSinkRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.DeleteSinkRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.DeleteSinkRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.DeleteSinkRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -295,7 +301,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -309,7 +315,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.logging.v2.DeleteSinkRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.DeleteSinkRequest) com.google.logging.v2.DeleteSinkRequestOrBuilder { @@ -319,7 +325,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_DeleteSinkRequest_fieldAccessorTable @@ -331,7 +337,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.logging.v2.DeleteSinkRequest.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -381,39 +387,6 @@ private void buildPartial0(com.google.logging.v2.DeleteSinkRequest result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.DeleteSinkRequest) { @@ -491,14 +464,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]" + * "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"` + * `"projects/my-project/sinks/my-sink"` * * * @@ -526,14 +499,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]" + * "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"` + * `"projects/my-project/sinks/my-sink"` * * * @@ -561,14 +534,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]" + * "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"` + * `"projects/my-project/sinks/my-sink"` * * * @@ -595,14 +568,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]" + * "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"` + * `"projects/my-project/sinks/my-sink"` * * * @@ -625,14 +598,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]" + * "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"` + * `"projects/my-project/sinks/my-sink"` * * * @@ -653,17 +626,6 @@ public Builder setSinkNameBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.logging.v2.DeleteSinkRequest) } 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 b31bcf1e8..5d3411c2f 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 @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; +@com.google.protobuf.Generated public interface DeleteSinkRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.DeleteSinkRequest) @@ -31,14 +33,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]" + * "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"` + * `"projects/my-project/sinks/my-sink"` * * * @@ -56,14 +58,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]" + * "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"` + * `"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 f87c02b24..e04274e9d 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 @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.logging.v2.DeleteViewRequest} */ -public final class DeleteViewRequest extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class DeleteViewRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.logging.v2.DeleteViewRequest) DeleteViewRequestOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 0, + /* suffix= */ "", + "DeleteViewRequest"); + } + // Use DeleteViewRequest.newBuilder() to construct. - private DeleteViewRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DeleteViewRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -43,19 +55,13 @@ private DeleteViewRequest() { name_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new DeleteViewRequest(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_DeleteViewRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_DeleteViewRequest_fieldAccessorTable @@ -75,11 +81,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]"
+   * "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"`
+   * `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
    * 
* * @@ -107,11 +113,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]"
+   * "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"`
+   * `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
    * 
* * @@ -147,8 +153,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); } getUnknownFields().writeTo(output); } @@ -159,8 +165,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -233,38 +239,38 @@ public static com.google.logging.v2.DeleteViewRequest parseFrom( public static com.google.logging.v2.DeleteViewRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.DeleteViewRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.DeleteViewRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.DeleteViewRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.DeleteViewRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.DeleteViewRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -287,7 +293,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -301,7 +307,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.logging.v2.DeleteViewRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.DeleteViewRequest) com.google.logging.v2.DeleteViewRequestOrBuilder { @@ -311,7 +317,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_DeleteViewRequest_fieldAccessorTable @@ -323,7 +329,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.logging.v2.DeleteViewRequest.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -373,39 +379,6 @@ private void buildPartial0(com.google.logging.v2.DeleteViewRequest result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.DeleteViewRequest) { @@ -482,11 +455,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]"
+     * "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"`
+     * `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
      * 
* * @@ -513,11 +486,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]"
+     * "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"`
+     * `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
      * 
* * @@ -544,11 +517,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]"
+     * "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"`
+     * `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
      * 
* * @@ -574,11 +547,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]"
+     * "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"`
+     * `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
      * 
* * @@ -600,11 +573,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]"
+     * "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"`
+     * `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
      * 
* * @@ -625,17 +598,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.logging.v2.DeleteViewRequest) } 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 f69f397ca..5a87c62c4 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 @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; +@com.google.protobuf.Generated public interface DeleteViewRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.DeleteViewRequest) @@ -30,11 +32,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]"
+   * "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"`
+   * `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
    * 
* * @@ -51,11 +53,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]"
+   * "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"`
+   * `"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/GetBucketRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetBucketRequest.java index 24d0a62e2..d19b78ab1 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 @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.logging.v2.GetBucketRequest} */ -public final class GetBucketRequest extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class GetBucketRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.logging.v2.GetBucketRequest) GetBucketRequestOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 0, + /* suffix= */ "", + "GetBucketRequest"); + } + // Use GetBucketRequest.newBuilder() to construct. - private GetBucketRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GetBucketRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -43,19 +55,13 @@ private GetBucketRequest() { name_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new GetBucketRequest(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_GetBucketRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_GetBucketRequest_fieldAccessorTable @@ -75,14 +81,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]"
+   * "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"`
+   * `"projects/my-project/locations/global/buckets/my-bucket"`
    * 
* * @@ -110,14 +116,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]"
+   * "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"`
+   * `"projects/my-project/locations/global/buckets/my-bucket"`
    * 
* * @@ -153,8 +159,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); } getUnknownFields().writeTo(output); } @@ -165,8 +171,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -239,38 +245,38 @@ public static com.google.logging.v2.GetBucketRequest parseFrom( public static com.google.logging.v2.GetBucketRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.GetBucketRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.GetBucketRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.GetBucketRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.GetBucketRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.GetBucketRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -293,7 +299,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -307,7 +313,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.logging.v2.GetBucketRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.GetBucketRequest) com.google.logging.v2.GetBucketRequestOrBuilder { @@ -317,7 +323,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_GetBucketRequest_fieldAccessorTable @@ -329,7 +335,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.logging.v2.GetBucketRequest.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -379,39 +385,6 @@ private void buildPartial0(com.google.logging.v2.GetBucketRequest result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.GetBucketRequest) { @@ -488,14 +461,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]"
+     * "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"`
+     * `"projects/my-project/locations/global/buckets/my-bucket"`
      * 
* * @@ -522,14 +495,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]"
+     * "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"`
+     * `"projects/my-project/locations/global/buckets/my-bucket"`
      * 
* * @@ -556,14 +529,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]"
+     * "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"`
+     * `"projects/my-project/locations/global/buckets/my-bucket"`
      * 
* * @@ -589,14 +562,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]"
+     * "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"`
+     * `"projects/my-project/locations/global/buckets/my-bucket"`
      * 
* * @@ -618,14 +591,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]"
+     * "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"`
+     * `"projects/my-project/locations/global/buckets/my-bucket"`
      * 
* * @@ -646,17 +619,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.logging.v2.GetBucketRequest) } 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 37af71550..cf5e060f2 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 @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; +@com.google.protobuf.Generated public interface GetBucketRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.GetBucketRequest) @@ -30,14 +32,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]"
+   * "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"`
+   * `"projects/my-project/locations/global/buckets/my-bucket"`
    * 
* * @@ -54,14 +56,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]"
+   * "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"`
+   * `"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 07ad21cb1..53ca8fa57 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 @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -33,14 +34,25 @@ * * Protobuf type {@code google.logging.v2.GetCmekSettingsRequest} */ -public final class GetCmekSettingsRequest extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class GetCmekSettingsRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.logging.v2.GetCmekSettingsRequest) GetCmekSettingsRequestOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 0, + /* suffix= */ "", + "GetCmekSettingsRequest"); + } + // Use GetCmekSettingsRequest.newBuilder() to construct. - private GetCmekSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GetCmekSettingsRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -48,19 +60,13 @@ private GetCmekSettingsRequest() { name_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new GetCmekSettingsRequest(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_GetCmekSettingsRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_GetCmekSettingsRequest_fieldAccessorTable @@ -80,14 +86,14 @@ 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"
+   * "projects/[PROJECT_ID]/cmekSettings"
+   * "organizations/[ORGANIZATION_ID]/cmekSettings"
+   * "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
+   * "folders/[FOLDER_ID]/cmekSettings"
    *
    * For example:
    *
-   *   `"organizations/12345/cmekSettings"`
+   * `"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
@@ -120,14 +126,14 @@ 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"
+   * "projects/[PROJECT_ID]/cmekSettings"
+   * "organizations/[ORGANIZATION_ID]/cmekSettings"
+   * "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
+   * "folders/[FOLDER_ID]/cmekSettings"
    *
    * For example:
    *
-   *   `"organizations/12345/cmekSettings"`
+   * `"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
@@ -168,8 +174,8 @@ public final boolean isInitialized() {
 
   @java.lang.Override
   public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
-    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
-      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
+    if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) {
+      com.google.protobuf.GeneratedMessage.writeString(output, 1, name_);
     }
     getUnknownFields().writeTo(output);
   }
@@ -180,8 +186,8 @@ public int getSerializedSize() {
     if (size != -1) return size;
 
     size = 0;
-    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
-      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
+    if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) {
+      size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -255,38 +261,38 @@ public static com.google.logging.v2.GetCmekSettingsRequest parseFrom(
 
   public static com.google.logging.v2.GetCmekSettingsRequest parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
   }
 
   public static com.google.logging.v2.GetCmekSettingsRequest parseFrom(
       java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+    return com.google.protobuf.GeneratedMessage.parseWithIOException(
         PARSER, input, extensionRegistry);
   }
 
   public static com.google.logging.v2.GetCmekSettingsRequest parseDelimitedFrom(
       java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.logging.v2.GetCmekSettingsRequest parseDelimitedFrom(
       java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+    return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
         PARSER, input, extensionRegistry);
   }
 
   public static com.google.logging.v2.GetCmekSettingsRequest parseFrom(
       com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
   }
 
   public static com.google.logging.v2.GetCmekSettingsRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+    return com.google.protobuf.GeneratedMessage.parseWithIOException(
         PARSER, input, extensionRegistry);
   }
 
@@ -309,7 +315,7 @@ public Builder toBuilder() {
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
@@ -328,7 +334,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.logging.v2.GetCmekSettingsRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+  public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
       implements
       // @@protoc_insertion_point(builder_implements:google.logging.v2.GetCmekSettingsRequest)
       com.google.logging.v2.GetCmekSettingsRequestOrBuilder {
@@ -338,7 +344,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     }
 
     @java.lang.Override
-    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
         internalGetFieldAccessorTable() {
       return com.google.logging.v2.LoggingConfigProto
           .internal_static_google_logging_v2_GetCmekSettingsRequest_fieldAccessorTable
@@ -350,7 +356,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     // Construct using com.google.logging.v2.GetCmekSettingsRequest.newBuilder()
     private Builder() {}
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
       super(parent);
     }
 
@@ -400,39 +406,6 @@ private void buildPartial0(com.google.logging.v2.GetCmekSettingsRequest result)
       }
     }
 
-    @java.lang.Override
-    public Builder clone() {
-      return super.clone();
-    }
-
-    @java.lang.Override
-    public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
-      return super.setField(field, value);
-    }
-
-    @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
-      return super.clearField(field);
-    }
-
-    @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
-      return super.clearOneof(oneof);
-    }
-
-    @java.lang.Override
-    public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
-      return super.setRepeatedField(field, index, value);
-    }
-
-    @java.lang.Override
-    public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
-      return super.addRepeatedField(field, value);
-    }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.logging.v2.GetCmekSettingsRequest) {
@@ -509,14 +482,14 @@ 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"
+     * "projects/[PROJECT_ID]/cmekSettings"
+     * "organizations/[ORGANIZATION_ID]/cmekSettings"
+     * "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
+     * "folders/[FOLDER_ID]/cmekSettings"
      *
      * For example:
      *
-     *   `"organizations/12345/cmekSettings"`
+     * `"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
@@ -548,14 +521,14 @@ 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"
+     * "projects/[PROJECT_ID]/cmekSettings"
+     * "organizations/[ORGANIZATION_ID]/cmekSettings"
+     * "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
+     * "folders/[FOLDER_ID]/cmekSettings"
      *
      * For example:
      *
-     *   `"organizations/12345/cmekSettings"`
+     * `"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
@@ -587,14 +560,14 @@ 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"
+     * "projects/[PROJECT_ID]/cmekSettings"
+     * "organizations/[ORGANIZATION_ID]/cmekSettings"
+     * "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
+     * "folders/[FOLDER_ID]/cmekSettings"
      *
      * For example:
      *
-     *   `"organizations/12345/cmekSettings"`
+     * `"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
@@ -625,14 +598,14 @@ 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"
+     * "projects/[PROJECT_ID]/cmekSettings"
+     * "organizations/[ORGANIZATION_ID]/cmekSettings"
+     * "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
+     * "folders/[FOLDER_ID]/cmekSettings"
      *
      * For example:
      *
-     *   `"organizations/12345/cmekSettings"`
+     * `"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
@@ -659,14 +632,14 @@ 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"
+     * "projects/[PROJECT_ID]/cmekSettings"
+     * "organizations/[ORGANIZATION_ID]/cmekSettings"
+     * "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
+     * "folders/[FOLDER_ID]/cmekSettings"
      *
      * For example:
      *
-     *   `"organizations/12345/cmekSettings"`
+     * `"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
@@ -692,17 +665,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
       return this;
     }
 
-    @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
-      return super.setUnknownFields(unknownFields);
-    }
-
-    @java.lang.Override
-    public final Builder mergeUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
-      return super.mergeUnknownFields(unknownFields);
-    }
-
     // @@protoc_insertion_point(builder_scope:google.logging.v2.GetCmekSettingsRequest)
   }
 
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 fe5216219..c3ce67173 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
@@ -14,11 +14,13 @@
  * limitations under the License.
  */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
 // source: google/logging/v2/logging_config.proto
+// Protobuf Java Version: 4.33.0
 
-// Protobuf Java Version: 3.25.8
 package com.google.logging.v2;
 
+@com.google.protobuf.Generated
 public interface GetCmekSettingsRequestOrBuilder
     extends
     // @@protoc_insertion_point(interface_extends:google.logging.v2.GetCmekSettingsRequest)
@@ -30,14 +32,14 @@ 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"
+   * "projects/[PROJECT_ID]/cmekSettings"
+   * "organizations/[ORGANIZATION_ID]/cmekSettings"
+   * "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
+   * "folders/[FOLDER_ID]/cmekSettings"
    *
    * For example:
    *
-   *   `"organizations/12345/cmekSettings"`
+   * `"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
@@ -59,14 +61,14 @@ 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"
+   * "projects/[PROJECT_ID]/cmekSettings"
+   * "organizations/[ORGANIZATION_ID]/cmekSettings"
+   * "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
+   * "folders/[FOLDER_ID]/cmekSettings"
    *
    * For example:
    *
-   *   `"organizations/12345/cmekSettings"`
+   * `"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
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 1438cf90d..f72d4a4ae 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
@@ -14,9 +14,10 @@
  * limitations under the License.
  */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
 // source: google/logging/v2/logging_config.proto
+// Protobuf Java Version: 4.33.0
 
-// Protobuf Java Version: 3.25.8
 package com.google.logging.v2;
 
 /**
@@ -28,14 +29,25 @@
  *
  * Protobuf type {@code google.logging.v2.GetExclusionRequest}
  */
-public final class GetExclusionRequest extends com.google.protobuf.GeneratedMessageV3
+@com.google.protobuf.Generated
+public final class GetExclusionRequest extends com.google.protobuf.GeneratedMessage
     implements
     // @@protoc_insertion_point(message_implements:google.logging.v2.GetExclusionRequest)
     GetExclusionRequestOrBuilder {
   private static final long serialVersionUID = 0L;
 
+  static {
+    com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+        com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+        /* major= */ 4,
+        /* minor= */ 33,
+        /* patch= */ 0,
+        /* suffix= */ "",
+        "GetExclusionRequest");
+  }
+
   // Use GetExclusionRequest.newBuilder() to construct.
-  private GetExclusionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private GetExclusionRequest(com.google.protobuf.GeneratedMessage.Builder builder) {
     super(builder);
   }
 
@@ -43,19 +55,13 @@ private GetExclusionRequest() {
     name_ = "";
   }
 
-  @java.lang.Override
-  @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
-    return new GetExclusionRequest();
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.logging.v2.LoggingConfigProto
         .internal_static_google_logging_v2_GetExclusionRequest_descriptor;
   }
 
   @java.lang.Override
-  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+  protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
       internalGetFieldAccessorTable() {
     return com.google.logging.v2.LoggingConfigProto
         .internal_static_google_logging_v2_GetExclusionRequest_fieldAccessorTable
@@ -75,14 +81,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]"
+   * "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"`
+   * `"projects/my-project/exclusions/my-exclusion"`
    * 
* * @@ -110,14 +116,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]"
+   * "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"`
+   * `"projects/my-project/exclusions/my-exclusion"`
    * 
* * @@ -153,8 +159,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); } getUnknownFields().writeTo(output); } @@ -165,8 +171,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -240,38 +246,38 @@ public static com.google.logging.v2.GetExclusionRequest parseFrom( public static com.google.logging.v2.GetExclusionRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.GetExclusionRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.GetExclusionRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.GetExclusionRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.GetExclusionRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.GetExclusionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -294,7 +300,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -308,7 +314,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.logging.v2.GetExclusionRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.GetExclusionRequest) com.google.logging.v2.GetExclusionRequestOrBuilder { @@ -318,7 +324,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_GetExclusionRequest_fieldAccessorTable @@ -330,7 +336,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.logging.v2.GetExclusionRequest.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -380,39 +386,6 @@ private void buildPartial0(com.google.logging.v2.GetExclusionRequest result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.GetExclusionRequest) { @@ -489,14 +462,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]"
+     * "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"`
+     * `"projects/my-project/exclusions/my-exclusion"`
      * 
* * @@ -523,14 +496,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]"
+     * "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"`
+     * `"projects/my-project/exclusions/my-exclusion"`
      * 
* * @@ -557,14 +530,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]"
+     * "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"`
+     * `"projects/my-project/exclusions/my-exclusion"`
      * 
* * @@ -590,14 +563,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]"
+     * "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"`
+     * `"projects/my-project/exclusions/my-exclusion"`
      * 
* * @@ -619,14 +592,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]"
+     * "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"`
+     * `"projects/my-project/exclusions/my-exclusion"`
      * 
* * @@ -647,17 +620,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.logging.v2.GetExclusionRequest) } 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 9f2c1ee27..15bb79c5c 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 @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; +@com.google.protobuf.Generated public interface GetExclusionRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.GetExclusionRequest) @@ -30,14 +32,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]"
+   * "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"`
+   * `"projects/my-project/exclusions/my-exclusion"`
    * 
* * @@ -54,14 +56,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]"
+   * "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"`
+   * `"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 e9a590bb2..970ed0c5d 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 @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.logging.v2.GetLinkRequest} */ -public final class GetLinkRequest extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class GetLinkRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.logging.v2.GetLinkRequest) GetLinkRequestOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 0, + /* suffix= */ "", + "GetLinkRequest"); + } + // Use GetLinkRequest.newBuilder() to construct. - private GetLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GetLinkRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -43,19 +55,13 @@ private GetLinkRequest() { name_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new GetLinkRequest(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_GetLinkRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_GetLinkRequest_fieldAccessorTable @@ -75,10 +81,10 @@ 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]"
-   *   "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]
+   * "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]
    * 
* * @@ -106,10 +112,10 @@ 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]"
-   *   "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]
+   * "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]
    * 
* * @@ -145,8 +151,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); } getUnknownFields().writeTo(output); } @@ -157,8 +163,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -230,38 +236,38 @@ public static com.google.logging.v2.GetLinkRequest parseFrom( public static com.google.logging.v2.GetLinkRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.GetLinkRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.GetLinkRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.GetLinkRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.GetLinkRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.GetLinkRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -284,7 +290,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -298,7 +304,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.logging.v2.GetLinkRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.GetLinkRequest) com.google.logging.v2.GetLinkRequestOrBuilder { @@ -308,7 +314,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_GetLinkRequest_fieldAccessorTable @@ -320,7 +326,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.logging.v2.GetLinkRequest.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -369,39 +375,6 @@ private void buildPartial0(com.google.logging.v2.GetLinkRequest result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.GetLinkRequest) { @@ -478,10 +451,10 @@ 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]"
-     *   "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]
+     * "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]
      * 
* * @@ -508,10 +481,10 @@ 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]"
-     *   "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]
+     * "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]
      * 
* * @@ -538,10 +511,10 @@ 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]"
-     *   "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]
+     * "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]
      * 
* * @@ -567,10 +540,10 @@ 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]"
-     *   "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]
+     * "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]
      * 
* * @@ -592,10 +565,10 @@ 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]"
-     *   "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]
+     * "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]
      * 
* * @@ -616,17 +589,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.logging.v2.GetLinkRequest) } 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 3a9cfe915..9c434d9e1 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 @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; +@com.google.protobuf.Generated public interface GetLinkRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.GetLinkRequest) @@ -30,10 +32,10 @@ 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]"
-   *   "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]
+   * "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]
    * 
* * @@ -50,10 +52,10 @@ 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]"
-   *   "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]
+   * "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]
    * 
* * 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 2f30ffde9..c4d4ea99d 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 @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_metrics.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.logging.v2.GetLogMetricRequest} */ -public final class GetLogMetricRequest extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class GetLogMetricRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.logging.v2.GetLogMetricRequest) GetLogMetricRequestOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 0, + /* suffix= */ "", + "GetLogMetricRequest"); + } + // Use GetLogMetricRequest.newBuilder() to construct. - private GetLogMetricRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GetLogMetricRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -43,19 +55,13 @@ private GetLogMetricRequest() { metricName_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new GetLogMetricRequest(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingMetricsProto .internal_static_google_logging_v2_GetLogMetricRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingMetricsProto .internal_static_google_logging_v2_GetLogMetricRequest_fieldAccessorTable @@ -75,7 +81,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { *
    * Required. The resource name of the desired metric:
    *
-   *     "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
+   * "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
    * 
* * @@ -103,7 +109,7 @@ public java.lang.String getMetricName() { *
    * Required. The resource name of the desired metric:
    *
-   *     "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
+   * "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
    * 
* * @@ -139,8 +145,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(metricName_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, metricName_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(metricName_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, metricName_); } getUnknownFields().writeTo(output); } @@ -151,8 +157,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(metricName_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, metricName_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(metricName_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, metricName_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -226,38 +232,38 @@ public static com.google.logging.v2.GetLogMetricRequest parseFrom( public static com.google.logging.v2.GetLogMetricRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.GetLogMetricRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.GetLogMetricRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.GetLogMetricRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.GetLogMetricRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.GetLogMetricRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -280,7 +286,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -294,7 +300,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.logging.v2.GetLogMetricRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.GetLogMetricRequest) com.google.logging.v2.GetLogMetricRequestOrBuilder { @@ -304,7 +310,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingMetricsProto .internal_static_google_logging_v2_GetLogMetricRequest_fieldAccessorTable @@ -316,7 +322,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.logging.v2.GetLogMetricRequest.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -366,39 +372,6 @@ private void buildPartial0(com.google.logging.v2.GetLogMetricRequest result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.GetLogMetricRequest) { @@ -475,7 +448,7 @@ public Builder mergeFrom( *
      * Required. The resource name of the desired metric:
      *
-     *     "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
+     * "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
      * 
* * @@ -502,7 +475,7 @@ public java.lang.String getMetricName() { *
      * Required. The resource name of the desired metric:
      *
-     *     "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
+     * "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
      * 
* * @@ -529,7 +502,7 @@ public com.google.protobuf.ByteString getMetricNameBytes() { *
      * Required. The resource name of the desired metric:
      *
-     *     "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
+     * "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
      * 
* * @@ -555,7 +528,7 @@ public Builder setMetricName(java.lang.String value) { *
      * Required. The resource name of the desired metric:
      *
-     *     "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
+     * "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
      * 
* * @@ -577,7 +550,7 @@ public Builder clearMetricName() { *
      * Required. The resource name of the desired metric:
      *
-     *     "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
+     * "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
      * 
* * @@ -598,17 +571,6 @@ public Builder setMetricNameBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.logging.v2.GetLogMetricRequest) } 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 a1f5f4000..f22585135 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 @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_metrics.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; +@com.google.protobuf.Generated public interface GetLogMetricRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.GetLogMetricRequest) @@ -30,7 +32,7 @@ public interface GetLogMetricRequestOrBuilder *
    * Required. The resource name of the desired metric:
    *
-   *     "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
+   * "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
    * 
* * @@ -47,7 +49,7 @@ public interface GetLogMetricRequestOrBuilder *
    * Required. The resource name of the desired metric:
    *
-   *     "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
+   * "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 b7b2edbbf..86851f9c0 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 @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -33,14 +34,25 @@ * * Protobuf type {@code google.logging.v2.GetSettingsRequest} */ -public final class GetSettingsRequest extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class GetSettingsRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.logging.v2.GetSettingsRequest) GetSettingsRequestOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 0, + /* suffix= */ "", + "GetSettingsRequest"); + } + // Use GetSettingsRequest.newBuilder() to construct. - private GetSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GetSettingsRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -48,19 +60,13 @@ private GetSettingsRequest() { name_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new GetSettingsRequest(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_GetSettingsRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_GetSettingsRequest_fieldAccessorTable @@ -80,14 +86,14 @@ 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"
+   * "projects/[PROJECT_ID]/settings"
+   * "organizations/[ORGANIZATION_ID]/settings"
+   * "billingAccounts/[BILLING_ACCOUNT_ID]/settings"
+   * "folders/[FOLDER_ID]/settings"
    *
    * For example:
    *
-   *   `"organizations/12345/settings"`
+   * `"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
@@ -120,14 +126,14 @@ 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"
+   * "projects/[PROJECT_ID]/settings"
+   * "organizations/[ORGANIZATION_ID]/settings"
+   * "billingAccounts/[BILLING_ACCOUNT_ID]/settings"
+   * "folders/[FOLDER_ID]/settings"
    *
    * For example:
    *
-   *   `"organizations/12345/settings"`
+   * `"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
@@ -168,8 +174,8 @@ public final boolean isInitialized() {
 
   @java.lang.Override
   public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
-    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
-      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
+    if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) {
+      com.google.protobuf.GeneratedMessage.writeString(output, 1, name_);
     }
     getUnknownFields().writeTo(output);
   }
@@ -180,8 +186,8 @@ public int getSerializedSize() {
     if (size != -1) return size;
 
     size = 0;
-    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
-      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
+    if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) {
+      size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -254,38 +260,38 @@ public static com.google.logging.v2.GetSettingsRequest parseFrom(
 
   public static com.google.logging.v2.GetSettingsRequest parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
   }
 
   public static com.google.logging.v2.GetSettingsRequest parseFrom(
       java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+    return com.google.protobuf.GeneratedMessage.parseWithIOException(
         PARSER, input, extensionRegistry);
   }
 
   public static com.google.logging.v2.GetSettingsRequest parseDelimitedFrom(
       java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.logging.v2.GetSettingsRequest parseDelimitedFrom(
       java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+    return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
         PARSER, input, extensionRegistry);
   }
 
   public static com.google.logging.v2.GetSettingsRequest parseFrom(
       com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
   }
 
   public static com.google.logging.v2.GetSettingsRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+    return com.google.protobuf.GeneratedMessage.parseWithIOException(
         PARSER, input, extensionRegistry);
   }
 
@@ -308,7 +314,7 @@ public Builder toBuilder() {
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
@@ -327,7 +333,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.logging.v2.GetSettingsRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+  public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
       implements
       // @@protoc_insertion_point(builder_implements:google.logging.v2.GetSettingsRequest)
       com.google.logging.v2.GetSettingsRequestOrBuilder {
@@ -337,7 +343,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     }
 
     @java.lang.Override
-    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
         internalGetFieldAccessorTable() {
       return com.google.logging.v2.LoggingConfigProto
           .internal_static_google_logging_v2_GetSettingsRequest_fieldAccessorTable
@@ -349,7 +355,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     // Construct using com.google.logging.v2.GetSettingsRequest.newBuilder()
     private Builder() {}
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
       super(parent);
     }
 
@@ -399,39 +405,6 @@ private void buildPartial0(com.google.logging.v2.GetSettingsRequest result) {
       }
     }
 
-    @java.lang.Override
-    public Builder clone() {
-      return super.clone();
-    }
-
-    @java.lang.Override
-    public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
-      return super.setField(field, value);
-    }
-
-    @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
-      return super.clearField(field);
-    }
-
-    @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
-      return super.clearOneof(oneof);
-    }
-
-    @java.lang.Override
-    public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
-      return super.setRepeatedField(field, index, value);
-    }
-
-    @java.lang.Override
-    public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
-      return super.addRepeatedField(field, value);
-    }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.logging.v2.GetSettingsRequest) {
@@ -508,14 +481,14 @@ 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"
+     * "projects/[PROJECT_ID]/settings"
+     * "organizations/[ORGANIZATION_ID]/settings"
+     * "billingAccounts/[BILLING_ACCOUNT_ID]/settings"
+     * "folders/[FOLDER_ID]/settings"
      *
      * For example:
      *
-     *   `"organizations/12345/settings"`
+     * `"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
@@ -547,14 +520,14 @@ 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"
+     * "projects/[PROJECT_ID]/settings"
+     * "organizations/[ORGANIZATION_ID]/settings"
+     * "billingAccounts/[BILLING_ACCOUNT_ID]/settings"
+     * "folders/[FOLDER_ID]/settings"
      *
      * For example:
      *
-     *   `"organizations/12345/settings"`
+     * `"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
@@ -586,14 +559,14 @@ 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"
+     * "projects/[PROJECT_ID]/settings"
+     * "organizations/[ORGANIZATION_ID]/settings"
+     * "billingAccounts/[BILLING_ACCOUNT_ID]/settings"
+     * "folders/[FOLDER_ID]/settings"
      *
      * For example:
      *
-     *   `"organizations/12345/settings"`
+     * `"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
@@ -624,14 +597,14 @@ 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"
+     * "projects/[PROJECT_ID]/settings"
+     * "organizations/[ORGANIZATION_ID]/settings"
+     * "billingAccounts/[BILLING_ACCOUNT_ID]/settings"
+     * "folders/[FOLDER_ID]/settings"
      *
      * For example:
      *
-     *   `"organizations/12345/settings"`
+     * `"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
@@ -658,14 +631,14 @@ 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"
+     * "projects/[PROJECT_ID]/settings"
+     * "organizations/[ORGANIZATION_ID]/settings"
+     * "billingAccounts/[BILLING_ACCOUNT_ID]/settings"
+     * "folders/[FOLDER_ID]/settings"
      *
      * For example:
      *
-     *   `"organizations/12345/settings"`
+     * `"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
@@ -691,17 +664,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
       return this;
     }
 
-    @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
-      return super.setUnknownFields(unknownFields);
-    }
-
-    @java.lang.Override
-    public final Builder mergeUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
-      return super.mergeUnknownFields(unknownFields);
-    }
-
     // @@protoc_insertion_point(builder_scope:google.logging.v2.GetSettingsRequest)
   }
 
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 e3d9bd7c1..5fa88338f 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
@@ -14,11 +14,13 @@
  * limitations under the License.
  */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
 // source: google/logging/v2/logging_config.proto
+// Protobuf Java Version: 4.33.0
 
-// Protobuf Java Version: 3.25.8
 package com.google.logging.v2;
 
+@com.google.protobuf.Generated
 public interface GetSettingsRequestOrBuilder
     extends
     // @@protoc_insertion_point(interface_extends:google.logging.v2.GetSettingsRequest)
@@ -30,14 +32,14 @@ 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"
+   * "projects/[PROJECT_ID]/settings"
+   * "organizations/[ORGANIZATION_ID]/settings"
+   * "billingAccounts/[BILLING_ACCOUNT_ID]/settings"
+   * "folders/[FOLDER_ID]/settings"
    *
    * For example:
    *
-   *   `"organizations/12345/settings"`
+   * `"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
@@ -59,14 +61,14 @@ 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"
+   * "projects/[PROJECT_ID]/settings"
+   * "organizations/[ORGANIZATION_ID]/settings"
+   * "billingAccounts/[BILLING_ACCOUNT_ID]/settings"
+   * "folders/[FOLDER_ID]/settings"
    *
    * For example:
    *
-   *   `"organizations/12345/settings"`
+   * `"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
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 2e4f967bc..86d74c502 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
@@ -14,9 +14,10 @@
  * limitations under the License.
  */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
 // source: google/logging/v2/logging_config.proto
+// Protobuf Java Version: 4.33.0
 
-// Protobuf Java Version: 3.25.8
 package com.google.logging.v2;
 
 /**
@@ -28,14 +29,25 @@
  *
  * Protobuf type {@code google.logging.v2.GetSinkRequest}
  */
-public final class GetSinkRequest extends com.google.protobuf.GeneratedMessageV3
+@com.google.protobuf.Generated
+public final class GetSinkRequest extends com.google.protobuf.GeneratedMessage
     implements
     // @@protoc_insertion_point(message_implements:google.logging.v2.GetSinkRequest)
     GetSinkRequestOrBuilder {
   private static final long serialVersionUID = 0L;
 
+  static {
+    com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+        com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+        /* major= */ 4,
+        /* minor= */ 33,
+        /* patch= */ 0,
+        /* suffix= */ "",
+        "GetSinkRequest");
+  }
+
   // Use GetSinkRequest.newBuilder() to construct.
-  private GetSinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private GetSinkRequest(com.google.protobuf.GeneratedMessage.Builder builder) {
     super(builder);
   }
 
@@ -43,19 +55,13 @@ private GetSinkRequest() {
     sinkName_ = "";
   }
 
-  @java.lang.Override
-  @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
-    return new GetSinkRequest();
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.logging.v2.LoggingConfigProto
         .internal_static_google_logging_v2_GetSinkRequest_descriptor;
   }
 
   @java.lang.Override
-  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+  protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
       internalGetFieldAccessorTable() {
     return com.google.logging.v2.LoggingConfigProto
         .internal_static_google_logging_v2_GetSinkRequest_fieldAccessorTable
@@ -75,14 +81,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]"
+   * "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"`
+   * `"projects/my-project/sinks/my-sink"`
    * 
* * @@ -110,14 +116,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]"
+   * "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"`
+   * `"projects/my-project/sinks/my-sink"`
    * 
* * @@ -153,8 +159,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sinkName_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sinkName_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(sinkName_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, sinkName_); } getUnknownFields().writeTo(output); } @@ -165,8 +171,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sinkName_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, sinkName_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(sinkName_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, sinkName_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -238,38 +244,38 @@ public static com.google.logging.v2.GetSinkRequest parseFrom( public static com.google.logging.v2.GetSinkRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.GetSinkRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.GetSinkRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.GetSinkRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.GetSinkRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.GetSinkRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -292,7 +298,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -306,7 +312,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.logging.v2.GetSinkRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.GetSinkRequest) com.google.logging.v2.GetSinkRequestOrBuilder { @@ -316,7 +322,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_GetSinkRequest_fieldAccessorTable @@ -328,7 +334,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.logging.v2.GetSinkRequest.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -377,39 +383,6 @@ private void buildPartial0(com.google.logging.v2.GetSinkRequest result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.GetSinkRequest) { @@ -486,14 +459,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]"
+     * "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"`
+     * `"projects/my-project/sinks/my-sink"`
      * 
* * @@ -520,14 +493,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]"
+     * "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"`
+     * `"projects/my-project/sinks/my-sink"`
      * 
* * @@ -554,14 +527,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]"
+     * "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"`
+     * `"projects/my-project/sinks/my-sink"`
      * 
* * @@ -587,14 +560,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]"
+     * "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"`
+     * `"projects/my-project/sinks/my-sink"`
      * 
* * @@ -616,14 +589,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]"
+     * "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"`
+     * `"projects/my-project/sinks/my-sink"`
      * 
* * @@ -644,17 +617,6 @@ public Builder setSinkNameBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.logging.v2.GetSinkRequest) } 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 71ba33daa..343a21909 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 @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; +@com.google.protobuf.Generated public interface GetSinkRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.GetSinkRequest) @@ -30,14 +32,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]"
+   * "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"`
+   * `"projects/my-project/sinks/my-sink"`
    * 
* * @@ -54,14 +56,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]"
+   * "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"`
+   * `"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 d148f2d7f..0b91a814e 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 @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.logging.v2.GetViewRequest} */ -public final class GetViewRequest extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class GetViewRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.logging.v2.GetViewRequest) GetViewRequestOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 0, + /* suffix= */ "", + "GetViewRequest"); + } + // Use GetViewRequest.newBuilder() to construct. - private GetViewRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GetViewRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -43,19 +55,13 @@ private GetViewRequest() { name_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new GetViewRequest(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_GetViewRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_GetViewRequest_fieldAccessorTable @@ -75,11 +81,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]"
+   * "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"`
+   * `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
    * 
* * @@ -107,11 +113,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]"
+   * "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"`
+   * `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
    * 
* * @@ -147,8 +153,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); } getUnknownFields().writeTo(output); } @@ -159,8 +165,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -232,38 +238,38 @@ public static com.google.logging.v2.GetViewRequest parseFrom( public static com.google.logging.v2.GetViewRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.GetViewRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.GetViewRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.GetViewRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.GetViewRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.GetViewRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -286,7 +292,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -300,7 +306,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.logging.v2.GetViewRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.GetViewRequest) com.google.logging.v2.GetViewRequestOrBuilder { @@ -310,7 +316,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_GetViewRequest_fieldAccessorTable @@ -322,7 +328,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.logging.v2.GetViewRequest.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -371,39 +377,6 @@ private void buildPartial0(com.google.logging.v2.GetViewRequest result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.GetViewRequest) { @@ -480,11 +453,11 @@ public Builder mergeFrom( *
      * Required. The resource name of the policy:
      *
-     *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
+     * "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"`
+     * `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
      * 
* * @@ -511,11 +484,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]"
+     * "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"`
+     * `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
      * 
* * @@ -542,11 +515,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]"
+     * "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"`
+     * `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
      * 
* * @@ -572,11 +545,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]"
+     * "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"`
+     * `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
      * 
* * @@ -598,11 +571,11 @@ public Builder clearName() { *
      * Required. The resource name of the policy:
      *
-     *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
+     * "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"`
+     * `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
      * 
* * @@ -623,17 +596,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.logging.v2.GetViewRequest) } 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 d85336637..c88c63f03 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 @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; +@com.google.protobuf.Generated public interface GetViewRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.GetViewRequest) @@ -30,11 +32,11 @@ public interface GetViewRequestOrBuilder *
    * Required. The resource name of the policy:
    *
-   *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
+   * "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"`
+   * `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
    * 
* * @@ -51,11 +53,11 @@ public interface GetViewRequestOrBuilder *
    * Required. The resource name of the policy:
    *
-   *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
+   * "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"`
+   * `"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 1a6a51fef..a72853315 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 @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.logging.v2.IndexConfig} */ -public final class IndexConfig extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class IndexConfig extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.logging.v2.IndexConfig) IndexConfigOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 0, + /* suffix= */ "", + "IndexConfig"); + } + // Use IndexConfig.newBuilder() to construct. - private IndexConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private IndexConfig(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -44,19 +56,13 @@ private IndexConfig() { type_ = 0; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new IndexConfig(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_IndexConfig_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_IndexConfig_fieldAccessorTable @@ -244,8 +250,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fieldPath_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, fieldPath_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(fieldPath_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, fieldPath_); } if (type_ != com.google.logging.v2.IndexType.INDEX_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(2, type_); @@ -262,8 +268,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fieldPath_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, fieldPath_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(fieldPath_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, fieldPath_); } if (type_ != com.google.logging.v2.IndexType.INDEX_TYPE_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, type_); @@ -352,38 +358,38 @@ public static com.google.logging.v2.IndexConfig parseFrom( public static com.google.logging.v2.IndexConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.IndexConfig parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.IndexConfig parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.IndexConfig parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.IndexConfig parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.IndexConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -406,7 +412,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -420,7 +426,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.logging.v2.IndexConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.IndexConfig) com.google.logging.v2.IndexConfigOrBuilder { @@ -430,7 +436,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_IndexConfig_fieldAccessorTable @@ -444,14 +450,14 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getCreateTimeFieldBuilder(); + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetCreateTimeFieldBuilder(); } } @@ -515,39 +521,6 @@ private void buildPartial0(com.google.logging.v2.IndexConfig result) { result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.IndexConfig) { @@ -611,7 +584,8 @@ public Builder mergeFrom( } // case 16 case 26: { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage( + internalGetCreateTimeFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 26 @@ -875,7 +849,7 @@ public Builder clearType() { } private com.google.protobuf.Timestamp createTime_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> @@ -1055,7 +1029,7 @@ public Builder clearCreateTime() { public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000004; onChanged(); - return getCreateTimeFieldBuilder().getBuilder(); + return internalGetCreateTimeFieldBuilder().getBuilder(); } /** @@ -1096,14 +1070,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> - getCreateTimeFieldBuilder() { + internalGetCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( @@ -1113,17 +1087,6 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { return createTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.logging.v2.IndexConfig) } 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 008894ccb..0d9d9b415 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 @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; +@com.google.protobuf.Generated public interface IndexConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.IndexConfig) 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 8e8e9ba97..af203ba0b 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 @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -29,6 +30,7 @@ * * Protobuf enum {@code google.logging.v2.IndexType} */ +@com.google.protobuf.Generated public enum IndexType implements com.google.protobuf.ProtocolMessageEnum { /** * @@ -63,6 +65,16 @@ public enum IndexType implements com.google.protobuf.ProtocolMessageEnum { UNRECOGNIZED(-1), ; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 0, + /* suffix= */ "", + "IndexType"); + } + /** * * @@ -154,7 +166,7 @@ public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto.getDescriptor().getEnumTypes().get(2); } 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 0d431e7f2..7f4e9854d 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 @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -28,6 +29,7 @@ * * Protobuf enum {@code google.logging.v2.LifecycleState} */ +@com.google.protobuf.Generated public enum LifecycleState implements com.google.protobuf.ProtocolMessageEnum { /** * @@ -96,6 +98,16 @@ public enum LifecycleState implements com.google.protobuf.ProtocolMessageEnum { UNRECOGNIZED(-1), ; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 0, + /* suffix= */ "", + "LifecycleState"); + } + /** * * @@ -230,7 +242,7 @@ public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto.getDescriptor().getEnumTypes().get(1); } 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 bef90bb06..c33a142d9 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 @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.logging.v2.Link} */ -public final class Link extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class Link extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.logging.v2.Link) LinkOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 0, + /* suffix= */ "", + "Link"); + } + // Use Link.newBuilder() to construct. - private Link(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private Link(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -45,19 +57,13 @@ private Link() { lifecycleState_ = 0; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Link(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_Link_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_Link_fieldAccessorTable @@ -79,14 +85,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * 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]" + * "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 + * `projects/my-project/locations/global/buckets/my-bucket/links/my_link *
* * string name = 1; @@ -114,14 +120,14 @@ public java.lang.String getName() { * 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]" + * "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 + * `projects/my-project/locations/global/buckets/my-bucket/links/my_link *
* * string name = 1; @@ -367,11 +373,11 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, description_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, description_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(3, getCreateTime()); @@ -392,11 +398,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, description_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCreateTime()); @@ -500,38 +506,38 @@ public static com.google.logging.v2.Link parseFrom( public static com.google.logging.v2.Link parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.Link parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.Link parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.Link parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.Link parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.Link parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -554,7 +560,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -568,7 +574,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.logging.v2.Link} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.Link) com.google.logging.v2.LinkOrBuilder { @@ -578,7 +584,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_Link_fieldAccessorTable @@ -591,15 +597,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getCreateTimeFieldBuilder(); - getBigqueryDatasetFieldBuilder(); + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetCreateTimeFieldBuilder(); + internalGetBigqueryDatasetFieldBuilder(); } } @@ -677,39 +683,6 @@ private void buildPartial0(com.google.logging.v2.Link result) { result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.Link) { @@ -781,7 +754,8 @@ public Builder mergeFrom( } // case 18 case 26: { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage( + internalGetCreateTimeFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 26 @@ -793,7 +767,8 @@ public Builder mergeFrom( } // case 32 case 42: { - input.readMessage(getBigqueryDatasetFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage( + internalGetBigqueryDatasetFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000010; break; } // case 42 @@ -826,14 +801,14 @@ public Builder mergeFrom( * 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]" + * "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 + * `projects/my-project/locations/global/buckets/my-bucket/links/my_link *
* * string name = 1; @@ -860,14 +835,14 @@ public java.lang.String getName() { * 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]" + * "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 + * `projects/my-project/locations/global/buckets/my-bucket/links/my_link *
* * string name = 1; @@ -894,14 +869,14 @@ public com.google.protobuf.ByteString getNameBytes() { * 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]" + * "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 + * `projects/my-project/locations/global/buckets/my-bucket/links/my_link *
* * string name = 1; @@ -927,14 +902,14 @@ public Builder setName(java.lang.String value) { * 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]" + * "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 + * `projects/my-project/locations/global/buckets/my-bucket/links/my_link *
* * string name = 1; @@ -956,14 +931,14 @@ public Builder clearName() { * 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]" + * "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 + * `projects/my-project/locations/global/buckets/my-bucket/links/my_link *
* * string name = 1; @@ -1104,7 +1079,7 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { } private com.google.protobuf.Timestamp createTime_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> @@ -1263,7 +1238,7 @@ public Builder clearCreateTime() { public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000004; onChanged(); - return getCreateTimeFieldBuilder().getBuilder(); + return internalGetCreateTimeFieldBuilder().getBuilder(); } /** @@ -1298,14 +1273,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> - getCreateTimeFieldBuilder() { + internalGetCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( @@ -1421,7 +1396,7 @@ public Builder clearLifecycleState() { } private com.google.logging.v2.BigQueryDataset bigqueryDataset_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.logging.v2.BigQueryDataset, com.google.logging.v2.BigQueryDataset.Builder, com.google.logging.v2.BigQueryDatasetOrBuilder> @@ -1588,7 +1563,7 @@ public Builder clearBigqueryDataset() { public com.google.logging.v2.BigQueryDataset.Builder getBigqueryDatasetBuilder() { bitField0_ |= 0x00000010; onChanged(); - return getBigqueryDatasetFieldBuilder().getBuilder(); + return internalGetBigqueryDatasetFieldBuilder().getBuilder(); } /** @@ -1625,14 +1600,14 @@ public com.google.logging.v2.BigQueryDatasetOrBuilder getBigqueryDatasetOrBuilde * * .google.logging.v2.BigQueryDataset bigquery_dataset = 5; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.logging.v2.BigQueryDataset, com.google.logging.v2.BigQueryDataset.Builder, com.google.logging.v2.BigQueryDatasetOrBuilder> - getBigqueryDatasetFieldBuilder() { + internalGetBigqueryDatasetFieldBuilder() { if (bigqueryDatasetBuilder_ == null) { bigqueryDatasetBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.logging.v2.BigQueryDataset, com.google.logging.v2.BigQueryDataset.Builder, com.google.logging.v2.BigQueryDatasetOrBuilder>( @@ -1642,17 +1617,6 @@ public com.google.logging.v2.BigQueryDatasetOrBuilder getBigqueryDatasetOrBuilde return bigqueryDatasetBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.logging.v2.Link) } 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 3e594a8c8..ffbc4e587 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 @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.logging.v2.LinkMetadata} */ -public final class LinkMetadata extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class LinkMetadata extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.logging.v2.LinkMetadata) LinkMetadataOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 0, + /* suffix= */ "", + "LinkMetadata"); + } + // Use LinkMetadata.newBuilder() to construct. - private LinkMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private LinkMetadata(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -43,19 +55,13 @@ private LinkMetadata() { state_ = 0; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new LinkMetadata(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_LinkMetadata_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_LinkMetadata_fieldAccessorTable @@ -524,38 +530,38 @@ public static com.google.logging.v2.LinkMetadata parseFrom( public static com.google.logging.v2.LinkMetadata parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.LinkMetadata parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.LinkMetadata parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.LinkMetadata parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.LinkMetadata parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.LinkMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -578,7 +584,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -592,7 +598,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.logging.v2.LinkMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.LinkMetadata) com.google.logging.v2.LinkMetadataOrBuilder { @@ -602,7 +608,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_LinkMetadata_fieldAccessorTable @@ -616,15 +622,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getStartTimeFieldBuilder(); - getEndTimeFieldBuilder(); + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetStartTimeFieldBuilder(); + internalGetEndTimeFieldBuilder(); } } @@ -713,39 +719,6 @@ private void buildPartialOneofs(com.google.logging.v2.LinkMetadata result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.LinkMetadata) { @@ -811,13 +784,14 @@ public Builder mergeFrom( break; case 10: { - input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage( + internalGetStartTimeFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 18: { - input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage(internalGetEndTimeFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 18 @@ -830,14 +804,14 @@ public Builder mergeFrom( case 34: { input.readMessage( - getCreateLinkRequestFieldBuilder().getBuilder(), extensionRegistry); + internalGetCreateLinkRequestFieldBuilder().getBuilder(), extensionRegistry); requestCase_ = 4; break; } // case 34 case 42: { input.readMessage( - getDeleteLinkRequestFieldBuilder().getBuilder(), extensionRegistry); + internalGetDeleteLinkRequestFieldBuilder().getBuilder(), extensionRegistry); requestCase_ = 5; break; } // case 42 @@ -875,7 +849,7 @@ public Builder clearRequest() { private int bitField0_; private com.google.protobuf.Timestamp startTime_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> @@ -1018,7 +992,7 @@ public Builder clearStartTime() { public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { bitField0_ |= 0x00000001; onChanged(); - return getStartTimeFieldBuilder().getBuilder(); + return internalGetStartTimeFieldBuilder().getBuilder(); } /** @@ -1047,14 +1021,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * * .google.protobuf.Timestamp start_time = 1; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> - getStartTimeFieldBuilder() { + internalGetStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { startTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( @@ -1065,7 +1039,7 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { } private com.google.protobuf.Timestamp endTime_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> @@ -1208,7 +1182,7 @@ public Builder clearEndTime() { public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { bitField0_ |= 0x00000002; onChanged(); - return getEndTimeFieldBuilder().getBuilder(); + return internalGetEndTimeFieldBuilder().getBuilder(); } /** @@ -1237,14 +1211,14 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * * .google.protobuf.Timestamp end_time = 2; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> - getEndTimeFieldBuilder() { + internalGetEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { endTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( @@ -1349,7 +1323,7 @@ public Builder clearState() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.logging.v2.CreateLinkRequest, com.google.logging.v2.CreateLinkRequest.Builder, com.google.logging.v2.CreateLinkRequestOrBuilder> @@ -1510,7 +1484,7 @@ public Builder clearCreateLinkRequest() { * .google.logging.v2.CreateLinkRequest create_link_request = 4; */ public com.google.logging.v2.CreateLinkRequest.Builder getCreateLinkRequestBuilder() { - return getCreateLinkRequestFieldBuilder().getBuilder(); + return internalGetCreateLinkRequestFieldBuilder().getBuilder(); } /** @@ -1543,17 +1517,17 @@ public com.google.logging.v2.CreateLinkRequestOrBuilder getCreateLinkRequestOrBu * * .google.logging.v2.CreateLinkRequest create_link_request = 4; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.logging.v2.CreateLinkRequest, com.google.logging.v2.CreateLinkRequest.Builder, com.google.logging.v2.CreateLinkRequestOrBuilder> - getCreateLinkRequestFieldBuilder() { + internalGetCreateLinkRequestFieldBuilder() { if (createLinkRequestBuilder_ == null) { if (!(requestCase_ == 4)) { request_ = com.google.logging.v2.CreateLinkRequest.getDefaultInstance(); } createLinkRequestBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.logging.v2.CreateLinkRequest, com.google.logging.v2.CreateLinkRequest.Builder, com.google.logging.v2.CreateLinkRequestOrBuilder>( @@ -1567,7 +1541,7 @@ public com.google.logging.v2.CreateLinkRequestOrBuilder getCreateLinkRequestOrBu return createLinkRequestBuilder_; } - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.logging.v2.DeleteLinkRequest, com.google.logging.v2.DeleteLinkRequest.Builder, com.google.logging.v2.DeleteLinkRequestOrBuilder> @@ -1728,7 +1702,7 @@ public Builder clearDeleteLinkRequest() { * .google.logging.v2.DeleteLinkRequest delete_link_request = 5; */ public com.google.logging.v2.DeleteLinkRequest.Builder getDeleteLinkRequestBuilder() { - return getDeleteLinkRequestFieldBuilder().getBuilder(); + return internalGetDeleteLinkRequestFieldBuilder().getBuilder(); } /** @@ -1761,17 +1735,17 @@ public com.google.logging.v2.DeleteLinkRequestOrBuilder getDeleteLinkRequestOrBu * * .google.logging.v2.DeleteLinkRequest delete_link_request = 5; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.logging.v2.DeleteLinkRequest, com.google.logging.v2.DeleteLinkRequest.Builder, com.google.logging.v2.DeleteLinkRequestOrBuilder> - getDeleteLinkRequestFieldBuilder() { + internalGetDeleteLinkRequestFieldBuilder() { if (deleteLinkRequestBuilder_ == null) { if (!(requestCase_ == 5)) { request_ = com.google.logging.v2.DeleteLinkRequest.getDefaultInstance(); } deleteLinkRequestBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.logging.v2.DeleteLinkRequest, com.google.logging.v2.DeleteLinkRequest.Builder, com.google.logging.v2.DeleteLinkRequestOrBuilder>( @@ -1785,17 +1759,6 @@ public com.google.logging.v2.DeleteLinkRequestOrBuilder getDeleteLinkRequestOrBu return deleteLinkRequestBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.logging.v2.LinkMetadata) } 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 1cd31b9f1..8ec1598cc 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 @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; +@com.google.protobuf.Generated public interface LinkMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.LinkMetadata) 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 c818e0cc5..b3bd72465 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 @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; +@com.google.protobuf.Generated public interface LinkOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.Link) @@ -32,14 +34,14 @@ public interface LinkOrBuilder * 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]" + * "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 + * `projects/my-project/locations/global/buckets/my-bucket/links/my_link *
* * string name = 1; @@ -56,14 +58,14 @@ public interface LinkOrBuilder * 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]" + * "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 + * `projects/my-project/locations/global/buckets/my-bucket/links/my_link *
* * string name = 1; 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 9baa7dd87..3a53f1fd5 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 @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.logging.v2.ListBucketsRequest} */ -public final class ListBucketsRequest extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class ListBucketsRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.logging.v2.ListBucketsRequest) ListBucketsRequestOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 0, + /* suffix= */ "", + "ListBucketsRequest"); + } + // Use ListBucketsRequest.newBuilder() to construct. - private ListBucketsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListBucketsRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -44,19 +56,13 @@ private ListBucketsRequest() { pageToken_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ListBucketsRequest(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_ListBucketsRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_ListBucketsRequest_fieldAccessorTable @@ -76,10 +82,10 @@ 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]"
+   * "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
@@ -111,10 +117,10 @@ 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]"
+   * "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
@@ -234,11 +240,11 @@ public final boolean isInitialized() {
 
   @java.lang.Override
   public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
-    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
-      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
+    if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) {
+      com.google.protobuf.GeneratedMessage.writeString(output, 1, parent_);
     }
-    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) {
-      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, pageToken_);
+    if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) {
+      com.google.protobuf.GeneratedMessage.writeString(output, 2, pageToken_);
     }
     if (pageSize_ != 0) {
       output.writeInt32(3, pageSize_);
@@ -252,11 +258,11 @@ public int getSerializedSize() {
     if (size != -1) return size;
 
     size = 0;
-    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
-      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_);
+    if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) {
+      size += com.google.protobuf.GeneratedMessage.computeStringSize(1, parent_);
     }
-    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) {
-      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, pageToken_);
+    if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) {
+      size += com.google.protobuf.GeneratedMessage.computeStringSize(2, pageToken_);
     }
     if (pageSize_ != 0) {
       size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_);
@@ -338,38 +344,38 @@ public static com.google.logging.v2.ListBucketsRequest parseFrom(
 
   public static com.google.logging.v2.ListBucketsRequest parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
   }
 
   public static com.google.logging.v2.ListBucketsRequest parseFrom(
       java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+    return com.google.protobuf.GeneratedMessage.parseWithIOException(
         PARSER, input, extensionRegistry);
   }
 
   public static com.google.logging.v2.ListBucketsRequest parseDelimitedFrom(
       java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.logging.v2.ListBucketsRequest parseDelimitedFrom(
       java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+    return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
         PARSER, input, extensionRegistry);
   }
 
   public static com.google.logging.v2.ListBucketsRequest parseFrom(
       com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
   }
 
   public static com.google.logging.v2.ListBucketsRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+    return com.google.protobuf.GeneratedMessage.parseWithIOException(
         PARSER, input, extensionRegistry);
   }
 
@@ -392,7 +398,7 @@ public Builder toBuilder() {
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
@@ -406,7 +412,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.logging.v2.ListBucketsRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+  public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
       implements
       // @@protoc_insertion_point(builder_implements:google.logging.v2.ListBucketsRequest)
       com.google.logging.v2.ListBucketsRequestOrBuilder {
@@ -416,7 +422,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     }
 
     @java.lang.Override
-    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
         internalGetFieldAccessorTable() {
       return com.google.logging.v2.LoggingConfigProto
           .internal_static_google_logging_v2_ListBucketsRequest_fieldAccessorTable
@@ -428,7 +434,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     // Construct using com.google.logging.v2.ListBucketsRequest.newBuilder()
     private Builder() {}
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
       super(parent);
     }
 
@@ -486,39 +492,6 @@ private void buildPartial0(com.google.logging.v2.ListBucketsRequest result) {
       }
     }
 
-    @java.lang.Override
-    public Builder clone() {
-      return super.clone();
-    }
-
-    @java.lang.Override
-    public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
-      return super.setField(field, value);
-    }
-
-    @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
-      return super.clearField(field);
-    }
-
-    @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
-      return super.clearOneof(oneof);
-    }
-
-    @java.lang.Override
-    public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
-      return super.setRepeatedField(field, index, value);
-    }
-
-    @java.lang.Override
-    public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
-      return super.addRepeatedField(field, value);
-    }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.logging.v2.ListBucketsRequest) {
@@ -615,10 +588,10 @@ 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]"
+     * "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
@@ -649,10 +622,10 @@ 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]"
+     * "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
@@ -683,10 +656,10 @@ 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]"
+     * "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
@@ -716,10 +689,10 @@ 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]"
+     * "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
@@ -745,10 +718,10 @@ 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]"
+     * "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
@@ -961,17 +934,6 @@ public Builder clearPageSize() {
       return this;
     }
 
-    @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
-      return super.setUnknownFields(unknownFields);
-    }
-
-    @java.lang.Override
-    public final Builder mergeUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
-      return super.mergeUnknownFields(unknownFields);
-    }
-
     // @@protoc_insertion_point(builder_scope:google.logging.v2.ListBucketsRequest)
   }
 
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 1353d494f..c2662bd07 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
@@ -14,11 +14,13 @@
  * limitations under the License.
  */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
 // source: google/logging/v2/logging_config.proto
+// Protobuf Java Version: 4.33.0
 
-// Protobuf Java Version: 3.25.8
 package com.google.logging.v2;
 
+@com.google.protobuf.Generated
 public interface ListBucketsRequestOrBuilder
     extends
     // @@protoc_insertion_point(interface_extends:google.logging.v2.ListBucketsRequest)
@@ -30,10 +32,10 @@ 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]"
+   * "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
@@ -54,10 +56,10 @@ 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]"
+   * "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
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 0ce5a9879..e6b9937b4 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
@@ -14,9 +14,10 @@
  * limitations under the License.
  */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
 // source: google/logging/v2/logging_config.proto
+// Protobuf Java Version: 4.33.0
 
-// Protobuf Java Version: 3.25.8
 package com.google.logging.v2;
 
 /**
@@ -28,14 +29,25 @@
  *
  * Protobuf type {@code google.logging.v2.ListBucketsResponse}
  */
-public final class ListBucketsResponse extends com.google.protobuf.GeneratedMessageV3
+@com.google.protobuf.Generated
+public final class ListBucketsResponse extends com.google.protobuf.GeneratedMessage
     implements
     // @@protoc_insertion_point(message_implements:google.logging.v2.ListBucketsResponse)
     ListBucketsResponseOrBuilder {
   private static final long serialVersionUID = 0L;
 
+  static {
+    com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+        com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+        /* major= */ 4,
+        /* minor= */ 33,
+        /* patch= */ 0,
+        /* suffix= */ "",
+        "ListBucketsResponse");
+  }
+
   // Use ListBucketsResponse.newBuilder() to construct.
-  private ListBucketsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private ListBucketsResponse(com.google.protobuf.GeneratedMessage.Builder builder) {
     super(builder);
   }
 
@@ -44,19 +56,13 @@ private ListBucketsResponse() {
     nextPageToken_ = "";
   }
 
-  @java.lang.Override
-  @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
-    return new ListBucketsResponse();
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.logging.v2.LoggingConfigProto
         .internal_static_google_logging_v2_ListBucketsResponse_descriptor;
   }
 
   @java.lang.Override
-  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+  protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
       internalGetFieldAccessorTable() {
     return com.google.logging.v2.LoggingConfigProto
         .internal_static_google_logging_v2_ListBucketsResponse_fieldAccessorTable
@@ -215,8 +221,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
     for (int i = 0; i < buckets_.size(); i++) {
       output.writeMessage(1, buckets_.get(i));
     }
-    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) {
-      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_);
+    if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageToken_)) {
+      com.google.protobuf.GeneratedMessage.writeString(output, 2, nextPageToken_);
     }
     getUnknownFields().writeTo(output);
   }
@@ -230,8 +236,8 @@ public int getSerializedSize() {
     for (int i = 0; i < buckets_.size(); i++) {
       size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, buckets_.get(i));
     }
-    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) {
-      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_);
+    if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageToken_)) {
+      size += com.google.protobuf.GeneratedMessage.computeStringSize(2, nextPageToken_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -310,38 +316,38 @@ public static com.google.logging.v2.ListBucketsResponse parseFrom(
 
   public static com.google.logging.v2.ListBucketsResponse parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
   }
 
   public static com.google.logging.v2.ListBucketsResponse parseFrom(
       java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+    return com.google.protobuf.GeneratedMessage.parseWithIOException(
         PARSER, input, extensionRegistry);
   }
 
   public static com.google.logging.v2.ListBucketsResponse parseDelimitedFrom(
       java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.logging.v2.ListBucketsResponse parseDelimitedFrom(
       java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+    return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
         PARSER, input, extensionRegistry);
   }
 
   public static com.google.logging.v2.ListBucketsResponse parseFrom(
       com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
   }
 
   public static com.google.logging.v2.ListBucketsResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+    return com.google.protobuf.GeneratedMessage.parseWithIOException(
         PARSER, input, extensionRegistry);
   }
 
@@ -364,7 +370,7 @@ public Builder toBuilder() {
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
@@ -378,7 +384,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.logging.v2.ListBucketsResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+  public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
       implements
       // @@protoc_insertion_point(builder_implements:google.logging.v2.ListBucketsResponse)
       com.google.logging.v2.ListBucketsResponseOrBuilder {
@@ -388,7 +394,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     }
 
     @java.lang.Override
-    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
         internalGetFieldAccessorTable() {
       return com.google.logging.v2.LoggingConfigProto
           .internal_static_google_logging_v2_ListBucketsResponse_fieldAccessorTable
@@ -400,7 +406,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     // Construct using com.google.logging.v2.ListBucketsResponse.newBuilder()
     private Builder() {}
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
       super(parent);
     }
 
@@ -470,39 +476,6 @@ private void buildPartial0(com.google.logging.v2.ListBucketsResponse result) {
       }
     }
 
-    @java.lang.Override
-    public Builder clone() {
-      return super.clone();
-    }
-
-    @java.lang.Override
-    public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
-      return super.setField(field, value);
-    }
-
-    @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
-      return super.clearField(field);
-    }
-
-    @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
-      return super.clearOneof(oneof);
-    }
-
-    @java.lang.Override
-    public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
-      return super.setRepeatedField(field, index, value);
-    }
-
-    @java.lang.Override
-    public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
-      return super.addRepeatedField(field, value);
-    }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.logging.v2.ListBucketsResponse) {
@@ -534,8 +507,8 @@ public Builder mergeFrom(com.google.logging.v2.ListBucketsResponse other) {
             buckets_ = other.buckets_;
             bitField0_ = (bitField0_ & ~0x00000001);
             bucketsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getBucketsFieldBuilder()
+                com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders
+                    ? internalGetBucketsFieldBuilder()
                     : null;
           } else {
             bucketsBuilder_.addAllMessages(other.buckets_);
@@ -620,7 +593,7 @@ private void ensureBucketsIsMutable() {
       }
     }
 
-    private com.google.protobuf.RepeatedFieldBuilderV3<
+    private com.google.protobuf.RepeatedFieldBuilder<
             com.google.logging.v2.LogBucket,
             com.google.logging.v2.LogBucket.Builder,
             com.google.logging.v2.LogBucketOrBuilder>
@@ -877,7 +850,7 @@ public Builder removeBuckets(int index) {
      * repeated .google.logging.v2.LogBucket buckets = 1;
      */
     public com.google.logging.v2.LogBucket.Builder getBucketsBuilder(int index) {
-      return getBucketsFieldBuilder().getBuilder(index);
+      return internalGetBucketsFieldBuilder().getBuilder(index);
     }
 
     /**
@@ -925,7 +898,7 @@ public com.google.logging.v2.LogBucketOrBuilder getBucketsOrBuilder(int index) {
      * repeated .google.logging.v2.LogBucket buckets = 1;
      */
     public com.google.logging.v2.LogBucket.Builder addBucketsBuilder() {
-      return getBucketsFieldBuilder()
+      return internalGetBucketsFieldBuilder()
           .addBuilder(com.google.logging.v2.LogBucket.getDefaultInstance());
     }
 
@@ -939,7 +912,7 @@ public com.google.logging.v2.LogBucket.Builder addBucketsBuilder() {
      * repeated .google.logging.v2.LogBucket buckets = 1;
      */
     public com.google.logging.v2.LogBucket.Builder addBucketsBuilder(int index) {
-      return getBucketsFieldBuilder()
+      return internalGetBucketsFieldBuilder()
           .addBuilder(index, com.google.logging.v2.LogBucket.getDefaultInstance());
     }
 
@@ -953,17 +926,17 @@ public com.google.logging.v2.LogBucket.Builder addBucketsBuilder(int index) {
      * repeated .google.logging.v2.LogBucket buckets = 1;
      */
     public java.util.List getBucketsBuilderList() {
-      return getBucketsFieldBuilder().getBuilderList();
+      return internalGetBucketsFieldBuilder().getBuilderList();
     }
 
-    private com.google.protobuf.RepeatedFieldBuilderV3<
+    private com.google.protobuf.RepeatedFieldBuilder<
             com.google.logging.v2.LogBucket,
             com.google.logging.v2.LogBucket.Builder,
             com.google.logging.v2.LogBucketOrBuilder>
-        getBucketsFieldBuilder() {
+        internalGetBucketsFieldBuilder() {
       if (bucketsBuilder_ == null) {
         bucketsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
+            new com.google.protobuf.RepeatedFieldBuilder<
                 com.google.logging.v2.LogBucket,
                 com.google.logging.v2.LogBucket.Builder,
                 com.google.logging.v2.LogBucketOrBuilder>(
@@ -1094,17 +1067,6 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) {
       return this;
     }
 
-    @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
-      return super.setUnknownFields(unknownFields);
-    }
-
-    @java.lang.Override
-    public final Builder mergeUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
-      return super.mergeUnknownFields(unknownFields);
-    }
-
     // @@protoc_insertion_point(builder_scope:google.logging.v2.ListBucketsResponse)
   }
 
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 1d7ebd525..30a642d4f 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
@@ -14,11 +14,13 @@
  * limitations under the License.
  */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
 // source: google/logging/v2/logging_config.proto
+// Protobuf Java Version: 4.33.0
 
-// Protobuf Java Version: 3.25.8
 package com.google.logging.v2;
 
+@com.google.protobuf.Generated
 public interface ListBucketsResponseOrBuilder
     extends
     // @@protoc_insertion_point(interface_extends:google.logging.v2.ListBucketsResponse)
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 4eab300ad..d4862f9fe 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
@@ -14,9 +14,10 @@
  * limitations under the License.
  */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
 // source: google/logging/v2/logging_config.proto
+// Protobuf Java Version: 4.33.0
 
-// Protobuf Java Version: 3.25.8
 package com.google.logging.v2;
 
 /**
@@ -28,14 +29,25 @@
  *
  * Protobuf type {@code google.logging.v2.ListExclusionsRequest}
  */
-public final class ListExclusionsRequest extends com.google.protobuf.GeneratedMessageV3
+@com.google.protobuf.Generated
+public final class ListExclusionsRequest extends com.google.protobuf.GeneratedMessage
     implements
     // @@protoc_insertion_point(message_implements:google.logging.v2.ListExclusionsRequest)
     ListExclusionsRequestOrBuilder {
   private static final long serialVersionUID = 0L;
 
+  static {
+    com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+        com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+        /* major= */ 4,
+        /* minor= */ 33,
+        /* patch= */ 0,
+        /* suffix= */ "",
+        "ListExclusionsRequest");
+  }
+
   // Use ListExclusionsRequest.newBuilder() to construct.
-  private ListExclusionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private ListExclusionsRequest(com.google.protobuf.GeneratedMessage.Builder builder) {
     super(builder);
   }
 
@@ -44,19 +56,13 @@ private ListExclusionsRequest() {
     pageToken_ = "";
   }
 
-  @java.lang.Override
-  @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
-    return new ListExclusionsRequest();
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.logging.v2.LoggingConfigProto
         .internal_static_google_logging_v2_ListExclusionsRequest_descriptor;
   }
 
   @java.lang.Override
-  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+  protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
       internalGetFieldAccessorTable() {
     return com.google.logging.v2.LoggingConfigProto
         .internal_static_google_logging_v2_ListExclusionsRequest_fieldAccessorTable
@@ -76,10 +82,10 @@ 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]"
-   *     "folders/[FOLDER_ID]"
+   * "projects/[PROJECT_ID]"
+   * "organizations/[ORGANIZATION_ID]"
+   * "billingAccounts/[BILLING_ACCOUNT_ID]"
+   * "folders/[FOLDER_ID]"
    * 
* * @@ -107,10 +113,10 @@ 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]"
-   *     "folders/[FOLDER_ID]"
+   * "projects/[PROJECT_ID]"
+   * "organizations/[ORGANIZATION_ID]"
+   * "billingAccounts/[BILLING_ACCOUNT_ID]"
+   * "folders/[FOLDER_ID]"
    * 
* * @@ -226,11 +232,11 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, parent_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, pageToken_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, pageToken_); } if (pageSize_ != 0) { output.writeInt32(3, pageSize_); @@ -244,11 +250,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, parent_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, pageToken_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, pageToken_); } if (pageSize_ != 0) { size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); @@ -331,38 +337,38 @@ public static com.google.logging.v2.ListExclusionsRequest parseFrom( public static com.google.logging.v2.ListExclusionsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.ListExclusionsRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.ListExclusionsRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.ListExclusionsRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.ListExclusionsRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.ListExclusionsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -385,7 +391,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -399,7 +405,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.logging.v2.ListExclusionsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.ListExclusionsRequest) com.google.logging.v2.ListExclusionsRequestOrBuilder { @@ -409,7 +415,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_ListExclusionsRequest_fieldAccessorTable @@ -421,7 +427,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.logging.v2.ListExclusionsRequest.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -479,39 +485,6 @@ private void buildPartial0(com.google.logging.v2.ListExclusionsRequest result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.ListExclusionsRequest) { @@ -608,10 +581,10 @@ public Builder mergeFrom( *
      * Required. The parent resource whose exclusions are to be listed.
      *
-     *     "projects/[PROJECT_ID]"
-     *     "organizations/[ORGANIZATION_ID]"
-     *     "billingAccounts/[BILLING_ACCOUNT_ID]"
-     *     "folders/[FOLDER_ID]"
+     * "projects/[PROJECT_ID]"
+     * "organizations/[ORGANIZATION_ID]"
+     * "billingAccounts/[BILLING_ACCOUNT_ID]"
+     * "folders/[FOLDER_ID]"
      * 
* * @@ -638,10 +611,10 @@ 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]"
-     *     "folders/[FOLDER_ID]"
+     * "projects/[PROJECT_ID]"
+     * "organizations/[ORGANIZATION_ID]"
+     * "billingAccounts/[BILLING_ACCOUNT_ID]"
+     * "folders/[FOLDER_ID]"
      * 
* * @@ -668,10 +641,10 @@ 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]"
-     *     "folders/[FOLDER_ID]"
+     * "projects/[PROJECT_ID]"
+     * "organizations/[ORGANIZATION_ID]"
+     * "billingAccounts/[BILLING_ACCOUNT_ID]"
+     * "folders/[FOLDER_ID]"
      * 
* * @@ -697,10 +670,10 @@ 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]"
-     *     "folders/[FOLDER_ID]"
+     * "projects/[PROJECT_ID]"
+     * "organizations/[ORGANIZATION_ID]"
+     * "billingAccounts/[BILLING_ACCOUNT_ID]"
+     * "folders/[FOLDER_ID]"
      * 
* * @@ -722,10 +695,10 @@ public Builder clearParent() { *
      * Required. The parent resource whose exclusions are to be listed.
      *
-     *     "projects/[PROJECT_ID]"
-     *     "organizations/[ORGANIZATION_ID]"
-     *     "billingAccounts/[BILLING_ACCOUNT_ID]"
-     *     "folders/[FOLDER_ID]"
+     * "projects/[PROJECT_ID]"
+     * "organizations/[ORGANIZATION_ID]"
+     * "billingAccounts/[BILLING_ACCOUNT_ID]"
+     * "folders/[FOLDER_ID]"
      * 
* * @@ -934,17 +907,6 @@ public Builder clearPageSize() { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.logging.v2.ListExclusionsRequest) } 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 fabecce1e..46e618047 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 @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; +@com.google.protobuf.Generated public interface ListExclusionsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.ListExclusionsRequest) @@ -30,10 +32,10 @@ public interface ListExclusionsRequestOrBuilder *
    * Required. The parent resource whose exclusions are to be listed.
    *
-   *     "projects/[PROJECT_ID]"
-   *     "organizations/[ORGANIZATION_ID]"
-   *     "billingAccounts/[BILLING_ACCOUNT_ID]"
-   *     "folders/[FOLDER_ID]"
+   * "projects/[PROJECT_ID]"
+   * "organizations/[ORGANIZATION_ID]"
+   * "billingAccounts/[BILLING_ACCOUNT_ID]"
+   * "folders/[FOLDER_ID]"
    * 
* * @@ -50,10 +52,10 @@ public interface ListExclusionsRequestOrBuilder *
    * Required. The parent resource whose exclusions are to be listed.
    *
-   *     "projects/[PROJECT_ID]"
-   *     "organizations/[ORGANIZATION_ID]"
-   *     "billingAccounts/[BILLING_ACCOUNT_ID]"
-   *     "folders/[FOLDER_ID]"
+   * "projects/[PROJECT_ID]"
+   * "organizations/[ORGANIZATION_ID]"
+   * "billingAccounts/[BILLING_ACCOUNT_ID]"
+   * "folders/[FOLDER_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 f68fd08cc..75b968601 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 @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.logging.v2.ListExclusionsResponse} */ -public final class ListExclusionsResponse extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class ListExclusionsResponse extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.logging.v2.ListExclusionsResponse) ListExclusionsResponseOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 0, + /* suffix= */ "", + "ListExclusionsResponse"); + } + // Use ListExclusionsResponse.newBuilder() to construct. - private ListExclusionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListExclusionsResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -44,19 +56,13 @@ private ListExclusionsResponse() { nextPageToken_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ListExclusionsResponse(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_ListExclusionsResponse_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_ListExclusionsResponse_fieldAccessorTable @@ -215,8 +221,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < exclusions_.size(); i++) { output.writeMessage(1, exclusions_.get(i)); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageToken_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, nextPageToken_); } getUnknownFields().writeTo(output); } @@ -230,8 +236,8 @@ public int getSerializedSize() { for (int i = 0; i < exclusions_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, exclusions_.get(i)); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageToken_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, nextPageToken_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -310,38 +316,38 @@ public static com.google.logging.v2.ListExclusionsResponse parseFrom( public static com.google.logging.v2.ListExclusionsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.ListExclusionsResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.ListExclusionsResponse parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.ListExclusionsResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.ListExclusionsResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.ListExclusionsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -364,7 +370,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -378,7 +384,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.logging.v2.ListExclusionsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.ListExclusionsResponse) com.google.logging.v2.ListExclusionsResponseOrBuilder { @@ -388,7 +394,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_ListExclusionsResponse_fieldAccessorTable @@ -400,7 +406,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.logging.v2.ListExclusionsResponse.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -470,39 +476,6 @@ private void buildPartial0(com.google.logging.v2.ListExclusionsResponse result) } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.ListExclusionsResponse) { @@ -534,8 +507,8 @@ public Builder mergeFrom(com.google.logging.v2.ListExclusionsResponse other) { exclusions_ = other.exclusions_; bitField0_ = (bitField0_ & ~0x00000001); exclusionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getExclusionsFieldBuilder() + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders + ? internalGetExclusionsFieldBuilder() : null; } else { exclusionsBuilder_.addAllMessages(other.exclusions_); @@ -621,7 +594,7 @@ private void ensureExclusionsIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.logging.v2.LogExclusion, com.google.logging.v2.LogExclusion.Builder, com.google.logging.v2.LogExclusionOrBuilder> @@ -880,7 +853,7 @@ public Builder removeExclusions(int index) { * repeated .google.logging.v2.LogExclusion exclusions = 1; */ public com.google.logging.v2.LogExclusion.Builder getExclusionsBuilder(int index) { - return getExclusionsFieldBuilder().getBuilder(index); + return internalGetExclusionsFieldBuilder().getBuilder(index); } /** @@ -928,7 +901,7 @@ public com.google.logging.v2.LogExclusionOrBuilder getExclusionsOrBuilder(int in * repeated .google.logging.v2.LogExclusion exclusions = 1; */ public com.google.logging.v2.LogExclusion.Builder addExclusionsBuilder() { - return getExclusionsFieldBuilder() + return internalGetExclusionsFieldBuilder() .addBuilder(com.google.logging.v2.LogExclusion.getDefaultInstance()); } @@ -942,7 +915,7 @@ public com.google.logging.v2.LogExclusion.Builder addExclusionsBuilder() { * repeated .google.logging.v2.LogExclusion exclusions = 1; */ public com.google.logging.v2.LogExclusion.Builder addExclusionsBuilder(int index) { - return getExclusionsFieldBuilder() + return internalGetExclusionsFieldBuilder() .addBuilder(index, com.google.logging.v2.LogExclusion.getDefaultInstance()); } @@ -956,17 +929,17 @@ public com.google.logging.v2.LogExclusion.Builder addExclusionsBuilder(int index * repeated .google.logging.v2.LogExclusion exclusions = 1; */ public java.util.List getExclusionsBuilderList() { - return getExclusionsFieldBuilder().getBuilderList(); + return internalGetExclusionsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.logging.v2.LogExclusion, com.google.logging.v2.LogExclusion.Builder, com.google.logging.v2.LogExclusionOrBuilder> - getExclusionsFieldBuilder() { + internalGetExclusionsFieldBuilder() { if (exclusionsBuilder_ == null) { exclusionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.logging.v2.LogExclusion, com.google.logging.v2.LogExclusion.Builder, com.google.logging.v2.LogExclusionOrBuilder>( @@ -1097,17 +1070,6 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.logging.v2.ListExclusionsResponse) } 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 45628897b..656220464 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 @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; +@com.google.protobuf.Generated public interface ListExclusionsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.ListExclusionsResponse) 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 52fcaac17..2606cf98e 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 @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.logging.v2.ListLinksRequest} */ -public final class ListLinksRequest extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class ListLinksRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.logging.v2.ListLinksRequest) ListLinksRequestOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 0, + /* suffix= */ "", + "ListLinksRequest"); + } + // Use ListLinksRequest.newBuilder() to construct. - private ListLinksRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListLinksRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -44,19 +56,13 @@ private ListLinksRequest() { pageToken_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ListLinksRequest(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_ListLinksRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_ListLinksRequest_fieldAccessorTable @@ -76,10 +82,10 @@ 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]/"
-   *   "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/
+   * "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]/"
+   * "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/
    * 
* * @@ -107,10 +113,10 @@ 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]/"
-   *   "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/
+   * "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]/"
+   * "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/
    * 
* * @@ -222,11 +228,11 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, parent_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, pageToken_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, pageToken_); } if (pageSize_ != 0) { output.writeInt32(3, pageSize_); @@ -240,11 +246,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, parent_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, pageToken_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, pageToken_); } if (pageSize_ != 0) { size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); @@ -326,38 +332,38 @@ public static com.google.logging.v2.ListLinksRequest parseFrom( public static com.google.logging.v2.ListLinksRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.ListLinksRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.ListLinksRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.ListLinksRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.ListLinksRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.ListLinksRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -380,7 +386,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -394,7 +400,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.logging.v2.ListLinksRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.ListLinksRequest) com.google.logging.v2.ListLinksRequestOrBuilder { @@ -404,7 +410,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_ListLinksRequest_fieldAccessorTable @@ -416,7 +422,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.logging.v2.ListLinksRequest.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -474,39 +480,6 @@ private void buildPartial0(com.google.logging.v2.ListLinksRequest result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.ListLinksRequest) { @@ -603,10 +576,10 @@ 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]/"
-     *   "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/
+     * "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]/"
+     * "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/
      * 
* * @@ -633,10 +606,10 @@ 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]/"
-     *   "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/
+     * "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]/"
+     * "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/
      * 
* * @@ -663,10 +636,10 @@ 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]/"
-     *   "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/
+     * "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]/"
+     * "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/
      * 
* * @@ -692,10 +665,10 @@ 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]/"
-     *   "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/
+     * "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]/"
+     * "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/
      * 
* * @@ -717,10 +690,10 @@ 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]/"
-     *   "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/
+     * "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]/"
+     * "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/
      * 
* * @@ -918,17 +891,6 @@ public Builder clearPageSize() { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.logging.v2.ListLinksRequest) } 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 79c4c1071..f12cfb976 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 @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; +@com.google.protobuf.Generated public interface ListLinksRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.ListLinksRequest) @@ -30,10 +32,10 @@ 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]/"
-   *   "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/
+   * "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]/"
+   * "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/
    * 
* * @@ -50,10 +52,10 @@ 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]/"
-   *   "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/
+   * "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]/"
+   * "folders/[FOLDER_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 9776e8303..e584b15cc 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 @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.logging.v2.ListLinksResponse} */ -public final class ListLinksResponse extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class ListLinksResponse extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.logging.v2.ListLinksResponse) ListLinksResponseOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 0, + /* suffix= */ "", + "ListLinksResponse"); + } + // Use ListLinksResponse.newBuilder() to construct. - private ListLinksResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListLinksResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -44,19 +56,13 @@ private ListLinksResponse() { nextPageToken_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ListLinksResponse(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_ListLinksResponse_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_ListLinksResponse_fieldAccessorTable @@ -214,8 +220,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < links_.size(); i++) { output.writeMessage(1, links_.get(i)); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageToken_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, nextPageToken_); } getUnknownFields().writeTo(output); } @@ -229,8 +235,8 @@ public int getSerializedSize() { for (int i = 0; i < links_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, links_.get(i)); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageToken_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, nextPageToken_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -308,38 +314,38 @@ public static com.google.logging.v2.ListLinksResponse parseFrom( public static com.google.logging.v2.ListLinksResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.ListLinksResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.ListLinksResponse parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.ListLinksResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.ListLinksResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.ListLinksResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -362,7 +368,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -376,7 +382,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.logging.v2.ListLinksResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.ListLinksResponse) com.google.logging.v2.ListLinksResponseOrBuilder { @@ -386,7 +392,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_ListLinksResponse_fieldAccessorTable @@ -398,7 +404,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.logging.v2.ListLinksResponse.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -468,39 +474,6 @@ private void buildPartial0(com.google.logging.v2.ListLinksResponse result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.ListLinksResponse) { @@ -532,8 +505,8 @@ public Builder mergeFrom(com.google.logging.v2.ListLinksResponse other) { links_ = other.links_; bitField0_ = (bitField0_ & ~0x00000001); linksBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getLinksFieldBuilder() + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders + ? internalGetLinksFieldBuilder() : null; } else { linksBuilder_.addAllMessages(other.links_); @@ -617,7 +590,7 @@ private void ensureLinksIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.logging.v2.Link, com.google.logging.v2.Link.Builder, com.google.logging.v2.LinkOrBuilder> @@ -873,7 +846,7 @@ public Builder removeLinks(int index) { * repeated .google.logging.v2.Link links = 1; */ public com.google.logging.v2.Link.Builder getLinksBuilder(int index) { - return getLinksFieldBuilder().getBuilder(index); + return internalGetLinksFieldBuilder().getBuilder(index); } /** @@ -920,7 +893,8 @@ public java.util.List getLinksOrB * repeated .google.logging.v2.Link links = 1; */ public com.google.logging.v2.Link.Builder addLinksBuilder() { - return getLinksFieldBuilder().addBuilder(com.google.logging.v2.Link.getDefaultInstance()); + return internalGetLinksFieldBuilder() + .addBuilder(com.google.logging.v2.Link.getDefaultInstance()); } /** @@ -933,7 +907,7 @@ public com.google.logging.v2.Link.Builder addLinksBuilder() { * repeated .google.logging.v2.Link links = 1; */ public com.google.logging.v2.Link.Builder addLinksBuilder(int index) { - return getLinksFieldBuilder() + return internalGetLinksFieldBuilder() .addBuilder(index, com.google.logging.v2.Link.getDefaultInstance()); } @@ -947,17 +921,17 @@ public com.google.logging.v2.Link.Builder addLinksBuilder(int index) { * repeated .google.logging.v2.Link links = 1; */ public java.util.List getLinksBuilderList() { - return getLinksFieldBuilder().getBuilderList(); + return internalGetLinksFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.logging.v2.Link, com.google.logging.v2.Link.Builder, com.google.logging.v2.LinkOrBuilder> - getLinksFieldBuilder() { + internalGetLinksFieldBuilder() { if (linksBuilder_ == null) { linksBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.logging.v2.Link, com.google.logging.v2.Link.Builder, com.google.logging.v2.LinkOrBuilder>( @@ -1088,17 +1062,6 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.logging.v2.ListLinksResponse) } 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 19945b209..64446f9a7 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 @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; +@com.google.protobuf.Generated public interface ListLinksResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.ListLinksResponse) 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 199fba2e4..b4a60cf86 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 @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.logging.v2.ListLogEntriesRequest} */ -public final class ListLogEntriesRequest extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class ListLogEntriesRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.logging.v2.ListLogEntriesRequest) ListLogEntriesRequestOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 0, + /* suffix= */ "", + "ListLogEntriesRequest"); + } + // Use ListLogEntriesRequest.newBuilder() to construct. - private ListLogEntriesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListLogEntriesRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -46,19 +58,13 @@ private ListLogEntriesRequest() { pageToken_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ListLogEntriesRequest(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingProto .internal_static_google_logging_v2_ListLogEntriesRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingProto .internal_static_google_logging_v2_ListLogEntriesRequest_fieldAccessorTable @@ -87,10 +93,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * 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/[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. @@ -120,10 +126,10 @@ public com.google.protobuf.ProtocolStringList getResourceNamesList() { * * 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/[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. @@ -153,10 +159,10 @@ public int getResourceNamesCount() { * * 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/[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. @@ -187,10 +193,10 @@ public java.lang.String getResourceNames(int index) { * * 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/[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. @@ -426,20 +432,20 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, filter_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(filter_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, filter_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, orderBy_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(orderBy_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, orderBy_); } if (pageSize_ != 0) { output.writeInt32(4, pageSize_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, pageToken_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 5, pageToken_); } for (int i = 0; i < resourceNames_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 8, resourceNames_.getRaw(i)); + com.google.protobuf.GeneratedMessage.writeString(output, 8, resourceNames_.getRaw(i)); } getUnknownFields().writeTo(output); } @@ -450,17 +456,17 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filter_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(filter_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, filter_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, orderBy_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(orderBy_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, orderBy_); } if (pageSize_ != 0) { size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, pageSize_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, pageToken_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(5, pageToken_); } { int dataSize = 0; @@ -556,38 +562,38 @@ public static com.google.logging.v2.ListLogEntriesRequest parseFrom( public static com.google.logging.v2.ListLogEntriesRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.ListLogEntriesRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.ListLogEntriesRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.ListLogEntriesRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.ListLogEntriesRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.ListLogEntriesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -610,7 +616,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -624,7 +630,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.logging.v2.ListLogEntriesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.ListLogEntriesRequest) com.google.logging.v2.ListLogEntriesRequestOrBuilder { @@ -634,7 +640,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingProto .internal_static_google_logging_v2_ListLogEntriesRequest_fieldAccessorTable @@ -646,7 +652,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.logging.v2.ListLogEntriesRequest.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -713,39 +719,6 @@ private void buildPartial0(com.google.logging.v2.ListLogEntriesRequest result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.ListLogEntriesRequest) { @@ -886,10 +859,10 @@ private void ensureResourceNamesIsMutable() { * * 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/[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. @@ -920,10 +893,10 @@ public com.google.protobuf.ProtocolStringList getResourceNamesList() { * * 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/[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. @@ -953,10 +926,10 @@ public int getResourceNamesCount() { * * 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/[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. @@ -987,10 +960,10 @@ public java.lang.String getResourceNames(int index) { * * 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/[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. @@ -1021,10 +994,10 @@ public com.google.protobuf.ByteString getResourceNamesBytes(int index) { * * 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/[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. @@ -1063,10 +1036,10 @@ public Builder setResourceNames(int index, java.lang.String value) { * * 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/[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. @@ -1104,10 +1077,10 @@ public Builder addResourceNames(java.lang.String value) { * * 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/[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. @@ -1142,10 +1115,10 @@ public Builder addAllResourceNames(java.lang.Iterable values) * * 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/[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. @@ -1179,10 +1152,10 @@ public Builder clearResourceNames() { * * 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/[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. @@ -1665,17 +1638,6 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.logging.v2.ListLogEntriesRequest) } 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 7abbf51e7..691b4339e 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 @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; +@com.google.protobuf.Generated public interface ListLogEntriesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.ListLogEntriesRequest) @@ -38,10 +40,10 @@ public interface ListLogEntriesRequestOrBuilder * * 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/[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. @@ -69,10 +71,10 @@ public interface ListLogEntriesRequestOrBuilder * * 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/[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. @@ -100,10 +102,10 @@ public interface ListLogEntriesRequestOrBuilder * * 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/[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. @@ -132,10 +134,10 @@ public interface ListLogEntriesRequestOrBuilder * * 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/[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 bccb09fa8..6faa9e5ac 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 @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.logging.v2.ListLogEntriesResponse} */ -public final class ListLogEntriesResponse extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class ListLogEntriesResponse extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.logging.v2.ListLogEntriesResponse) ListLogEntriesResponseOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 0, + /* suffix= */ "", + "ListLogEntriesResponse"); + } + // Use ListLogEntriesResponse.newBuilder() to construct. - private ListLogEntriesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListLogEntriesResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -44,19 +56,13 @@ private ListLogEntriesResponse() { nextPageToken_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ListLogEntriesResponse(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingProto .internal_static_google_logging_v2_ListLogEntriesResponse_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingProto .internal_static_google_logging_v2_ListLogEntriesResponse_fieldAccessorTable @@ -239,8 +245,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < entries_.size(); i++) { output.writeMessage(1, entries_.get(i)); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageToken_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, nextPageToken_); } getUnknownFields().writeTo(output); } @@ -254,8 +260,8 @@ public int getSerializedSize() { for (int i = 0; i < entries_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, entries_.get(i)); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageToken_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, nextPageToken_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -334,38 +340,38 @@ public static com.google.logging.v2.ListLogEntriesResponse parseFrom( public static com.google.logging.v2.ListLogEntriesResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.ListLogEntriesResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.ListLogEntriesResponse parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.ListLogEntriesResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.ListLogEntriesResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.ListLogEntriesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -388,7 +394,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -402,7 +408,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.logging.v2.ListLogEntriesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.ListLogEntriesResponse) com.google.logging.v2.ListLogEntriesResponseOrBuilder { @@ -412,7 +418,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingProto .internal_static_google_logging_v2_ListLogEntriesResponse_fieldAccessorTable @@ -424,7 +430,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.logging.v2.ListLogEntriesResponse.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -494,39 +500,6 @@ private void buildPartial0(com.google.logging.v2.ListLogEntriesResponse result) } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.ListLogEntriesResponse) { @@ -558,8 +531,8 @@ public Builder mergeFrom(com.google.logging.v2.ListLogEntriesResponse other) { entries_ = other.entries_; bitField0_ = (bitField0_ & ~0x00000001); entriesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getEntriesFieldBuilder() + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders + ? internalGetEntriesFieldBuilder() : null; } else { entriesBuilder_.addAllMessages(other.entries_); @@ -644,7 +617,7 @@ private void ensureEntriesIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.logging.v2.LogEntry, com.google.logging.v2.LogEntry.Builder, com.google.logging.v2.LogEntryOrBuilder> @@ -927,7 +900,7 @@ public Builder removeEntries(int index) { * repeated .google.logging.v2.LogEntry entries = 1; */ public com.google.logging.v2.LogEntry.Builder getEntriesBuilder(int index) { - return getEntriesFieldBuilder().getBuilder(index); + return internalGetEntriesFieldBuilder().getBuilder(index); } /** @@ -981,7 +954,7 @@ public com.google.logging.v2.LogEntryOrBuilder getEntriesOrBuilder(int index) { * repeated .google.logging.v2.LogEntry entries = 1; */ public com.google.logging.v2.LogEntry.Builder addEntriesBuilder() { - return getEntriesFieldBuilder() + return internalGetEntriesFieldBuilder() .addBuilder(com.google.logging.v2.LogEntry.getDefaultInstance()); } @@ -997,7 +970,7 @@ public com.google.logging.v2.LogEntry.Builder addEntriesBuilder() { * repeated .google.logging.v2.LogEntry entries = 1; */ public com.google.logging.v2.LogEntry.Builder addEntriesBuilder(int index) { - return getEntriesFieldBuilder() + return internalGetEntriesFieldBuilder() .addBuilder(index, com.google.logging.v2.LogEntry.getDefaultInstance()); } @@ -1013,17 +986,17 @@ public com.google.logging.v2.LogEntry.Builder addEntriesBuilder(int index) { * repeated .google.logging.v2.LogEntry entries = 1; */ public java.util.List getEntriesBuilderList() { - return getEntriesFieldBuilder().getBuilderList(); + return internalGetEntriesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.logging.v2.LogEntry, com.google.logging.v2.LogEntry.Builder, com.google.logging.v2.LogEntryOrBuilder> - getEntriesFieldBuilder() { + internalGetEntriesFieldBuilder() { if (entriesBuilder_ == null) { entriesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.logging.v2.LogEntry, com.google.logging.v2.LogEntry.Builder, com.google.logging.v2.LogEntryOrBuilder>( @@ -1189,17 +1162,6 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.logging.v2.ListLogEntriesResponse) } 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 fb115c192..cac84c227 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 @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; +@com.google.protobuf.Generated public interface ListLogEntriesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.ListLogEntriesResponse) 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 8e72f973e..e50dfc4c4 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 @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_metrics.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.logging.v2.ListLogMetricsRequest} */ -public final class ListLogMetricsRequest extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class ListLogMetricsRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.logging.v2.ListLogMetricsRequest) ListLogMetricsRequestOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 0, + /* suffix= */ "", + "ListLogMetricsRequest"); + } + // Use ListLogMetricsRequest.newBuilder() to construct. - private ListLogMetricsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListLogMetricsRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -44,19 +56,13 @@ private ListLogMetricsRequest() { pageToken_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ListLogMetricsRequest(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingMetricsProto .internal_static_google_logging_v2_ListLogMetricsRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingMetricsProto .internal_static_google_logging_v2_ListLogMetricsRequest_fieldAccessorTable @@ -76,7 +82,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { *
    * Required. The name of the project containing the metrics:
    *
-   *     "projects/[PROJECT_ID]"
+   * "projects/[PROJECT_ID]"
    * 
* * @@ -104,7 +110,7 @@ public java.lang.String getParent() { *
    * Required. The name of the project containing the metrics:
    *
-   *     "projects/[PROJECT_ID]"
+   * "projects/[PROJECT_ID]"
    * 
* * @@ -220,11 +226,11 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, parent_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, pageToken_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, pageToken_); } if (pageSize_ != 0) { output.writeInt32(3, pageSize_); @@ -238,11 +244,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, parent_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, pageToken_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, pageToken_); } if (pageSize_ != 0) { size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); @@ -325,38 +331,38 @@ public static com.google.logging.v2.ListLogMetricsRequest parseFrom( public static com.google.logging.v2.ListLogMetricsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.ListLogMetricsRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.ListLogMetricsRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.ListLogMetricsRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.ListLogMetricsRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.ListLogMetricsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -379,7 +385,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -393,7 +399,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.logging.v2.ListLogMetricsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.ListLogMetricsRequest) com.google.logging.v2.ListLogMetricsRequestOrBuilder { @@ -403,7 +409,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingMetricsProto .internal_static_google_logging_v2_ListLogMetricsRequest_fieldAccessorTable @@ -415,7 +421,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.logging.v2.ListLogMetricsRequest.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -473,39 +479,6 @@ private void buildPartial0(com.google.logging.v2.ListLogMetricsRequest result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.ListLogMetricsRequest) { @@ -602,7 +575,7 @@ public Builder mergeFrom( *
      * Required. The name of the project containing the metrics:
      *
-     *     "projects/[PROJECT_ID]"
+     * "projects/[PROJECT_ID]"
      * 
* * @@ -629,7 +602,7 @@ public java.lang.String getParent() { *
      * Required. The name of the project containing the metrics:
      *
-     *     "projects/[PROJECT_ID]"
+     * "projects/[PROJECT_ID]"
      * 
* * @@ -656,7 +629,7 @@ public com.google.protobuf.ByteString getParentBytes() { *
      * Required. The name of the project containing the metrics:
      *
-     *     "projects/[PROJECT_ID]"
+     * "projects/[PROJECT_ID]"
      * 
* * @@ -682,7 +655,7 @@ public Builder setParent(java.lang.String value) { *
      * Required. The name of the project containing the metrics:
      *
-     *     "projects/[PROJECT_ID]"
+     * "projects/[PROJECT_ID]"
      * 
* * @@ -704,7 +677,7 @@ public Builder clearParent() { *
      * Required. The name of the project containing the metrics:
      *
-     *     "projects/[PROJECT_ID]"
+     * "projects/[PROJECT_ID]"
      * 
* * @@ -913,17 +886,6 @@ public Builder clearPageSize() { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.logging.v2.ListLogMetricsRequest) } 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 f83ae6232..24907a953 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 @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_metrics.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; +@com.google.protobuf.Generated public interface ListLogMetricsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.ListLogMetricsRequest) @@ -30,7 +32,7 @@ public interface ListLogMetricsRequestOrBuilder *
    * Required. The name of the project containing the metrics:
    *
-   *     "projects/[PROJECT_ID]"
+   * "projects/[PROJECT_ID]"
    * 
* * @@ -47,7 +49,7 @@ public interface ListLogMetricsRequestOrBuilder *
    * Required. The name of the project containing the metrics:
    *
-   *     "projects/[PROJECT_ID]"
+   * "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 bbaee6bee..a71af9c72 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 @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_metrics.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.logging.v2.ListLogMetricsResponse} */ -public final class ListLogMetricsResponse extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class ListLogMetricsResponse extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.logging.v2.ListLogMetricsResponse) ListLogMetricsResponseOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 0, + /* suffix= */ "", + "ListLogMetricsResponse"); + } + // Use ListLogMetricsResponse.newBuilder() to construct. - private ListLogMetricsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListLogMetricsResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -44,19 +56,13 @@ private ListLogMetricsResponse() { nextPageToken_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ListLogMetricsResponse(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingMetricsProto .internal_static_google_logging_v2_ListLogMetricsResponse_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingMetricsProto .internal_static_google_logging_v2_ListLogMetricsResponse_fieldAccessorTable @@ -215,8 +221,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < metrics_.size(); i++) { output.writeMessage(1, metrics_.get(i)); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageToken_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, nextPageToken_); } getUnknownFields().writeTo(output); } @@ -230,8 +236,8 @@ public int getSerializedSize() { for (int i = 0; i < metrics_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, metrics_.get(i)); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageToken_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, nextPageToken_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -310,38 +316,38 @@ public static com.google.logging.v2.ListLogMetricsResponse parseFrom( public static com.google.logging.v2.ListLogMetricsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.ListLogMetricsResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.ListLogMetricsResponse parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.ListLogMetricsResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.ListLogMetricsResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.ListLogMetricsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -364,7 +370,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -378,7 +384,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.logging.v2.ListLogMetricsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.ListLogMetricsResponse) com.google.logging.v2.ListLogMetricsResponseOrBuilder { @@ -388,7 +394,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingMetricsProto .internal_static_google_logging_v2_ListLogMetricsResponse_fieldAccessorTable @@ -400,7 +406,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.logging.v2.ListLogMetricsResponse.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -470,39 +476,6 @@ private void buildPartial0(com.google.logging.v2.ListLogMetricsResponse result) } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.ListLogMetricsResponse) { @@ -534,8 +507,8 @@ public Builder mergeFrom(com.google.logging.v2.ListLogMetricsResponse other) { metrics_ = other.metrics_; bitField0_ = (bitField0_ & ~0x00000001); metricsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getMetricsFieldBuilder() + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders + ? internalGetMetricsFieldBuilder() : null; } else { metricsBuilder_.addAllMessages(other.metrics_); @@ -620,7 +593,7 @@ private void ensureMetricsIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.logging.v2.LogMetric, com.google.logging.v2.LogMetric.Builder, com.google.logging.v2.LogMetricOrBuilder> @@ -877,7 +850,7 @@ public Builder removeMetrics(int index) { * repeated .google.logging.v2.LogMetric metrics = 1; */ public com.google.logging.v2.LogMetric.Builder getMetricsBuilder(int index) { - return getMetricsFieldBuilder().getBuilder(index); + return internalGetMetricsFieldBuilder().getBuilder(index); } /** @@ -925,7 +898,7 @@ public com.google.logging.v2.LogMetricOrBuilder getMetricsOrBuilder(int index) { * repeated .google.logging.v2.LogMetric metrics = 1; */ public com.google.logging.v2.LogMetric.Builder addMetricsBuilder() { - return getMetricsFieldBuilder() + return internalGetMetricsFieldBuilder() .addBuilder(com.google.logging.v2.LogMetric.getDefaultInstance()); } @@ -939,7 +912,7 @@ public com.google.logging.v2.LogMetric.Builder addMetricsBuilder() { * repeated .google.logging.v2.LogMetric metrics = 1; */ public com.google.logging.v2.LogMetric.Builder addMetricsBuilder(int index) { - return getMetricsFieldBuilder() + return internalGetMetricsFieldBuilder() .addBuilder(index, com.google.logging.v2.LogMetric.getDefaultInstance()); } @@ -953,17 +926,17 @@ public com.google.logging.v2.LogMetric.Builder addMetricsBuilder(int index) { * repeated .google.logging.v2.LogMetric metrics = 1; */ public java.util.List getMetricsBuilderList() { - return getMetricsFieldBuilder().getBuilderList(); + return internalGetMetricsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.logging.v2.LogMetric, com.google.logging.v2.LogMetric.Builder, com.google.logging.v2.LogMetricOrBuilder> - getMetricsFieldBuilder() { + internalGetMetricsFieldBuilder() { if (metricsBuilder_ == null) { metricsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.logging.v2.LogMetric, com.google.logging.v2.LogMetric.Builder, com.google.logging.v2.LogMetricOrBuilder>( @@ -1094,17 +1067,6 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.logging.v2.ListLogMetricsResponse) } 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 bb5b50654..e9777ebaf 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 @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_metrics.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; +@com.google.protobuf.Generated public interface ListLogMetricsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.ListLogMetricsResponse) 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 4d899e86e..9c0e28e06 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 @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.logging.v2.ListLogsRequest} */ -public final class ListLogsRequest extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class ListLogsRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.logging.v2.ListLogsRequest) ListLogsRequestOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 0, + /* suffix= */ "", + "ListLogsRequest"); + } + // Use ListLogsRequest.newBuilder() to construct. - private ListLogsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListLogsRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -45,19 +57,13 @@ private ListLogsRequest() { pageToken_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ListLogsRequest(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingProto .internal_static_google_logging_v2_ListLogsRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingProto .internal_static_google_logging_v2_ListLogsRequest_fieldAccessorTable @@ -145,10 +151,10 @@ public com.google.protobuf.ByteString getParentBytes() { *
    * 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]`
+   * * `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:
    *
@@ -176,10 +182,10 @@ 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]`
+   * * `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:
    *
@@ -207,10 +213,10 @@ 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]`
+   * * `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:
    *
@@ -239,10 +245,10 @@ 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]`
+   * * `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:
    *
@@ -359,17 +365,17 @@ public final boolean isInitialized() {
 
   @java.lang.Override
   public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
-    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
-      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
+    if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) {
+      com.google.protobuf.GeneratedMessage.writeString(output, 1, parent_);
     }
     if (pageSize_ != 0) {
       output.writeInt32(2, pageSize_);
     }
-    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) {
-      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_);
+    if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) {
+      com.google.protobuf.GeneratedMessage.writeString(output, 3, pageToken_);
     }
     for (int i = 0; i < resourceNames_.size(); i++) {
-      com.google.protobuf.GeneratedMessageV3.writeString(output, 8, resourceNames_.getRaw(i));
+      com.google.protobuf.GeneratedMessage.writeString(output, 8, resourceNames_.getRaw(i));
     }
     getUnknownFields().writeTo(output);
   }
@@ -380,14 +386,14 @@ public int getSerializedSize() {
     if (size != -1) return size;
 
     size = 0;
-    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
-      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_);
+    if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) {
+      size += com.google.protobuf.GeneratedMessage.computeStringSize(1, parent_);
     }
     if (pageSize_ != 0) {
       size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_);
     }
-    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) {
-      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_);
+    if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) {
+      size += com.google.protobuf.GeneratedMessage.computeStringSize(3, pageToken_);
     }
     {
       int dataSize = 0;
@@ -478,38 +484,38 @@ public static com.google.logging.v2.ListLogsRequest parseFrom(
 
   public static com.google.logging.v2.ListLogsRequest parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
   }
 
   public static com.google.logging.v2.ListLogsRequest parseFrom(
       java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+    return com.google.protobuf.GeneratedMessage.parseWithIOException(
         PARSER, input, extensionRegistry);
   }
 
   public static com.google.logging.v2.ListLogsRequest parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.logging.v2.ListLogsRequest parseDelimitedFrom(
       java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+    return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
         PARSER, input, extensionRegistry);
   }
 
   public static com.google.logging.v2.ListLogsRequest parseFrom(
       com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
   }
 
   public static com.google.logging.v2.ListLogsRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+    return com.google.protobuf.GeneratedMessage.parseWithIOException(
         PARSER, input, extensionRegistry);
   }
 
@@ -532,7 +538,7 @@ public Builder toBuilder() {
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
@@ -546,7 +552,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.logging.v2.ListLogsRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+  public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
       implements
       // @@protoc_insertion_point(builder_implements:google.logging.v2.ListLogsRequest)
       com.google.logging.v2.ListLogsRequestOrBuilder {
@@ -556,7 +562,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     }
 
     @java.lang.Override
-    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
         internalGetFieldAccessorTable() {
       return com.google.logging.v2.LoggingProto
           .internal_static_google_logging_v2_ListLogsRequest_fieldAccessorTable
@@ -568,7 +574,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     // Construct using com.google.logging.v2.ListLogsRequest.newBuilder()
     private Builder() {}
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
       super(parent);
     }
 
@@ -631,39 +637,6 @@ private void buildPartial0(com.google.logging.v2.ListLogsRequest result) {
       }
     }
 
-    @java.lang.Override
-    public Builder clone() {
-      return super.clone();
-    }
-
-    @java.lang.Override
-    public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
-      return super.setField(field, value);
-    }
-
-    @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
-      return super.clearField(field);
-    }
-
-    @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
-      return super.clearOneof(oneof);
-    }
-
-    @java.lang.Override
-    public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
-      return super.setRepeatedField(field, index, value);
-    }
-
-    @java.lang.Override
-    public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
-      return super.addRepeatedField(field, value);
-    }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.logging.v2.ListLogsRequest) {
@@ -931,10 +904,10 @@ private void ensureResourceNamesIsMutable() {
      * 
      * 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]`
+     * * `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:
      *
@@ -963,10 +936,10 @@ 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]`
+     * * `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:
      *
@@ -994,10 +967,10 @@ 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]`
+     * * `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:
      *
@@ -1026,10 +999,10 @@ 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]`
+     * * `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:
      *
@@ -1058,10 +1031,10 @@ 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]`
+     * * `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:
      *
@@ -1098,10 +1071,10 @@ 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]`
+     * * `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:
      *
@@ -1137,10 +1110,10 @@ 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]`
+     * * `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:
      *
@@ -1173,10 +1146,10 @@ 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]`
+     * * `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:
      *
@@ -1208,10 +1181,10 @@ 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]`
+     * * `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:
      *
@@ -1430,17 +1403,6 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
       return this;
     }
 
-    @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
-      return super.setUnknownFields(unknownFields);
-    }
-
-    @java.lang.Override
-    public final Builder mergeUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
-      return super.mergeUnknownFields(unknownFields);
-    }
-
     // @@protoc_insertion_point(builder_scope:google.logging.v2.ListLogsRequest)
   }
 
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 8107fbb6f..b4d4c3fe3 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
@@ -14,11 +14,13 @@
  * limitations under the License.
  */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
 // source: google/logging/v2/logging.proto
+// Protobuf Java Version: 4.33.0
 
-// Protobuf Java Version: 3.25.8
 package com.google.logging.v2;
 
+@com.google.protobuf.Generated
 public interface ListLogsRequestOrBuilder
     extends
     // @@protoc_insertion_point(interface_extends:google.logging.v2.ListLogsRequest)
@@ -70,10 +72,10 @@ 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]`
+   * * `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:
    *
@@ -99,10 +101,10 @@ 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]`
+   * * `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:
    *
@@ -128,10 +130,10 @@ 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]`
+   * * `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:
    *
@@ -158,10 +160,10 @@ 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]`
+   * * `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:
    *
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 0ed83ee85..9323faf17 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
@@ -14,9 +14,10 @@
  * limitations under the License.
  */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
 // source: google/logging/v2/logging.proto
+// Protobuf Java Version: 4.33.0
 
-// Protobuf Java Version: 3.25.8
 package com.google.logging.v2;
 
 /**
@@ -28,14 +29,25 @@
  *
  * Protobuf type {@code google.logging.v2.ListLogsResponse}
  */
-public final class ListLogsResponse extends com.google.protobuf.GeneratedMessageV3
+@com.google.protobuf.Generated
+public final class ListLogsResponse extends com.google.protobuf.GeneratedMessage
     implements
     // @@protoc_insertion_point(message_implements:google.logging.v2.ListLogsResponse)
     ListLogsResponseOrBuilder {
   private static final long serialVersionUID = 0L;
 
+  static {
+    com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+        com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+        /* major= */ 4,
+        /* minor= */ 33,
+        /* patch= */ 0,
+        /* suffix= */ "",
+        "ListLogsResponse");
+  }
+
   // Use ListLogsResponse.newBuilder() to construct.
-  private ListLogsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private ListLogsResponse(com.google.protobuf.GeneratedMessage.Builder builder) {
     super(builder);
   }
 
@@ -44,19 +56,13 @@ private ListLogsResponse() {
     nextPageToken_ = "";
   }
 
-  @java.lang.Override
-  @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
-    return new ListLogsResponse();
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.logging.v2.LoggingProto
         .internal_static_google_logging_v2_ListLogsResponse_descriptor;
   }
 
   @java.lang.Override
-  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+  protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
       internalGetFieldAccessorTable() {
     return com.google.logging.v2.LoggingProto
         .internal_static_google_logging_v2_ListLogsResponse_fieldAccessorTable
@@ -212,11 +218,11 @@ public final boolean isInitialized() {
 
   @java.lang.Override
   public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
-    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) {
-      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_);
+    if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageToken_)) {
+      com.google.protobuf.GeneratedMessage.writeString(output, 2, nextPageToken_);
     }
     for (int i = 0; i < logNames_.size(); i++) {
-      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, logNames_.getRaw(i));
+      com.google.protobuf.GeneratedMessage.writeString(output, 3, logNames_.getRaw(i));
     }
     getUnknownFields().writeTo(output);
   }
@@ -227,8 +233,8 @@ public int getSerializedSize() {
     if (size != -1) return size;
 
     size = 0;
-    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) {
-      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_);
+    if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageToken_)) {
+      size += com.google.protobuf.GeneratedMessage.computeStringSize(2, nextPageToken_);
     }
     {
       int dataSize = 0;
@@ -314,38 +320,38 @@ public static com.google.logging.v2.ListLogsResponse parseFrom(
 
   public static com.google.logging.v2.ListLogsResponse parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
   }
 
   public static com.google.logging.v2.ListLogsResponse parseFrom(
       java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+    return com.google.protobuf.GeneratedMessage.parseWithIOException(
         PARSER, input, extensionRegistry);
   }
 
   public static com.google.logging.v2.ListLogsResponse parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.logging.v2.ListLogsResponse parseDelimitedFrom(
       java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+    return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
         PARSER, input, extensionRegistry);
   }
 
   public static com.google.logging.v2.ListLogsResponse parseFrom(
       com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
   }
 
   public static com.google.logging.v2.ListLogsResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+    return com.google.protobuf.GeneratedMessage.parseWithIOException(
         PARSER, input, extensionRegistry);
   }
 
@@ -368,7 +374,7 @@ public Builder toBuilder() {
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
@@ -382,7 +388,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.logging.v2.ListLogsResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+  public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
       implements
       // @@protoc_insertion_point(builder_implements:google.logging.v2.ListLogsResponse)
       com.google.logging.v2.ListLogsResponseOrBuilder {
@@ -392,7 +398,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     }
 
     @java.lang.Override
-    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
         internalGetFieldAccessorTable() {
       return com.google.logging.v2.LoggingProto
           .internal_static_google_logging_v2_ListLogsResponse_fieldAccessorTable
@@ -404,7 +410,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     // Construct using com.google.logging.v2.ListLogsResponse.newBuilder()
     private Builder() {}
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
       super(parent);
     }
 
@@ -459,39 +465,6 @@ private void buildPartial0(com.google.logging.v2.ListLogsResponse result) {
       }
     }
 
-    @java.lang.Override
-    public Builder clone() {
-      return super.clone();
-    }
-
-    @java.lang.Override
-    public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
-      return super.setField(field, value);
-    }
-
-    @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
-      return super.clearField(field);
-    }
-
-    @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
-      return super.clearOneof(oneof);
-    }
-
-    @java.lang.Override
-    public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
-      return super.setRepeatedField(field, index, value);
-    }
-
-    @java.lang.Override
-    public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
-      return super.addRepeatedField(field, value);
-    }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.logging.v2.ListLogsResponse) {
@@ -899,17 +872,6 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) {
       return this;
     }
 
-    @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
-      return super.setUnknownFields(unknownFields);
-    }
-
-    @java.lang.Override
-    public final Builder mergeUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
-      return super.mergeUnknownFields(unknownFields);
-    }
-
     // @@protoc_insertion_point(builder_scope:google.logging.v2.ListLogsResponse)
   }
 
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 8ed3606e5..2b5364d29 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
@@ -14,11 +14,13 @@
  * limitations under the License.
  */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
 // source: google/logging/v2/logging.proto
+// Protobuf Java Version: 4.33.0
 
-// Protobuf Java Version: 3.25.8
 package com.google.logging.v2;
 
+@com.google.protobuf.Generated
 public interface ListLogsResponseOrBuilder
     extends
     // @@protoc_insertion_point(interface_extends:google.logging.v2.ListLogsResponse)
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 36cc64514..fe40dfb56 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
@@ -14,9 +14,10 @@
  * limitations under the License.
  */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
 // source: google/logging/v2/logging.proto
+// Protobuf Java Version: 4.33.0
 
-// Protobuf Java Version: 3.25.8
 package com.google.logging.v2;
 
 /**
@@ -28,16 +29,27 @@
  *
  * Protobuf type {@code google.logging.v2.ListMonitoredResourceDescriptorsRequest}
  */
+@com.google.protobuf.Generated
 public final class ListMonitoredResourceDescriptorsRequest
-    extends com.google.protobuf.GeneratedMessageV3
+    extends com.google.protobuf.GeneratedMessage
     implements
     // @@protoc_insertion_point(message_implements:google.logging.v2.ListMonitoredResourceDescriptorsRequest)
     ListMonitoredResourceDescriptorsRequestOrBuilder {
   private static final long serialVersionUID = 0L;
 
+  static {
+    com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+        com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+        /* major= */ 4,
+        /* minor= */ 33,
+        /* patch= */ 0,
+        /* suffix= */ "",
+        "ListMonitoredResourceDescriptorsRequest");
+  }
+
   // Use ListMonitoredResourceDescriptorsRequest.newBuilder() to construct.
   private ListMonitoredResourceDescriptorsRequest(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+      com.google.protobuf.GeneratedMessage.Builder builder) {
     super(builder);
   }
 
@@ -45,19 +57,13 @@ private ListMonitoredResourceDescriptorsRequest() {
     pageToken_ = "";
   }
 
-  @java.lang.Override
-  @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
-    return new ListMonitoredResourceDescriptorsRequest();
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.logging.v2.LoggingProto
         .internal_static_google_logging_v2_ListMonitoredResourceDescriptorsRequest_descriptor;
   }
 
   @java.lang.Override
-  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+  protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
       internalGetFieldAccessorTable() {
     return com.google.logging.v2.LoggingProto
         .internal_static_google_logging_v2_ListMonitoredResourceDescriptorsRequest_fieldAccessorTable
@@ -163,8 +169,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
     if (pageSize_ != 0) {
       output.writeInt32(1, pageSize_);
     }
-    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) {
-      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, pageToken_);
+    if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) {
+      com.google.protobuf.GeneratedMessage.writeString(output, 2, pageToken_);
     }
     getUnknownFields().writeTo(output);
   }
@@ -178,8 +184,8 @@ public int getSerializedSize() {
     if (pageSize_ != 0) {
       size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, pageSize_);
     }
-    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) {
-      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, pageToken_);
+    if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) {
+      size += com.google.protobuf.GeneratedMessage.computeStringSize(2, pageToken_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -256,38 +262,38 @@ public static com.google.logging.v2.ListMonitoredResourceDescriptorsRequest pars
 
   public static com.google.logging.v2.ListMonitoredResourceDescriptorsRequest parseFrom(
       java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
   }
 
   public static com.google.logging.v2.ListMonitoredResourceDescriptorsRequest parseFrom(
       java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+    return com.google.protobuf.GeneratedMessage.parseWithIOException(
         PARSER, input, extensionRegistry);
   }
 
   public static com.google.logging.v2.ListMonitoredResourceDescriptorsRequest parseDelimitedFrom(
       java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.logging.v2.ListMonitoredResourceDescriptorsRequest parseDelimitedFrom(
       java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+    return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
         PARSER, input, extensionRegistry);
   }
 
   public static com.google.logging.v2.ListMonitoredResourceDescriptorsRequest parseFrom(
       com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
   }
 
   public static com.google.logging.v2.ListMonitoredResourceDescriptorsRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+    return com.google.protobuf.GeneratedMessage.parseWithIOException(
         PARSER, input, extensionRegistry);
   }
 
@@ -311,7 +317,7 @@ public Builder toBuilder() {
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
@@ -325,7 +331,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.logging.v2.ListMonitoredResourceDescriptorsRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+  public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
       implements
       // @@protoc_insertion_point(builder_implements:google.logging.v2.ListMonitoredResourceDescriptorsRequest)
       com.google.logging.v2.ListMonitoredResourceDescriptorsRequestOrBuilder {
@@ -335,7 +341,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     }
 
     @java.lang.Override
-    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
         internalGetFieldAccessorTable() {
       return com.google.logging.v2.LoggingProto
           .internal_static_google_logging_v2_ListMonitoredResourceDescriptorsRequest_fieldAccessorTable
@@ -347,7 +353,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     // Construct using com.google.logging.v2.ListMonitoredResourceDescriptorsRequest.newBuilder()
     private Builder() {}
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
       super(parent);
     }
 
@@ -403,39 +409,6 @@ private void buildPartial0(
       }
     }
 
-    @java.lang.Override
-    public Builder clone() {
-      return super.clone();
-    }
-
-    @java.lang.Override
-    public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
-      return super.setField(field, value);
-    }
-
-    @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
-      return super.clearField(field);
-    }
-
-    @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
-      return super.clearOneof(oneof);
-    }
-
-    @java.lang.Override
-    public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
-      return super.setRepeatedField(field, index, value);
-    }
-
-    @java.lang.Override
-    public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
-      return super.addRepeatedField(field, value);
-    }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.logging.v2.ListMonitoredResourceDescriptorsRequest) {
@@ -703,17 +676,6 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
       return this;
     }
 
-    @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
-      return super.setUnknownFields(unknownFields);
-    }
-
-    @java.lang.Override
-    public final Builder mergeUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
-      return super.mergeUnknownFields(unknownFields);
-    }
-
     // @@protoc_insertion_point(builder_scope:google.logging.v2.ListMonitoredResourceDescriptorsRequest)
   }
 
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 f730f7ef6..3faa27d2a 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
@@ -14,11 +14,13 @@
  * limitations under the License.
  */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
 // source: google/logging/v2/logging.proto
+// Protobuf Java Version: 4.33.0
 
-// Protobuf Java Version: 3.25.8
 package com.google.logging.v2;
 
+@com.google.protobuf.Generated
 public interface ListMonitoredResourceDescriptorsRequestOrBuilder
     extends
     // @@protoc_insertion_point(interface_extends:google.logging.v2.ListMonitoredResourceDescriptorsRequest)
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 8b202f9a2..80a1a6fbd 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
@@ -14,9 +14,10 @@
  * limitations under the License.
  */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
 // source: google/logging/v2/logging.proto
+// Protobuf Java Version: 4.33.0
 
-// Protobuf Java Version: 3.25.8
 package com.google.logging.v2;
 
 /**
@@ -28,16 +29,27 @@
  *
  * Protobuf type {@code google.logging.v2.ListMonitoredResourceDescriptorsResponse}
  */
+@com.google.protobuf.Generated
 public final class ListMonitoredResourceDescriptorsResponse
-    extends com.google.protobuf.GeneratedMessageV3
+    extends com.google.protobuf.GeneratedMessage
     implements
     // @@protoc_insertion_point(message_implements:google.logging.v2.ListMonitoredResourceDescriptorsResponse)
     ListMonitoredResourceDescriptorsResponseOrBuilder {
   private static final long serialVersionUID = 0L;
 
+  static {
+    com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+        com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+        /* major= */ 4,
+        /* minor= */ 33,
+        /* patch= */ 0,
+        /* suffix= */ "",
+        "ListMonitoredResourceDescriptorsResponse");
+  }
+
   // Use ListMonitoredResourceDescriptorsResponse.newBuilder() to construct.
   private ListMonitoredResourceDescriptorsResponse(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+      com.google.protobuf.GeneratedMessage.Builder builder) {
     super(builder);
   }
 
@@ -46,19 +58,13 @@ private ListMonitoredResourceDescriptorsResponse() {
     nextPageToken_ = "";
   }
 
-  @java.lang.Override
-  @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
-    return new ListMonitoredResourceDescriptorsResponse();
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.logging.v2.LoggingProto
         .internal_static_google_logging_v2_ListMonitoredResourceDescriptorsResponse_descriptor;
   }
 
   @java.lang.Override
-  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+  protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
       internalGetFieldAccessorTable() {
     return com.google.logging.v2.LoggingProto
         .internal_static_google_logging_v2_ListMonitoredResourceDescriptorsResponse_fieldAccessorTable
@@ -218,8 +224,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
     for (int i = 0; i < resourceDescriptors_.size(); i++) {
       output.writeMessage(1, resourceDescriptors_.get(i));
     }
-    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) {
-      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_);
+    if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageToken_)) {
+      com.google.protobuf.GeneratedMessage.writeString(output, 2, nextPageToken_);
     }
     getUnknownFields().writeTo(output);
   }
@@ -234,8 +240,8 @@ public int getSerializedSize() {
       size +=
           com.google.protobuf.CodedOutputStream.computeMessageSize(1, resourceDescriptors_.get(i));
     }
-    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) {
-      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_);
+    if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageToken_)) {
+      size += com.google.protobuf.GeneratedMessage.computeStringSize(2, nextPageToken_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -314,38 +320,38 @@ public static com.google.logging.v2.ListMonitoredResourceDescriptorsResponse par
 
   public static com.google.logging.v2.ListMonitoredResourceDescriptorsResponse parseFrom(
       java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
   }
 
   public static com.google.logging.v2.ListMonitoredResourceDescriptorsResponse parseFrom(
       java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+    return com.google.protobuf.GeneratedMessage.parseWithIOException(
         PARSER, input, extensionRegistry);
   }
 
   public static com.google.logging.v2.ListMonitoredResourceDescriptorsResponse parseDelimitedFrom(
       java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.logging.v2.ListMonitoredResourceDescriptorsResponse parseDelimitedFrom(
       java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+    return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
         PARSER, input, extensionRegistry);
   }
 
   public static com.google.logging.v2.ListMonitoredResourceDescriptorsResponse parseFrom(
       com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
   }
 
   public static com.google.logging.v2.ListMonitoredResourceDescriptorsResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+    return com.google.protobuf.GeneratedMessage.parseWithIOException(
         PARSER, input, extensionRegistry);
   }
 
@@ -369,7 +375,7 @@ public Builder toBuilder() {
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
@@ -383,7 +389,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.logging.v2.ListMonitoredResourceDescriptorsResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+  public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
       implements
       // @@protoc_insertion_point(builder_implements:google.logging.v2.ListMonitoredResourceDescriptorsResponse)
       com.google.logging.v2.ListMonitoredResourceDescriptorsResponseOrBuilder {
@@ -393,7 +399,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     }
 
     @java.lang.Override
-    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
         internalGetFieldAccessorTable() {
       return com.google.logging.v2.LoggingProto
           .internal_static_google_logging_v2_ListMonitoredResourceDescriptorsResponse_fieldAccessorTable
@@ -405,7 +411,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     // Construct using com.google.logging.v2.ListMonitoredResourceDescriptorsResponse.newBuilder()
     private Builder() {}
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
       super(parent);
     }
 
@@ -478,39 +484,6 @@ private void buildPartial0(
       }
     }
 
-    @java.lang.Override
-    public Builder clone() {
-      return super.clone();
-    }
-
-    @java.lang.Override
-    public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
-      return super.setField(field, value);
-    }
-
-    @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
-      return super.clearField(field);
-    }
-
-    @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
-      return super.clearOneof(oneof);
-    }
-
-    @java.lang.Override
-    public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
-      return super.setRepeatedField(field, index, value);
-    }
-
-    @java.lang.Override
-    public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
-      return super.addRepeatedField(field, value);
-    }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.logging.v2.ListMonitoredResourceDescriptorsResponse) {
@@ -544,8 +517,8 @@ public Builder mergeFrom(com.google.logging.v2.ListMonitoredResourceDescriptorsR
             resourceDescriptors_ = other.resourceDescriptors_;
             bitField0_ = (bitField0_ & ~0x00000001);
             resourceDescriptorsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getResourceDescriptorsFieldBuilder()
+                com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders
+                    ? internalGetResourceDescriptorsFieldBuilder()
                     : null;
           } else {
             resourceDescriptorsBuilder_.addAllMessages(other.resourceDescriptors_);
@@ -633,7 +606,7 @@ private void ensureResourceDescriptorsIsMutable() {
       }
     }
 
-    private com.google.protobuf.RepeatedFieldBuilderV3<
+    private com.google.protobuf.RepeatedFieldBuilder<
             com.google.api.MonitoredResourceDescriptor,
             com.google.api.MonitoredResourceDescriptor.Builder,
             com.google.api.MonitoredResourceDescriptorOrBuilder>
@@ -896,7 +869,7 @@ public Builder removeResourceDescriptors(int index) {
      */
     public com.google.api.MonitoredResourceDescriptor.Builder getResourceDescriptorsBuilder(
         int index) {
-      return getResourceDescriptorsFieldBuilder().getBuilder(index);
+      return internalGetResourceDescriptorsFieldBuilder().getBuilder(index);
     }
 
     /**
@@ -945,7 +918,7 @@ public com.google.api.MonitoredResourceDescriptorOrBuilder getResourceDescriptor
      * repeated .google.api.MonitoredResourceDescriptor resource_descriptors = 1;
      */
     public com.google.api.MonitoredResourceDescriptor.Builder addResourceDescriptorsBuilder() {
-      return getResourceDescriptorsFieldBuilder()
+      return internalGetResourceDescriptorsFieldBuilder()
           .addBuilder(com.google.api.MonitoredResourceDescriptor.getDefaultInstance());
     }
 
@@ -960,7 +933,7 @@ public com.google.api.MonitoredResourceDescriptor.Builder addResourceDescriptors
      */
     public com.google.api.MonitoredResourceDescriptor.Builder addResourceDescriptorsBuilder(
         int index) {
-      return getResourceDescriptorsFieldBuilder()
+      return internalGetResourceDescriptorsFieldBuilder()
           .addBuilder(index, com.google.api.MonitoredResourceDescriptor.getDefaultInstance());
     }
 
@@ -975,17 +948,17 @@ public com.google.api.MonitoredResourceDescriptor.Builder addResourceDescriptors
      */
     public java.util.List
         getResourceDescriptorsBuilderList() {
-      return getResourceDescriptorsFieldBuilder().getBuilderList();
+      return internalGetResourceDescriptorsFieldBuilder().getBuilderList();
     }
 
-    private com.google.protobuf.RepeatedFieldBuilderV3<
+    private com.google.protobuf.RepeatedFieldBuilder<
             com.google.api.MonitoredResourceDescriptor,
             com.google.api.MonitoredResourceDescriptor.Builder,
             com.google.api.MonitoredResourceDescriptorOrBuilder>
-        getResourceDescriptorsFieldBuilder() {
+        internalGetResourceDescriptorsFieldBuilder() {
       if (resourceDescriptorsBuilder_ == null) {
         resourceDescriptorsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
+            new com.google.protobuf.RepeatedFieldBuilder<
                 com.google.api.MonitoredResourceDescriptor,
                 com.google.api.MonitoredResourceDescriptor.Builder,
                 com.google.api.MonitoredResourceDescriptorOrBuilder>(
@@ -1119,17 +1092,6 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) {
       return this;
     }
 
-    @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
-      return super.setUnknownFields(unknownFields);
-    }
-
-    @java.lang.Override
-    public final Builder mergeUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
-      return super.mergeUnknownFields(unknownFields);
-    }
-
     // @@protoc_insertion_point(builder_scope:google.logging.v2.ListMonitoredResourceDescriptorsResponse)
   }
 
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 a27d28480..cc91aa054 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
@@ -14,11 +14,13 @@
  * limitations under the License.
  */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
 // source: google/logging/v2/logging.proto
+// Protobuf Java Version: 4.33.0
 
-// Protobuf Java Version: 3.25.8
 package com.google.logging.v2;
 
+@com.google.protobuf.Generated
 public interface ListMonitoredResourceDescriptorsResponseOrBuilder
     extends
     // @@protoc_insertion_point(interface_extends:google.logging.v2.ListMonitoredResourceDescriptorsResponse)
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 1ec74430a..62e79b6ee 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
@@ -14,9 +14,10 @@
  * limitations under the License.
  */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
 // source: google/logging/v2/logging_config.proto
+// Protobuf Java Version: 4.33.0
 
-// Protobuf Java Version: 3.25.8
 package com.google.logging.v2;
 
 /**
@@ -28,14 +29,25 @@
  *
  * Protobuf type {@code google.logging.v2.ListSinksRequest}
  */
-public final class ListSinksRequest extends com.google.protobuf.GeneratedMessageV3
+@com.google.protobuf.Generated
+public final class ListSinksRequest extends com.google.protobuf.GeneratedMessage
     implements
     // @@protoc_insertion_point(message_implements:google.logging.v2.ListSinksRequest)
     ListSinksRequestOrBuilder {
   private static final long serialVersionUID = 0L;
 
+  static {
+    com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+        com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+        /* major= */ 4,
+        /* minor= */ 33,
+        /* patch= */ 0,
+        /* suffix= */ "",
+        "ListSinksRequest");
+  }
+
   // Use ListSinksRequest.newBuilder() to construct.
-  private ListSinksRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private ListSinksRequest(com.google.protobuf.GeneratedMessage.Builder builder) {
     super(builder);
   }
 
@@ -44,19 +56,13 @@ private ListSinksRequest() {
     pageToken_ = "";
   }
 
-  @java.lang.Override
-  @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
-    return new ListSinksRequest();
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.logging.v2.LoggingConfigProto
         .internal_static_google_logging_v2_ListSinksRequest_descriptor;
   }
 
   @java.lang.Override
-  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+  protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
       internalGetFieldAccessorTable() {
     return com.google.logging.v2.LoggingConfigProto
         .internal_static_google_logging_v2_ListSinksRequest_fieldAccessorTable
@@ -76,10 +82,10 @@ 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]"
-   *     "folders/[FOLDER_ID]"
+   * "projects/[PROJECT_ID]"
+   * "organizations/[ORGANIZATION_ID]"
+   * "billingAccounts/[BILLING_ACCOUNT_ID]"
+   * "folders/[FOLDER_ID]"
    * 
* * @@ -107,10 +113,10 @@ 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]"
-   *     "folders/[FOLDER_ID]"
+   * "projects/[PROJECT_ID]"
+   * "organizations/[ORGANIZATION_ID]"
+   * "billingAccounts/[BILLING_ACCOUNT_ID]"
+   * "folders/[FOLDER_ID]"
    * 
* * @@ -226,11 +232,11 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, parent_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, pageToken_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, pageToken_); } if (pageSize_ != 0) { output.writeInt32(3, pageSize_); @@ -244,11 +250,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, parent_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, pageToken_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, pageToken_); } if (pageSize_ != 0) { size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); @@ -330,38 +336,38 @@ public static com.google.logging.v2.ListSinksRequest parseFrom( public static com.google.logging.v2.ListSinksRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.ListSinksRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.ListSinksRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.ListSinksRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.ListSinksRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.ListSinksRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -384,7 +390,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -398,7 +404,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.logging.v2.ListSinksRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.ListSinksRequest) com.google.logging.v2.ListSinksRequestOrBuilder { @@ -408,7 +414,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_ListSinksRequest_fieldAccessorTable @@ -420,7 +426,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.logging.v2.ListSinksRequest.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -478,39 +484,6 @@ private void buildPartial0(com.google.logging.v2.ListSinksRequest result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.ListSinksRequest) { @@ -607,10 +580,10 @@ public Builder mergeFrom( *
      * Required. The parent resource whose sinks are to be listed:
      *
-     *     "projects/[PROJECT_ID]"
-     *     "organizations/[ORGANIZATION_ID]"
-     *     "billingAccounts/[BILLING_ACCOUNT_ID]"
-     *     "folders/[FOLDER_ID]"
+     * "projects/[PROJECT_ID]"
+     * "organizations/[ORGANIZATION_ID]"
+     * "billingAccounts/[BILLING_ACCOUNT_ID]"
+     * "folders/[FOLDER_ID]"
      * 
* * @@ -637,10 +610,10 @@ 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]"
-     *     "folders/[FOLDER_ID]"
+     * "projects/[PROJECT_ID]"
+     * "organizations/[ORGANIZATION_ID]"
+     * "billingAccounts/[BILLING_ACCOUNT_ID]"
+     * "folders/[FOLDER_ID]"
      * 
* * @@ -667,10 +640,10 @@ 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]"
-     *     "folders/[FOLDER_ID]"
+     * "projects/[PROJECT_ID]"
+     * "organizations/[ORGANIZATION_ID]"
+     * "billingAccounts/[BILLING_ACCOUNT_ID]"
+     * "folders/[FOLDER_ID]"
      * 
* * @@ -696,10 +669,10 @@ 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]"
-     *     "folders/[FOLDER_ID]"
+     * "projects/[PROJECT_ID]"
+     * "organizations/[ORGANIZATION_ID]"
+     * "billingAccounts/[BILLING_ACCOUNT_ID]"
+     * "folders/[FOLDER_ID]"
      * 
* * @@ -721,10 +694,10 @@ public Builder clearParent() { *
      * Required. The parent resource whose sinks are to be listed:
      *
-     *     "projects/[PROJECT_ID]"
-     *     "organizations/[ORGANIZATION_ID]"
-     *     "billingAccounts/[BILLING_ACCOUNT_ID]"
-     *     "folders/[FOLDER_ID]"
+     * "projects/[PROJECT_ID]"
+     * "organizations/[ORGANIZATION_ID]"
+     * "billingAccounts/[BILLING_ACCOUNT_ID]"
+     * "folders/[FOLDER_ID]"
      * 
* * @@ -933,17 +906,6 @@ public Builder clearPageSize() { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.logging.v2.ListSinksRequest) } 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 e319319df..3022f0284 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 @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; +@com.google.protobuf.Generated public interface ListSinksRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.ListSinksRequest) @@ -30,10 +32,10 @@ public interface ListSinksRequestOrBuilder *
    * Required. The parent resource whose sinks are to be listed:
    *
-   *     "projects/[PROJECT_ID]"
-   *     "organizations/[ORGANIZATION_ID]"
-   *     "billingAccounts/[BILLING_ACCOUNT_ID]"
-   *     "folders/[FOLDER_ID]"
+   * "projects/[PROJECT_ID]"
+   * "organizations/[ORGANIZATION_ID]"
+   * "billingAccounts/[BILLING_ACCOUNT_ID]"
+   * "folders/[FOLDER_ID]"
    * 
* * @@ -50,10 +52,10 @@ public interface ListSinksRequestOrBuilder *
    * Required. The parent resource whose sinks are to be listed:
    *
-   *     "projects/[PROJECT_ID]"
-   *     "organizations/[ORGANIZATION_ID]"
-   *     "billingAccounts/[BILLING_ACCOUNT_ID]"
-   *     "folders/[FOLDER_ID]"
+   * "projects/[PROJECT_ID]"
+   * "organizations/[ORGANIZATION_ID]"
+   * "billingAccounts/[BILLING_ACCOUNT_ID]"
+   * "folders/[FOLDER_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 b6fc17af1..59693af7f 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 @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.logging.v2.ListSinksResponse} */ -public final class ListSinksResponse extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class ListSinksResponse extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.logging.v2.ListSinksResponse) ListSinksResponseOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 0, + /* suffix= */ "", + "ListSinksResponse"); + } + // Use ListSinksResponse.newBuilder() to construct. - private ListSinksResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListSinksResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -44,19 +56,13 @@ private ListSinksResponse() { nextPageToken_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ListSinksResponse(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_ListSinksResponse_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_ListSinksResponse_fieldAccessorTable @@ -214,8 +220,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < sinks_.size(); i++) { output.writeMessage(1, sinks_.get(i)); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageToken_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, nextPageToken_); } getUnknownFields().writeTo(output); } @@ -229,8 +235,8 @@ public int getSerializedSize() { for (int i = 0; i < sinks_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, sinks_.get(i)); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageToken_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, nextPageToken_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -308,38 +314,38 @@ public static com.google.logging.v2.ListSinksResponse parseFrom( public static com.google.logging.v2.ListSinksResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.ListSinksResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.ListSinksResponse parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.ListSinksResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.ListSinksResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.ListSinksResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -362,7 +368,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -376,7 +382,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.logging.v2.ListSinksResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.ListSinksResponse) com.google.logging.v2.ListSinksResponseOrBuilder { @@ -386,7 +392,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_ListSinksResponse_fieldAccessorTable @@ -398,7 +404,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.logging.v2.ListSinksResponse.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -468,39 +474,6 @@ private void buildPartial0(com.google.logging.v2.ListSinksResponse result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.ListSinksResponse) { @@ -532,8 +505,8 @@ public Builder mergeFrom(com.google.logging.v2.ListSinksResponse other) { sinks_ = other.sinks_; bitField0_ = (bitField0_ & ~0x00000001); sinksBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getSinksFieldBuilder() + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders + ? internalGetSinksFieldBuilder() : null; } else { sinksBuilder_.addAllMessages(other.sinks_); @@ -618,7 +591,7 @@ private void ensureSinksIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.logging.v2.LogSink, com.google.logging.v2.LogSink.Builder, com.google.logging.v2.LogSinkOrBuilder> @@ -874,7 +847,7 @@ public Builder removeSinks(int index) { * repeated .google.logging.v2.LogSink sinks = 1; */ public com.google.logging.v2.LogSink.Builder getSinksBuilder(int index) { - return getSinksFieldBuilder().getBuilder(index); + return internalGetSinksFieldBuilder().getBuilder(index); } /** @@ -922,7 +895,8 @@ public com.google.logging.v2.LogSinkOrBuilder getSinksOrBuilder(int index) { * repeated .google.logging.v2.LogSink sinks = 1; */ public com.google.logging.v2.LogSink.Builder addSinksBuilder() { - return getSinksFieldBuilder().addBuilder(com.google.logging.v2.LogSink.getDefaultInstance()); + return internalGetSinksFieldBuilder() + .addBuilder(com.google.logging.v2.LogSink.getDefaultInstance()); } /** @@ -935,7 +909,7 @@ public com.google.logging.v2.LogSink.Builder addSinksBuilder() { * repeated .google.logging.v2.LogSink sinks = 1; */ public com.google.logging.v2.LogSink.Builder addSinksBuilder(int index) { - return getSinksFieldBuilder() + return internalGetSinksFieldBuilder() .addBuilder(index, com.google.logging.v2.LogSink.getDefaultInstance()); } @@ -949,17 +923,17 @@ public com.google.logging.v2.LogSink.Builder addSinksBuilder(int index) { * repeated .google.logging.v2.LogSink sinks = 1; */ public java.util.List getSinksBuilderList() { - return getSinksFieldBuilder().getBuilderList(); + return internalGetSinksFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.logging.v2.LogSink, com.google.logging.v2.LogSink.Builder, com.google.logging.v2.LogSinkOrBuilder> - getSinksFieldBuilder() { + internalGetSinksFieldBuilder() { if (sinksBuilder_ == null) { sinksBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.logging.v2.LogSink, com.google.logging.v2.LogSink.Builder, com.google.logging.v2.LogSinkOrBuilder>( @@ -1090,17 +1064,6 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.logging.v2.ListSinksResponse) } 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 c2a8c4a1f..3e43987b7 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 @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; +@com.google.protobuf.Generated public interface ListSinksResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.ListSinksResponse) 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 6131239b8..8af067703 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 @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.logging.v2.ListViewsRequest} */ -public final class ListViewsRequest extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class ListViewsRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.logging.v2.ListViewsRequest) ListViewsRequestOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 0, + /* suffix= */ "", + "ListViewsRequest"); + } + // Use ListViewsRequest.newBuilder() to construct. - private ListViewsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListViewsRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -44,19 +56,13 @@ private ListViewsRequest() { pageToken_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ListViewsRequest(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_ListViewsRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_ListViewsRequest_fieldAccessorTable @@ -76,7 +82,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]"
+   * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -102,7 +108,7 @@ public java.lang.String getParent() { *
    * Required. The bucket whose views are to be listed:
    *
-   *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+   * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -217,11 +223,11 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, parent_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, pageToken_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, pageToken_); } if (pageSize_ != 0) { output.writeInt32(3, pageSize_); @@ -235,11 +241,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, parent_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, pageToken_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, pageToken_); } if (pageSize_ != 0) { size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); @@ -321,38 +327,38 @@ public static com.google.logging.v2.ListViewsRequest parseFrom( public static com.google.logging.v2.ListViewsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.ListViewsRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.ListViewsRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.ListViewsRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.ListViewsRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.ListViewsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -375,7 +381,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -389,7 +395,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.logging.v2.ListViewsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.ListViewsRequest) com.google.logging.v2.ListViewsRequestOrBuilder { @@ -399,7 +405,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_ListViewsRequest_fieldAccessorTable @@ -411,7 +417,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.logging.v2.ListViewsRequest.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -469,39 +475,6 @@ private void buildPartial0(com.google.logging.v2.ListViewsRequest result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.ListViewsRequest) { @@ -598,7 +571,7 @@ public Builder mergeFrom( *
      * Required. The bucket whose views are to be listed:
      *
-     *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+     * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -623,7 +596,7 @@ public java.lang.String getParent() { *
      * Required. The bucket whose views are to be listed:
      *
-     *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+     * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -648,7 +621,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]"
+     * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -672,7 +645,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]"
+     * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -692,7 +665,7 @@ public Builder clearParent() { *
      * Required. The bucket whose views are to be listed:
      *
-     *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+     * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -902,17 +875,6 @@ public Builder clearPageSize() { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.logging.v2.ListViewsRequest) } 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 94302e697..bb48b4c9b 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 @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; +@com.google.protobuf.Generated public interface ListViewsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.ListViewsRequest) @@ -30,7 +32,7 @@ public interface ListViewsRequestOrBuilder *
    * Required. The bucket whose views are to be listed:
    *
-   *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+   * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -45,7 +47,7 @@ public interface ListViewsRequestOrBuilder *
    * Required. The bucket whose views are to be listed:
    *
-   *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+   * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; 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 d0efca4cb..f65c8280f 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 @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.logging.v2.ListViewsResponse} */ -public final class ListViewsResponse extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class ListViewsResponse extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.logging.v2.ListViewsResponse) ListViewsResponseOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 0, + /* suffix= */ "", + "ListViewsResponse"); + } + // Use ListViewsResponse.newBuilder() to construct. - private ListViewsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListViewsResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -44,19 +56,13 @@ private ListViewsResponse() { nextPageToken_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ListViewsResponse(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_ListViewsResponse_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_ListViewsResponse_fieldAccessorTable @@ -214,8 +220,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < views_.size(); i++) { output.writeMessage(1, views_.get(i)); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageToken_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, nextPageToken_); } getUnknownFields().writeTo(output); } @@ -229,8 +235,8 @@ public int getSerializedSize() { for (int i = 0; i < views_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, views_.get(i)); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageToken_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, nextPageToken_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -308,38 +314,38 @@ public static com.google.logging.v2.ListViewsResponse parseFrom( public static com.google.logging.v2.ListViewsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.ListViewsResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.ListViewsResponse parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.ListViewsResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.ListViewsResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.ListViewsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -362,7 +368,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -376,7 +382,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.logging.v2.ListViewsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.ListViewsResponse) com.google.logging.v2.ListViewsResponseOrBuilder { @@ -386,7 +392,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_ListViewsResponse_fieldAccessorTable @@ -398,7 +404,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.logging.v2.ListViewsResponse.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -468,39 +474,6 @@ private void buildPartial0(com.google.logging.v2.ListViewsResponse result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.ListViewsResponse) { @@ -532,8 +505,8 @@ public Builder mergeFrom(com.google.logging.v2.ListViewsResponse other) { views_ = other.views_; bitField0_ = (bitField0_ & ~0x00000001); viewsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getViewsFieldBuilder() + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders + ? internalGetViewsFieldBuilder() : null; } else { viewsBuilder_.addAllMessages(other.views_); @@ -618,7 +591,7 @@ private void ensureViewsIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.logging.v2.LogView, com.google.logging.v2.LogView.Builder, com.google.logging.v2.LogViewOrBuilder> @@ -874,7 +847,7 @@ public Builder removeViews(int index) { * repeated .google.logging.v2.LogView views = 1; */ public com.google.logging.v2.LogView.Builder getViewsBuilder(int index) { - return getViewsFieldBuilder().getBuilder(index); + return internalGetViewsFieldBuilder().getBuilder(index); } /** @@ -922,7 +895,8 @@ public com.google.logging.v2.LogViewOrBuilder getViewsOrBuilder(int index) { * repeated .google.logging.v2.LogView views = 1; */ public com.google.logging.v2.LogView.Builder addViewsBuilder() { - return getViewsFieldBuilder().addBuilder(com.google.logging.v2.LogView.getDefaultInstance()); + return internalGetViewsFieldBuilder() + .addBuilder(com.google.logging.v2.LogView.getDefaultInstance()); } /** @@ -935,7 +909,7 @@ public com.google.logging.v2.LogView.Builder addViewsBuilder() { * repeated .google.logging.v2.LogView views = 1; */ public com.google.logging.v2.LogView.Builder addViewsBuilder(int index) { - return getViewsFieldBuilder() + return internalGetViewsFieldBuilder() .addBuilder(index, com.google.logging.v2.LogView.getDefaultInstance()); } @@ -949,17 +923,17 @@ public com.google.logging.v2.LogView.Builder addViewsBuilder(int index) { * repeated .google.logging.v2.LogView views = 1; */ public java.util.List getViewsBuilderList() { - return getViewsFieldBuilder().getBuilderList(); + return internalGetViewsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.logging.v2.LogView, com.google.logging.v2.LogView.Builder, com.google.logging.v2.LogViewOrBuilder> - getViewsFieldBuilder() { + internalGetViewsFieldBuilder() { if (viewsBuilder_ == null) { viewsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.logging.v2.LogView, com.google.logging.v2.LogView.Builder, com.google.logging.v2.LogViewOrBuilder>( @@ -1090,17 +1064,6 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.logging.v2.ListViewsResponse) } 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 4050e8aa1..3ba2f1632 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 @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; +@com.google.protobuf.Generated public interface ListViewsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.ListViewsResponse) 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 299051cba..098c28a4c 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 @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -28,32 +29,37 @@ * * Protobuf type {@code google.logging.v2.LocationMetadata} */ -public final class LocationMetadata extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class LocationMetadata extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.logging.v2.LocationMetadata) LocationMetadataOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 0, + /* suffix= */ "", + "LocationMetadata"); + } + // Use LocationMetadata.newBuilder() to construct. - private LocationMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private LocationMetadata(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private LocationMetadata() {} - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new LocationMetadata(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_LocationMetadata_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_LocationMetadata_fieldAccessorTable @@ -182,38 +188,38 @@ public static com.google.logging.v2.LocationMetadata parseFrom( public static com.google.logging.v2.LocationMetadata parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.LocationMetadata parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.LocationMetadata parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.LocationMetadata parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.LocationMetadata parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.LocationMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -236,7 +242,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -250,7 +256,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.logging.v2.LocationMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.LocationMetadata) com.google.logging.v2.LocationMetadataOrBuilder { @@ -260,7 +266,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_LocationMetadata_fieldAccessorTable @@ -272,7 +278,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.logging.v2.LocationMetadata.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -322,39 +328,6 @@ private void buildPartial0(com.google.logging.v2.LocationMetadata result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.LocationMetadata) { @@ -480,17 +453,6 @@ public Builder clearLogAnalyticsEnabled() { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.logging.v2.LocationMetadata) } 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 e3ada972e..faf263581 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 @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; +@com.google.protobuf.Generated public interface LocationMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.LocationMetadata) 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 a223ab69f..496237278 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 @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.logging.v2.LogBucket} */ -public final class LogBucket extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class LogBucket extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.logging.v2.LogBucket) LogBucketOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 0, + /* suffix= */ "", + "LogBucket"); + } + // Use LogBucket.newBuilder() to construct. - private LogBucket(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private LogBucket(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -47,19 +59,13 @@ private LogBucket() { indexConfigs_ = java.util.Collections.emptyList(); } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new LogBucket(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_LogBucket_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_LogBucket_fieldAccessorTable @@ -81,7 +87,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * For example: * - * `projects/my-project/locations/global/buckets/my-bucket` + * `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) @@ -117,7 +123,7 @@ public java.lang.String getName() { * * For example: * - * `projects/my-project/locations/global/buckets/my-bucket` + * `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) @@ -658,11 +664,11 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, description_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, description_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(4, getCreateTime()); @@ -684,7 +690,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeBool(14, analyticsEnabled_); } for (int i = 0; i < restrictedFields_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 15, restrictedFields_.getRaw(i)); + com.google.protobuf.GeneratedMessage.writeString(output, 15, restrictedFields_.getRaw(i)); } for (int i = 0; i < indexConfigs_.size(); i++) { output.writeMessage(17, indexConfigs_.get(i)); @@ -701,11 +707,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, description_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCreateTime()); @@ -859,38 +865,38 @@ public static com.google.logging.v2.LogBucket parseFrom( public static com.google.logging.v2.LogBucket parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.LogBucket parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.LogBucket parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.LogBucket parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.LogBucket parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.LogBucket parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -913,7 +919,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -927,7 +933,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.logging.v2.LogBucket} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.LogBucket) com.google.logging.v2.LogBucketOrBuilder { @@ -937,7 +943,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_LogBucket_fieldAccessorTable @@ -950,17 +956,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getCreateTimeFieldBuilder(); - getUpdateTimeFieldBuilder(); - getIndexConfigsFieldBuilder(); - getCmekSettingsFieldBuilder(); + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetCreateTimeFieldBuilder(); + internalGetUpdateTimeFieldBuilder(); + internalGetIndexConfigsFieldBuilder(); + internalGetCmekSettingsFieldBuilder(); } } @@ -1084,39 +1090,6 @@ private void buildPartial0(com.google.logging.v2.LogBucket result) { result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.LogBucket) { @@ -1186,8 +1159,8 @@ public Builder mergeFrom(com.google.logging.v2.LogBucket other) { indexConfigs_ = other.indexConfigs_; bitField0_ = (bitField0_ & ~0x00000200); indexConfigsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getIndexConfigsFieldBuilder() + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders + ? internalGetIndexConfigsFieldBuilder() : null; } else { indexConfigsBuilder_.addAllMessages(other.indexConfigs_); @@ -1237,13 +1210,15 @@ public Builder mergeFrom( } // case 26 case 34: { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage( + internalGetCreateTimeFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 34 case 42: { - input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage( + internalGetUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000008; break; } // case 42 @@ -1293,7 +1268,8 @@ public Builder mergeFrom( } // case 138 case 154: { - input.readMessage(getCmekSettingsFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage( + internalGetCmekSettingsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000400; break; } // case 154 @@ -1326,7 +1302,7 @@ public Builder mergeFrom( * * For example: * - * `projects/my-project/locations/global/buckets/my-bucket` + * `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) @@ -1361,7 +1337,7 @@ public java.lang.String getName() { * * For example: * - * `projects/my-project/locations/global/buckets/my-bucket` + * `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) @@ -1396,7 +1372,7 @@ public com.google.protobuf.ByteString getNameBytes() { * * For example: * - * `projects/my-project/locations/global/buckets/my-bucket` + * `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) @@ -1430,7 +1406,7 @@ public Builder setName(java.lang.String value) { * * For example: * - * `projects/my-project/locations/global/buckets/my-bucket` + * `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) @@ -1460,7 +1436,7 @@ public Builder clearName() { * * For example: * - * `projects/my-project/locations/global/buckets/my-bucket` + * `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) @@ -1599,7 +1575,7 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { } private com.google.protobuf.Timestamp createTime_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> @@ -1765,7 +1741,7 @@ public Builder clearCreateTime() { public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000004; onChanged(); - return getCreateTimeFieldBuilder().getBuilder(); + return internalGetCreateTimeFieldBuilder().getBuilder(); } /** @@ -1802,14 +1778,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; *
*/ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> - getCreateTimeFieldBuilder() { + internalGetCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( @@ -1820,7 +1796,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { } private com.google.protobuf.Timestamp updateTime_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> @@ -1979,7 +1955,7 @@ public Builder clearUpdateTime() { public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000008; onChanged(); - return getUpdateTimeFieldBuilder().getBuilder(); + return internalGetUpdateTimeFieldBuilder().getBuilder(); } /** @@ -2014,14 +1990,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; *
*/ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> - getUpdateTimeFieldBuilder() { + internalGetUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( @@ -2575,7 +2551,7 @@ private void ensureIndexConfigsIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.logging.v2.IndexConfig, com.google.logging.v2.IndexConfig.Builder, com.google.logging.v2.IndexConfigOrBuilder> @@ -2834,7 +2810,7 @@ public Builder removeIndexConfigs(int index) { * repeated .google.logging.v2.IndexConfig index_configs = 17; */ public com.google.logging.v2.IndexConfig.Builder getIndexConfigsBuilder(int index) { - return getIndexConfigsFieldBuilder().getBuilder(index); + return internalGetIndexConfigsFieldBuilder().getBuilder(index); } /** @@ -2882,7 +2858,7 @@ public com.google.logging.v2.IndexConfigOrBuilder getIndexConfigsOrBuilder(int i * repeated .google.logging.v2.IndexConfig index_configs = 17; */ public com.google.logging.v2.IndexConfig.Builder addIndexConfigsBuilder() { - return getIndexConfigsFieldBuilder() + return internalGetIndexConfigsFieldBuilder() .addBuilder(com.google.logging.v2.IndexConfig.getDefaultInstance()); } @@ -2896,7 +2872,7 @@ public com.google.logging.v2.IndexConfig.Builder addIndexConfigsBuilder() { * repeated .google.logging.v2.IndexConfig index_configs = 17; */ public com.google.logging.v2.IndexConfig.Builder addIndexConfigsBuilder(int index) { - return getIndexConfigsFieldBuilder() + return internalGetIndexConfigsFieldBuilder() .addBuilder(index, com.google.logging.v2.IndexConfig.getDefaultInstance()); } @@ -2910,17 +2886,17 @@ public com.google.logging.v2.IndexConfig.Builder addIndexConfigsBuilder(int inde * repeated .google.logging.v2.IndexConfig index_configs = 17; */ public java.util.List getIndexConfigsBuilderList() { - return getIndexConfigsFieldBuilder().getBuilderList(); + return internalGetIndexConfigsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.logging.v2.IndexConfig, com.google.logging.v2.IndexConfig.Builder, com.google.logging.v2.IndexConfigOrBuilder> - getIndexConfigsFieldBuilder() { + internalGetIndexConfigsFieldBuilder() { if (indexConfigsBuilder_ == null) { indexConfigsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.logging.v2.IndexConfig, com.google.logging.v2.IndexConfig.Builder, com.google.logging.v2.IndexConfigOrBuilder>( @@ -2931,7 +2907,7 @@ public java.util.List getIndexConfigs } private com.google.logging.v2.CmekSettings cmekSettings_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.logging.v2.CmekSettings, com.google.logging.v2.CmekSettings.Builder, com.google.logging.v2.CmekSettingsOrBuilder> @@ -3104,7 +3080,7 @@ public Builder clearCmekSettings() { public com.google.logging.v2.CmekSettings.Builder getCmekSettingsBuilder() { bitField0_ |= 0x00000400; onChanged(); - return getCmekSettingsFieldBuilder().getBuilder(); + return internalGetCmekSettingsFieldBuilder().getBuilder(); } /** @@ -3143,14 +3119,14 @@ public com.google.logging.v2.CmekSettingsOrBuilder getCmekSettingsOrBuilder() { * * .google.logging.v2.CmekSettings cmek_settings = 19; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.logging.v2.CmekSettings, com.google.logging.v2.CmekSettings.Builder, com.google.logging.v2.CmekSettingsOrBuilder> - getCmekSettingsFieldBuilder() { + internalGetCmekSettingsFieldBuilder() { if (cmekSettingsBuilder_ == null) { cmekSettingsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.logging.v2.CmekSettings, com.google.logging.v2.CmekSettings.Builder, com.google.logging.v2.CmekSettingsOrBuilder>( @@ -3160,17 +3136,6 @@ public com.google.logging.v2.CmekSettingsOrBuilder getCmekSettingsOrBuilder() { return cmekSettingsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.logging.v2.LogBucket) } 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 b76c22af2..b168e7740 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 @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; +@com.google.protobuf.Generated public interface LogBucketOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.LogBucket) @@ -32,7 +34,7 @@ public interface LogBucketOrBuilder * * For example: * - * `projects/my-project/locations/global/buckets/my-bucket` + * `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) @@ -57,7 +59,7 @@ public interface LogBucketOrBuilder * * For example: * - * `projects/my-project/locations/global/buckets/my-bucket` + * `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) 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 f16da0da7..a7db1f94b 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 @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/log_entry.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.logging.v2.LogEntry} */ -public final class LogEntry extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class LogEntry extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.logging.v2.LogEntry) LogEntryOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 0, + /* suffix= */ "", + "LogEntry"); + } + // Use LogEntry.newBuilder() to construct. - private LogEntry(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private LogEntry(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -47,12 +59,6 @@ private LogEntry() { spanId_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new LogEntry(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LogEntryProto .internal_static_google_logging_v2_LogEntry_descriptor; @@ -71,7 +77,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LogEntryProto .internal_static_google_logging_v2_LogEntry_fieldAccessorTable @@ -144,10 +150,10 @@ 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]"
+   * "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`
@@ -190,10 +196,10 @@ 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]"
+   * "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`
@@ -306,8 +312,8 @@ public com.google.api.MonitoredResourceOrBuilder getResourceOrBuilder() {
    * 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"
+   * "type.googleapis.com/google.cloud.audit.AuditLog"
+   * "type.googleapis.com/google.appengine.logging.v1.RequestLog"
    * 
* * .google.protobuf.Any proto_payload = 2; @@ -329,8 +335,8 @@ public boolean hasProtoPayload() { * 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" + * "type.googleapis.com/google.cloud.audit.AuditLog" + * "type.googleapis.com/google.appengine.logging.v1.RequestLog" *
* * .google.protobuf.Any proto_payload = 2; @@ -355,8 +361,8 @@ public com.google.protobuf.Any getProtoPayload() { * 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" + * "type.googleapis.com/google.cloud.audit.AuditLog" + * "type.googleapis.com/google.appengine.logging.v1.RequestLog" *
* * .google.protobuf.Any proto_payload = 2; @@ -1144,10 +1150,10 @@ public com.google.protobuf.ByteString getTraceBytes() { * * Example values: * - * - `000000000000004a` - * - `7a2190356c3fc94b` - * - `0000f00300090021` - * - `d39223e101960076` + * - `000000000000004a` + * - `7a2190356c3fc94b` + * - `0000f00300090021` + * - `d39223e101960076` *
* * string span_id = 27 [(.google.api.field_behavior) = OPTIONAL]; @@ -1197,10 +1203,10 @@ public java.lang.String getSpanId() { * * Example values: * - * - `000000000000004a` - * - `7a2190356c3fc94b` - * - `0000f00300090021` - * - `d39223e101960076` + * - `000000000000004a` + * - `7a2190356c3fc94b` + * - `0000f00300090021` + * - `d39223e101960076` *
* * string span_id = 27 [(.google.api.field_behavior) = OPTIONAL]; @@ -1377,10 +1383,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeMessage(2, (com.google.protobuf.Any) payload_); } if (payloadCase_ == 3) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, payload_); + com.google.protobuf.GeneratedMessage.writeString(output, 3, payload_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(insertId_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, insertId_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(insertId_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 4, insertId_); } if (payloadCase_ == 6) { output.writeMessage(6, (com.google.protobuf.Struct) payload_); @@ -1397,16 +1403,16 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (severity_ != com.google.logging.type.LogSeverity.DEFAULT.getNumber()) { output.writeEnum(10, severity_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + com.google.protobuf.GeneratedMessage.serializeStringMapTo( output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 11); - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(logName_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 12, logName_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(logName_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 12, logName_); } if (((bitField0_ & 0x00000010) != 0)) { output.writeMessage(15, getOperation()); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(trace_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 22, trace_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(trace_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 22, trace_); } if (((bitField0_ & 0x00000020) != 0)) { output.writeMessage(23, getSourceLocation()); @@ -1414,8 +1420,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(24, getReceiveTimestamp()); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(spanId_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 27, spanId_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(spanId_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 27, spanId_); } if (traceSampled_ != false) { output.writeBool(30, traceSampled_); @@ -1438,10 +1444,10 @@ public int getSerializedSize() { 2, (com.google.protobuf.Any) payload_); } if (payloadCase_ == 3) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, payload_); + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, payload_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(insertId_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, insertId_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(insertId_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(4, insertId_); } if (payloadCase_ == 6) { size += @@ -1470,14 +1476,14 @@ public int getSerializedSize() { .build(); size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, labels__); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(logName_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, logName_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(logName_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(12, logName_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(15, getOperation()); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(trace_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(22, trace_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(trace_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(22, trace_); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(23, getSourceLocation()); @@ -1485,8 +1491,8 @@ public int getSerializedSize() { if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(24, getReceiveTimestamp()); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(spanId_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(27, spanId_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(spanId_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(27, spanId_); } if (traceSampled_ != false) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(30, traceSampled_); @@ -1670,38 +1676,38 @@ public static com.google.logging.v2.LogEntry parseFrom( public static com.google.logging.v2.LogEntry parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.LogEntry parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.LogEntry parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.LogEntry parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.LogEntry parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.LogEntry parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -1724,7 +1730,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -1738,7 +1744,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.logging.v2.LogEntry} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.LogEntry) com.google.logging.v2.LogEntryOrBuilder { @@ -1770,7 +1776,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LogEntryProto .internal_static_google_logging_v2_LogEntry_fieldAccessorTable @@ -1783,20 +1789,20 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getResourceFieldBuilder(); - getTimestampFieldBuilder(); - getReceiveTimestampFieldBuilder(); - getHttpRequestFieldBuilder(); - getOperationFieldBuilder(); - getSourceLocationFieldBuilder(); - getSplitFieldBuilder(); + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetResourceFieldBuilder(); + internalGetTimestampFieldBuilder(); + internalGetReceiveTimestampFieldBuilder(); + internalGetHttpRequestFieldBuilder(); + internalGetOperationFieldBuilder(); + internalGetSourceLocationFieldBuilder(); + internalGetSplitFieldBuilder(); } } @@ -1958,39 +1964,6 @@ private void buildPartialOneofs(com.google.logging.v2.LogEntry result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.LogEntry) { @@ -2103,7 +2076,8 @@ public Builder mergeFrom( break; case 18: { - input.readMessage(getProtoPayloadFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage( + internalGetProtoPayloadFieldBuilder().getBuilder(), extensionRegistry); payloadCase_ = 2; break; } // case 18 @@ -2122,25 +2096,29 @@ public Builder mergeFrom( } // case 34 case 50: { - input.readMessage(getJsonPayloadFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage( + internalGetJsonPayloadFieldBuilder().getBuilder(), extensionRegistry); payloadCase_ = 6; break; } // case 50 case 58: { - input.readMessage(getHttpRequestFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage( + internalGetHttpRequestFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000200; break; } // case 58 case 66: { - input.readMessage(getResourceFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage( + internalGetResourceFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 66 case 74: { - input.readMessage(getTimestampFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage( + internalGetTimestampFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000020; break; } // case 74 @@ -2170,7 +2148,8 @@ public Builder mergeFrom( } // case 98 case 122: { - input.readMessage(getOperationFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage( + internalGetOperationFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000800; break; } // case 122 @@ -2182,14 +2161,15 @@ public Builder mergeFrom( } // case 178 case 186: { - input.readMessage(getSourceLocationFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage( + internalGetSourceLocationFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00008000; break; } // case 186 case 194: { input.readMessage( - getReceiveTimestampFieldBuilder().getBuilder(), extensionRegistry); + internalGetReceiveTimestampFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000040; break; } // case 194 @@ -2207,7 +2187,7 @@ public Builder mergeFrom( } // case 240 case 282: { - input.readMessage(getSplitFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage(internalGetSplitFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00010000; break; } // case 282 @@ -2252,10 +2232,10 @@ public Builder clearPayload() { *
      * 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]"
+     * "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`
@@ -2297,10 +2277,10 @@ 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]"
+     * "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`
@@ -2342,10 +2322,10 @@ public com.google.protobuf.ByteString getLogNameBytes() {
      * 
      * 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]"
+     * "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`
@@ -2386,10 +2366,10 @@ public Builder setLogName(java.lang.String value) {
      * 
      * 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]"
+     * "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`
@@ -2426,10 +2406,10 @@ public Builder clearLogName() {
      * 
      * 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]"
+     * "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`
@@ -2466,7 +2446,7 @@ public Builder setLogNameBytes(com.google.protobuf.ByteString value) {
     }
 
     private com.google.api.MonitoredResource resource_;
-    private com.google.protobuf.SingleFieldBuilderV3<
+    private com.google.protobuf.SingleFieldBuilder<
             com.google.api.MonitoredResource,
             com.google.api.MonitoredResource.Builder,
             com.google.api.MonitoredResourceOrBuilder>
@@ -2646,7 +2626,7 @@ public Builder clearResource() {
     public com.google.api.MonitoredResource.Builder getResourceBuilder() {
       bitField0_ |= 0x00000002;
       onChanged();
-      return getResourceFieldBuilder().getBuilder();
+      return internalGetResourceFieldBuilder().getBuilder();
     }
 
     /**
@@ -2687,14 +2667,14 @@ public com.google.api.MonitoredResourceOrBuilder getResourceOrBuilder() {
      * .google.api.MonitoredResource resource = 8 [(.google.api.field_behavior) = REQUIRED];
      * 
      */
-    private com.google.protobuf.SingleFieldBuilderV3<
+    private com.google.protobuf.SingleFieldBuilder<
             com.google.api.MonitoredResource,
             com.google.api.MonitoredResource.Builder,
             com.google.api.MonitoredResourceOrBuilder>
-        getResourceFieldBuilder() {
+        internalGetResourceFieldBuilder() {
       if (resourceBuilder_ == null) {
         resourceBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
+            new com.google.protobuf.SingleFieldBuilder<
                 com.google.api.MonitoredResource,
                 com.google.api.MonitoredResource.Builder,
                 com.google.api.MonitoredResourceOrBuilder>(
@@ -2704,7 +2684,7 @@ public com.google.api.MonitoredResourceOrBuilder getResourceOrBuilder() {
       return resourceBuilder_;
     }
 
-    private com.google.protobuf.SingleFieldBuilderV3<
+    private com.google.protobuf.SingleFieldBuilder<
             com.google.protobuf.Any,
             com.google.protobuf.Any.Builder,
             com.google.protobuf.AnyOrBuilder>
@@ -2720,8 +2700,8 @@ public com.google.api.MonitoredResourceOrBuilder getResourceOrBuilder() {
      * 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"
+     * "type.googleapis.com/google.cloud.audit.AuditLog"
+     * "type.googleapis.com/google.appengine.logging.v1.RequestLog"
      * 
* * .google.protobuf.Any proto_payload = 2; @@ -2743,8 +2723,8 @@ public boolean hasProtoPayload() { * 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" + * "type.googleapis.com/google.cloud.audit.AuditLog" + * "type.googleapis.com/google.appengine.logging.v1.RequestLog" *
* * .google.protobuf.Any proto_payload = 2; @@ -2776,8 +2756,8 @@ public com.google.protobuf.Any getProtoPayload() { * 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" + * "type.googleapis.com/google.cloud.audit.AuditLog" + * "type.googleapis.com/google.appengine.logging.v1.RequestLog" *
* * .google.protobuf.Any proto_payload = 2; @@ -2806,8 +2786,8 @@ public Builder setProtoPayload(com.google.protobuf.Any value) { * 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" + * "type.googleapis.com/google.cloud.audit.AuditLog" + * "type.googleapis.com/google.appengine.logging.v1.RequestLog" *
* * .google.protobuf.Any proto_payload = 2; @@ -2833,8 +2813,8 @@ public Builder setProtoPayload(com.google.protobuf.Any.Builder builderForValue) * 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" + * "type.googleapis.com/google.cloud.audit.AuditLog" + * "type.googleapis.com/google.appengine.logging.v1.RequestLog" *
* * .google.protobuf.Any proto_payload = 2; @@ -2871,8 +2851,8 @@ public Builder mergeProtoPayload(com.google.protobuf.Any value) { * 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" + * "type.googleapis.com/google.cloud.audit.AuditLog" + * "type.googleapis.com/google.appengine.logging.v1.RequestLog" *
* * .google.protobuf.Any proto_payload = 2; @@ -2904,14 +2884,14 @@ public Builder clearProtoPayload() { * 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" + * "type.googleapis.com/google.cloud.audit.AuditLog" + * "type.googleapis.com/google.appengine.logging.v1.RequestLog" *
* * .google.protobuf.Any proto_payload = 2; */ public com.google.protobuf.Any.Builder getProtoPayloadBuilder() { - return getProtoPayloadFieldBuilder().getBuilder(); + return internalGetProtoPayloadFieldBuilder().getBuilder(); } /** @@ -2924,8 +2904,8 @@ public com.google.protobuf.Any.Builder getProtoPayloadBuilder() { * 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" + * "type.googleapis.com/google.cloud.audit.AuditLog" + * "type.googleapis.com/google.appengine.logging.v1.RequestLog" *
* * .google.protobuf.Any proto_payload = 2; @@ -2952,23 +2932,23 @@ public com.google.protobuf.AnyOrBuilder getProtoPayloadOrBuilder() { * 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" + * "type.googleapis.com/google.cloud.audit.AuditLog" + * "type.googleapis.com/google.appengine.logging.v1.RequestLog" *
* * .google.protobuf.Any proto_payload = 2; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> - getProtoPayloadFieldBuilder() { + internalGetProtoPayloadFieldBuilder() { if (protoPayloadBuilder_ == null) { if (!(payloadCase_ == 2)) { payload_ = com.google.protobuf.Any.getDefaultInstance(); } protoPayloadBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder>( @@ -3119,7 +3099,7 @@ public Builder setTextPayloadBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> @@ -3284,7 +3264,7 @@ public Builder clearJsonPayload() { * .google.protobuf.Struct json_payload = 6; */ public com.google.protobuf.Struct.Builder getJsonPayloadBuilder() { - return getJsonPayloadFieldBuilder().getBuilder(); + return internalGetJsonPayloadFieldBuilder().getBuilder(); } /** @@ -3319,17 +3299,17 @@ public com.google.protobuf.StructOrBuilder getJsonPayloadOrBuilder() { * * .google.protobuf.Struct json_payload = 6; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> - getJsonPayloadFieldBuilder() { + internalGetJsonPayloadFieldBuilder() { if (jsonPayloadBuilder_ == null) { if (!(payloadCase_ == 6)) { payload_ = com.google.protobuf.Struct.getDefaultInstance(); } jsonPayloadBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>( @@ -3342,7 +3322,7 @@ public com.google.protobuf.StructOrBuilder getJsonPayloadOrBuilder() { } private com.google.protobuf.Timestamp timestamp_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> @@ -3569,7 +3549,7 @@ public Builder clearTimestamp() { public com.google.protobuf.Timestamp.Builder getTimestampBuilder() { bitField0_ |= 0x00000020; onChanged(); - return getTimestampFieldBuilder().getBuilder(); + return internalGetTimestampFieldBuilder().getBuilder(); } /** @@ -3622,14 +3602,14 @@ public com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder() { * .google.protobuf.Timestamp timestamp = 9 [(.google.api.field_behavior) = OPTIONAL]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> - getTimestampFieldBuilder() { + internalGetTimestampFieldBuilder() { if (timestampBuilder_ == null) { timestampBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( @@ -3640,7 +3620,7 @@ public com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder() { } private com.google.protobuf.Timestamp receiveTimestamp_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> @@ -3799,7 +3779,7 @@ public Builder clearReceiveTimestamp() { public com.google.protobuf.Timestamp.Builder getReceiveTimestampBuilder() { bitField0_ |= 0x00000040; onChanged(); - return getReceiveTimestampFieldBuilder().getBuilder(); + return internalGetReceiveTimestampFieldBuilder().getBuilder(); } /** @@ -3834,14 +3814,14 @@ public com.google.protobuf.TimestampOrBuilder getReceiveTimestampOrBuilder() { * .google.protobuf.Timestamp receive_timestamp = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> - getReceiveTimestampFieldBuilder() { + internalGetReceiveTimestampFieldBuilder() { if (receiveTimestampBuilder_ == null) { receiveTimestampBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( @@ -4123,7 +4103,7 @@ public Builder setInsertIdBytes(com.google.protobuf.ByteString value) { } private com.google.logging.type.HttpRequest httpRequest_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.logging.type.HttpRequest, com.google.logging.type.HttpRequest.Builder, com.google.logging.type.HttpRequestOrBuilder> @@ -4289,7 +4269,7 @@ public Builder clearHttpRequest() { public com.google.logging.type.HttpRequest.Builder getHttpRequestBuilder() { bitField0_ |= 0x00000200; onChanged(); - return getHttpRequestFieldBuilder().getBuilder(); + return internalGetHttpRequestFieldBuilder().getBuilder(); } /** @@ -4326,14 +4306,14 @@ public com.google.logging.type.HttpRequestOrBuilder getHttpRequestOrBuilder() { * .google.logging.type.HttpRequest http_request = 7 [(.google.api.field_behavior) = OPTIONAL]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.logging.type.HttpRequest, com.google.logging.type.HttpRequest.Builder, com.google.logging.type.HttpRequestOrBuilder> - getHttpRequestFieldBuilder() { + internalGetHttpRequestFieldBuilder() { if (httpRequestBuilder_ == null) { httpRequestBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.logging.type.HttpRequest, com.google.logging.type.HttpRequest.Builder, com.google.logging.type.HttpRequestOrBuilder>( @@ -4607,7 +4587,7 @@ public Builder putAllLabels(java.util.Map va } private com.google.logging.v2.LogEntryOperation operation_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.logging.v2.LogEntryOperation, com.google.logging.v2.LogEntryOperation.Builder, com.google.logging.v2.LogEntryOperationOrBuilder> @@ -4773,7 +4753,7 @@ public Builder clearOperation() { public com.google.logging.v2.LogEntryOperation.Builder getOperationBuilder() { bitField0_ |= 0x00000800; onChanged(); - return getOperationFieldBuilder().getBuilder(); + return internalGetOperationFieldBuilder().getBuilder(); } /** @@ -4810,14 +4790,14 @@ public com.google.logging.v2.LogEntryOperationOrBuilder getOperationOrBuilder() * .google.logging.v2.LogEntryOperation operation = 15 [(.google.api.field_behavior) = OPTIONAL]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.logging.v2.LogEntryOperation, com.google.logging.v2.LogEntryOperation.Builder, com.google.logging.v2.LogEntryOperationOrBuilder> - getOperationFieldBuilder() { + internalGetOperationFieldBuilder() { if (operationBuilder_ == null) { operationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.logging.v2.LogEntryOperation, com.google.logging.v2.LogEntryOperation.Builder, com.google.logging.v2.LogEntryOperationOrBuilder>( @@ -5010,10 +4990,10 @@ public Builder setTraceBytes(com.google.protobuf.ByteString value) { * * Example values: * - * - `000000000000004a` - * - `7a2190356c3fc94b` - * - `0000f00300090021` - * - `d39223e101960076` + * - `000000000000004a` + * - `7a2190356c3fc94b` + * - `0000f00300090021` + * - `d39223e101960076` *
* * string span_id = 27 [(.google.api.field_behavior) = OPTIONAL]; @@ -5062,10 +5042,10 @@ public java.lang.String getSpanId() { * * Example values: * - * - `000000000000004a` - * - `7a2190356c3fc94b` - * - `0000f00300090021` - * - `d39223e101960076` + * - `000000000000004a` + * - `7a2190356c3fc94b` + * - `0000f00300090021` + * - `d39223e101960076` *
* * string span_id = 27 [(.google.api.field_behavior) = OPTIONAL]; @@ -5114,10 +5094,10 @@ public com.google.protobuf.ByteString getSpanIdBytes() { * * Example values: * - * - `000000000000004a` - * - `7a2190356c3fc94b` - * - `0000f00300090021` - * - `d39223e101960076` + * - `000000000000004a` + * - `7a2190356c3fc94b` + * - `0000f00300090021` + * - `d39223e101960076` *
* * string span_id = 27 [(.google.api.field_behavior) = OPTIONAL]; @@ -5165,10 +5145,10 @@ public Builder setSpanId(java.lang.String value) { * * Example values: * - * - `000000000000004a` - * - `7a2190356c3fc94b` - * - `0000f00300090021` - * - `d39223e101960076` + * - `000000000000004a` + * - `7a2190356c3fc94b` + * - `0000f00300090021` + * - `d39223e101960076` *
* * string span_id = 27 [(.google.api.field_behavior) = OPTIONAL]; @@ -5212,10 +5192,10 @@ public Builder clearSpanId() { * * Example values: * - * - `000000000000004a` - * - `7a2190356c3fc94b` - * - `0000f00300090021` - * - `d39223e101960076` + * - `000000000000004a` + * - `7a2190356c3fc94b` + * - `0000f00300090021` + * - `d39223e101960076` *
* * string span_id = 27 [(.google.api.field_behavior) = OPTIONAL]; @@ -5309,7 +5289,7 @@ public Builder clearTraceSampled() { } private com.google.logging.v2.LogEntrySourceLocation sourceLocation_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.logging.v2.LogEntrySourceLocation, com.google.logging.v2.LogEntrySourceLocation.Builder, com.google.logging.v2.LogEntrySourceLocationOrBuilder> @@ -5477,7 +5457,7 @@ public Builder clearSourceLocation() { public com.google.logging.v2.LogEntrySourceLocation.Builder getSourceLocationBuilder() { bitField0_ |= 0x00008000; onChanged(); - return getSourceLocationFieldBuilder().getBuilder(); + return internalGetSourceLocationFieldBuilder().getBuilder(); } /** @@ -5514,14 +5494,14 @@ public com.google.logging.v2.LogEntrySourceLocationOrBuilder getSourceLocationOr * .google.logging.v2.LogEntrySourceLocation source_location = 23 [(.google.api.field_behavior) = OPTIONAL]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.logging.v2.LogEntrySourceLocation, com.google.logging.v2.LogEntrySourceLocation.Builder, com.google.logging.v2.LogEntrySourceLocationOrBuilder> - getSourceLocationFieldBuilder() { + internalGetSourceLocationFieldBuilder() { if (sourceLocationBuilder_ == null) { sourceLocationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.logging.v2.LogEntrySourceLocation, com.google.logging.v2.LogEntrySourceLocation.Builder, com.google.logging.v2.LogEntrySourceLocationOrBuilder>( @@ -5532,7 +5512,7 @@ public com.google.logging.v2.LogEntrySourceLocationOrBuilder getSourceLocationOr } private com.google.logging.v2.LogSplit split_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.logging.v2.LogSplit, com.google.logging.v2.LogSplit.Builder, com.google.logging.v2.LogSplitOrBuilder> @@ -5689,7 +5669,7 @@ public Builder clearSplit() { public com.google.logging.v2.LogSplit.Builder getSplitBuilder() { bitField0_ |= 0x00010000; onChanged(); - return getSplitFieldBuilder().getBuilder(); + return internalGetSplitFieldBuilder().getBuilder(); } /** @@ -5722,14 +5702,14 @@ public com.google.logging.v2.LogSplitOrBuilder getSplitOrBuilder() { * .google.logging.v2.LogSplit split = 35 [(.google.api.field_behavior) = OPTIONAL]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.logging.v2.LogSplit, com.google.logging.v2.LogSplit.Builder, com.google.logging.v2.LogSplitOrBuilder> - getSplitFieldBuilder() { + internalGetSplitFieldBuilder() { if (splitBuilder_ == null) { splitBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.logging.v2.LogSplit, com.google.logging.v2.LogSplit.Builder, com.google.logging.v2.LogSplitOrBuilder>( @@ -5739,17 +5719,6 @@ public com.google.logging.v2.LogSplitOrBuilder getSplitOrBuilder() { return splitBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.logging.v2.LogEntry) } diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOperation.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOperation.java index 824affa8e..56c268628 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOperation.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOperation.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/log_entry.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -29,14 +30,25 @@ * * Protobuf type {@code google.logging.v2.LogEntryOperation} */ -public final class LogEntryOperation extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class LogEntryOperation extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.logging.v2.LogEntryOperation) LogEntryOperationOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 0, + /* suffix= */ "", + "LogEntryOperation"); + } + // Use LogEntryOperation.newBuilder() to construct. - private LogEntryOperation(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private LogEntryOperation(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -45,19 +57,13 @@ private LogEntryOperation() { producer_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new LogEntryOperation(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LogEntryProto .internal_static_google_logging_v2_LogEntryOperation_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LogEntryProto .internal_static_google_logging_v2_LogEntryOperation_fieldAccessorTable @@ -230,11 +236,11 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(id_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, id_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(producer_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, producer_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(producer_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, producer_); } if (first_ != false) { output.writeBool(3, first_); @@ -251,11 +257,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(id_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, id_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(producer_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, producer_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(producer_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, producer_); } if (first_ != false) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, first_); @@ -343,38 +349,38 @@ public static com.google.logging.v2.LogEntryOperation parseFrom( public static com.google.logging.v2.LogEntryOperation parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.LogEntryOperation parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.LogEntryOperation parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.LogEntryOperation parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.LogEntryOperation parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.LogEntryOperation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -397,7 +403,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -412,7 +418,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.logging.v2.LogEntryOperation} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.LogEntryOperation) com.google.logging.v2.LogEntryOperationOrBuilder { @@ -422,7 +428,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LogEntryProto .internal_static_google_logging_v2_LogEntryOperation_fieldAccessorTable @@ -434,7 +440,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.logging.v2.LogEntryOperation.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -496,39 +502,6 @@ private void buildPartial0(com.google.logging.v2.LogEntryOperation result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.LogEntryOperation) { @@ -975,17 +948,6 @@ public Builder clearLast() { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.logging.v2.LogEntryOperation) } diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOperationOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOperationOrBuilder.java index a36a20a51..6958c89aa 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOperationOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOperationOrBuilder.java @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/log_entry.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; +@com.google.protobuf.Generated public interface LogEntryOperationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.LogEntryOperation) diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOrBuilder.java index f12143fcc..8ed0d2eb4 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOrBuilder.java @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/log_entry.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; +@com.google.protobuf.Generated public interface LogEntryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.LogEntry) @@ -30,10 +32,10 @@ public interface LogEntryOrBuilder *
    * 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]"
+   * "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`
@@ -65,10 +67,10 @@ public interface LogEntryOrBuilder
    * 
    * 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]"
+   * "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`
@@ -156,8 +158,8 @@ public interface LogEntryOrBuilder
    * 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"
+   * "type.googleapis.com/google.cloud.audit.AuditLog"
+   * "type.googleapis.com/google.appengine.logging.v1.RequestLog"
    * 
* * .google.protobuf.Any proto_payload = 2; @@ -176,8 +178,8 @@ public interface LogEntryOrBuilder * 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" + * "type.googleapis.com/google.cloud.audit.AuditLog" + * "type.googleapis.com/google.appengine.logging.v1.RequestLog" *
* * .google.protobuf.Any proto_payload = 2; @@ -196,8 +198,8 @@ public interface LogEntryOrBuilder * 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" + * "type.googleapis.com/google.cloud.audit.AuditLog" + * "type.googleapis.com/google.appengine.logging.v1.RequestLog" *
* * .google.protobuf.Any proto_payload = 2; @@ -767,10 +769,10 @@ java.lang.String getLabelsOrDefault( * * Example values: * - * - `000000000000004a` - * - `7a2190356c3fc94b` - * - `0000f00300090021` - * - `d39223e101960076` + * - `000000000000004a` + * - `7a2190356c3fc94b` + * - `0000f00300090021` + * - `d39223e101960076` *
* * string span_id = 27 [(.google.api.field_behavior) = OPTIONAL]; @@ -809,10 +811,10 @@ java.lang.String getLabelsOrDefault( * * Example values: * - * - `000000000000004a` - * - `7a2190356c3fc94b` - * - `0000f00300090021` - * - `d39223e101960076` + * - `000000000000004a` + * - `7a2190356c3fc94b` + * - `0000f00300090021` + * - `d39223e101960076` *
* * string span_id = 27 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryProto.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryProto.java index 6bd3e07fb..a3b6aaf8d 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryProto.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryProto.java @@ -14,14 +14,26 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/log_entry.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; -public final class LogEntryProto { +@com.google.protobuf.Generated +public final class LogEntryProto extends com.google.protobuf.GeneratedFile { private LogEntryProto() {} + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 0, + /* suffix= */ "", + "LogEntryProto"); + } + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { @@ -30,23 +42,23 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_LogEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_logging_v2_LogEntry_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_LogEntry_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_logging_v2_LogEntry_LabelsEntry_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_LogEntryOperation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_logging_v2_LogEntryOperation_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_LogEntrySourceLocation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_logging_v2_LogEntrySourceLocation_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_LogSplit_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_logging_v2_LogSplit_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -131,10 +143,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.protobuf.StructProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), }); - internal_static_google_logging_v2_LogEntry_descriptor = - getDescriptor().getMessageTypes().get(0); + internal_static_google_logging_v2_LogEntry_descriptor = getDescriptor().getMessageType(0); internal_static_google_logging_v2_LogEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_logging_v2_LogEntry_descriptor, new java.lang.String[] { "LogName", @@ -157,43 +168,37 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Payload", }); internal_static_google_logging_v2_LogEntry_LabelsEntry_descriptor = - internal_static_google_logging_v2_LogEntry_descriptor.getNestedTypes().get(0); + internal_static_google_logging_v2_LogEntry_descriptor.getNestedType(0); internal_static_google_logging_v2_LogEntry_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_logging_v2_LogEntry_LabelsEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_google_logging_v2_LogEntryOperation_descriptor = - getDescriptor().getMessageTypes().get(1); + getDescriptor().getMessageType(1); internal_static_google_logging_v2_LogEntryOperation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_logging_v2_LogEntryOperation_descriptor, new java.lang.String[] { "Id", "Producer", "First", "Last", }); internal_static_google_logging_v2_LogEntrySourceLocation_descriptor = - getDescriptor().getMessageTypes().get(2); + getDescriptor().getMessageType(2); internal_static_google_logging_v2_LogEntrySourceLocation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_logging_v2_LogEntrySourceLocation_descriptor, new java.lang.String[] { "File", "Line", "Function", }); - internal_static_google_logging_v2_LogSplit_descriptor = - getDescriptor().getMessageTypes().get(3); + internal_static_google_logging_v2_LogSplit_descriptor = getDescriptor().getMessageType(3); internal_static_google_logging_v2_LogSplit_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_logging_v2_LogSplit_descriptor, new java.lang.String[] { "Uid", "Index", "TotalSplits", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); + descriptor.resolveAllFeaturesImmutable(); com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.MonitoredResourceProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor(); @@ -202,6 +207,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.protobuf.AnyProto.getDescriptor(); com.google.protobuf.StructProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntrySourceLocation.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntrySourceLocation.java index 164f9c021..fd1b7e9ca 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntrySourceLocation.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntrySourceLocation.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/log_entry.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -29,14 +30,25 @@ * * Protobuf type {@code google.logging.v2.LogEntrySourceLocation} */ -public final class LogEntrySourceLocation extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class LogEntrySourceLocation extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.logging.v2.LogEntrySourceLocation) LogEntrySourceLocationOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 0, + /* suffix= */ "", + "LogEntrySourceLocation"); + } + // Use LogEntrySourceLocation.newBuilder() to construct. - private LogEntrySourceLocation(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private LogEntrySourceLocation(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -45,19 +57,13 @@ private LogEntrySourceLocation() { function_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new LogEntrySourceLocation(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LogEntryProto .internal_static_google_logging_v2_LogEntrySourceLocation_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LogEntryProto .internal_static_google_logging_v2_LogEntrySourceLocation_fieldAccessorTable @@ -218,14 +224,14 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(file_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, file_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(file_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, file_); } if (line_ != 0L) { output.writeInt64(2, line_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(function_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, function_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(function_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, function_); } getUnknownFields().writeTo(output); } @@ -236,14 +242,14 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(file_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, file_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(file_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, file_); } if (line_ != 0L) { size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, line_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(function_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, function_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(function_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, function_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -323,38 +329,38 @@ public static com.google.logging.v2.LogEntrySourceLocation parseFrom( public static com.google.logging.v2.LogEntrySourceLocation parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.LogEntrySourceLocation parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.LogEntrySourceLocation parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.LogEntrySourceLocation parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.LogEntrySourceLocation parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.LogEntrySourceLocation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -377,7 +383,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -392,7 +398,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.logging.v2.LogEntrySourceLocation} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.LogEntrySourceLocation) com.google.logging.v2.LogEntrySourceLocationOrBuilder { @@ -402,7 +408,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LogEntryProto .internal_static_google_logging_v2_LogEntrySourceLocation_fieldAccessorTable @@ -414,7 +420,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.logging.v2.LogEntrySourceLocation.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -472,39 +478,6 @@ private void buildPartial0(com.google.logging.v2.LogEntrySourceLocation result) } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.LogEntrySourceLocation) { @@ -904,17 +877,6 @@ public Builder setFunctionBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.logging.v2.LogEntrySourceLocation) } diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntrySourceLocationOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntrySourceLocationOrBuilder.java index f146e30c3..73e67f642 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntrySourceLocationOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntrySourceLocationOrBuilder.java @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/log_entry.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; +@com.google.protobuf.Generated public interface LogEntrySourceLocationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.LogEntrySourceLocation) diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogExclusion.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogExclusion.java index 883ba15f4..c12a329e9 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogExclusion.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogExclusion.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -32,14 +33,25 @@ * * Protobuf type {@code google.logging.v2.LogExclusion} */ -public final class LogExclusion extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class LogExclusion extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.logging.v2.LogExclusion) LogExclusionOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 0, + /* suffix= */ "", + "LogExclusion"); + } + // Use LogExclusion.newBuilder() to construct. - private LogExclusion(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private LogExclusion(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -49,19 +61,13 @@ private LogExclusion() { filter_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new LogExclusion(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_LogExclusion_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_LogExclusion_fieldAccessorTable @@ -201,7 +207,7 @@ public com.google.protobuf.ByteString getDescriptionBytes() { * For example, the following query matches 99% of low-severity log entries * from Google Cloud Storage buckets: * - * `resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)` + * `resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)` *
* * string filter = 3 [(.google.api.field_behavior) = REQUIRED]; @@ -234,7 +240,7 @@ public java.lang.String getFilter() { * For example, the following query matches 99% of low-severity log entries * from Google Cloud Storage buckets: * - * `resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)` + * `resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)` *
* * string filter = 3 [(.google.api.field_behavior) = REQUIRED]; @@ -406,14 +412,14 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, description_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, description_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, filter_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(filter_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, filter_); } if (disabled_ != false) { output.writeBool(4, disabled_); @@ -433,14 +439,14 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, description_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, filter_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(filter_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, filter_); } if (disabled_ != false) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, disabled_); @@ -546,38 +552,38 @@ public static com.google.logging.v2.LogExclusion parseFrom( public static com.google.logging.v2.LogExclusion parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.LogExclusion parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.LogExclusion parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.LogExclusion parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.LogExclusion parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.LogExclusion parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -600,7 +606,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -618,7 +624,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.logging.v2.LogExclusion} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.LogExclusion) com.google.logging.v2.LogExclusionOrBuilder { @@ -628,7 +634,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_LogExclusion_fieldAccessorTable @@ -642,15 +648,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getCreateTimeFieldBuilder(); - getUpdateTimeFieldBuilder(); + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetCreateTimeFieldBuilder(); + internalGetUpdateTimeFieldBuilder(); } } @@ -731,39 +737,6 @@ private void buildPartial0(com.google.logging.v2.LogExclusion result) { result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.LogExclusion) { @@ -852,13 +825,15 @@ public Builder mergeFrom( } // case 32 case 42: { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage( + internalGetCreateTimeFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000010; break; } // case 42 case 50: { - input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage( + internalGetUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000020; break; } // case 50 @@ -1133,7 +1108,7 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { * For example, the following query matches 99% of low-severity log entries * from Google Cloud Storage buckets: * - * `resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)` + * `resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)` *
* * string filter = 3 [(.google.api.field_behavior) = REQUIRED]; @@ -1165,7 +1140,7 @@ public java.lang.String getFilter() { * For example, the following query matches 99% of low-severity log entries * from Google Cloud Storage buckets: * - * `resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)` + * `resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)` *
* * string filter = 3 [(.google.api.field_behavior) = REQUIRED]; @@ -1197,7 +1172,7 @@ public com.google.protobuf.ByteString getFilterBytes() { * For example, the following query matches 99% of low-severity log entries * from Google Cloud Storage buckets: * - * `resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)` + * `resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)` *
* * string filter = 3 [(.google.api.field_behavior) = REQUIRED]; @@ -1228,7 +1203,7 @@ public Builder setFilter(java.lang.String value) { * For example, the following query matches 99% of low-severity log entries * from Google Cloud Storage buckets: * - * `resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)` + * `resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)` *
* * string filter = 3 [(.google.api.field_behavior) = REQUIRED]; @@ -1255,7 +1230,7 @@ public Builder clearFilter() { * For example, the following query matches 99% of low-severity log entries * from Google Cloud Storage buckets: * - * `resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)` + * `resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)` *
* * string filter = 3 [(.google.api.field_behavior) = REQUIRED]; @@ -1340,7 +1315,7 @@ public Builder clearDisabled() { } private com.google.protobuf.Timestamp createTime_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> @@ -1513,7 +1488,7 @@ public Builder clearCreateTime() { public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000010; onChanged(); - return getCreateTimeFieldBuilder().getBuilder(); + return internalGetCreateTimeFieldBuilder().getBuilder(); } /** @@ -1552,14 +1527,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> - getCreateTimeFieldBuilder() { + internalGetCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( @@ -1570,7 +1545,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { } private com.google.protobuf.Timestamp updateTime_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> @@ -1743,7 +1718,7 @@ public Builder clearUpdateTime() { public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000020; onChanged(); - return getUpdateTimeFieldBuilder().getBuilder(); + return internalGetUpdateTimeFieldBuilder().getBuilder(); } /** @@ -1782,14 +1757,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> - getUpdateTimeFieldBuilder() { + internalGetUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( @@ -1799,17 +1774,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { return updateTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.logging.v2.LogExclusion) } diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogExclusionOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogExclusionOrBuilder.java index 6923b361c..4af9b3303 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogExclusionOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogExclusionOrBuilder.java @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; +@com.google.protobuf.Generated public interface LogExclusionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.LogExclusion) @@ -95,7 +97,7 @@ public interface LogExclusionOrBuilder * For example, the following query matches 99% of low-severity log entries * from Google Cloud Storage buckets: * - * `resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)` + * `resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)` *
* * string filter = 3 [(.google.api.field_behavior) = REQUIRED]; @@ -117,7 +119,7 @@ public interface LogExclusionOrBuilder * For example, the following query matches 99% of low-severity log entries * from Google Cloud Storage buckets: * - * `resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)` + * `resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)` *
* * string filter = 3 [(.google.api.field_behavior) = REQUIRED]; diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogMetric.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogMetric.java index d006a5999..40af4f303 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogMetric.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogMetric.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_metrics.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -34,14 +35,25 @@ * * Protobuf type {@code google.logging.v2.LogMetric} */ -public final class LogMetric extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class LogMetric extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.logging.v2.LogMetric) LogMetricOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 0, + /* suffix= */ "", + "LogMetric"); + } + // Use LogMetric.newBuilder() to construct. - private LogMetric(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private LogMetric(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -54,12 +66,6 @@ private LogMetric() { version_ = 0; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new LogMetric(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingMetricsProto .internal_static_google_logging_v2_LogMetric_descriptor; @@ -78,7 +84,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingMetricsProto .internal_static_google_logging_v2_LogMetric_fieldAccessorTable @@ -119,6 +125,16 @@ public enum ApiVersion implements com.google.protobuf.ProtocolMessageEnum { UNRECOGNIZED(-1), ; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 0, + /* suffix= */ "", + "ApiVersion"); + } + /** * * @@ -197,7 +213,7 @@ public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.logging.v2.LogMetric.getDescriptor().getEnumTypes().get(0); } @@ -368,7 +384,7 @@ public com.google.protobuf.ByteString getDescriptionBytes() { * filter](https://cloud.google.com/logging/docs/view/advanced_filters) which * is used to match log entries. Example: * - * "resource.type=gae_app AND severity>=ERROR" + * "resource.type=gae_app AND severity>=ERROR" * * The maximum length of the filter is 20000 characters. *
@@ -398,7 +414,7 @@ public java.lang.String getFilter() { * filter](https://cloud.google.com/logging/docs/view/advanced_filters) which * is used to match log entries. Example: * - * "resource.type=gae_app AND severity>=ERROR" + * "resource.type=gae_app AND severity>=ERROR" * * The maximum length of the filter is 20000 characters. *
@@ -435,7 +451,7 @@ public com.google.protobuf.ByteString getFilterBytes() { * * For example: * - * `projects/my-project/locations/global/buckets/my-bucket` + * `projects/my-project/locations/global/buckets/my-bucket` * * If empty, then the Log Metric is considered a non-Bucket Log Metric. *
@@ -467,7 +483,7 @@ public java.lang.String getBucketName() { * * For example: * - * `projects/my-project/locations/global/buckets/my-bucket` + * `projects/my-project/locations/global/buckets/my-bucket` * * If empty, then the Log Metric is considered a non-Bucket Log Metric. *
@@ -642,14 +658,14 @@ public com.google.api.MetricDescriptorOrBuilder getMetricDescriptorOrBuilder() { * Two functions are supported for value extraction: `EXTRACT(field)` or * `REGEXP_EXTRACT(field, regex)`. The arguments are: * - * 1. field: The name of the log entry field from which the value is to be - * extracted. - * 2. regex: A regular expression using the Google RE2 syntax - * (https://github.com/google/re2/wiki/Syntax) with a single capture - * group to extract data from the specified log entry field. The value - * of the field is converted to a string before applying the regex. - * It is an error to specify a regex that does not include exactly one - * capture group. + * 1. field: The name of the log entry field from which the value is to be + * extracted. + * 2. regex: A regular expression using the Google RE2 syntax + * (https://github.com/google/re2/wiki/Syntax) with a single capture + * group to extract data from the specified log entry field. The value + * of the field is converted to a string before applying the regex. + * It is an error to specify a regex that does not include exactly one + * capture group. * * The result of the extraction must be convertible to a double type, as the * distribution always records double values. If either the extraction or @@ -685,14 +701,14 @@ public java.lang.String getValueExtractor() { * Two functions are supported for value extraction: `EXTRACT(field)` or * `REGEXP_EXTRACT(field, regex)`. The arguments are: * - * 1. field: The name of the log entry field from which the value is to be - * extracted. - * 2. regex: A regular expression using the Google RE2 syntax - * (https://github.com/google/re2/wiki/Syntax) with a single capture - * group to extract data from the specified log entry field. The value - * of the field is converted to a string before applying the regex. - * It is an error to specify a regex that does not include exactly one - * capture group. + * 1. field: The name of the log entry field from which the value is to be + * extracted. + * 2. regex: A regular expression using the Google RE2 syntax + * (https://github.com/google/re2/wiki/Syntax) with a single capture + * group to extract data from the specified log entry field. The value + * of the field is converted to a string before applying the regex. + * It is an error to specify a regex that does not include exactly one + * capture group. * * The result of the extraction must be convertible to a double type, as the * distribution always records double values. If either the extraction or @@ -1124,14 +1140,14 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, description_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, description_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, filter_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(filter_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, filter_); } if (version_ != com.google.logging.v2.LogMetric.ApiVersion.V2.getNumber()) { output.writeEnum(4, version_); @@ -1139,10 +1155,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(5, getMetricDescriptor()); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(valueExtractor_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 6, valueExtractor_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(valueExtractor_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 6, valueExtractor_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + com.google.protobuf.GeneratedMessage.serializeStringMapTo( output, internalGetLabelExtractors(), LabelExtractorsDefaultEntryHolder.defaultEntry, 7); if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(8, getBucketOptions()); @@ -1156,8 +1172,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (disabled_ != false) { output.writeBool(12, disabled_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bucketName_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 13, bucketName_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(bucketName_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 13, bucketName_); } getUnknownFields().writeTo(output); } @@ -1168,14 +1184,14 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, description_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, filter_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(filter_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, filter_); } if (version_ != com.google.logging.v2.LogMetric.ApiVersion.V2.getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, version_); @@ -1183,8 +1199,8 @@ public int getSerializedSize() { if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getMetricDescriptor()); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(valueExtractor_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, valueExtractor_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(valueExtractor_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(6, valueExtractor_); } for (java.util.Map.Entry entry : internalGetLabelExtractors().getMap().entrySet()) { @@ -1208,8 +1224,8 @@ public int getSerializedSize() { if (disabled_ != false) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(12, disabled_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bucketName_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, bucketName_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(bucketName_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(13, bucketName_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1336,38 +1352,38 @@ public static com.google.logging.v2.LogMetric parseFrom( public static com.google.logging.v2.LogMetric parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.LogMetric parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.LogMetric parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.LogMetric parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.LogMetric parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.LogMetric parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -1390,7 +1406,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -1410,7 +1426,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.logging.v2.LogMetric} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.LogMetric) com.google.logging.v2.LogMetricOrBuilder { @@ -1442,7 +1458,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingMetricsProto .internal_static_google_logging_v2_LogMetric_fieldAccessorTable @@ -1455,17 +1471,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getMetricDescriptorFieldBuilder(); - getBucketOptionsFieldBuilder(); - getCreateTimeFieldBuilder(); - getUpdateTimeFieldBuilder(); + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetMetricDescriptorFieldBuilder(); + internalGetBucketOptionsFieldBuilder(); + internalGetCreateTimeFieldBuilder(); + internalGetUpdateTimeFieldBuilder(); } } @@ -1583,39 +1599,6 @@ private void buildPartial0(com.google.logging.v2.LogMetric result) { result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.LogMetric) { @@ -1726,7 +1709,7 @@ public Builder mergeFrom( case 42: { input.readMessage( - getMetricDescriptorFieldBuilder().getBuilder(), extensionRegistry); + internalGetMetricDescriptorFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000020; break; } // case 42 @@ -1750,19 +1733,22 @@ public Builder mergeFrom( } // case 58 case 66: { - input.readMessage(getBucketOptionsFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage( + internalGetBucketOptionsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000100; break; } // case 66 case 74: { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage( + internalGetCreateTimeFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000200; break; } // case 74 case 82: { - input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage( + internalGetUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000400; break; } // case 82 @@ -2094,7 +2080,7 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { * filter](https://cloud.google.com/logging/docs/view/advanced_filters) which * is used to match log entries. Example: * - * "resource.type=gae_app AND severity>=ERROR" + * "resource.type=gae_app AND severity>=ERROR" * * The maximum length of the filter is 20000 characters. *
@@ -2123,7 +2109,7 @@ public java.lang.String getFilter() { * filter](https://cloud.google.com/logging/docs/view/advanced_filters) which * is used to match log entries. Example: * - * "resource.type=gae_app AND severity>=ERROR" + * "resource.type=gae_app AND severity>=ERROR" * * The maximum length of the filter is 20000 characters. *
@@ -2152,7 +2138,7 @@ public com.google.protobuf.ByteString getFilterBytes() { * filter](https://cloud.google.com/logging/docs/view/advanced_filters) which * is used to match log entries. Example: * - * "resource.type=gae_app AND severity>=ERROR" + * "resource.type=gae_app AND severity>=ERROR" * * The maximum length of the filter is 20000 characters. *
@@ -2180,7 +2166,7 @@ public Builder setFilter(java.lang.String value) { * filter](https://cloud.google.com/logging/docs/view/advanced_filters) which * is used to match log entries. Example: * - * "resource.type=gae_app AND severity>=ERROR" + * "resource.type=gae_app AND severity>=ERROR" * * The maximum length of the filter is 20000 characters. *
@@ -2204,7 +2190,7 @@ public Builder clearFilter() { * filter](https://cloud.google.com/logging/docs/view/advanced_filters) which * is used to match log entries. Example: * - * "resource.type=gae_app AND severity>=ERROR" + * "resource.type=gae_app AND severity>=ERROR" * * The maximum length of the filter is 20000 characters. *
@@ -2237,7 +2223,7 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { * * For example: * - * `projects/my-project/locations/global/buckets/my-bucket` + * `projects/my-project/locations/global/buckets/my-bucket` * * If empty, then the Log Metric is considered a non-Bucket Log Metric. *
@@ -2268,7 +2254,7 @@ public java.lang.String getBucketName() { * * For example: * - * `projects/my-project/locations/global/buckets/my-bucket` + * `projects/my-project/locations/global/buckets/my-bucket` * * If empty, then the Log Metric is considered a non-Bucket Log Metric. *
@@ -2299,7 +2285,7 @@ public com.google.protobuf.ByteString getBucketNameBytes() { * * For example: * - * `projects/my-project/locations/global/buckets/my-bucket` + * `projects/my-project/locations/global/buckets/my-bucket` * * If empty, then the Log Metric is considered a non-Bucket Log Metric. * @@ -2329,7 +2315,7 @@ public Builder setBucketName(java.lang.String value) { * * For example: * - * `projects/my-project/locations/global/buckets/my-bucket` + * `projects/my-project/locations/global/buckets/my-bucket` * * If empty, then the Log Metric is considered a non-Bucket Log Metric. * @@ -2355,7 +2341,7 @@ public Builder clearBucketName() { * * For example: * - * `projects/my-project/locations/global/buckets/my-bucket` + * `projects/my-project/locations/global/buckets/my-bucket` * * If empty, then the Log Metric is considered a non-Bucket Log Metric. * @@ -2436,7 +2422,7 @@ public Builder clearDisabled() { } private com.google.api.MetricDescriptor metricDescriptor_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.api.MetricDescriptor, com.google.api.MetricDescriptor.Builder, com.google.api.MetricDescriptorOrBuilder> @@ -2735,7 +2721,7 @@ public Builder clearMetricDescriptor() { public com.google.api.MetricDescriptor.Builder getMetricDescriptorBuilder() { bitField0_ |= 0x00000020; onChanged(); - return getMetricDescriptorFieldBuilder().getBuilder(); + return internalGetMetricDescriptorFieldBuilder().getBuilder(); } /** @@ -2810,14 +2796,14 @@ public com.google.api.MetricDescriptorOrBuilder getMetricDescriptorOrBuilder() { * .google.api.MetricDescriptor metric_descriptor = 5 [(.google.api.field_behavior) = OPTIONAL]; *
*/ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.api.MetricDescriptor, com.google.api.MetricDescriptor.Builder, com.google.api.MetricDescriptorOrBuilder> - getMetricDescriptorFieldBuilder() { + internalGetMetricDescriptorFieldBuilder() { if (metricDescriptorBuilder_ == null) { metricDescriptorBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.api.MetricDescriptor, com.google.api.MetricDescriptor.Builder, com.google.api.MetricDescriptorOrBuilder>( @@ -2838,14 +2824,14 @@ public com.google.api.MetricDescriptorOrBuilder getMetricDescriptorOrBuilder() { * Two functions are supported for value extraction: `EXTRACT(field)` or * `REGEXP_EXTRACT(field, regex)`. The arguments are: * - * 1. field: The name of the log entry field from which the value is to be - * extracted. - * 2. regex: A regular expression using the Google RE2 syntax - * (https://github.com/google/re2/wiki/Syntax) with a single capture - * group to extract data from the specified log entry field. The value - * of the field is converted to a string before applying the regex. - * It is an error to specify a regex that does not include exactly one - * capture group. + * 1. field: The name of the log entry field from which the value is to be + * extracted. + * 2. regex: A regular expression using the Google RE2 syntax + * (https://github.com/google/re2/wiki/Syntax) with a single capture + * group to extract data from the specified log entry field. The value + * of the field is converted to a string before applying the regex. + * It is an error to specify a regex that does not include exactly one + * capture group. * * The result of the extraction must be convertible to a double type, as the * distribution always records double values. If either the extraction or @@ -2880,14 +2866,14 @@ public java.lang.String getValueExtractor() { * Two functions are supported for value extraction: `EXTRACT(field)` or * `REGEXP_EXTRACT(field, regex)`. The arguments are: * - * 1. field: The name of the log entry field from which the value is to be - * extracted. - * 2. regex: A regular expression using the Google RE2 syntax - * (https://github.com/google/re2/wiki/Syntax) with a single capture - * group to extract data from the specified log entry field. The value - * of the field is converted to a string before applying the regex. - * It is an error to specify a regex that does not include exactly one - * capture group. + * 1. field: The name of the log entry field from which the value is to be + * extracted. + * 2. regex: A regular expression using the Google RE2 syntax + * (https://github.com/google/re2/wiki/Syntax) with a single capture + * group to extract data from the specified log entry field. The value + * of the field is converted to a string before applying the regex. + * It is an error to specify a regex that does not include exactly one + * capture group. * * The result of the extraction must be convertible to a double type, as the * distribution always records double values. If either the extraction or @@ -2922,14 +2908,14 @@ public com.google.protobuf.ByteString getValueExtractorBytes() { * Two functions are supported for value extraction: `EXTRACT(field)` or * `REGEXP_EXTRACT(field, regex)`. The arguments are: * - * 1. field: The name of the log entry field from which the value is to be - * extracted. - * 2. regex: A regular expression using the Google RE2 syntax - * (https://github.com/google/re2/wiki/Syntax) with a single capture - * group to extract data from the specified log entry field. The value - * of the field is converted to a string before applying the regex. - * It is an error to specify a regex that does not include exactly one - * capture group. + * 1. field: The name of the log entry field from which the value is to be + * extracted. + * 2. regex: A regular expression using the Google RE2 syntax + * (https://github.com/google/re2/wiki/Syntax) with a single capture + * group to extract data from the specified log entry field. The value + * of the field is converted to a string before applying the regex. + * It is an error to specify a regex that does not include exactly one + * capture group. * * The result of the extraction must be convertible to a double type, as the * distribution always records double values. If either the extraction or @@ -2963,14 +2949,14 @@ public Builder setValueExtractor(java.lang.String value) { * Two functions are supported for value extraction: `EXTRACT(field)` or * `REGEXP_EXTRACT(field, regex)`. The arguments are: * - * 1. field: The name of the log entry field from which the value is to be - * extracted. - * 2. regex: A regular expression using the Google RE2 syntax - * (https://github.com/google/re2/wiki/Syntax) with a single capture - * group to extract data from the specified log entry field. The value - * of the field is converted to a string before applying the regex. - * It is an error to specify a regex that does not include exactly one - * capture group. + * 1. field: The name of the log entry field from which the value is to be + * extracted. + * 2. regex: A regular expression using the Google RE2 syntax + * (https://github.com/google/re2/wiki/Syntax) with a single capture + * group to extract data from the specified log entry field. The value + * of the field is converted to a string before applying the regex. + * It is an error to specify a regex that does not include exactly one + * capture group. * * The result of the extraction must be convertible to a double type, as the * distribution always records double values. If either the extraction or @@ -3000,14 +2986,14 @@ public Builder clearValueExtractor() { * Two functions are supported for value extraction: `EXTRACT(field)` or * `REGEXP_EXTRACT(field, regex)`. The arguments are: * - * 1. field: The name of the log entry field from which the value is to be - * extracted. - * 2. regex: A regular expression using the Google RE2 syntax - * (https://github.com/google/re2/wiki/Syntax) with a single capture - * group to extract data from the specified log entry field. The value - * of the field is converted to a string before applying the regex. - * It is an error to specify a regex that does not include exactly one - * capture group. + * 1. field: The name of the log entry field from which the value is to be + * extracted. + * 2. regex: A regular expression using the Google RE2 syntax + * (https://github.com/google/re2/wiki/Syntax) with a single capture + * group to extract data from the specified log entry field. The value + * of the field is converted to a string before applying the regex. + * It is an error to specify a regex that does not include exactly one + * capture group. * * The result of the extraction must be convertible to a double type, as the * distribution always records double values. If either the extraction or @@ -3315,7 +3301,7 @@ public Builder putAllLabelExtractors(java.util.Map @@ -3489,7 +3475,7 @@ public Builder clearBucketOptions() { public com.google.api.Distribution.BucketOptions.Builder getBucketOptionsBuilder() { bitField0_ |= 0x00000100; onChanged(); - return getBucketOptionsFieldBuilder().getBuilder(); + return internalGetBucketOptionsFieldBuilder().getBuilder(); } /** @@ -3528,14 +3514,14 @@ public com.google.api.Distribution.BucketOptionsOrBuilder getBucketOptionsOrBuil * .google.api.Distribution.BucketOptions bucket_options = 8 [(.google.api.field_behavior) = OPTIONAL]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.api.Distribution.BucketOptions, com.google.api.Distribution.BucketOptions.Builder, com.google.api.Distribution.BucketOptionsOrBuilder> - getBucketOptionsFieldBuilder() { + internalGetBucketOptionsFieldBuilder() { if (bucketOptionsBuilder_ == null) { bucketOptionsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.api.Distribution.BucketOptions, com.google.api.Distribution.BucketOptions.Builder, com.google.api.Distribution.BucketOptionsOrBuilder>( @@ -3546,7 +3532,7 @@ public com.google.api.Distribution.BucketOptionsOrBuilder getBucketOptionsOrBuil } private com.google.protobuf.Timestamp createTime_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> @@ -3719,7 +3705,7 @@ public Builder clearCreateTime() { public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000200; onChanged(); - return getCreateTimeFieldBuilder().getBuilder(); + return internalGetCreateTimeFieldBuilder().getBuilder(); } /** @@ -3758,14 +3744,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> - getCreateTimeFieldBuilder() { + internalGetCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( @@ -3776,7 +3762,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { } private com.google.protobuf.Timestamp updateTime_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> @@ -3949,7 +3935,7 @@ public Builder clearUpdateTime() { public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000400; onChanged(); - return getUpdateTimeFieldBuilder().getBuilder(); + return internalGetUpdateTimeFieldBuilder().getBuilder(); } /** @@ -3988,14 +3974,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> - getUpdateTimeFieldBuilder() { + internalGetUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( @@ -4120,17 +4106,6 @@ public Builder clearVersion() { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.logging.v2.LogMetric) } diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogMetricOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogMetricOrBuilder.java index 2548fabac..8b78fa5bc 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogMetricOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogMetricOrBuilder.java @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_metrics.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; +@com.google.protobuf.Generated public interface LogMetricOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.LogMetric) @@ -110,7 +112,7 @@ public interface LogMetricOrBuilder * filter](https://cloud.google.com/logging/docs/view/advanced_filters) which * is used to match log entries. Example: * - * "resource.type=gae_app AND severity>=ERROR" + * "resource.type=gae_app AND severity>=ERROR" * * The maximum length of the filter is 20000 characters. * @@ -129,7 +131,7 @@ public interface LogMetricOrBuilder * filter](https://cloud.google.com/logging/docs/view/advanced_filters) which * is used to match log entries. Example: * - * "resource.type=gae_app AND severity>=ERROR" + * "resource.type=gae_app AND severity>=ERROR" * * The maximum length of the filter is 20000 characters. * @@ -150,7 +152,7 @@ public interface LogMetricOrBuilder * * For example: * - * `projects/my-project/locations/global/buckets/my-bucket` + * `projects/my-project/locations/global/buckets/my-bucket` * * If empty, then the Log Metric is considered a non-Bucket Log Metric. * @@ -171,7 +173,7 @@ public interface LogMetricOrBuilder * * For example: * - * `projects/my-project/locations/global/buckets/my-bucket` + * `projects/my-project/locations/global/buckets/my-bucket` * * If empty, then the Log Metric is considered a non-Bucket Log Metric. * @@ -308,14 +310,14 @@ public interface LogMetricOrBuilder * Two functions are supported for value extraction: `EXTRACT(field)` or * `REGEXP_EXTRACT(field, regex)`. The arguments are: * - * 1. field: The name of the log entry field from which the value is to be - * extracted. - * 2. regex: A regular expression using the Google RE2 syntax - * (https://github.com/google/re2/wiki/Syntax) with a single capture - * group to extract data from the specified log entry field. The value - * of the field is converted to a string before applying the regex. - * It is an error to specify a regex that does not include exactly one - * capture group. + * 1. field: The name of the log entry field from which the value is to be + * extracted. + * 2. regex: A regular expression using the Google RE2 syntax + * (https://github.com/google/re2/wiki/Syntax) with a single capture + * group to extract data from the specified log entry field. The value + * of the field is converted to a string before applying the regex. + * It is an error to specify a regex that does not include exactly one + * capture group. * * The result of the extraction must be convertible to a double type, as the * distribution always records double values. If either the extraction or @@ -340,14 +342,14 @@ public interface LogMetricOrBuilder * Two functions are supported for value extraction: `EXTRACT(field)` or * `REGEXP_EXTRACT(field, regex)`. The arguments are: * - * 1. field: The name of the log entry field from which the value is to be - * extracted. - * 2. regex: A regular expression using the Google RE2 syntax - * (https://github.com/google/re2/wiki/Syntax) with a single capture - * group to extract data from the specified log entry field. The value - * of the field is converted to a string before applying the regex. - * It is an error to specify a regex that does not include exactly one - * capture group. + * 1. field: The name of the log entry field from which the value is to be + * extracted. + * 2. regex: A regular expression using the Google RE2 syntax + * (https://github.com/google/re2/wiki/Syntax) with a single capture + * group to extract data from the specified log entry field. The value + * of the field is converted to a string before applying the regex. + * It is an error to specify a regex that does not include exactly one + * capture group. * * The result of the extraction must be convertible to a double type, as the * distribution always records double values. If either the extraction or diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSink.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSink.java index 5c7d23dfe..f22085c3c 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSink.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSink.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -32,14 +33,25 @@ * * Protobuf type {@code google.logging.v2.LogSink} */ -public final class LogSink extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class LogSink extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.logging.v2.LogSink) LogSinkOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 0, + /* suffix= */ "", + "LogSink"); + } + // Use LogSink.newBuilder() to construct. - private LogSink(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private LogSink(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -53,19 +65,13 @@ private LogSink() { writerIdentity_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new LogSink(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_LogSink_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_LogSink_fieldAccessorTable @@ -116,6 +122,16 @@ public enum VersionFormat implements com.google.protobuf.ProtocolMessageEnum { UNRECOGNIZED(-1), ; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 0, + /* suffix= */ "", + "VersionFormat"); + } + /** * * @@ -207,7 +223,7 @@ public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.logging.v2.LogSink.getDescriptor().getEnumTypes().get(0); } @@ -354,9 +370,9 @@ public com.google.protobuf.ByteString getNameBytes() { *
    * Required. The export destination:
    *
-   *     "storage.googleapis.com/[GCS_BUCKET]"
-   *     "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"
-   *     "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]"
+   * "storage.googleapis.com/[GCS_BUCKET]"
+   * "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"
+   * "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]"
    *
    * The sink's `writer_identity`, set when the sink is created, must have
    * permission to write to the destination or else the log entries are not
@@ -390,9 +406,9 @@ public java.lang.String getDestination() {
    * 
    * Required. The export destination:
    *
-   *     "storage.googleapis.com/[GCS_BUCKET]"
-   *     "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"
-   *     "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]"
+   * "storage.googleapis.com/[GCS_BUCKET]"
+   * "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"
+   * "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]"
    *
    * The sink's `writer_identity`, set when the sink is created, must have
    * permission to write to the destination or else the log entries are not
@@ -436,7 +452,7 @@ public com.google.protobuf.ByteString getDestinationBytes() {
    *
    * For example:
    *
-   *   `logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR`
+   * `logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR`
    * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -467,7 +483,7 @@ public java.lang.String getFilter() { * * For example: * - * `logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR` + * `logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR` *
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -824,8 +840,8 @@ public com.google.protobuf.ByteString getWriterIdentityBytes() { * To only export entries from certain child projects, filter on the project * part of the log name: * - * logName:("projects/test-project1/" OR "projects/test-project2/") AND - * resource.type=gce_instance + * logName:("projects/test-project1/" OR "projects/test-project2/") AND + * resource.type=gce_instance * * * bool include_children = 9 [(.google.api.field_behavior) = OPTIONAL]; @@ -1027,21 +1043,21 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(destination_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, destination_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(destination_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, destination_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, filter_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(filter_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 5, filter_); } if (outputVersionFormat_ != com.google.logging.v2.LogSink.VersionFormat.VERSION_FORMAT_UNSPECIFIED.getNumber()) { output.writeEnum(6, outputVersionFormat_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(writerIdentity_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 8, writerIdentity_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(writerIdentity_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 8, writerIdentity_); } if (includeChildren_ != false) { output.writeBool(9, includeChildren_); @@ -1058,8 +1074,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < exclusions_.size(); i++) { output.writeMessage(16, exclusions_.get(i)); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 18, description_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 18, description_); } if (disabled_ != false) { output.writeBool(19, disabled_); @@ -1073,21 +1089,21 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(destination_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, destination_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(destination_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, destination_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, filter_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(filter_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(5, filter_); } if (outputVersionFormat_ != com.google.logging.v2.LogSink.VersionFormat.VERSION_FORMAT_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, outputVersionFormat_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(writerIdentity_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, writerIdentity_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(writerIdentity_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(8, writerIdentity_); } if (includeChildren_ != false) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(9, includeChildren_); @@ -1106,8 +1122,8 @@ public int getSerializedSize() { for (int i = 0; i < exclusions_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(16, exclusions_.get(i)); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, description_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(18, description_); } if (disabled_ != false) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(19, disabled_); @@ -1240,38 +1256,38 @@ public static com.google.logging.v2.LogSink parseFrom( public static com.google.logging.v2.LogSink parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.LogSink parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.LogSink parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.LogSink parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.LogSink parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.LogSink parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -1294,7 +1310,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -1312,7 +1328,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.logging.v2.LogSink} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.LogSink) com.google.logging.v2.LogSinkOrBuilder { @@ -1322,7 +1338,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_LogSink_fieldAccessorTable @@ -1335,16 +1351,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getExclusionsFieldBuilder(); - getCreateTimeFieldBuilder(); - getUpdateTimeFieldBuilder(); + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetExclusionsFieldBuilder(); + internalGetCreateTimeFieldBuilder(); + internalGetUpdateTimeFieldBuilder(); } } @@ -1475,39 +1491,6 @@ private void buildPartialOneofs(com.google.logging.v2.LogSink result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.LogSink) { @@ -1562,8 +1545,8 @@ public Builder mergeFrom(com.google.logging.v2.LogSink other) { exclusions_ = other.exclusions_; bitField0_ = (bitField0_ & ~0x00000020); exclusionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getExclusionsFieldBuilder() + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders + ? internalGetExclusionsFieldBuilder() : null; } else { exclusionsBuilder_.addAllMessages(other.exclusions_); @@ -1662,19 +1645,22 @@ public Builder mergeFrom( } // case 72 case 98: { - input.readMessage(getBigqueryOptionsFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage( + internalGetBigqueryOptionsFieldBuilder().getBuilder(), extensionRegistry); optionsCase_ = 12; break; } // case 98 case 106: { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage( + internalGetCreateTimeFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000400; break; } // case 106 case 114: { - input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage( + internalGetUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000800; break; } // case 114 @@ -1880,9 +1866,9 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { *
      * Required. The export destination:
      *
-     *     "storage.googleapis.com/[GCS_BUCKET]"
-     *     "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"
-     *     "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]"
+     * "storage.googleapis.com/[GCS_BUCKET]"
+     * "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"
+     * "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]"
      *
      * The sink's `writer_identity`, set when the sink is created, must have
      * permission to write to the destination or else the log entries are not
@@ -1915,9 +1901,9 @@ public java.lang.String getDestination() {
      * 
      * Required. The export destination:
      *
-     *     "storage.googleapis.com/[GCS_BUCKET]"
-     *     "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"
-     *     "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]"
+     * "storage.googleapis.com/[GCS_BUCKET]"
+     * "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"
+     * "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]"
      *
      * The sink's `writer_identity`, set when the sink is created, must have
      * permission to write to the destination or else the log entries are not
@@ -1950,9 +1936,9 @@ public com.google.protobuf.ByteString getDestinationBytes() {
      * 
      * Required. The export destination:
      *
-     *     "storage.googleapis.com/[GCS_BUCKET]"
-     *     "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"
-     *     "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]"
+     * "storage.googleapis.com/[GCS_BUCKET]"
+     * "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"
+     * "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]"
      *
      * The sink's `writer_identity`, set when the sink is created, must have
      * permission to write to the destination or else the log entries are not
@@ -1984,9 +1970,9 @@ public Builder setDestination(java.lang.String value) {
      * 
      * Required. The export destination:
      *
-     *     "storage.googleapis.com/[GCS_BUCKET]"
-     *     "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"
-     *     "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]"
+     * "storage.googleapis.com/[GCS_BUCKET]"
+     * "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"
+     * "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]"
      *
      * The sink's `writer_identity`, set when the sink is created, must have
      * permission to write to the destination or else the log entries are not
@@ -2014,9 +2000,9 @@ public Builder clearDestination() {
      * 
      * Required. The export destination:
      *
-     *     "storage.googleapis.com/[GCS_BUCKET]"
-     *     "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"
-     *     "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]"
+     * "storage.googleapis.com/[GCS_BUCKET]"
+     * "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"
+     * "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]"
      *
      * The sink's `writer_identity`, set when the sink is created, must have
      * permission to write to the destination or else the log entries are not
@@ -2056,7 +2042,7 @@ public Builder setDestinationBytes(com.google.protobuf.ByteString value) {
      *
      * For example:
      *
-     *   `logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR`
+     * `logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR`
      * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -2086,7 +2072,7 @@ public java.lang.String getFilter() { * * For example: * - * `logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR` + * `logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR` *
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -2116,7 +2102,7 @@ public com.google.protobuf.ByteString getFilterBytes() { * * For example: * - * `logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR` + * `logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR` *
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -2145,7 +2131,7 @@ public Builder setFilter(java.lang.String value) { * * For example: * - * `logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR` + * `logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR` *
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -2170,7 +2156,7 @@ public Builder clearFilter() { * * For example: * - * `logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR` + * `logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR` *
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -2379,7 +2365,7 @@ private void ensureExclusionsIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.logging.v2.LogExclusion, com.google.logging.v2.LogExclusion.Builder, com.google.logging.v2.LogExclusionOrBuilder> @@ -2716,7 +2702,7 @@ public Builder removeExclusions(int index) { * */ public com.google.logging.v2.LogExclusion.Builder getExclusionsBuilder(int index) { - return getExclusionsFieldBuilder().getBuilder(index); + return internalGetExclusionsFieldBuilder().getBuilder(index); } /** @@ -2782,7 +2768,7 @@ public com.google.logging.v2.LogExclusionOrBuilder getExclusionsOrBuilder(int in * */ public com.google.logging.v2.LogExclusion.Builder addExclusionsBuilder() { - return getExclusionsFieldBuilder() + return internalGetExclusionsFieldBuilder() .addBuilder(com.google.logging.v2.LogExclusion.getDefaultInstance()); } @@ -2802,7 +2788,7 @@ public com.google.logging.v2.LogExclusion.Builder addExclusionsBuilder() { * */ public com.google.logging.v2.LogExclusion.Builder addExclusionsBuilder(int index) { - return getExclusionsFieldBuilder() + return internalGetExclusionsFieldBuilder() .addBuilder(index, com.google.logging.v2.LogExclusion.getDefaultInstance()); } @@ -2822,17 +2808,17 @@ public com.google.logging.v2.LogExclusion.Builder addExclusionsBuilder(int index * */ public java.util.List getExclusionsBuilderList() { - return getExclusionsFieldBuilder().getBuilderList(); + return internalGetExclusionsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.logging.v2.LogExclusion, com.google.logging.v2.LogExclusion.Builder, com.google.logging.v2.LogExclusionOrBuilder> - getExclusionsFieldBuilder() { + internalGetExclusionsFieldBuilder() { if (exclusionsBuilder_ == null) { exclusionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.logging.v2.LogExclusion, com.google.logging.v2.LogExclusion.Builder, com.google.logging.v2.LogExclusionOrBuilder>( @@ -3174,8 +3160,8 @@ public Builder setWriterIdentityBytes(com.google.protobuf.ByteString value) { * To only export entries from certain child projects, filter on the project * part of the log name: * - * logName:("projects/test-project1/" OR "projects/test-project2/") AND - * resource.type=gce_instance + * logName:("projects/test-project1/" OR "projects/test-project2/") AND + * resource.type=gce_instance * * * bool include_children = 9 [(.google.api.field_behavior) = OPTIONAL]; @@ -3206,8 +3192,8 @@ public boolean getIncludeChildren() { * To only export entries from certain child projects, filter on the project * part of the log name: * - * logName:("projects/test-project1/" OR "projects/test-project2/") AND - * resource.type=gce_instance + * logName:("projects/test-project1/" OR "projects/test-project2/") AND + * resource.type=gce_instance * * * bool include_children = 9 [(.google.api.field_behavior) = OPTIONAL]; @@ -3242,8 +3228,8 @@ public Builder setIncludeChildren(boolean value) { * To only export entries from certain child projects, filter on the project * part of the log name: * - * logName:("projects/test-project1/" OR "projects/test-project2/") AND - * resource.type=gce_instance + * logName:("projects/test-project1/" OR "projects/test-project2/") AND + * resource.type=gce_instance * * * bool include_children = 9 [(.google.api.field_behavior) = OPTIONAL]; @@ -3257,7 +3243,7 @@ public Builder clearIncludeChildren() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.logging.v2.BigQueryOptions, com.google.logging.v2.BigQueryOptions.Builder, com.google.logging.v2.BigQueryOptionsOrBuilder> @@ -3432,7 +3418,7 @@ public Builder clearBigqueryOptions() { * */ public com.google.logging.v2.BigQueryOptions.Builder getBigqueryOptionsBuilder() { - return getBigqueryOptionsFieldBuilder().getBuilder(); + return internalGetBigqueryOptionsFieldBuilder().getBuilder(); } /** @@ -3469,17 +3455,17 @@ public com.google.logging.v2.BigQueryOptionsOrBuilder getBigqueryOptionsOrBuilde * .google.logging.v2.BigQueryOptions bigquery_options = 12 [(.google.api.field_behavior) = OPTIONAL]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.logging.v2.BigQueryOptions, com.google.logging.v2.BigQueryOptions.Builder, com.google.logging.v2.BigQueryOptionsOrBuilder> - getBigqueryOptionsFieldBuilder() { + internalGetBigqueryOptionsFieldBuilder() { if (bigqueryOptionsBuilder_ == null) { if (!(optionsCase_ == 12)) { options_ = com.google.logging.v2.BigQueryOptions.getDefaultInstance(); } bigqueryOptionsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.logging.v2.BigQueryOptions, com.google.logging.v2.BigQueryOptions.Builder, com.google.logging.v2.BigQueryOptionsOrBuilder>( @@ -3494,7 +3480,7 @@ public com.google.logging.v2.BigQueryOptionsOrBuilder getBigqueryOptionsOrBuilde } private com.google.protobuf.Timestamp createTime_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> @@ -3667,7 +3653,7 @@ public Builder clearCreateTime() { public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000400; onChanged(); - return getCreateTimeFieldBuilder().getBuilder(); + return internalGetCreateTimeFieldBuilder().getBuilder(); } /** @@ -3706,14 +3692,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> - getCreateTimeFieldBuilder() { + internalGetCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( @@ -3724,7 +3710,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { } private com.google.protobuf.Timestamp updateTime_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> @@ -3897,7 +3883,7 @@ public Builder clearUpdateTime() { public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000800; onChanged(); - return getUpdateTimeFieldBuilder().getBuilder(); + return internalGetUpdateTimeFieldBuilder().getBuilder(); } /** @@ -3936,14 +3922,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> - getUpdateTimeFieldBuilder() { + internalGetUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( @@ -3953,17 +3939,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { return updateTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.logging.v2.LogSink) } diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSinkOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSinkOrBuilder.java index f3764c37a..7edc7a94e 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSinkOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSinkOrBuilder.java @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; +@com.google.protobuf.Generated public interface LogSinkOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.LogSink) @@ -66,9 +68,9 @@ public interface LogSinkOrBuilder *
    * Required. The export destination:
    *
-   *     "storage.googleapis.com/[GCS_BUCKET]"
-   *     "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"
-   *     "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]"
+   * "storage.googleapis.com/[GCS_BUCKET]"
+   * "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"
+   * "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]"
    *
    * The sink's `writer_identity`, set when the sink is created, must have
    * permission to write to the destination or else the log entries are not
@@ -91,9 +93,9 @@ public interface LogSinkOrBuilder
    * 
    * Required. The export destination:
    *
-   *     "storage.googleapis.com/[GCS_BUCKET]"
-   *     "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"
-   *     "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]"
+   * "storage.googleapis.com/[GCS_BUCKET]"
+   * "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"
+   * "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]"
    *
    * The sink's `writer_identity`, set when the sink is created, must have
    * permission to write to the destination or else the log entries are not
@@ -121,7 +123,7 @@ public interface LogSinkOrBuilder
    *
    * For example:
    *
-   *   `logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR`
+   * `logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR`
    * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -141,7 +143,7 @@ public interface LogSinkOrBuilder * * For example: * - * `logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR` + * `logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR` *
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -393,8 +395,8 @@ public interface LogSinkOrBuilder * To only export entries from certain child projects, filter on the project * part of the log name: * - * logName:("projects/test-project1/" OR "projects/test-project2/") AND - * resource.type=gce_instance + * logName:("projects/test-project1/" OR "projects/test-project2/") AND + * resource.type=gce_instance * * * bool include_children = 9 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSplit.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSplit.java index 1a695deca..83d9b3dce 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSplit.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSplit.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/log_entry.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -30,14 +31,25 @@ * * Protobuf type {@code google.logging.v2.LogSplit} */ -public final class LogSplit extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class LogSplit extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.logging.v2.LogSplit) LogSplitOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 0, + /* suffix= */ "", + "LogSplit"); + } + // Use LogSplit.newBuilder() to construct. - private LogSplit(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private LogSplit(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -45,19 +57,13 @@ private LogSplit() { uid_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new LogSplit(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LogEntryProto .internal_static_google_logging_v2_LogSplit_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LogEntryProto .internal_static_google_logging_v2_LogSplit_fieldAccessorTable @@ -176,8 +182,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uid_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uid_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(uid_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, uid_); } if (index_ != 0) { output.writeInt32(2, index_); @@ -194,8 +200,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uid_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, uid_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(uid_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, uid_); } if (index_ != 0) { size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, index_); @@ -279,38 +285,38 @@ public static com.google.logging.v2.LogSplit parseFrom( public static com.google.logging.v2.LogSplit parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.LogSplit parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.LogSplit parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.LogSplit parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.LogSplit parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.LogSplit parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -333,7 +339,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -349,7 +355,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.logging.v2.LogSplit} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.LogSplit) com.google.logging.v2.LogSplitOrBuilder { @@ -359,7 +365,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LogEntryProto .internal_static_google_logging_v2_LogSplit_fieldAccessorTable @@ -370,7 +376,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.logging.v2.LogSplit.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -427,39 +433,6 @@ private void buildPartial0(com.google.logging.v2.LogSplit result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.LogSplit) { @@ -785,17 +758,6 @@ public Builder clearTotalSplits() { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.logging.v2.LogSplit) } diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSplitOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSplitOrBuilder.java index a0fc95789..1b32f5272 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSplitOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSplitOrBuilder.java @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/log_entry.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; +@com.google.protobuf.Generated public interface LogSplitOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.LogSplit) diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogView.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogView.java index 7248d09ca..7f34bbd0e 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogView.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogView.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.logging.v2.LogView} */ -public final class LogView extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class LogView extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.logging.v2.LogView) LogViewOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 0, + /* suffix= */ "", + "LogView"); + } + // Use LogView.newBuilder() to construct. - private LogView(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private LogView(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -45,19 +57,13 @@ private LogView() { filter_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new LogView(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_LogView_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_LogView_fieldAccessorTable @@ -79,7 +85,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * For example: * - * `projects/my-project/locations/global/buckets/my-bucket/views/my-view` + * `projects/my-project/locations/global/buckets/my-bucket/views/my-view` * * * string name = 1; @@ -107,7 +113,7 @@ public java.lang.String getName() { * * For example: * - * `projects/my-project/locations/global/buckets/my-bucket/views/my-view` + * `projects/my-project/locations/global/buckets/my-bucket/views/my-view` * * * string name = 1; @@ -299,14 +305,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * Filters are restricted to be a logical AND of ==/!= of any of the * following: * - * - originating project/folder/organization/billing account. - * - resource type - * - log id + * - originating project/folder/organization/billing account. + * - resource type + * - log id * * For example: * - * SOURCE("projects/myproject") AND resource.type = "gce_instance" - * AND LOG_ID("stdout") + * SOURCE("projects/myproject") AND resource.type = "gce_instance" + * AND LOG_ID("stdout") * * * string filter = 7; @@ -336,14 +342,14 @@ public java.lang.String getFilter() { * Filters are restricted to be a logical AND of ==/!= of any of the * following: * - * - originating project/folder/organization/billing account. - * - resource type - * - log id + * - originating project/folder/organization/billing account. + * - resource type + * - log id * * For example: * - * SOURCE("projects/myproject") AND resource.type = "gce_instance" - * AND LOG_ID("stdout") + * SOURCE("projects/myproject") AND resource.type = "gce_instance" + * AND LOG_ID("stdout") * * * string filter = 7; @@ -377,11 +383,11 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, description_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, description_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(4, getCreateTime()); @@ -389,8 +395,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(5, getUpdateTime()); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 7, filter_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(filter_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 7, filter_); } getUnknownFields().writeTo(output); } @@ -401,11 +407,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, description_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCreateTime()); @@ -413,8 +419,8 @@ public int getSerializedSize() { if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getUpdateTime()); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, filter_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(filter_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(7, filter_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -508,38 +514,38 @@ public static com.google.logging.v2.LogView parseFrom( public static com.google.logging.v2.LogView parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.LogView parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.LogView parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.LogView parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.LogView parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.LogView parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -562,7 +568,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -576,7 +582,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.logging.v2.LogView} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.LogView) com.google.logging.v2.LogViewOrBuilder { @@ -586,7 +592,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_LogView_fieldAccessorTable @@ -599,15 +605,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getCreateTimeFieldBuilder(); - getUpdateTimeFieldBuilder(); + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetCreateTimeFieldBuilder(); + internalGetUpdateTimeFieldBuilder(); } } @@ -684,39 +690,6 @@ private void buildPartial0(com.google.logging.v2.LogView result) { result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.LogView) { @@ -790,13 +763,15 @@ public Builder mergeFrom( } // case 26 case 34: { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage( + internalGetCreateTimeFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 34 case 42: { - input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage( + internalGetUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000008; break; } // case 42 @@ -835,7 +810,7 @@ public Builder mergeFrom( * * For example: * - * `projects/my-project/locations/global/buckets/my-bucket/views/my-view` + * `projects/my-project/locations/global/buckets/my-bucket/views/my-view` * * * string name = 1; @@ -862,7 +837,7 @@ public java.lang.String getName() { * * For example: * - * `projects/my-project/locations/global/buckets/my-bucket/views/my-view` + * `projects/my-project/locations/global/buckets/my-bucket/views/my-view` * * * string name = 1; @@ -889,7 +864,7 @@ public com.google.protobuf.ByteString getNameBytes() { * * For example: * - * `projects/my-project/locations/global/buckets/my-bucket/views/my-view` + * `projects/my-project/locations/global/buckets/my-bucket/views/my-view` * * * string name = 1; @@ -915,7 +890,7 @@ public Builder setName(java.lang.String value) { * * For example: * - * `projects/my-project/locations/global/buckets/my-bucket/views/my-view` + * `projects/my-project/locations/global/buckets/my-bucket/views/my-view` * * * string name = 1; @@ -937,7 +912,7 @@ public Builder clearName() { * * For example: * - * `projects/my-project/locations/global/buckets/my-bucket/views/my-view` + * `projects/my-project/locations/global/buckets/my-bucket/views/my-view` * * * string name = 1; @@ -1068,7 +1043,7 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { } private com.google.protobuf.Timestamp createTime_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> @@ -1227,7 +1202,7 @@ public Builder clearCreateTime() { public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000004; onChanged(); - return getCreateTimeFieldBuilder().getBuilder(); + return internalGetCreateTimeFieldBuilder().getBuilder(); } /** @@ -1262,14 +1237,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> - getCreateTimeFieldBuilder() { + internalGetCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( @@ -1280,7 +1255,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { } private com.google.protobuf.Timestamp updateTime_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> @@ -1439,7 +1414,7 @@ public Builder clearUpdateTime() { public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000008; onChanged(); - return getUpdateTimeFieldBuilder().getBuilder(); + return internalGetUpdateTimeFieldBuilder().getBuilder(); } /** @@ -1474,14 +1449,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> - getUpdateTimeFieldBuilder() { + internalGetUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( @@ -1503,14 +1478,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * Filters are restricted to be a logical AND of ==/!= of any of the * following: * - * - originating project/folder/organization/billing account. - * - resource type - * - log id + * - originating project/folder/organization/billing account. + * - resource type + * - log id * * For example: * - * SOURCE("projects/myproject") AND resource.type = "gce_instance" - * AND LOG_ID("stdout") + * SOURCE("projects/myproject") AND resource.type = "gce_instance" + * AND LOG_ID("stdout") * * * string filter = 7; @@ -1539,14 +1514,14 @@ public java.lang.String getFilter() { * Filters are restricted to be a logical AND of ==/!= of any of the * following: * - * - originating project/folder/organization/billing account. - * - resource type - * - log id + * - originating project/folder/organization/billing account. + * - resource type + * - log id * * For example: * - * SOURCE("projects/myproject") AND resource.type = "gce_instance" - * AND LOG_ID("stdout") + * SOURCE("projects/myproject") AND resource.type = "gce_instance" + * AND LOG_ID("stdout") * * * string filter = 7; @@ -1575,14 +1550,14 @@ public com.google.protobuf.ByteString getFilterBytes() { * Filters are restricted to be a logical AND of ==/!= of any of the * following: * - * - originating project/folder/organization/billing account. - * - resource type - * - log id + * - originating project/folder/organization/billing account. + * - resource type + * - log id * * For example: * - * SOURCE("projects/myproject") AND resource.type = "gce_instance" - * AND LOG_ID("stdout") + * SOURCE("projects/myproject") AND resource.type = "gce_instance" + * AND LOG_ID("stdout") * * * string filter = 7; @@ -1610,14 +1585,14 @@ public Builder setFilter(java.lang.String value) { * Filters are restricted to be a logical AND of ==/!= of any of the * following: * - * - originating project/folder/organization/billing account. - * - resource type - * - log id + * - originating project/folder/organization/billing account. + * - resource type + * - log id * * For example: * - * SOURCE("projects/myproject") AND resource.type = "gce_instance" - * AND LOG_ID("stdout") + * SOURCE("projects/myproject") AND resource.type = "gce_instance" + * AND LOG_ID("stdout") * * * string filter = 7; @@ -1641,14 +1616,14 @@ public Builder clearFilter() { * Filters are restricted to be a logical AND of ==/!= of any of the * following: * - * - originating project/folder/organization/billing account. - * - resource type - * - log id + * - originating project/folder/organization/billing account. + * - resource type + * - log id * * For example: * - * SOURCE("projects/myproject") AND resource.type = "gce_instance" - * AND LOG_ID("stdout") + * SOURCE("projects/myproject") AND resource.type = "gce_instance" + * AND LOG_ID("stdout") * * * string filter = 7; @@ -1667,17 +1642,6 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.logging.v2.LogView) } diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogViewOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogViewOrBuilder.java index 622a4562c..040adcb8b 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogViewOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogViewOrBuilder.java @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; +@com.google.protobuf.Generated public interface LogViewOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.LogView) @@ -32,7 +34,7 @@ public interface LogViewOrBuilder * * For example: * - * `projects/my-project/locations/global/buckets/my-bucket/views/my-view` + * `projects/my-project/locations/global/buckets/my-bucket/views/my-view` * * * string name = 1; @@ -49,7 +51,7 @@ public interface LogViewOrBuilder * * For example: * - * `projects/my-project/locations/global/buckets/my-bucket/views/my-view` + * `projects/my-project/locations/global/buckets/my-bucket/views/my-view` * * * string name = 1; @@ -174,14 +176,14 @@ public interface LogViewOrBuilder * Filters are restricted to be a logical AND of ==/!= of any of the * following: * - * - originating project/folder/organization/billing account. - * - resource type - * - log id + * - originating project/folder/organization/billing account. + * - resource type + * - log id * * For example: * - * SOURCE("projects/myproject") AND resource.type = "gce_instance" - * AND LOG_ID("stdout") + * SOURCE("projects/myproject") AND resource.type = "gce_instance" + * AND LOG_ID("stdout") * * * string filter = 7; @@ -200,14 +202,14 @@ public interface LogViewOrBuilder * Filters are restricted to be a logical AND of ==/!= of any of the * following: * - * - originating project/folder/organization/billing account. - * - resource type - * - log id + * - originating project/folder/organization/billing account. + * - resource type + * - log id * * For example: * - * SOURCE("projects/myproject") AND resource.type = "gce_instance" - * AND LOG_ID("stdout") + * SOURCE("projects/myproject") AND resource.type = "gce_instance" + * AND LOG_ID("stdout") * * * string filter = 7; diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingConfigProto.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingConfigProto.java index 24674ece4..98307e441 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingConfigProto.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingConfigProto.java @@ -14,14 +14,26 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; -public final class LoggingConfigProto { +@com.google.protobuf.Generated +public final class LoggingConfigProto extends com.google.protobuf.GeneratedFile { private LoggingConfigProto() {} + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 0, + /* suffix= */ "", + "LoggingConfigProto"); + } + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { @@ -30,203 +42,203 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_IndexConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_logging_v2_IndexConfig_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_LogBucket_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_logging_v2_LogBucket_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_LogView_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_logging_v2_LogView_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_LogSink_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_logging_v2_LogSink_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_BigQueryDataset_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_logging_v2_BigQueryDataset_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_Link_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_logging_v2_Link_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_BigQueryOptions_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_logging_v2_BigQueryOptions_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_ListBucketsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_logging_v2_ListBucketsRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_ListBucketsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_logging_v2_ListBucketsResponse_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_CreateBucketRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_logging_v2_CreateBucketRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_UpdateBucketRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_logging_v2_UpdateBucketRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_GetBucketRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_logging_v2_GetBucketRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_DeleteBucketRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_logging_v2_DeleteBucketRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_UndeleteBucketRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_logging_v2_UndeleteBucketRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_ListViewsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_logging_v2_ListViewsRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_ListViewsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_logging_v2_ListViewsResponse_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_CreateViewRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_logging_v2_CreateViewRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_UpdateViewRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_logging_v2_UpdateViewRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_GetViewRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_logging_v2_GetViewRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_DeleteViewRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_logging_v2_DeleteViewRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_ListSinksRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_logging_v2_ListSinksRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_ListSinksResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_logging_v2_ListSinksResponse_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_GetSinkRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_logging_v2_GetSinkRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_CreateSinkRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_logging_v2_CreateSinkRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_UpdateSinkRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_logging_v2_UpdateSinkRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_DeleteSinkRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_logging_v2_DeleteSinkRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_CreateLinkRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_logging_v2_CreateLinkRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_DeleteLinkRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_logging_v2_DeleteLinkRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_ListLinksRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_logging_v2_ListLinksRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_ListLinksResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_logging_v2_ListLinksResponse_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_GetLinkRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_logging_v2_GetLinkRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_LogExclusion_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_logging_v2_LogExclusion_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_ListExclusionsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_logging_v2_ListExclusionsRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_ListExclusionsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_logging_v2_ListExclusionsResponse_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_GetExclusionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_logging_v2_GetExclusionRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_CreateExclusionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_logging_v2_CreateExclusionRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_UpdateExclusionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_logging_v2_UpdateExclusionRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_DeleteExclusionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_logging_v2_DeleteExclusionRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_GetCmekSettingsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_logging_v2_GetCmekSettingsRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_UpdateCmekSettingsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_logging_v2_UpdateCmekSettingsRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_CmekSettings_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_logging_v2_CmekSettings_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_GetSettingsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_logging_v2_GetSettingsRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_UpdateSettingsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_logging_v2_UpdateSettingsRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_Settings_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_logging_v2_Settings_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_CopyLogEntriesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_logging_v2_CopyLogEntriesRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_CopyLogEntriesMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_logging_v2_CopyLogEntriesMetadata_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_CopyLogEntriesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_logging_v2_CopyLogEntriesResponse_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_BucketMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_logging_v2_BucketMetadata_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_LinkMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_logging_v2_LinkMetadata_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_LocationMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_logging_v2_LocationMetadata_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -814,18 +826,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.protobuf.FieldMaskProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), }); - internal_static_google_logging_v2_IndexConfig_descriptor = - getDescriptor().getMessageTypes().get(0); + internal_static_google_logging_v2_IndexConfig_descriptor = getDescriptor().getMessageType(0); internal_static_google_logging_v2_IndexConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_logging_v2_IndexConfig_descriptor, new java.lang.String[] { "FieldPath", "Type", "CreateTime", }); - internal_static_google_logging_v2_LogBucket_descriptor = - getDescriptor().getMessageTypes().get(1); + internal_static_google_logging_v2_LogBucket_descriptor = getDescriptor().getMessageType(1); internal_static_google_logging_v2_LogBucket_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_logging_v2_LogBucket_descriptor, new java.lang.String[] { "Name", @@ -840,16 +850,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "IndexConfigs", "CmekSettings", }); - internal_static_google_logging_v2_LogView_descriptor = getDescriptor().getMessageTypes().get(2); + internal_static_google_logging_v2_LogView_descriptor = getDescriptor().getMessageType(2); internal_static_google_logging_v2_LogView_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_logging_v2_LogView_descriptor, new java.lang.String[] { "Name", "Description", "CreateTime", "UpdateTime", "Filter", }); - internal_static_google_logging_v2_LogSink_descriptor = getDescriptor().getMessageTypes().get(3); + internal_static_google_logging_v2_LogSink_descriptor = getDescriptor().getMessageType(3); internal_static_google_logging_v2_LogSink_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_logging_v2_LogSink_descriptor, new java.lang.String[] { "Name", @@ -867,336 +877,333 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Options", }); internal_static_google_logging_v2_BigQueryDataset_descriptor = - getDescriptor().getMessageTypes().get(4); + getDescriptor().getMessageType(4); internal_static_google_logging_v2_BigQueryDataset_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_logging_v2_BigQueryDataset_descriptor, new java.lang.String[] { "DatasetId", }); - internal_static_google_logging_v2_Link_descriptor = getDescriptor().getMessageTypes().get(5); + internal_static_google_logging_v2_Link_descriptor = getDescriptor().getMessageType(5); internal_static_google_logging_v2_Link_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_logging_v2_Link_descriptor, new java.lang.String[] { "Name", "Description", "CreateTime", "LifecycleState", "BigqueryDataset", }); internal_static_google_logging_v2_BigQueryOptions_descriptor = - getDescriptor().getMessageTypes().get(6); + getDescriptor().getMessageType(6); internal_static_google_logging_v2_BigQueryOptions_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_logging_v2_BigQueryOptions_descriptor, new java.lang.String[] { "UsePartitionedTables", "UsesTimestampColumnPartitioning", }); internal_static_google_logging_v2_ListBucketsRequest_descriptor = - getDescriptor().getMessageTypes().get(7); + getDescriptor().getMessageType(7); internal_static_google_logging_v2_ListBucketsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_logging_v2_ListBucketsRequest_descriptor, new java.lang.String[] { "Parent", "PageToken", "PageSize", }); internal_static_google_logging_v2_ListBucketsResponse_descriptor = - getDescriptor().getMessageTypes().get(8); + getDescriptor().getMessageType(8); internal_static_google_logging_v2_ListBucketsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_logging_v2_ListBucketsResponse_descriptor, new java.lang.String[] { "Buckets", "NextPageToken", }); internal_static_google_logging_v2_CreateBucketRequest_descriptor = - getDescriptor().getMessageTypes().get(9); + getDescriptor().getMessageType(9); internal_static_google_logging_v2_CreateBucketRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_logging_v2_CreateBucketRequest_descriptor, new java.lang.String[] { "Parent", "BucketId", "Bucket", }); internal_static_google_logging_v2_UpdateBucketRequest_descriptor = - getDescriptor().getMessageTypes().get(10); + getDescriptor().getMessageType(10); internal_static_google_logging_v2_UpdateBucketRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_logging_v2_UpdateBucketRequest_descriptor, new java.lang.String[] { "Name", "Bucket", "UpdateMask", }); internal_static_google_logging_v2_GetBucketRequest_descriptor = - getDescriptor().getMessageTypes().get(11); + getDescriptor().getMessageType(11); internal_static_google_logging_v2_GetBucketRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_logging_v2_GetBucketRequest_descriptor, new java.lang.String[] { "Name", }); internal_static_google_logging_v2_DeleteBucketRequest_descriptor = - getDescriptor().getMessageTypes().get(12); + getDescriptor().getMessageType(12); internal_static_google_logging_v2_DeleteBucketRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_logging_v2_DeleteBucketRequest_descriptor, new java.lang.String[] { "Name", }); internal_static_google_logging_v2_UndeleteBucketRequest_descriptor = - getDescriptor().getMessageTypes().get(13); + getDescriptor().getMessageType(13); internal_static_google_logging_v2_UndeleteBucketRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_logging_v2_UndeleteBucketRequest_descriptor, new java.lang.String[] { "Name", }); internal_static_google_logging_v2_ListViewsRequest_descriptor = - getDescriptor().getMessageTypes().get(14); + getDescriptor().getMessageType(14); internal_static_google_logging_v2_ListViewsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_logging_v2_ListViewsRequest_descriptor, new java.lang.String[] { "Parent", "PageToken", "PageSize", }); internal_static_google_logging_v2_ListViewsResponse_descriptor = - getDescriptor().getMessageTypes().get(15); + getDescriptor().getMessageType(15); internal_static_google_logging_v2_ListViewsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_logging_v2_ListViewsResponse_descriptor, new java.lang.String[] { "Views", "NextPageToken", }); internal_static_google_logging_v2_CreateViewRequest_descriptor = - getDescriptor().getMessageTypes().get(16); + getDescriptor().getMessageType(16); internal_static_google_logging_v2_CreateViewRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_logging_v2_CreateViewRequest_descriptor, new java.lang.String[] { "Parent", "ViewId", "View", }); internal_static_google_logging_v2_UpdateViewRequest_descriptor = - getDescriptor().getMessageTypes().get(17); + getDescriptor().getMessageType(17); internal_static_google_logging_v2_UpdateViewRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_logging_v2_UpdateViewRequest_descriptor, new java.lang.String[] { "Name", "View", "UpdateMask", }); internal_static_google_logging_v2_GetViewRequest_descriptor = - getDescriptor().getMessageTypes().get(18); + getDescriptor().getMessageType(18); internal_static_google_logging_v2_GetViewRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_logging_v2_GetViewRequest_descriptor, new java.lang.String[] { "Name", }); internal_static_google_logging_v2_DeleteViewRequest_descriptor = - getDescriptor().getMessageTypes().get(19); + getDescriptor().getMessageType(19); internal_static_google_logging_v2_DeleteViewRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_logging_v2_DeleteViewRequest_descriptor, new java.lang.String[] { "Name", }); internal_static_google_logging_v2_ListSinksRequest_descriptor = - getDescriptor().getMessageTypes().get(20); + getDescriptor().getMessageType(20); internal_static_google_logging_v2_ListSinksRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_logging_v2_ListSinksRequest_descriptor, new java.lang.String[] { "Parent", "PageToken", "PageSize", }); internal_static_google_logging_v2_ListSinksResponse_descriptor = - getDescriptor().getMessageTypes().get(21); + getDescriptor().getMessageType(21); internal_static_google_logging_v2_ListSinksResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_logging_v2_ListSinksResponse_descriptor, new java.lang.String[] { "Sinks", "NextPageToken", }); internal_static_google_logging_v2_GetSinkRequest_descriptor = - getDescriptor().getMessageTypes().get(22); + getDescriptor().getMessageType(22); internal_static_google_logging_v2_GetSinkRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_logging_v2_GetSinkRequest_descriptor, new java.lang.String[] { "SinkName", }); internal_static_google_logging_v2_CreateSinkRequest_descriptor = - getDescriptor().getMessageTypes().get(23); + getDescriptor().getMessageType(23); internal_static_google_logging_v2_CreateSinkRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_logging_v2_CreateSinkRequest_descriptor, new java.lang.String[] { "Parent", "Sink", "UniqueWriterIdentity", }); internal_static_google_logging_v2_UpdateSinkRequest_descriptor = - getDescriptor().getMessageTypes().get(24); + getDescriptor().getMessageType(24); internal_static_google_logging_v2_UpdateSinkRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_logging_v2_UpdateSinkRequest_descriptor, new java.lang.String[] { "SinkName", "Sink", "UniqueWriterIdentity", "UpdateMask", }); internal_static_google_logging_v2_DeleteSinkRequest_descriptor = - getDescriptor().getMessageTypes().get(25); + getDescriptor().getMessageType(25); internal_static_google_logging_v2_DeleteSinkRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_logging_v2_DeleteSinkRequest_descriptor, new java.lang.String[] { "SinkName", }); internal_static_google_logging_v2_CreateLinkRequest_descriptor = - getDescriptor().getMessageTypes().get(26); + getDescriptor().getMessageType(26); internal_static_google_logging_v2_CreateLinkRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_logging_v2_CreateLinkRequest_descriptor, new java.lang.String[] { "Parent", "Link", "LinkId", }); internal_static_google_logging_v2_DeleteLinkRequest_descriptor = - getDescriptor().getMessageTypes().get(27); + getDescriptor().getMessageType(27); internal_static_google_logging_v2_DeleteLinkRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_logging_v2_DeleteLinkRequest_descriptor, new java.lang.String[] { "Name", }); internal_static_google_logging_v2_ListLinksRequest_descriptor = - getDescriptor().getMessageTypes().get(28); + getDescriptor().getMessageType(28); internal_static_google_logging_v2_ListLinksRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_logging_v2_ListLinksRequest_descriptor, new java.lang.String[] { "Parent", "PageToken", "PageSize", }); internal_static_google_logging_v2_ListLinksResponse_descriptor = - getDescriptor().getMessageTypes().get(29); + getDescriptor().getMessageType(29); internal_static_google_logging_v2_ListLinksResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_logging_v2_ListLinksResponse_descriptor, new java.lang.String[] { "Links", "NextPageToken", }); internal_static_google_logging_v2_GetLinkRequest_descriptor = - getDescriptor().getMessageTypes().get(30); + getDescriptor().getMessageType(30); internal_static_google_logging_v2_GetLinkRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_logging_v2_GetLinkRequest_descriptor, new java.lang.String[] { "Name", }); - internal_static_google_logging_v2_LogExclusion_descriptor = - getDescriptor().getMessageTypes().get(31); + internal_static_google_logging_v2_LogExclusion_descriptor = getDescriptor().getMessageType(31); internal_static_google_logging_v2_LogExclusion_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_logging_v2_LogExclusion_descriptor, new java.lang.String[] { "Name", "Description", "Filter", "Disabled", "CreateTime", "UpdateTime", }); internal_static_google_logging_v2_ListExclusionsRequest_descriptor = - getDescriptor().getMessageTypes().get(32); + getDescriptor().getMessageType(32); internal_static_google_logging_v2_ListExclusionsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_logging_v2_ListExclusionsRequest_descriptor, new java.lang.String[] { "Parent", "PageToken", "PageSize", }); internal_static_google_logging_v2_ListExclusionsResponse_descriptor = - getDescriptor().getMessageTypes().get(33); + getDescriptor().getMessageType(33); internal_static_google_logging_v2_ListExclusionsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_logging_v2_ListExclusionsResponse_descriptor, new java.lang.String[] { "Exclusions", "NextPageToken", }); internal_static_google_logging_v2_GetExclusionRequest_descriptor = - getDescriptor().getMessageTypes().get(34); + getDescriptor().getMessageType(34); internal_static_google_logging_v2_GetExclusionRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_logging_v2_GetExclusionRequest_descriptor, new java.lang.String[] { "Name", }); internal_static_google_logging_v2_CreateExclusionRequest_descriptor = - getDescriptor().getMessageTypes().get(35); + getDescriptor().getMessageType(35); internal_static_google_logging_v2_CreateExclusionRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_logging_v2_CreateExclusionRequest_descriptor, new java.lang.String[] { "Parent", "Exclusion", }); internal_static_google_logging_v2_UpdateExclusionRequest_descriptor = - getDescriptor().getMessageTypes().get(36); + getDescriptor().getMessageType(36); internal_static_google_logging_v2_UpdateExclusionRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_logging_v2_UpdateExclusionRequest_descriptor, new java.lang.String[] { "Name", "Exclusion", "UpdateMask", }); internal_static_google_logging_v2_DeleteExclusionRequest_descriptor = - getDescriptor().getMessageTypes().get(37); + getDescriptor().getMessageType(37); internal_static_google_logging_v2_DeleteExclusionRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_logging_v2_DeleteExclusionRequest_descriptor, new java.lang.String[] { "Name", }); internal_static_google_logging_v2_GetCmekSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(38); + getDescriptor().getMessageType(38); internal_static_google_logging_v2_GetCmekSettingsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_logging_v2_GetCmekSettingsRequest_descriptor, new java.lang.String[] { "Name", }); internal_static_google_logging_v2_UpdateCmekSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(39); + getDescriptor().getMessageType(39); internal_static_google_logging_v2_UpdateCmekSettingsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_logging_v2_UpdateCmekSettingsRequest_descriptor, new java.lang.String[] { "Name", "CmekSettings", "UpdateMask", }); - internal_static_google_logging_v2_CmekSettings_descriptor = - getDescriptor().getMessageTypes().get(40); + internal_static_google_logging_v2_CmekSettings_descriptor = getDescriptor().getMessageType(40); internal_static_google_logging_v2_CmekSettings_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_logging_v2_CmekSettings_descriptor, new java.lang.String[] { "Name", "KmsKeyName", "KmsKeyVersionName", "ServiceAccountId", }); internal_static_google_logging_v2_GetSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(41); + getDescriptor().getMessageType(41); internal_static_google_logging_v2_GetSettingsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_logging_v2_GetSettingsRequest_descriptor, new java.lang.String[] { "Name", }); internal_static_google_logging_v2_UpdateSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(42); + getDescriptor().getMessageType(42); internal_static_google_logging_v2_UpdateSettingsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_logging_v2_UpdateSettingsRequest_descriptor, new java.lang.String[] { "Name", "Settings", "UpdateMask", }); - internal_static_google_logging_v2_Settings_descriptor = - getDescriptor().getMessageTypes().get(43); + internal_static_google_logging_v2_Settings_descriptor = getDescriptor().getMessageType(43); internal_static_google_logging_v2_Settings_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_logging_v2_Settings_descriptor, new java.lang.String[] { "Name", "KmsKeyName", "KmsServiceAccountId", "StorageLocation", "DisableDefaultSink", }); internal_static_google_logging_v2_CopyLogEntriesRequest_descriptor = - getDescriptor().getMessageTypes().get(44); + getDescriptor().getMessageType(44); internal_static_google_logging_v2_CopyLogEntriesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_logging_v2_CopyLogEntriesRequest_descriptor, new java.lang.String[] { "Name", "Filter", "Destination", }); internal_static_google_logging_v2_CopyLogEntriesMetadata_descriptor = - getDescriptor().getMessageTypes().get(45); + getDescriptor().getMessageType(45); internal_static_google_logging_v2_CopyLogEntriesMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_logging_v2_CopyLogEntriesMetadata_descriptor, new java.lang.String[] { "StartTime", @@ -1208,17 +1215,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "WriterIdentity", }); internal_static_google_logging_v2_CopyLogEntriesResponse_descriptor = - getDescriptor().getMessageTypes().get(46); + getDescriptor().getMessageType(46); internal_static_google_logging_v2_CopyLogEntriesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_logging_v2_CopyLogEntriesResponse_descriptor, new java.lang.String[] { "LogEntriesCopiedCount", }); internal_static_google_logging_v2_BucketMetadata_descriptor = - getDescriptor().getMessageTypes().get(47); + getDescriptor().getMessageType(47); internal_static_google_logging_v2_BucketMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_logging_v2_BucketMetadata_descriptor, new java.lang.String[] { "StartTime", @@ -1228,22 +1235,30 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "UpdateBucketRequest", "Request", }); - internal_static_google_logging_v2_LinkMetadata_descriptor = - getDescriptor().getMessageTypes().get(48); + internal_static_google_logging_v2_LinkMetadata_descriptor = getDescriptor().getMessageType(48); internal_static_google_logging_v2_LinkMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_logging_v2_LinkMetadata_descriptor, new java.lang.String[] { "StartTime", "EndTime", "State", "CreateLinkRequest", "DeleteLinkRequest", "Request", }); internal_static_google_logging_v2_LocationMetadata_descriptor = - getDescriptor().getMessageTypes().get(49); + getDescriptor().getMessageType(49); internal_static_google_logging_v2_LocationMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_logging_v2_LocationMetadata_descriptor, new java.lang.String[] { "LogAnalyticsEnabled", }); + descriptor.resolveAllFeaturesImmutable(); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.api.ClientProto.defaultHost); @@ -1257,14 +1272,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { registry.add(com.google.longrunning.OperationsProto.operationInfo); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingMetricsProto.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingMetricsProto.java index 3c4f72e3d..04fe47588 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingMetricsProto.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingMetricsProto.java @@ -14,14 +14,26 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_metrics.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; -public final class LoggingMetricsProto { +@com.google.protobuf.Generated +public final class LoggingMetricsProto extends com.google.protobuf.GeneratedFile { private LoggingMetricsProto() {} + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 0, + /* suffix= */ "", + "LoggingMetricsProto"); + } + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { @@ -30,35 +42,35 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_LogMetric_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_logging_v2_LogMetric_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_LogMetric_LabelExtractorsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_logging_v2_LogMetric_LabelExtractorsEntry_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_ListLogMetricsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_logging_v2_ListLogMetricsRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_ListLogMetricsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_logging_v2_ListLogMetricsResponse_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_GetLogMetricRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_logging_v2_GetLogMetricRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_CreateLogMetricRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_logging_v2_CreateLogMetricRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_UpdateLogMetricRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_logging_v2_UpdateLogMetricRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_DeleteLogMetricRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_logging_v2_DeleteLogMetricRequest_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -166,10 +178,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.protobuf.EmptyProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), }); - internal_static_google_logging_v2_LogMetric_descriptor = - getDescriptor().getMessageTypes().get(0); + internal_static_google_logging_v2_LogMetric_descriptor = getDescriptor().getMessageType(0); internal_static_google_logging_v2_LogMetric_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_logging_v2_LogMetric_descriptor, new java.lang.String[] { "Name", @@ -186,61 +197,70 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Version", }); internal_static_google_logging_v2_LogMetric_LabelExtractorsEntry_descriptor = - internal_static_google_logging_v2_LogMetric_descriptor.getNestedTypes().get(0); + internal_static_google_logging_v2_LogMetric_descriptor.getNestedType(0); internal_static_google_logging_v2_LogMetric_LabelExtractorsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_logging_v2_LogMetric_LabelExtractorsEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_google_logging_v2_ListLogMetricsRequest_descriptor = - getDescriptor().getMessageTypes().get(1); + getDescriptor().getMessageType(1); internal_static_google_logging_v2_ListLogMetricsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_logging_v2_ListLogMetricsRequest_descriptor, new java.lang.String[] { "Parent", "PageToken", "PageSize", }); internal_static_google_logging_v2_ListLogMetricsResponse_descriptor = - getDescriptor().getMessageTypes().get(2); + getDescriptor().getMessageType(2); internal_static_google_logging_v2_ListLogMetricsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_logging_v2_ListLogMetricsResponse_descriptor, new java.lang.String[] { "Metrics", "NextPageToken", }); internal_static_google_logging_v2_GetLogMetricRequest_descriptor = - getDescriptor().getMessageTypes().get(3); + getDescriptor().getMessageType(3); internal_static_google_logging_v2_GetLogMetricRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_logging_v2_GetLogMetricRequest_descriptor, new java.lang.String[] { "MetricName", }); internal_static_google_logging_v2_CreateLogMetricRequest_descriptor = - getDescriptor().getMessageTypes().get(4); + getDescriptor().getMessageType(4); internal_static_google_logging_v2_CreateLogMetricRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_logging_v2_CreateLogMetricRequest_descriptor, new java.lang.String[] { "Parent", "Metric", }); internal_static_google_logging_v2_UpdateLogMetricRequest_descriptor = - getDescriptor().getMessageTypes().get(5); + getDescriptor().getMessageType(5); internal_static_google_logging_v2_UpdateLogMetricRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_logging_v2_UpdateLogMetricRequest_descriptor, new java.lang.String[] { "MetricName", "Metric", }); internal_static_google_logging_v2_DeleteLogMetricRequest_descriptor = - getDescriptor().getMessageTypes().get(6); + getDescriptor().getMessageType(6); internal_static_google_logging_v2_DeleteLogMetricRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_logging_v2_DeleteLogMetricRequest_descriptor, new java.lang.String[] { "MetricName", }); + descriptor.resolveAllFeaturesImmutable(); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.DistributionProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.MetricProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.api.ClientProto.defaultHost); @@ -252,14 +272,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { registry.add(com.google.api.ResourceProto.resourceReference); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.DistributionProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.MetricProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingProto.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingProto.java index 61cb2d7db..4257e123c 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingProto.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingProto.java @@ -14,14 +14,26 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; -public final class LoggingProto { +@com.google.protobuf.Generated +public final class LoggingProto extends com.google.protobuf.GeneratedFile { private LoggingProto() {} + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 0, + /* suffix= */ "", + "LoggingProto"); + } + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { @@ -30,63 +42,63 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_DeleteLogRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_logging_v2_DeleteLogRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_WriteLogEntriesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_logging_v2_WriteLogEntriesRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_WriteLogEntriesRequest_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_logging_v2_WriteLogEntriesRequest_LabelsEntry_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_WriteLogEntriesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_logging_v2_WriteLogEntriesResponse_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_WriteLogEntriesPartialErrors_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_logging_v2_WriteLogEntriesPartialErrors_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_WriteLogEntriesPartialErrors_LogEntryErrorsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_logging_v2_WriteLogEntriesPartialErrors_LogEntryErrorsEntry_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_ListLogEntriesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_logging_v2_ListLogEntriesRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_ListLogEntriesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_logging_v2_ListLogEntriesResponse_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_ListMonitoredResourceDescriptorsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_logging_v2_ListMonitoredResourceDescriptorsRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_ListMonitoredResourceDescriptorsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_logging_v2_ListMonitoredResourceDescriptorsResponse_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_ListLogsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_logging_v2_ListLogsRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_ListLogsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_logging_v2_ListLogsResponse_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_TailLogEntriesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_logging_v2_TailLogEntriesRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_TailLogEntriesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_logging_v2_TailLogEntriesResponse_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_TailLogEntriesResponse_SuppressionInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static final com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_google_logging_v2_TailLogEntriesResponse_SuppressionInfo_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -225,125 +237,133 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.rpc.StatusProto.getDescriptor(), }); internal_static_google_logging_v2_DeleteLogRequest_descriptor = - getDescriptor().getMessageTypes().get(0); + getDescriptor().getMessageType(0); internal_static_google_logging_v2_DeleteLogRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_logging_v2_DeleteLogRequest_descriptor, new java.lang.String[] { "LogName", }); internal_static_google_logging_v2_WriteLogEntriesRequest_descriptor = - getDescriptor().getMessageTypes().get(1); + getDescriptor().getMessageType(1); internal_static_google_logging_v2_WriteLogEntriesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_logging_v2_WriteLogEntriesRequest_descriptor, new java.lang.String[] { "LogName", "Resource", "Labels", "Entries", "PartialSuccess", "DryRun", }); internal_static_google_logging_v2_WriteLogEntriesRequest_LabelsEntry_descriptor = - internal_static_google_logging_v2_WriteLogEntriesRequest_descriptor.getNestedTypes().get(0); + internal_static_google_logging_v2_WriteLogEntriesRequest_descriptor.getNestedType(0); internal_static_google_logging_v2_WriteLogEntriesRequest_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_logging_v2_WriteLogEntriesRequest_LabelsEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_google_logging_v2_WriteLogEntriesResponse_descriptor = - getDescriptor().getMessageTypes().get(2); + getDescriptor().getMessageType(2); internal_static_google_logging_v2_WriteLogEntriesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_logging_v2_WriteLogEntriesResponse_descriptor, new java.lang.String[] {}); internal_static_google_logging_v2_WriteLogEntriesPartialErrors_descriptor = - getDescriptor().getMessageTypes().get(3); + getDescriptor().getMessageType(3); internal_static_google_logging_v2_WriteLogEntriesPartialErrors_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_logging_v2_WriteLogEntriesPartialErrors_descriptor, new java.lang.String[] { "LogEntryErrors", }); internal_static_google_logging_v2_WriteLogEntriesPartialErrors_LogEntryErrorsEntry_descriptor = - internal_static_google_logging_v2_WriteLogEntriesPartialErrors_descriptor - .getNestedTypes() - .get(0); + internal_static_google_logging_v2_WriteLogEntriesPartialErrors_descriptor.getNestedType(0); internal_static_google_logging_v2_WriteLogEntriesPartialErrors_LogEntryErrorsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_logging_v2_WriteLogEntriesPartialErrors_LogEntryErrorsEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_google_logging_v2_ListLogEntriesRequest_descriptor = - getDescriptor().getMessageTypes().get(4); + getDescriptor().getMessageType(4); internal_static_google_logging_v2_ListLogEntriesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_logging_v2_ListLogEntriesRequest_descriptor, new java.lang.String[] { "ResourceNames", "Filter", "OrderBy", "PageSize", "PageToken", }); internal_static_google_logging_v2_ListLogEntriesResponse_descriptor = - getDescriptor().getMessageTypes().get(5); + getDescriptor().getMessageType(5); internal_static_google_logging_v2_ListLogEntriesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_logging_v2_ListLogEntriesResponse_descriptor, new java.lang.String[] { "Entries", "NextPageToken", }); internal_static_google_logging_v2_ListMonitoredResourceDescriptorsRequest_descriptor = - getDescriptor().getMessageTypes().get(6); + getDescriptor().getMessageType(6); internal_static_google_logging_v2_ListMonitoredResourceDescriptorsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_logging_v2_ListMonitoredResourceDescriptorsRequest_descriptor, new java.lang.String[] { "PageSize", "PageToken", }); internal_static_google_logging_v2_ListMonitoredResourceDescriptorsResponse_descriptor = - getDescriptor().getMessageTypes().get(7); + getDescriptor().getMessageType(7); internal_static_google_logging_v2_ListMonitoredResourceDescriptorsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_logging_v2_ListMonitoredResourceDescriptorsResponse_descriptor, new java.lang.String[] { "ResourceDescriptors", "NextPageToken", }); internal_static_google_logging_v2_ListLogsRequest_descriptor = - getDescriptor().getMessageTypes().get(8); + getDescriptor().getMessageType(8); internal_static_google_logging_v2_ListLogsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_logging_v2_ListLogsRequest_descriptor, new java.lang.String[] { "Parent", "ResourceNames", "PageSize", "PageToken", }); internal_static_google_logging_v2_ListLogsResponse_descriptor = - getDescriptor().getMessageTypes().get(9); + getDescriptor().getMessageType(9); internal_static_google_logging_v2_ListLogsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_logging_v2_ListLogsResponse_descriptor, new java.lang.String[] { "LogNames", "NextPageToken", }); internal_static_google_logging_v2_TailLogEntriesRequest_descriptor = - getDescriptor().getMessageTypes().get(10); + getDescriptor().getMessageType(10); internal_static_google_logging_v2_TailLogEntriesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_logging_v2_TailLogEntriesRequest_descriptor, new java.lang.String[] { "ResourceNames", "Filter", "BufferWindow", }); internal_static_google_logging_v2_TailLogEntriesResponse_descriptor = - getDescriptor().getMessageTypes().get(11); + getDescriptor().getMessageType(11); internal_static_google_logging_v2_TailLogEntriesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_logging_v2_TailLogEntriesResponse_descriptor, new java.lang.String[] { "Entries", "SuppressionInfo", }); internal_static_google_logging_v2_TailLogEntriesResponse_SuppressionInfo_descriptor = - internal_static_google_logging_v2_TailLogEntriesResponse_descriptor.getNestedTypes().get(0); + internal_static_google_logging_v2_TailLogEntriesResponse_descriptor.getNestedType(0); internal_static_google_logging_v2_TailLogEntriesResponse_SuppressionInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_google_logging_v2_TailLogEntriesResponse_SuppressionInfo_descriptor, new java.lang.String[] { "Reason", "SuppressedCount", }); + descriptor.resolveAllFeaturesImmutable(); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.MonitoredResourceProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.logging.v2.LogEntryProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.api.ClientProto.defaultHost); @@ -354,15 +374,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { registry.add(com.google.api.ResourceProto.resourceReference); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.MonitoredResourceProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.logging.v2.LogEntryProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/OperationState.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/OperationState.java index 247dc095c..5ccfc9a82 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/OperationState.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/OperationState.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -32,6 +33,7 @@ * * Protobuf enum {@code google.logging.v2.OperationState} */ +@com.google.protobuf.Generated public enum OperationState implements com.google.protobuf.ProtocolMessageEnum { /** * @@ -106,6 +108,16 @@ public enum OperationState implements com.google.protobuf.ProtocolMessageEnum { UNRECOGNIZED(-1), ; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 0, + /* suffix= */ "", + "OperationState"); + } + /** * * @@ -249,7 +261,7 @@ public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto.getDescriptor().getEnumTypes().get(0); } diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/Settings.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/Settings.java index 242320e09..b0c80d690 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/Settings.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/Settings.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -29,14 +30,25 @@ * * Protobuf type {@code google.logging.v2.Settings} */ -public final class Settings extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class Settings extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.logging.v2.Settings) SettingsOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 0, + /* suffix= */ "", + "Settings"); + } + // Use Settings.newBuilder() to construct. - private Settings(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private Settings(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -47,19 +59,13 @@ private Settings() { storageLocation_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Settings(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_Settings_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_Settings_fieldAccessorTable @@ -133,11 +139,11 @@ public com.google.protobuf.ByteString getNameBytes() { * * KMS key name format: * - * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" + * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" * * For example: * - * `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"` + * `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"` * * * @@ -183,11 +189,11 @@ public java.lang.String getKmsKeyName() { * * KMS key name format: * - * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" + * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" * * For example: * - * `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"` + * `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"` * * * @@ -393,17 +399,17 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyName_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, kmsKeyName_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(kmsKeyName_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, kmsKeyName_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsServiceAccountId_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, kmsServiceAccountId_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(kmsServiceAccountId_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 3, kmsServiceAccountId_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(storageLocation_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, storageLocation_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(storageLocation_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 4, storageLocation_); } if (disableDefaultSink_ != false) { output.writeBool(5, disableDefaultSink_); @@ -417,17 +423,17 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyName_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, kmsKeyName_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(kmsKeyName_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, kmsKeyName_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsServiceAccountId_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, kmsServiceAccountId_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(kmsServiceAccountId_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(3, kmsServiceAccountId_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(storageLocation_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, storageLocation_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(storageLocation_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(4, storageLocation_); } if (disableDefaultSink_ != false) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, disableDefaultSink_); @@ -514,38 +520,38 @@ public static com.google.logging.v2.Settings parseFrom( public static com.google.logging.v2.Settings parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.Settings parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.Settings parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.Settings parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.Settings parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.Settings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -568,7 +574,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -583,7 +589,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.logging.v2.Settings} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.Settings) com.google.logging.v2.SettingsOrBuilder { @@ -593,7 +599,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_Settings_fieldAccessorTable @@ -604,7 +610,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.logging.v2.Settings.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -669,39 +675,6 @@ private void buildPartial0(com.google.logging.v2.Settings result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.Settings) { @@ -933,11 +906,11 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * KMS key name format: * - * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" + * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" * * For example: * - * `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"` + * `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"` * * * @@ -982,11 +955,11 @@ public java.lang.String getKmsKeyName() { * * KMS key name format: * - * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" + * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" * * For example: * - * `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"` + * `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"` * * * @@ -1031,11 +1004,11 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() { * * KMS key name format: * - * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" + * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" * * For example: * - * `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"` + * `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"` * * * @@ -1079,11 +1052,11 @@ public Builder setKmsKeyName(java.lang.String value) { * * KMS key name format: * - * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" + * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" * * For example: * - * `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"` + * `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"` * * * @@ -1123,11 +1096,11 @@ public Builder clearKmsKeyName() { * * KMS key name format: * - * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" + * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" * * For example: * - * `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"` + * `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"` * * * @@ -1516,17 +1489,6 @@ public Builder clearDisableDefaultSink() { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.logging.v2.Settings) } diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/SettingsOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/SettingsOrBuilder.java index 2cc3f3bac..ee747ec35 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/SettingsOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/SettingsOrBuilder.java @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; +@com.google.protobuf.Generated public interface SettingsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.Settings) @@ -58,11 +60,11 @@ public interface SettingsOrBuilder * * KMS key name format: * - * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" + * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" * * For example: * - * `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"` + * `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"` * * * @@ -97,11 +99,11 @@ public interface SettingsOrBuilder * * KMS key name format: * - * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" + * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" * * For example: * - * `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"` + * `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"` * * * diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/TailLogEntriesRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/TailLogEntriesRequest.java index c772b8f69..5c542aa24 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/TailLogEntriesRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/TailLogEntriesRequest.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.logging.v2.TailLogEntriesRequest} */ -public final class TailLogEntriesRequest extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class TailLogEntriesRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.logging.v2.TailLogEntriesRequest) TailLogEntriesRequestOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 0, + /* suffix= */ "", + "TailLogEntriesRequest"); + } + // Use TailLogEntriesRequest.newBuilder() to construct. - private TailLogEntriesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private TailLogEntriesRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -44,19 +56,13 @@ private TailLogEntriesRequest() { filter_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new TailLogEntriesRequest(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingProto .internal_static_google_logging_v2_TailLogEntriesRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingProto .internal_static_google_logging_v2_TailLogEntriesRequest_fieldAccessorTable @@ -85,10 +91,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * 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/[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]` * * * repeated string resource_names = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -112,10 +118,10 @@ public com.google.protobuf.ProtocolStringList getResourceNamesList() { * * 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/[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]` * * * repeated string resource_names = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -139,10 +145,10 @@ public int getResourceNamesCount() { * * 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/[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]` * * * repeated string resource_names = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -167,10 +173,10 @@ public java.lang.String getResourceNames(int index) { * * 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/[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]` * * * repeated string resource_names = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -323,10 +329,10 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < resourceNames_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, resourceNames_.getRaw(i)); + com.google.protobuf.GeneratedMessage.writeString(output, 1, resourceNames_.getRaw(i)); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, filter_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(filter_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 2, filter_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(3, getBufferWindow()); @@ -348,8 +354,8 @@ public int getSerializedSize() { size += dataSize; size += 1 * getResourceNamesList().size(); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filter_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(filter_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(2, filter_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getBufferWindow()); @@ -439,38 +445,38 @@ public static com.google.logging.v2.TailLogEntriesRequest parseFrom( public static com.google.logging.v2.TailLogEntriesRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.TailLogEntriesRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.TailLogEntriesRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.TailLogEntriesRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.TailLogEntriesRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.TailLogEntriesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -493,7 +499,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -507,7 +513,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.logging.v2.TailLogEntriesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.TailLogEntriesRequest) com.google.logging.v2.TailLogEntriesRequestOrBuilder { @@ -517,7 +523,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingProto .internal_static_google_logging_v2_TailLogEntriesRequest_fieldAccessorTable @@ -531,14 +537,14 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getBufferWindowFieldBuilder(); + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetBufferWindowFieldBuilder(); } } @@ -605,39 +611,6 @@ private void buildPartial0(com.google.logging.v2.TailLogEntriesRequest result) { result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.TailLogEntriesRequest) { @@ -709,7 +682,8 @@ public Builder mergeFrom( } // case 18 case 26: { - input.readMessage(getBufferWindowFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage( + internalGetBufferWindowFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 26 @@ -755,10 +729,10 @@ private void ensureResourceNamesIsMutable() { * * 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/[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]` * * * repeated string resource_names = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -783,10 +757,10 @@ public com.google.protobuf.ProtocolStringList getResourceNamesList() { * * 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/[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]` * * * repeated string resource_names = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -810,10 +784,10 @@ public int getResourceNamesCount() { * * 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/[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]` * * * repeated string resource_names = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -838,10 +812,10 @@ public java.lang.String getResourceNames(int index) { * * 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/[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]` * * * repeated string resource_names = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -866,10 +840,10 @@ public com.google.protobuf.ByteString getResourceNamesBytes(int index) { * * 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/[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]` * * * repeated string resource_names = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -902,10 +876,10 @@ public Builder setResourceNames(int index, java.lang.String value) { * * 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/[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]` * * * repeated string resource_names = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -937,10 +911,10 @@ public Builder addResourceNames(java.lang.String value) { * * 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/[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]` * * * repeated string resource_names = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -969,10 +943,10 @@ public Builder addAllResourceNames(java.lang.Iterable values) * * 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/[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]` * * * repeated string resource_names = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -1000,10 +974,10 @@ public Builder clearResourceNames() { * * 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/[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]` * * * repeated string resource_names = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -1155,7 +1129,7 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { } private com.google.protobuf.Duration bufferWindow_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> @@ -1328,7 +1302,7 @@ public Builder clearBufferWindow() { public com.google.protobuf.Duration.Builder getBufferWindowBuilder() { bitField0_ |= 0x00000004; onChanged(); - return getBufferWindowFieldBuilder().getBuilder(); + return internalGetBufferWindowFieldBuilder().getBuilder(); } /** @@ -1367,14 +1341,14 @@ public com.google.protobuf.DurationOrBuilder getBufferWindowOrBuilder() { * .google.protobuf.Duration buffer_window = 3 [(.google.api.field_behavior) = OPTIONAL]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> - getBufferWindowFieldBuilder() { + internalGetBufferWindowFieldBuilder() { if (bufferWindowBuilder_ == null) { bufferWindowBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( @@ -1384,17 +1358,6 @@ public com.google.protobuf.DurationOrBuilder getBufferWindowOrBuilder() { return bufferWindowBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.logging.v2.TailLogEntriesRequest) } diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/TailLogEntriesRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/TailLogEntriesRequestOrBuilder.java index 102880e17..ea33c7fb0 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/TailLogEntriesRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/TailLogEntriesRequestOrBuilder.java @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; +@com.google.protobuf.Generated public interface TailLogEntriesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.TailLogEntriesRequest) @@ -37,10 +39,10 @@ public interface TailLogEntriesRequestOrBuilder * * 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/[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]` * * * repeated string resource_names = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -62,10 +64,10 @@ public interface TailLogEntriesRequestOrBuilder * * 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/[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]` * * * repeated string resource_names = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -87,10 +89,10 @@ public interface TailLogEntriesRequestOrBuilder * * 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/[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]` * * * repeated string resource_names = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -113,10 +115,10 @@ public interface TailLogEntriesRequestOrBuilder * * 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/[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]` * * * repeated string resource_names = 1 [(.google.api.field_behavior) = REQUIRED]; diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/TailLogEntriesResponse.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/TailLogEntriesResponse.java index 6e2609fc1..53eed67ee 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/TailLogEntriesResponse.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/TailLogEntriesResponse.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.logging.v2.TailLogEntriesResponse} */ -public final class TailLogEntriesResponse extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class TailLogEntriesResponse extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.logging.v2.TailLogEntriesResponse) TailLogEntriesResponseOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 0, + /* suffix= */ "", + "TailLogEntriesResponse"); + } + // Use TailLogEntriesResponse.newBuilder() to construct. - private TailLogEntriesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private TailLogEntriesResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -44,19 +56,13 @@ private TailLogEntriesResponse() { suppressionInfo_ = java.util.Collections.emptyList(); } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new TailLogEntriesResponse(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingProto .internal_static_google_logging_v2_TailLogEntriesResponse_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingProto .internal_static_google_logging_v2_TailLogEntriesResponse_fieldAccessorTable @@ -119,14 +125,24 @@ public interface SuppressionInfoOrBuilder * * Protobuf type {@code google.logging.v2.TailLogEntriesResponse.SuppressionInfo} */ - public static final class SuppressionInfo extends com.google.protobuf.GeneratedMessageV3 + public static final class SuppressionInfo extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.logging.v2.TailLogEntriesResponse.SuppressionInfo) SuppressionInfoOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 0, + /* suffix= */ "", + "SuppressionInfo"); + } + // Use SuppressionInfo.newBuilder() to construct. - private SuppressionInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private SuppressionInfo(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -134,19 +150,13 @@ private SuppressionInfo() { reason_ = 0; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new SuppressionInfo(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingProto .internal_static_google_logging_v2_TailLogEntriesResponse_SuppressionInfo_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingProto .internal_static_google_logging_v2_TailLogEntriesResponse_SuppressionInfo_fieldAccessorTable @@ -202,6 +212,16 @@ public enum Reason implements com.google.protobuf.ProtocolMessageEnum { UNRECOGNIZED(-1), ; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 0, + /* suffix= */ "", + "Reason"); + } + /** * * @@ -297,7 +317,7 @@ public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo.getDescriptor() .getEnumTypes() .get(0); @@ -496,38 +516,38 @@ public static com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo parse public static com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo parseFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -551,8 +571,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -566,8 +585,7 @@ protected Builder newBuilderForType( * * Protobuf type {@code google.logging.v2.TailLogEntriesResponse.SuppressionInfo} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.TailLogEntriesResponse.SuppressionInfo) com.google.logging.v2.TailLogEntriesResponse.SuppressionInfoOrBuilder { @@ -577,7 +595,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingProto .internal_static_google_logging_v2_TailLogEntriesResponse_SuppressionInfo_fieldAccessorTable @@ -589,7 +607,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -645,41 +663,6 @@ private void buildPartial0( } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo) { @@ -911,18 +894,6 @@ public Builder clearSuppressedCount() { return this; } - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.logging.v2.TailLogEntriesResponse.SuppressionInfo) } @@ -1284,38 +1255,38 @@ public static com.google.logging.v2.TailLogEntriesResponse parseFrom( public static com.google.logging.v2.TailLogEntriesResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.TailLogEntriesResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.TailLogEntriesResponse parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.TailLogEntriesResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.TailLogEntriesResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.TailLogEntriesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -1338,7 +1309,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -1352,7 +1323,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.logging.v2.TailLogEntriesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.TailLogEntriesResponse) com.google.logging.v2.TailLogEntriesResponseOrBuilder { @@ -1362,7 +1333,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingProto .internal_static_google_logging_v2_TailLogEntriesResponse_fieldAccessorTable @@ -1374,7 +1345,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.logging.v2.TailLogEntriesResponse.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -1456,39 +1427,6 @@ private void buildPartial0(com.google.logging.v2.TailLogEntriesResponse result) int from_bitField0_ = bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.TailLogEntriesResponse) { @@ -1520,8 +1458,8 @@ public Builder mergeFrom(com.google.logging.v2.TailLogEntriesResponse other) { entries_ = other.entries_; bitField0_ = (bitField0_ & ~0x00000001); entriesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getEntriesFieldBuilder() + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders + ? internalGetEntriesFieldBuilder() : null; } else { entriesBuilder_.addAllMessages(other.entries_); @@ -1547,8 +1485,8 @@ public Builder mergeFrom(com.google.logging.v2.TailLogEntriesResponse other) { suppressionInfo_ = other.suppressionInfo_; bitField0_ = (bitField0_ & ~0x00000002); suppressionInfoBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getSuppressionInfoFieldBuilder() + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders + ? internalGetSuppressionInfoFieldBuilder() : null; } else { suppressionInfoBuilder_.addAllMessages(other.suppressionInfo_); @@ -1636,7 +1574,7 @@ private void ensureEntriesIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.logging.v2.LogEntry, com.google.logging.v2.LogEntry.Builder, com.google.logging.v2.LogEntryOrBuilder> @@ -1919,7 +1857,7 @@ public Builder removeEntries(int index) { * repeated .google.logging.v2.LogEntry entries = 1; */ public com.google.logging.v2.LogEntry.Builder getEntriesBuilder(int index) { - return getEntriesFieldBuilder().getBuilder(index); + return internalGetEntriesFieldBuilder().getBuilder(index); } /** @@ -1973,7 +1911,7 @@ public com.google.logging.v2.LogEntryOrBuilder getEntriesOrBuilder(int index) { * repeated .google.logging.v2.LogEntry entries = 1; */ public com.google.logging.v2.LogEntry.Builder addEntriesBuilder() { - return getEntriesFieldBuilder() + return internalGetEntriesFieldBuilder() .addBuilder(com.google.logging.v2.LogEntry.getDefaultInstance()); } @@ -1989,7 +1927,7 @@ public com.google.logging.v2.LogEntry.Builder addEntriesBuilder() { * repeated .google.logging.v2.LogEntry entries = 1; */ public com.google.logging.v2.LogEntry.Builder addEntriesBuilder(int index) { - return getEntriesFieldBuilder() + return internalGetEntriesFieldBuilder() .addBuilder(index, com.google.logging.v2.LogEntry.getDefaultInstance()); } @@ -2005,17 +1943,17 @@ public com.google.logging.v2.LogEntry.Builder addEntriesBuilder(int index) { * repeated .google.logging.v2.LogEntry entries = 1; */ public java.util.List getEntriesBuilderList() { - return getEntriesFieldBuilder().getBuilderList(); + return internalGetEntriesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.logging.v2.LogEntry, com.google.logging.v2.LogEntry.Builder, com.google.logging.v2.LogEntryOrBuilder> - getEntriesFieldBuilder() { + internalGetEntriesFieldBuilder() { if (entriesBuilder_ == null) { entriesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.logging.v2.LogEntry, com.google.logging.v2.LogEntry.Builder, com.google.logging.v2.LogEntryOrBuilder>( @@ -2037,7 +1975,7 @@ private void ensureSuppressionInfoIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo, com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo.Builder, com.google.logging.v2.TailLogEntriesResponse.SuppressionInfoOrBuilder> @@ -2384,7 +2322,7 @@ public Builder removeSuppressionInfo(int index) { */ public com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo.Builder getSuppressionInfoBuilder(int index) { - return getSuppressionInfoFieldBuilder().getBuilder(index); + return internalGetSuppressionInfoFieldBuilder().getBuilder(index); } /** @@ -2453,7 +2391,7 @@ public Builder removeSuppressionInfo(int index) { */ public com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo.Builder addSuppressionInfoBuilder() { - return getSuppressionInfoFieldBuilder() + return internalGetSuppressionInfoFieldBuilder() .addBuilder( com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo.getDefaultInstance()); } @@ -2475,7 +2413,7 @@ public Builder removeSuppressionInfo(int index) { */ public com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo.Builder addSuppressionInfoBuilder(int index) { - return getSuppressionInfoFieldBuilder() + return internalGetSuppressionInfoFieldBuilder() .addBuilder( index, com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo.getDefaultInstance()); @@ -2498,17 +2436,17 @@ public Builder removeSuppressionInfo(int index) { */ public java.util.List getSuppressionInfoBuilderList() { - return getSuppressionInfoFieldBuilder().getBuilderList(); + return internalGetSuppressionInfoFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo, com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo.Builder, com.google.logging.v2.TailLogEntriesResponse.SuppressionInfoOrBuilder> - getSuppressionInfoFieldBuilder() { + internalGetSuppressionInfoFieldBuilder() { if (suppressionInfoBuilder_ == null) { suppressionInfoBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo, com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo.Builder, com.google.logging.v2.TailLogEntriesResponse.SuppressionInfoOrBuilder>( @@ -2521,17 +2459,6 @@ public Builder removeSuppressionInfo(int index) { return suppressionInfoBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.logging.v2.TailLogEntriesResponse) } diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/TailLogEntriesResponseOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/TailLogEntriesResponseOrBuilder.java index a411989b4..69c6ef7b0 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/TailLogEntriesResponseOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/TailLogEntriesResponseOrBuilder.java @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; +@com.google.protobuf.Generated public interface TailLogEntriesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.TailLogEntriesResponse) diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UndeleteBucketRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UndeleteBucketRequest.java index dc8f45881..fa91ad363 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UndeleteBucketRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UndeleteBucketRequest.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.logging.v2.UndeleteBucketRequest} */ -public final class UndeleteBucketRequest extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class UndeleteBucketRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.logging.v2.UndeleteBucketRequest) UndeleteBucketRequestOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 0, + /* suffix= */ "", + "UndeleteBucketRequest"); + } + // Use UndeleteBucketRequest.newBuilder() to construct. - private UndeleteBucketRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private UndeleteBucketRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -43,19 +55,13 @@ private UndeleteBucketRequest() { name_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new UndeleteBucketRequest(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_UndeleteBucketRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_UndeleteBucketRequest_fieldAccessorTable @@ -75,14 +81,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { *
    * Required. The full resource name of the bucket to undelete.
    *
-   *     "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]"
+   * "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"`
+   * `"projects/my-project/locations/global/buckets/my-bucket"`
    * 
* * @@ -110,14 +116,14 @@ public java.lang.String getName() { *
    * Required. The full resource name of the bucket to undelete.
    *
-   *     "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]"
+   * "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"`
+   * `"projects/my-project/locations/global/buckets/my-bucket"`
    * 
* * @@ -153,8 +159,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); } getUnknownFields().writeTo(output); } @@ -165,8 +171,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -240,38 +246,38 @@ public static com.google.logging.v2.UndeleteBucketRequest parseFrom( public static com.google.logging.v2.UndeleteBucketRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.UndeleteBucketRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.UndeleteBucketRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.UndeleteBucketRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.UndeleteBucketRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.UndeleteBucketRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -294,7 +300,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -308,7 +314,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.logging.v2.UndeleteBucketRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.UndeleteBucketRequest) com.google.logging.v2.UndeleteBucketRequestOrBuilder { @@ -318,7 +324,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_UndeleteBucketRequest_fieldAccessorTable @@ -330,7 +336,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.logging.v2.UndeleteBucketRequest.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -380,39 +386,6 @@ private void buildPartial0(com.google.logging.v2.UndeleteBucketRequest result) { } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.UndeleteBucketRequest) { @@ -489,14 +462,14 @@ public Builder mergeFrom( *
      * Required. The full resource name of the bucket to undelete.
      *
-     *     "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]"
+     * "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"`
+     * `"projects/my-project/locations/global/buckets/my-bucket"`
      * 
* * @@ -523,14 +496,14 @@ public java.lang.String getName() { *
      * Required. The full resource name of the bucket to undelete.
      *
-     *     "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]"
+     * "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"`
+     * `"projects/my-project/locations/global/buckets/my-bucket"`
      * 
* * @@ -557,14 +530,14 @@ public com.google.protobuf.ByteString getNameBytes() { *
      * Required. The full resource name of the bucket to undelete.
      *
-     *     "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]"
+     * "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"`
+     * `"projects/my-project/locations/global/buckets/my-bucket"`
      * 
* * @@ -590,14 +563,14 @@ public Builder setName(java.lang.String value) { *
      * Required. The full resource name of the bucket to undelete.
      *
-     *     "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]"
+     * "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"`
+     * `"projects/my-project/locations/global/buckets/my-bucket"`
      * 
* * @@ -619,14 +592,14 @@ public Builder clearName() { *
      * Required. The full resource name of the bucket to undelete.
      *
-     *     "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]"
+     * "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"`
+     * `"projects/my-project/locations/global/buckets/my-bucket"`
      * 
* * @@ -647,17 +620,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.logging.v2.UndeleteBucketRequest) } diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UndeleteBucketRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UndeleteBucketRequestOrBuilder.java index e7177d777..cac84cf11 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UndeleteBucketRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UndeleteBucketRequestOrBuilder.java @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; +@com.google.protobuf.Generated public interface UndeleteBucketRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.UndeleteBucketRequest) @@ -30,14 +32,14 @@ public interface UndeleteBucketRequestOrBuilder *
    * Required. The full resource name of the bucket to undelete.
    *
-   *     "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]"
+   * "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"`
+   * `"projects/my-project/locations/global/buckets/my-bucket"`
    * 
* * @@ -54,14 +56,14 @@ public interface UndeleteBucketRequestOrBuilder *
    * Required. The full resource name of the bucket to undelete.
    *
-   *     "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]"
+   * "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"`
+   * `"projects/my-project/locations/global/buckets/my-bucket"`
    * 
* * diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateBucketRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateBucketRequest.java index d9614314b..9a3a1ad66 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateBucketRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateBucketRequest.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.logging.v2.UpdateBucketRequest} */ -public final class UpdateBucketRequest extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class UpdateBucketRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.logging.v2.UpdateBucketRequest) UpdateBucketRequestOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 0, + /* suffix= */ "", + "UpdateBucketRequest"); + } + // Use UpdateBucketRequest.newBuilder() to construct. - private UpdateBucketRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private UpdateBucketRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -43,19 +55,13 @@ private UpdateBucketRequest() { name_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new UpdateBucketRequest(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_UpdateBucketRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_UpdateBucketRequest_fieldAccessorTable @@ -76,14 +82,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { *
    * Required. The full resource name of the bucket to update.
    *
-   *     "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]"
+   * "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"`
+   * `"projects/my-project/locations/global/buckets/my-bucket"`
    * 
* * @@ -111,14 +117,14 @@ public java.lang.String getName() { *
    * Required. The full resource name of the bucket to update.
    *
-   *     "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]"
+   * "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"`
+   * `"projects/my-project/locations/global/buckets/my-bucket"`
    * 
* * @@ -276,8 +282,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getBucket()); @@ -294,8 +300,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getBucket()); @@ -391,38 +397,38 @@ public static com.google.logging.v2.UpdateBucketRequest parseFrom( public static com.google.logging.v2.UpdateBucketRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.UpdateBucketRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.UpdateBucketRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.UpdateBucketRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.UpdateBucketRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.UpdateBucketRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -445,7 +451,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -459,7 +465,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.logging.v2.UpdateBucketRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.UpdateBucketRequest) com.google.logging.v2.UpdateBucketRequestOrBuilder { @@ -469,7 +475,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_UpdateBucketRequest_fieldAccessorTable @@ -483,15 +489,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getBucketFieldBuilder(); - getUpdateMaskFieldBuilder(); + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetBucketFieldBuilder(); + internalGetUpdateMaskFieldBuilder(); } } @@ -561,39 +567,6 @@ private void buildPartial0(com.google.logging.v2.UpdateBucketRequest result) { result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.UpdateBucketRequest) { @@ -651,13 +624,14 @@ public Builder mergeFrom( } // case 10 case 18: { - input.readMessage(getBucketFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage(internalGetBucketFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 18 case 34: { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage( + internalGetUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 34 @@ -688,14 +662,14 @@ public Builder mergeFrom( *
      * Required. The full resource name of the bucket to update.
      *
-     *     "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]"
+     * "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"`
+     * `"projects/my-project/locations/global/buckets/my-bucket"`
      * 
* * @@ -722,14 +696,14 @@ public java.lang.String getName() { *
      * Required. The full resource name of the bucket to update.
      *
-     *     "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]"
+     * "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"`
+     * `"projects/my-project/locations/global/buckets/my-bucket"`
      * 
* * @@ -756,14 +730,14 @@ public com.google.protobuf.ByteString getNameBytes() { *
      * Required. The full resource name of the bucket to update.
      *
-     *     "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]"
+     * "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"`
+     * `"projects/my-project/locations/global/buckets/my-bucket"`
      * 
* * @@ -789,14 +763,14 @@ public Builder setName(java.lang.String value) { *
      * Required. The full resource name of the bucket to update.
      *
-     *     "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]"
+     * "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"`
+     * `"projects/my-project/locations/global/buckets/my-bucket"`
      * 
* * @@ -818,14 +792,14 @@ public Builder clearName() { *
      * Required. The full resource name of the bucket to update.
      *
-     *     "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]"
+     * "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"`
+     * `"projects/my-project/locations/global/buckets/my-bucket"`
      * 
* * @@ -847,7 +821,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { } private com.google.logging.v2.LogBucket bucket_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.logging.v2.LogBucket, com.google.logging.v2.LogBucket.Builder, com.google.logging.v2.LogBucketOrBuilder> @@ -997,7 +971,7 @@ public Builder clearBucket() { public com.google.logging.v2.LogBucket.Builder getBucketBuilder() { bitField0_ |= 0x00000002; onChanged(); - return getBucketFieldBuilder().getBuilder(); + return internalGetBucketFieldBuilder().getBuilder(); } /** @@ -1028,14 +1002,14 @@ public com.google.logging.v2.LogBucketOrBuilder getBucketOrBuilder() { * .google.logging.v2.LogBucket bucket = 2 [(.google.api.field_behavior) = REQUIRED]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.logging.v2.LogBucket, com.google.logging.v2.LogBucket.Builder, com.google.logging.v2.LogBucketOrBuilder> - getBucketFieldBuilder() { + internalGetBucketFieldBuilder() { if (bucketBuilder_ == null) { bucketBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.logging.v2.LogBucket, com.google.logging.v2.LogBucket.Builder, com.google.logging.v2.LogBucketOrBuilder>( @@ -1046,7 +1020,7 @@ public com.google.logging.v2.LogBucketOrBuilder getBucketOrBuilder() { } private com.google.protobuf.FieldMask updateMask_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> @@ -1247,7 +1221,7 @@ public Builder clearUpdateMask() { public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000004; onChanged(); - return getUpdateMaskFieldBuilder().getBuilder(); + return internalGetUpdateMaskFieldBuilder().getBuilder(); } /** @@ -1294,14 +1268,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> - getUpdateMaskFieldBuilder() { + internalGetUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( @@ -1311,17 +1285,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.logging.v2.UpdateBucketRequest) } diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateBucketRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateBucketRequestOrBuilder.java index b05202d9d..2c9b00a4d 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateBucketRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateBucketRequestOrBuilder.java @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; +@com.google.protobuf.Generated public interface UpdateBucketRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.UpdateBucketRequest) @@ -30,14 +32,14 @@ public interface UpdateBucketRequestOrBuilder *
    * Required. The full resource name of the bucket to update.
    *
-   *     "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]"
+   * "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"`
+   * `"projects/my-project/locations/global/buckets/my-bucket"`
    * 
* * @@ -54,14 +56,14 @@ public interface UpdateBucketRequestOrBuilder *
    * Required. The full resource name of the bucket to update.
    *
-   *     "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]"
+   * "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"`
+   * `"projects/my-project/locations/global/buckets/my-bucket"`
    * 
* * diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateCmekSettingsRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateCmekSettingsRequest.java index dc4d73991..3f47e2c1e 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateCmekSettingsRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateCmekSettingsRequest.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -33,14 +34,25 @@ * * Protobuf type {@code google.logging.v2.UpdateCmekSettingsRequest} */ -public final class UpdateCmekSettingsRequest extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class UpdateCmekSettingsRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.logging.v2.UpdateCmekSettingsRequest) UpdateCmekSettingsRequestOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 0, + /* suffix= */ "", + "UpdateCmekSettingsRequest"); + } + // Use UpdateCmekSettingsRequest.newBuilder() to construct. - private UpdateCmekSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private UpdateCmekSettingsRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -48,19 +60,13 @@ private UpdateCmekSettingsRequest() { name_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new UpdateCmekSettingsRequest(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_UpdateCmekSettingsRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_UpdateCmekSettingsRequest_fieldAccessorTable @@ -81,14 +87,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { *
    * Required. The resource name for the CMEK settings to update.
    *
-   *     "projects/[PROJECT_ID]/cmekSettings"
-   *     "organizations/[ORGANIZATION_ID]/cmekSettings"
-   *     "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
-   *     "folders/[FOLDER_ID]/cmekSettings"
+   * "projects/[PROJECT_ID]/cmekSettings"
+   * "organizations/[ORGANIZATION_ID]/cmekSettings"
+   * "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
+   * "folders/[FOLDER_ID]/cmekSettings"
    *
    * For example:
    *
-   *   `"organizations/12345/cmekSettings"`
+   * `"organizations/12345/cmekSettings"`
    *
    * Note: CMEK for the Log Router can currently only be configured for Google
    * Cloud organizations. Once configured, it applies to all projects and
@@ -118,14 +124,14 @@ public java.lang.String getName() {
    * 
    * Required. The resource name for the CMEK settings to update.
    *
-   *     "projects/[PROJECT_ID]/cmekSettings"
-   *     "organizations/[ORGANIZATION_ID]/cmekSettings"
-   *     "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
-   *     "folders/[FOLDER_ID]/cmekSettings"
+   * "projects/[PROJECT_ID]/cmekSettings"
+   * "organizations/[ORGANIZATION_ID]/cmekSettings"
+   * "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
+   * "folders/[FOLDER_ID]/cmekSettings"
    *
    * For example:
    *
-   *   `"organizations/12345/cmekSettings"`
+   * `"organizations/12345/cmekSettings"`
    *
    * Note: CMEK for the Log Router can currently only be configured for Google
    * Cloud organizations. Once configured, it applies to all projects and
@@ -304,8 +310,8 @@ public final boolean isInitialized() {
 
   @java.lang.Override
   public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
-    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
-      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
+    if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) {
+      com.google.protobuf.GeneratedMessage.writeString(output, 1, name_);
     }
     if (((bitField0_ & 0x00000001) != 0)) {
       output.writeMessage(2, getCmekSettings());
@@ -322,8 +328,8 @@ public int getSerializedSize() {
     if (size != -1) return size;
 
     size = 0;
-    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
-      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
+    if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) {
+      size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_);
     }
     if (((bitField0_ & 0x00000001) != 0)) {
       size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCmekSettings());
@@ -419,38 +425,38 @@ public static com.google.logging.v2.UpdateCmekSettingsRequest parseFrom(
 
   public static com.google.logging.v2.UpdateCmekSettingsRequest parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
   }
 
   public static com.google.logging.v2.UpdateCmekSettingsRequest parseFrom(
       java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+    return com.google.protobuf.GeneratedMessage.parseWithIOException(
         PARSER, input, extensionRegistry);
   }
 
   public static com.google.logging.v2.UpdateCmekSettingsRequest parseDelimitedFrom(
       java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.logging.v2.UpdateCmekSettingsRequest parseDelimitedFrom(
       java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+    return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
         PARSER, input, extensionRegistry);
   }
 
   public static com.google.logging.v2.UpdateCmekSettingsRequest parseFrom(
       com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
   }
 
   public static com.google.logging.v2.UpdateCmekSettingsRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+    return com.google.protobuf.GeneratedMessage.parseWithIOException(
         PARSER, input, extensionRegistry);
   }
 
@@ -473,7 +479,7 @@ public Builder toBuilder() {
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
@@ -492,7 +498,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.logging.v2.UpdateCmekSettingsRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+  public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
       implements
       // @@protoc_insertion_point(builder_implements:google.logging.v2.UpdateCmekSettingsRequest)
       com.google.logging.v2.UpdateCmekSettingsRequestOrBuilder {
@@ -502,7 +508,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     }
 
     @java.lang.Override
-    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
         internalGetFieldAccessorTable() {
       return com.google.logging.v2.LoggingConfigProto
           .internal_static_google_logging_v2_UpdateCmekSettingsRequest_fieldAccessorTable
@@ -516,15 +522,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
 
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
-        getCmekSettingsFieldBuilder();
-        getUpdateMaskFieldBuilder();
+      if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
+        internalGetCmekSettingsFieldBuilder();
+        internalGetUpdateMaskFieldBuilder();
       }
     }
 
@@ -595,39 +601,6 @@ private void buildPartial0(com.google.logging.v2.UpdateCmekSettingsRequest resul
       result.bitField0_ |= to_bitField0_;
     }
 
-    @java.lang.Override
-    public Builder clone() {
-      return super.clone();
-    }
-
-    @java.lang.Override
-    public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
-      return super.setField(field, value);
-    }
-
-    @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
-      return super.clearField(field);
-    }
-
-    @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
-      return super.clearOneof(oneof);
-    }
-
-    @java.lang.Override
-    public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
-      return super.setRepeatedField(field, index, value);
-    }
-
-    @java.lang.Override
-    public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
-      return super.addRepeatedField(field, value);
-    }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.logging.v2.UpdateCmekSettingsRequest) {
@@ -686,13 +659,15 @@ public Builder mergeFrom(
               } // case 10
             case 18:
               {
-                input.readMessage(getCmekSettingsFieldBuilder().getBuilder(), extensionRegistry);
+                input.readMessage(
+                    internalGetCmekSettingsFieldBuilder().getBuilder(), extensionRegistry);
                 bitField0_ |= 0x00000002;
                 break;
               } // case 18
             case 26:
               {
-                input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
+                input.readMessage(
+                    internalGetUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
                 bitField0_ |= 0x00000004;
                 break;
               } // case 26
@@ -723,14 +698,14 @@ public Builder mergeFrom(
      * 
      * Required. The resource name for the CMEK settings to update.
      *
-     *     "projects/[PROJECT_ID]/cmekSettings"
-     *     "organizations/[ORGANIZATION_ID]/cmekSettings"
-     *     "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
-     *     "folders/[FOLDER_ID]/cmekSettings"
+     * "projects/[PROJECT_ID]/cmekSettings"
+     * "organizations/[ORGANIZATION_ID]/cmekSettings"
+     * "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
+     * "folders/[FOLDER_ID]/cmekSettings"
      *
      * For example:
      *
-     *   `"organizations/12345/cmekSettings"`
+     * `"organizations/12345/cmekSettings"`
      *
      * Note: CMEK for the Log Router can currently only be configured for Google
      * Cloud organizations. Once configured, it applies to all projects and
@@ -759,14 +734,14 @@ public java.lang.String getName() {
      * 
      * Required. The resource name for the CMEK settings to update.
      *
-     *     "projects/[PROJECT_ID]/cmekSettings"
-     *     "organizations/[ORGANIZATION_ID]/cmekSettings"
-     *     "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
-     *     "folders/[FOLDER_ID]/cmekSettings"
+     * "projects/[PROJECT_ID]/cmekSettings"
+     * "organizations/[ORGANIZATION_ID]/cmekSettings"
+     * "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
+     * "folders/[FOLDER_ID]/cmekSettings"
      *
      * For example:
      *
-     *   `"organizations/12345/cmekSettings"`
+     * `"organizations/12345/cmekSettings"`
      *
      * Note: CMEK for the Log Router can currently only be configured for Google
      * Cloud organizations. Once configured, it applies to all projects and
@@ -795,14 +770,14 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
      * Required. The resource name for the CMEK settings to update.
      *
-     *     "projects/[PROJECT_ID]/cmekSettings"
-     *     "organizations/[ORGANIZATION_ID]/cmekSettings"
-     *     "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
-     *     "folders/[FOLDER_ID]/cmekSettings"
+     * "projects/[PROJECT_ID]/cmekSettings"
+     * "organizations/[ORGANIZATION_ID]/cmekSettings"
+     * "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
+     * "folders/[FOLDER_ID]/cmekSettings"
      *
      * For example:
      *
-     *   `"organizations/12345/cmekSettings"`
+     * `"organizations/12345/cmekSettings"`
      *
      * Note: CMEK for the Log Router can currently only be configured for Google
      * Cloud organizations. Once configured, it applies to all projects and
@@ -830,14 +805,14 @@ public Builder setName(java.lang.String value) {
      * 
      * Required. The resource name for the CMEK settings to update.
      *
-     *     "projects/[PROJECT_ID]/cmekSettings"
-     *     "organizations/[ORGANIZATION_ID]/cmekSettings"
-     *     "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
-     *     "folders/[FOLDER_ID]/cmekSettings"
+     * "projects/[PROJECT_ID]/cmekSettings"
+     * "organizations/[ORGANIZATION_ID]/cmekSettings"
+     * "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
+     * "folders/[FOLDER_ID]/cmekSettings"
      *
      * For example:
      *
-     *   `"organizations/12345/cmekSettings"`
+     * `"organizations/12345/cmekSettings"`
      *
      * Note: CMEK for the Log Router can currently only be configured for Google
      * Cloud organizations. Once configured, it applies to all projects and
@@ -861,14 +836,14 @@ public Builder clearName() {
      * 
      * Required. The resource name for the CMEK settings to update.
      *
-     *     "projects/[PROJECT_ID]/cmekSettings"
-     *     "organizations/[ORGANIZATION_ID]/cmekSettings"
-     *     "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
-     *     "folders/[FOLDER_ID]/cmekSettings"
+     * "projects/[PROJECT_ID]/cmekSettings"
+     * "organizations/[ORGANIZATION_ID]/cmekSettings"
+     * "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
+     * "folders/[FOLDER_ID]/cmekSettings"
      *
      * For example:
      *
-     *   `"organizations/12345/cmekSettings"`
+     * `"organizations/12345/cmekSettings"`
      *
      * Note: CMEK for the Log Router can currently only be configured for Google
      * Cloud organizations. Once configured, it applies to all projects and
@@ -892,7 +867,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
     }
 
     private com.google.logging.v2.CmekSettings cmekSettings_;
-    private com.google.protobuf.SingleFieldBuilderV3<
+    private com.google.protobuf.SingleFieldBuilder<
             com.google.logging.v2.CmekSettings,
             com.google.logging.v2.CmekSettings.Builder,
             com.google.logging.v2.CmekSettingsOrBuilder>
@@ -1079,7 +1054,7 @@ public Builder clearCmekSettings() {
     public com.google.logging.v2.CmekSettings.Builder getCmekSettingsBuilder() {
       bitField0_ |= 0x00000002;
       onChanged();
-      return getCmekSettingsFieldBuilder().getBuilder();
+      return internalGetCmekSettingsFieldBuilder().getBuilder();
     }
 
     /**
@@ -1122,14 +1097,14 @@ public com.google.logging.v2.CmekSettingsOrBuilder getCmekSettingsOrBuilder() {
      * .google.logging.v2.CmekSettings cmek_settings = 2 [(.google.api.field_behavior) = REQUIRED];
      * 
      */
-    private com.google.protobuf.SingleFieldBuilderV3<
+    private com.google.protobuf.SingleFieldBuilder<
             com.google.logging.v2.CmekSettings,
             com.google.logging.v2.CmekSettings.Builder,
             com.google.logging.v2.CmekSettingsOrBuilder>
-        getCmekSettingsFieldBuilder() {
+        internalGetCmekSettingsFieldBuilder() {
       if (cmekSettingsBuilder_ == null) {
         cmekSettingsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
+            new com.google.protobuf.SingleFieldBuilder<
                 com.google.logging.v2.CmekSettings,
                 com.google.logging.v2.CmekSettings.Builder,
                 com.google.logging.v2.CmekSettingsOrBuilder>(
@@ -1140,7 +1115,7 @@ public com.google.logging.v2.CmekSettingsOrBuilder getCmekSettingsOrBuilder() {
     }
 
     private com.google.protobuf.FieldMask updateMask_;
-    private com.google.protobuf.SingleFieldBuilderV3<
+    private com.google.protobuf.SingleFieldBuilder<
             com.google.protobuf.FieldMask,
             com.google.protobuf.FieldMask.Builder,
             com.google.protobuf.FieldMaskOrBuilder>
@@ -1334,7 +1309,7 @@ public Builder clearUpdateMask() {
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
       bitField0_ |= 0x00000004;
       onChanged();
-      return getUpdateMaskFieldBuilder().getBuilder();
+      return internalGetUpdateMaskFieldBuilder().getBuilder();
     }
 
     /**
@@ -1379,14 +1354,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL];
      * 
      */
-    private com.google.protobuf.SingleFieldBuilderV3<
+    private com.google.protobuf.SingleFieldBuilder<
             com.google.protobuf.FieldMask,
             com.google.protobuf.FieldMask.Builder,
             com.google.protobuf.FieldMaskOrBuilder>
-        getUpdateMaskFieldBuilder() {
+        internalGetUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
         updateMaskBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
+            new com.google.protobuf.SingleFieldBuilder<
                 com.google.protobuf.FieldMask,
                 com.google.protobuf.FieldMask.Builder,
                 com.google.protobuf.FieldMaskOrBuilder>(
@@ -1396,17 +1371,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       return updateMaskBuilder_;
     }
 
-    @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
-      return super.setUnknownFields(unknownFields);
-    }
-
-    @java.lang.Override
-    public final Builder mergeUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
-      return super.mergeUnknownFields(unknownFields);
-    }
-
     // @@protoc_insertion_point(builder_scope:google.logging.v2.UpdateCmekSettingsRequest)
   }
 
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateCmekSettingsRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateCmekSettingsRequestOrBuilder.java
index 9ad851e2b..8a96f9906 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateCmekSettingsRequestOrBuilder.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateCmekSettingsRequestOrBuilder.java
@@ -14,11 +14,13 @@
  * limitations under the License.
  */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
 // source: google/logging/v2/logging_config.proto
+// Protobuf Java Version: 4.33.0
 
-// Protobuf Java Version: 3.25.8
 package com.google.logging.v2;
 
+@com.google.protobuf.Generated
 public interface UpdateCmekSettingsRequestOrBuilder
     extends
     // @@protoc_insertion_point(interface_extends:google.logging.v2.UpdateCmekSettingsRequest)
@@ -30,14 +32,14 @@ public interface UpdateCmekSettingsRequestOrBuilder
    * 
    * Required. The resource name for the CMEK settings to update.
    *
-   *     "projects/[PROJECT_ID]/cmekSettings"
-   *     "organizations/[ORGANIZATION_ID]/cmekSettings"
-   *     "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
-   *     "folders/[FOLDER_ID]/cmekSettings"
+   * "projects/[PROJECT_ID]/cmekSettings"
+   * "organizations/[ORGANIZATION_ID]/cmekSettings"
+   * "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
+   * "folders/[FOLDER_ID]/cmekSettings"
    *
    * For example:
    *
-   *   `"organizations/12345/cmekSettings"`
+   * `"organizations/12345/cmekSettings"`
    *
    * Note: CMEK for the Log Router can currently only be configured for Google
    * Cloud organizations. Once configured, it applies to all projects and
@@ -56,14 +58,14 @@ public interface UpdateCmekSettingsRequestOrBuilder
    * 
    * Required. The resource name for the CMEK settings to update.
    *
-   *     "projects/[PROJECT_ID]/cmekSettings"
-   *     "organizations/[ORGANIZATION_ID]/cmekSettings"
-   *     "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
-   *     "folders/[FOLDER_ID]/cmekSettings"
+   * "projects/[PROJECT_ID]/cmekSettings"
+   * "organizations/[ORGANIZATION_ID]/cmekSettings"
+   * "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
+   * "folders/[FOLDER_ID]/cmekSettings"
    *
    * For example:
    *
-   *   `"organizations/12345/cmekSettings"`
+   * `"organizations/12345/cmekSettings"`
    *
    * Note: CMEK for the Log Router can currently only be configured for Google
    * Cloud organizations. Once configured, it applies to all projects and
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateExclusionRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateExclusionRequest.java
index 70787bae2..0123c4a64 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateExclusionRequest.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateExclusionRequest.java
@@ -14,9 +14,10 @@
  * limitations under the License.
  */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
 // source: google/logging/v2/logging_config.proto
+// Protobuf Java Version: 4.33.0
 
-// Protobuf Java Version: 3.25.8
 package com.google.logging.v2;
 
 /**
@@ -28,14 +29,25 @@
  *
  * Protobuf type {@code google.logging.v2.UpdateExclusionRequest}
  */
-public final class UpdateExclusionRequest extends com.google.protobuf.GeneratedMessageV3
+@com.google.protobuf.Generated
+public final class UpdateExclusionRequest extends com.google.protobuf.GeneratedMessage
     implements
     // @@protoc_insertion_point(message_implements:google.logging.v2.UpdateExclusionRequest)
     UpdateExclusionRequestOrBuilder {
   private static final long serialVersionUID = 0L;
 
+  static {
+    com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+        com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+        /* major= */ 4,
+        /* minor= */ 33,
+        /* patch= */ 0,
+        /* suffix= */ "",
+        "UpdateExclusionRequest");
+  }
+
   // Use UpdateExclusionRequest.newBuilder() to construct.
-  private UpdateExclusionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private UpdateExclusionRequest(com.google.protobuf.GeneratedMessage.Builder builder) {
     super(builder);
   }
 
@@ -43,19 +55,13 @@ private UpdateExclusionRequest() {
     name_ = "";
   }
 
-  @java.lang.Override
-  @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
-    return new UpdateExclusionRequest();
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.logging.v2.LoggingConfigProto
         .internal_static_google_logging_v2_UpdateExclusionRequest_descriptor;
   }
 
   @java.lang.Override
-  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+  protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
       internalGetFieldAccessorTable() {
     return com.google.logging.v2.LoggingConfigProto
         .internal_static_google_logging_v2_UpdateExclusionRequest_fieldAccessorTable
@@ -76,14 +82,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
    * Required. The resource name of the exclusion to update:
    *
-   *     "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]"
+   * "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"`
+   * `"projects/my-project/exclusions/my-exclusion"`
    * 
* * @@ -111,14 +117,14 @@ public java.lang.String getName() { *
    * Required. The resource name of the exclusion to update:
    *
-   *     "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]"
+   * "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"`
+   * `"projects/my-project/exclusions/my-exclusion"`
    * 
* * @@ -286,8 +292,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getExclusion()); @@ -304,8 +310,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getExclusion()); @@ -401,38 +407,38 @@ public static com.google.logging.v2.UpdateExclusionRequest parseFrom( public static com.google.logging.v2.UpdateExclusionRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.UpdateExclusionRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.UpdateExclusionRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.UpdateExclusionRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.UpdateExclusionRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.UpdateExclusionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -455,7 +461,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -469,7 +475,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.logging.v2.UpdateExclusionRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.UpdateExclusionRequest) com.google.logging.v2.UpdateExclusionRequestOrBuilder { @@ -479,7 +485,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_UpdateExclusionRequest_fieldAccessorTable @@ -493,15 +499,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getExclusionFieldBuilder(); - getUpdateMaskFieldBuilder(); + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetExclusionFieldBuilder(); + internalGetUpdateMaskFieldBuilder(); } } @@ -571,39 +577,6 @@ private void buildPartial0(com.google.logging.v2.UpdateExclusionRequest result) result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.UpdateExclusionRequest) { @@ -661,13 +634,15 @@ public Builder mergeFrom( } // case 10 case 18: { - input.readMessage(getExclusionFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage( + internalGetExclusionFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 18 case 26: { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage( + internalGetUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 26 @@ -698,14 +673,14 @@ public Builder mergeFrom( *
      * Required. The resource name of the exclusion to update:
      *
-     *     "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]"
+     * "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"`
+     * `"projects/my-project/exclusions/my-exclusion"`
      * 
* * @@ -732,14 +707,14 @@ public java.lang.String getName() { *
      * Required. The resource name of the exclusion to update:
      *
-     *     "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]"
+     * "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"`
+     * `"projects/my-project/exclusions/my-exclusion"`
      * 
* * @@ -766,14 +741,14 @@ public com.google.protobuf.ByteString getNameBytes() { *
      * Required. The resource name of the exclusion to update:
      *
-     *     "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]"
+     * "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"`
+     * `"projects/my-project/exclusions/my-exclusion"`
      * 
* * @@ -799,14 +774,14 @@ public Builder setName(java.lang.String value) { *
      * Required. The resource name of the exclusion to update:
      *
-     *     "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]"
+     * "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"`
+     * `"projects/my-project/exclusions/my-exclusion"`
      * 
* * @@ -828,14 +803,14 @@ public Builder clearName() { *
      * Required. The resource name of the exclusion to update:
      *
-     *     "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]"
+     * "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"`
+     * `"projects/my-project/exclusions/my-exclusion"`
      * 
* * @@ -857,7 +832,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { } private com.google.logging.v2.LogExclusion exclusion_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.logging.v2.LogExclusion, com.google.logging.v2.LogExclusion.Builder, com.google.logging.v2.LogExclusionOrBuilder> @@ -1023,7 +998,7 @@ public Builder clearExclusion() { public com.google.logging.v2.LogExclusion.Builder getExclusionBuilder() { bitField0_ |= 0x00000002; onChanged(); - return getExclusionFieldBuilder().getBuilder(); + return internalGetExclusionFieldBuilder().getBuilder(); } /** @@ -1060,14 +1035,14 @@ public com.google.logging.v2.LogExclusionOrBuilder getExclusionOrBuilder() { * .google.logging.v2.LogExclusion exclusion = 2 [(.google.api.field_behavior) = REQUIRED]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.logging.v2.LogExclusion, com.google.logging.v2.LogExclusion.Builder, com.google.logging.v2.LogExclusionOrBuilder> - getExclusionFieldBuilder() { + internalGetExclusionFieldBuilder() { if (exclusionBuilder_ == null) { exclusionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.logging.v2.LogExclusion, com.google.logging.v2.LogExclusion.Builder, com.google.logging.v2.LogExclusionOrBuilder>( @@ -1078,7 +1053,7 @@ public com.google.logging.v2.LogExclusionOrBuilder getExclusionOrBuilder() { } private com.google.protobuf.FieldMask updateMask_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> @@ -1279,7 +1254,7 @@ public Builder clearUpdateMask() { public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000004; onChanged(); - return getUpdateMaskFieldBuilder().getBuilder(); + return internalGetUpdateMaskFieldBuilder().getBuilder(); } /** @@ -1326,14 +1301,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> - getUpdateMaskFieldBuilder() { + internalGetUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( @@ -1343,17 +1318,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.logging.v2.UpdateExclusionRequest) } diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateExclusionRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateExclusionRequestOrBuilder.java index bd6df6337..86456f786 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateExclusionRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateExclusionRequestOrBuilder.java @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; +@com.google.protobuf.Generated public interface UpdateExclusionRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.UpdateExclusionRequest) @@ -30,14 +32,14 @@ public interface UpdateExclusionRequestOrBuilder *
    * Required. The resource name of the exclusion to update:
    *
-   *     "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]"
+   * "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"`
+   * `"projects/my-project/exclusions/my-exclusion"`
    * 
* * @@ -54,14 +56,14 @@ public interface UpdateExclusionRequestOrBuilder *
    * Required. The resource name of the exclusion to update:
    *
-   *     "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]"
+   * "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"`
+   * `"projects/my-project/exclusions/my-exclusion"`
    * 
* * diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateLogMetricRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateLogMetricRequest.java index 6c57aeca5..3d84fe97b 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateLogMetricRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateLogMetricRequest.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_metrics.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.logging.v2.UpdateLogMetricRequest} */ -public final class UpdateLogMetricRequest extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class UpdateLogMetricRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.logging.v2.UpdateLogMetricRequest) UpdateLogMetricRequestOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 0, + /* suffix= */ "", + "UpdateLogMetricRequest"); + } + // Use UpdateLogMetricRequest.newBuilder() to construct. - private UpdateLogMetricRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private UpdateLogMetricRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -43,19 +55,13 @@ private UpdateLogMetricRequest() { metricName_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new UpdateLogMetricRequest(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingMetricsProto .internal_static_google_logging_v2_UpdateLogMetricRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingMetricsProto .internal_static_google_logging_v2_UpdateLogMetricRequest_fieldAccessorTable @@ -76,7 +82,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { *
    * Required. The resource name of the metric to update:
    *
-   *     "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
+   * "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
    *
    * The updated metric must be provided in the request and it's
    * `name` field must be the same as `[METRIC_ID]` If the metric
@@ -108,7 +114,7 @@ public java.lang.String getMetricName() {
    * 
    * Required. The resource name of the metric to update:
    *
-   *     "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
+   * "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
    *
    * The updated metric must be provided in the request and it's
    * `name` field must be the same as `[METRIC_ID]` If the metric
@@ -197,8 +203,8 @@ public final boolean isInitialized() {
 
   @java.lang.Override
   public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
-    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(metricName_)) {
-      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, metricName_);
+    if (!com.google.protobuf.GeneratedMessage.isStringEmpty(metricName_)) {
+      com.google.protobuf.GeneratedMessage.writeString(output, 1, metricName_);
     }
     if (((bitField0_ & 0x00000001) != 0)) {
       output.writeMessage(2, getMetric());
@@ -212,8 +218,8 @@ public int getSerializedSize() {
     if (size != -1) return size;
 
     size = 0;
-    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(metricName_)) {
-      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, metricName_);
+    if (!com.google.protobuf.GeneratedMessage.isStringEmpty(metricName_)) {
+      size += com.google.protobuf.GeneratedMessage.computeStringSize(1, metricName_);
     }
     if (((bitField0_ & 0x00000001) != 0)) {
       size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getMetric());
@@ -298,38 +304,38 @@ public static com.google.logging.v2.UpdateLogMetricRequest parseFrom(
 
   public static com.google.logging.v2.UpdateLogMetricRequest parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
   }
 
   public static com.google.logging.v2.UpdateLogMetricRequest parseFrom(
       java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+    return com.google.protobuf.GeneratedMessage.parseWithIOException(
         PARSER, input, extensionRegistry);
   }
 
   public static com.google.logging.v2.UpdateLogMetricRequest parseDelimitedFrom(
       java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.logging.v2.UpdateLogMetricRequest parseDelimitedFrom(
       java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+    return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
         PARSER, input, extensionRegistry);
   }
 
   public static com.google.logging.v2.UpdateLogMetricRequest parseFrom(
       com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
   }
 
   public static com.google.logging.v2.UpdateLogMetricRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+    return com.google.protobuf.GeneratedMessage.parseWithIOException(
         PARSER, input, extensionRegistry);
   }
 
@@ -352,7 +358,7 @@ public Builder toBuilder() {
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
@@ -366,7 +372,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.logging.v2.UpdateLogMetricRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+  public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
       implements
       // @@protoc_insertion_point(builder_implements:google.logging.v2.UpdateLogMetricRequest)
       com.google.logging.v2.UpdateLogMetricRequestOrBuilder {
@@ -376,7 +382,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     }
 
     @java.lang.Override
-    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
         internalGetFieldAccessorTable() {
       return com.google.logging.v2.LoggingMetricsProto
           .internal_static_google_logging_v2_UpdateLogMetricRequest_fieldAccessorTable
@@ -390,14 +396,14 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
 
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
-        getMetricFieldBuilder();
+      if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
+        internalGetMetricFieldBuilder();
       }
     }
 
@@ -458,39 +464,6 @@ private void buildPartial0(com.google.logging.v2.UpdateLogMetricRequest result)
       result.bitField0_ |= to_bitField0_;
     }
 
-    @java.lang.Override
-    public Builder clone() {
-      return super.clone();
-    }
-
-    @java.lang.Override
-    public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
-      return super.setField(field, value);
-    }
-
-    @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
-      return super.clearField(field);
-    }
-
-    @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
-      return super.clearOneof(oneof);
-    }
-
-    @java.lang.Override
-    public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
-      return super.setRepeatedField(field, index, value);
-    }
-
-    @java.lang.Override
-    public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
-      return super.addRepeatedField(field, value);
-    }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.logging.v2.UpdateLogMetricRequest) {
@@ -545,7 +518,7 @@ public Builder mergeFrom(
               } // case 10
             case 18:
               {
-                input.readMessage(getMetricFieldBuilder().getBuilder(), extensionRegistry);
+                input.readMessage(internalGetMetricFieldBuilder().getBuilder(), extensionRegistry);
                 bitField0_ |= 0x00000002;
                 break;
               } // case 18
@@ -576,7 +549,7 @@ public Builder mergeFrom(
      * 
      * Required. The resource name of the metric to update:
      *
-     *     "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
+     * "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
      *
      * The updated metric must be provided in the request and it's
      * `name` field must be the same as `[METRIC_ID]` If the metric
@@ -607,7 +580,7 @@ public java.lang.String getMetricName() {
      * 
      * Required. The resource name of the metric to update:
      *
-     *     "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
+     * "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
      *
      * The updated metric must be provided in the request and it's
      * `name` field must be the same as `[METRIC_ID]` If the metric
@@ -638,7 +611,7 @@ public com.google.protobuf.ByteString getMetricNameBytes() {
      * 
      * Required. The resource name of the metric to update:
      *
-     *     "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
+     * "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
      *
      * The updated metric must be provided in the request and it's
      * `name` field must be the same as `[METRIC_ID]` If the metric
@@ -668,7 +641,7 @@ public Builder setMetricName(java.lang.String value) {
      * 
      * Required. The resource name of the metric to update:
      *
-     *     "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
+     * "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
      *
      * The updated metric must be provided in the request and it's
      * `name` field must be the same as `[METRIC_ID]` If the metric
@@ -694,7 +667,7 @@ public Builder clearMetricName() {
      * 
      * Required. The resource name of the metric to update:
      *
-     *     "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
+     * "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
      *
      * The updated metric must be provided in the request and it's
      * `name` field must be the same as `[METRIC_ID]` If the metric
@@ -720,7 +693,7 @@ public Builder setMetricNameBytes(com.google.protobuf.ByteString value) {
     }
 
     private com.google.logging.v2.LogMetric metric_;
-    private com.google.protobuf.SingleFieldBuilderV3<
+    private com.google.protobuf.SingleFieldBuilder<
             com.google.logging.v2.LogMetric,
             com.google.logging.v2.LogMetric.Builder,
             com.google.logging.v2.LogMetricOrBuilder>
@@ -870,7 +843,7 @@ public Builder clearMetric() {
     public com.google.logging.v2.LogMetric.Builder getMetricBuilder() {
       bitField0_ |= 0x00000002;
       onChanged();
-      return getMetricFieldBuilder().getBuilder();
+      return internalGetMetricFieldBuilder().getBuilder();
     }
 
     /**
@@ -901,14 +874,14 @@ public com.google.logging.v2.LogMetricOrBuilder getMetricOrBuilder() {
      * .google.logging.v2.LogMetric metric = 2 [(.google.api.field_behavior) = REQUIRED];
      * 
      */
-    private com.google.protobuf.SingleFieldBuilderV3<
+    private com.google.protobuf.SingleFieldBuilder<
             com.google.logging.v2.LogMetric,
             com.google.logging.v2.LogMetric.Builder,
             com.google.logging.v2.LogMetricOrBuilder>
-        getMetricFieldBuilder() {
+        internalGetMetricFieldBuilder() {
       if (metricBuilder_ == null) {
         metricBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
+            new com.google.protobuf.SingleFieldBuilder<
                 com.google.logging.v2.LogMetric,
                 com.google.logging.v2.LogMetric.Builder,
                 com.google.logging.v2.LogMetricOrBuilder>(
@@ -918,17 +891,6 @@ public com.google.logging.v2.LogMetricOrBuilder getMetricOrBuilder() {
       return metricBuilder_;
     }
 
-    @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
-      return super.setUnknownFields(unknownFields);
-    }
-
-    @java.lang.Override
-    public final Builder mergeUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
-      return super.mergeUnknownFields(unknownFields);
-    }
-
     // @@protoc_insertion_point(builder_scope:google.logging.v2.UpdateLogMetricRequest)
   }
 
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateLogMetricRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateLogMetricRequestOrBuilder.java
index 7c931dc7e..2b51559bb 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateLogMetricRequestOrBuilder.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateLogMetricRequestOrBuilder.java
@@ -14,11 +14,13 @@
  * limitations under the License.
  */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
 // source: google/logging/v2/logging_metrics.proto
+// Protobuf Java Version: 4.33.0
 
-// Protobuf Java Version: 3.25.8
 package com.google.logging.v2;
 
+@com.google.protobuf.Generated
 public interface UpdateLogMetricRequestOrBuilder
     extends
     // @@protoc_insertion_point(interface_extends:google.logging.v2.UpdateLogMetricRequest)
@@ -30,7 +32,7 @@ public interface UpdateLogMetricRequestOrBuilder
    * 
    * Required. The resource name of the metric to update:
    *
-   *     "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
+   * "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
    *
    * The updated metric must be provided in the request and it's
    * `name` field must be the same as `[METRIC_ID]` If the metric
@@ -51,7 +53,7 @@ public interface UpdateLogMetricRequestOrBuilder
    * 
    * Required. The resource name of the metric to update:
    *
-   *     "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
+   * "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
    *
    * The updated metric must be provided in the request and it's
    * `name` field must be the same as `[METRIC_ID]` If the metric
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSettingsRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSettingsRequest.java
index 0cb0d4df2..de834743c 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSettingsRequest.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSettingsRequest.java
@@ -14,9 +14,10 @@
  * limitations under the License.
  */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
 // source: google/logging/v2/logging_config.proto
+// Protobuf Java Version: 4.33.0
 
-// Protobuf Java Version: 3.25.8
 package com.google.logging.v2;
 
 /**
@@ -33,14 +34,25 @@
  *
  * Protobuf type {@code google.logging.v2.UpdateSettingsRequest}
  */
-public final class UpdateSettingsRequest extends com.google.protobuf.GeneratedMessageV3
+@com.google.protobuf.Generated
+public final class UpdateSettingsRequest extends com.google.protobuf.GeneratedMessage
     implements
     // @@protoc_insertion_point(message_implements:google.logging.v2.UpdateSettingsRequest)
     UpdateSettingsRequestOrBuilder {
   private static final long serialVersionUID = 0L;
 
+  static {
+    com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+        com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+        /* major= */ 4,
+        /* minor= */ 33,
+        /* patch= */ 0,
+        /* suffix= */ "",
+        "UpdateSettingsRequest");
+  }
+
   // Use UpdateSettingsRequest.newBuilder() to construct.
-  private UpdateSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private UpdateSettingsRequest(com.google.protobuf.GeneratedMessage.Builder builder) {
     super(builder);
   }
 
@@ -48,19 +60,13 @@ private UpdateSettingsRequest() {
     name_ = "";
   }
 
-  @java.lang.Override
-  @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
-    return new UpdateSettingsRequest();
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.logging.v2.LoggingConfigProto
         .internal_static_google_logging_v2_UpdateSettingsRequest_descriptor;
   }
 
   @java.lang.Override
-  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+  protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
       internalGetFieldAccessorTable() {
     return com.google.logging.v2.LoggingConfigProto
         .internal_static_google_logging_v2_UpdateSettingsRequest_fieldAccessorTable
@@ -81,11 +87,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
    * Required. The resource name for the settings to update.
    *
-   *     "organizations/[ORGANIZATION_ID]/settings"
+   * "organizations/[ORGANIZATION_ID]/settings"
    *
    * For example:
    *
-   *   `"organizations/12345/settings"`
+   * `"organizations/12345/settings"`
    *
    * Note: Settings for the Log Router can currently only be configured for
    * Google Cloud organizations. Once configured, it applies to all projects and
@@ -115,11 +121,11 @@ public java.lang.String getName() {
    * 
    * Required. The resource name for the settings to update.
    *
-   *     "organizations/[ORGANIZATION_ID]/settings"
+   * "organizations/[ORGANIZATION_ID]/settings"
    *
    * For example:
    *
-   *   `"organizations/12345/settings"`
+   * `"organizations/12345/settings"`
    *
    * Note: Settings for the Log Router can currently only be configured for
    * Google Cloud organizations. Once configured, it applies to all projects and
@@ -291,8 +297,8 @@ public final boolean isInitialized() {
 
   @java.lang.Override
   public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
-    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
-      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
+    if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) {
+      com.google.protobuf.GeneratedMessage.writeString(output, 1, name_);
     }
     if (((bitField0_ & 0x00000001) != 0)) {
       output.writeMessage(2, getSettings());
@@ -309,8 +315,8 @@ public int getSerializedSize() {
     if (size != -1) return size;
 
     size = 0;
-    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
-      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
+    if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) {
+      size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_);
     }
     if (((bitField0_ & 0x00000001) != 0)) {
       size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getSettings());
@@ -406,38 +412,38 @@ public static com.google.logging.v2.UpdateSettingsRequest parseFrom(
 
   public static com.google.logging.v2.UpdateSettingsRequest parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
   }
 
   public static com.google.logging.v2.UpdateSettingsRequest parseFrom(
       java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+    return com.google.protobuf.GeneratedMessage.parseWithIOException(
         PARSER, input, extensionRegistry);
   }
 
   public static com.google.logging.v2.UpdateSettingsRequest parseDelimitedFrom(
       java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.logging.v2.UpdateSettingsRequest parseDelimitedFrom(
       java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+    return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
         PARSER, input, extensionRegistry);
   }
 
   public static com.google.logging.v2.UpdateSettingsRequest parseFrom(
       com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
   }
 
   public static com.google.logging.v2.UpdateSettingsRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+    return com.google.protobuf.GeneratedMessage.parseWithIOException(
         PARSER, input, extensionRegistry);
   }
 
@@ -460,7 +466,7 @@ public Builder toBuilder() {
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
@@ -479,7 +485,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.logging.v2.UpdateSettingsRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+  public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
       implements
       // @@protoc_insertion_point(builder_implements:google.logging.v2.UpdateSettingsRequest)
       com.google.logging.v2.UpdateSettingsRequestOrBuilder {
@@ -489,7 +495,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     }
 
     @java.lang.Override
-    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
         internalGetFieldAccessorTable() {
       return com.google.logging.v2.LoggingConfigProto
           .internal_static_google_logging_v2_UpdateSettingsRequest_fieldAccessorTable
@@ -503,15 +509,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
 
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
-        getSettingsFieldBuilder();
-        getUpdateMaskFieldBuilder();
+      if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
+        internalGetSettingsFieldBuilder();
+        internalGetUpdateMaskFieldBuilder();
       }
     }
 
@@ -581,39 +587,6 @@ private void buildPartial0(com.google.logging.v2.UpdateSettingsRequest result) {
       result.bitField0_ |= to_bitField0_;
     }
 
-    @java.lang.Override
-    public Builder clone() {
-      return super.clone();
-    }
-
-    @java.lang.Override
-    public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
-      return super.setField(field, value);
-    }
-
-    @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
-      return super.clearField(field);
-    }
-
-    @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
-      return super.clearOneof(oneof);
-    }
-
-    @java.lang.Override
-    public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
-      return super.setRepeatedField(field, index, value);
-    }
-
-    @java.lang.Override
-    public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
-      return super.addRepeatedField(field, value);
-    }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.logging.v2.UpdateSettingsRequest) {
@@ -671,13 +644,15 @@ public Builder mergeFrom(
               } // case 10
             case 18:
               {
-                input.readMessage(getSettingsFieldBuilder().getBuilder(), extensionRegistry);
+                input.readMessage(
+                    internalGetSettingsFieldBuilder().getBuilder(), extensionRegistry);
                 bitField0_ |= 0x00000002;
                 break;
               } // case 18
             case 26:
               {
-                input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
+                input.readMessage(
+                    internalGetUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
                 bitField0_ |= 0x00000004;
                 break;
               } // case 26
@@ -708,11 +683,11 @@ public Builder mergeFrom(
      * 
      * Required. The resource name for the settings to update.
      *
-     *     "organizations/[ORGANIZATION_ID]/settings"
+     * "organizations/[ORGANIZATION_ID]/settings"
      *
      * For example:
      *
-     *   `"organizations/12345/settings"`
+     * `"organizations/12345/settings"`
      *
      * Note: Settings for the Log Router can currently only be configured for
      * Google Cloud organizations. Once configured, it applies to all projects and
@@ -741,11 +716,11 @@ public java.lang.String getName() {
      * 
      * Required. The resource name for the settings to update.
      *
-     *     "organizations/[ORGANIZATION_ID]/settings"
+     * "organizations/[ORGANIZATION_ID]/settings"
      *
      * For example:
      *
-     *   `"organizations/12345/settings"`
+     * `"organizations/12345/settings"`
      *
      * Note: Settings for the Log Router can currently only be configured for
      * Google Cloud organizations. Once configured, it applies to all projects and
@@ -774,11 +749,11 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
      * Required. The resource name for the settings to update.
      *
-     *     "organizations/[ORGANIZATION_ID]/settings"
+     * "organizations/[ORGANIZATION_ID]/settings"
      *
      * For example:
      *
-     *   `"organizations/12345/settings"`
+     * `"organizations/12345/settings"`
      *
      * Note: Settings for the Log Router can currently only be configured for
      * Google Cloud organizations. Once configured, it applies to all projects and
@@ -806,11 +781,11 @@ public Builder setName(java.lang.String value) {
      * 
      * Required. The resource name for the settings to update.
      *
-     *     "organizations/[ORGANIZATION_ID]/settings"
+     * "organizations/[ORGANIZATION_ID]/settings"
      *
      * For example:
      *
-     *   `"organizations/12345/settings"`
+     * `"organizations/12345/settings"`
      *
      * Note: Settings for the Log Router can currently only be configured for
      * Google Cloud organizations. Once configured, it applies to all projects and
@@ -834,11 +809,11 @@ public Builder clearName() {
      * 
      * Required. The resource name for the settings to update.
      *
-     *     "organizations/[ORGANIZATION_ID]/settings"
+     * "organizations/[ORGANIZATION_ID]/settings"
      *
      * For example:
      *
-     *   `"organizations/12345/settings"`
+     * `"organizations/12345/settings"`
      *
      * Note: Settings for the Log Router can currently only be configured for
      * Google Cloud organizations. Once configured, it applies to all projects and
@@ -862,7 +837,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
     }
 
     private com.google.logging.v2.Settings settings_;
-    private com.google.protobuf.SingleFieldBuilderV3<
+    private com.google.protobuf.SingleFieldBuilder<
             com.google.logging.v2.Settings,
             com.google.logging.v2.Settings.Builder,
             com.google.logging.v2.SettingsOrBuilder>
@@ -1040,7 +1015,7 @@ public Builder clearSettings() {
     public com.google.logging.v2.Settings.Builder getSettingsBuilder() {
       bitField0_ |= 0x00000002;
       onChanged();
-      return getSettingsFieldBuilder().getBuilder();
+      return internalGetSettingsFieldBuilder().getBuilder();
     }
 
     /**
@@ -1079,14 +1054,14 @@ public com.google.logging.v2.SettingsOrBuilder getSettingsOrBuilder() {
      * .google.logging.v2.Settings settings = 2 [(.google.api.field_behavior) = REQUIRED];
      * 
      */
-    private com.google.protobuf.SingleFieldBuilderV3<
+    private com.google.protobuf.SingleFieldBuilder<
             com.google.logging.v2.Settings,
             com.google.logging.v2.Settings.Builder,
             com.google.logging.v2.SettingsOrBuilder>
-        getSettingsFieldBuilder() {
+        internalGetSettingsFieldBuilder() {
       if (settingsBuilder_ == null) {
         settingsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
+            new com.google.protobuf.SingleFieldBuilder<
                 com.google.logging.v2.Settings,
                 com.google.logging.v2.Settings.Builder,
                 com.google.logging.v2.SettingsOrBuilder>(
@@ -1097,7 +1072,7 @@ public com.google.logging.v2.SettingsOrBuilder getSettingsOrBuilder() {
     }
 
     private com.google.protobuf.FieldMask updateMask_;
-    private com.google.protobuf.SingleFieldBuilderV3<
+    private com.google.protobuf.SingleFieldBuilder<
             com.google.protobuf.FieldMask,
             com.google.protobuf.FieldMask.Builder,
             com.google.protobuf.FieldMaskOrBuilder>
@@ -1291,7 +1266,7 @@ public Builder clearUpdateMask() {
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
       bitField0_ |= 0x00000004;
       onChanged();
-      return getUpdateMaskFieldBuilder().getBuilder();
+      return internalGetUpdateMaskFieldBuilder().getBuilder();
     }
 
     /**
@@ -1336,14 +1311,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL];
      * 
      */
-    private com.google.protobuf.SingleFieldBuilderV3<
+    private com.google.protobuf.SingleFieldBuilder<
             com.google.protobuf.FieldMask,
             com.google.protobuf.FieldMask.Builder,
             com.google.protobuf.FieldMaskOrBuilder>
-        getUpdateMaskFieldBuilder() {
+        internalGetUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
         updateMaskBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
+            new com.google.protobuf.SingleFieldBuilder<
                 com.google.protobuf.FieldMask,
                 com.google.protobuf.FieldMask.Builder,
                 com.google.protobuf.FieldMaskOrBuilder>(
@@ -1353,17 +1328,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       return updateMaskBuilder_;
     }
 
-    @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
-      return super.setUnknownFields(unknownFields);
-    }
-
-    @java.lang.Override
-    public final Builder mergeUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
-      return super.mergeUnknownFields(unknownFields);
-    }
-
     // @@protoc_insertion_point(builder_scope:google.logging.v2.UpdateSettingsRequest)
   }
 
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSettingsRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSettingsRequestOrBuilder.java
index 449a11d8c..7d786e8ab 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSettingsRequestOrBuilder.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSettingsRequestOrBuilder.java
@@ -14,11 +14,13 @@
  * limitations under the License.
  */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
 // source: google/logging/v2/logging_config.proto
+// Protobuf Java Version: 4.33.0
 
-// Protobuf Java Version: 3.25.8
 package com.google.logging.v2;
 
+@com.google.protobuf.Generated
 public interface UpdateSettingsRequestOrBuilder
     extends
     // @@protoc_insertion_point(interface_extends:google.logging.v2.UpdateSettingsRequest)
@@ -30,11 +32,11 @@ public interface UpdateSettingsRequestOrBuilder
    * 
    * Required. The resource name for the settings to update.
    *
-   *     "organizations/[ORGANIZATION_ID]/settings"
+   * "organizations/[ORGANIZATION_ID]/settings"
    *
    * For example:
    *
-   *   `"organizations/12345/settings"`
+   * `"organizations/12345/settings"`
    *
    * Note: Settings for the Log Router can currently only be configured for
    * Google Cloud organizations. Once configured, it applies to all projects and
@@ -53,11 +55,11 @@ public interface UpdateSettingsRequestOrBuilder
    * 
    * Required. The resource name for the settings to update.
    *
-   *     "organizations/[ORGANIZATION_ID]/settings"
+   * "organizations/[ORGANIZATION_ID]/settings"
    *
    * For example:
    *
-   *   `"organizations/12345/settings"`
+   * `"organizations/12345/settings"`
    *
    * Note: Settings for the Log Router can currently only be configured for
    * Google Cloud organizations. Once configured, it applies to all projects and
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSinkRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSinkRequest.java
index 65d5a15a4..facd700cc 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSinkRequest.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSinkRequest.java
@@ -14,9 +14,10 @@
  * limitations under the License.
  */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
 // source: google/logging/v2/logging_config.proto
+// Protobuf Java Version: 4.33.0
 
-// Protobuf Java Version: 3.25.8
 package com.google.logging.v2;
 
 /**
@@ -28,14 +29,25 @@
  *
  * Protobuf type {@code google.logging.v2.UpdateSinkRequest}
  */
-public final class UpdateSinkRequest extends com.google.protobuf.GeneratedMessageV3
+@com.google.protobuf.Generated
+public final class UpdateSinkRequest extends com.google.protobuf.GeneratedMessage
     implements
     // @@protoc_insertion_point(message_implements:google.logging.v2.UpdateSinkRequest)
     UpdateSinkRequestOrBuilder {
   private static final long serialVersionUID = 0L;
 
+  static {
+    com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+        com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+        /* major= */ 4,
+        /* minor= */ 33,
+        /* patch= */ 0,
+        /* suffix= */ "",
+        "UpdateSinkRequest");
+  }
+
   // Use UpdateSinkRequest.newBuilder() to construct.
-  private UpdateSinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private UpdateSinkRequest(com.google.protobuf.GeneratedMessage.Builder builder) {
     super(builder);
   }
 
@@ -43,19 +55,13 @@ private UpdateSinkRequest() {
     sinkName_ = "";
   }
 
-  @java.lang.Override
-  @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
-    return new UpdateSinkRequest();
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.logging.v2.LoggingConfigProto
         .internal_static_google_logging_v2_UpdateSinkRequest_descriptor;
   }
 
   @java.lang.Override
-  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+  protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
       internalGetFieldAccessorTable() {
     return com.google.logging.v2.LoggingConfigProto
         .internal_static_google_logging_v2_UpdateSinkRequest_fieldAccessorTable
@@ -77,14 +83,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * Required. The full resource name of the sink to update, 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]"
+   * "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"`
+   * `"projects/my-project/sinks/my-sink"`
    * 
* * @@ -113,14 +119,14 @@ public java.lang.String getSinkName() { * Required. The full resource name of the sink to update, 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]" + * "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"` + * `"projects/my-project/sinks/my-sink"` *
* * @@ -207,11 +213,11 @@ public com.google.logging.v2.LogSinkOrBuilder getSinkOrBuilder() { * the old and new values of this field: * * + If the old and new values of this field are both false or both true, - * then there is no change to the sink's `writer_identity`. + * then there is no change to the sink's `writer_identity`. * + If the old value is false and the new value is true, then - * `writer_identity` is changed to a unique service account. + * `writer_identity` is changed to a unique service account. * + It is an error if the old value is true and the new value is - * set to false or defaulted to false. + * set to false or defaulted to false. *
* * bool unique_writer_identity = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -237,7 +243,7 @@ public boolean getUniqueWriterIdentity() { * An empty `updateMask` is temporarily treated as using the following mask * for backwards compatibility purposes: * - * `destination,filter,includeChildren` + * `destination,filter,includeChildren` * * At some point in the future, behavior will be removed and specifying an * empty `updateMask` will be an error. @@ -269,7 +275,7 @@ public boolean hasUpdateMask() { * An empty `updateMask` is temporarily treated as using the following mask * for backwards compatibility purposes: * - * `destination,filter,includeChildren` + * `destination,filter,includeChildren` * * At some point in the future, behavior will be removed and specifying an * empty `updateMask` will be an error. @@ -301,7 +307,7 @@ public com.google.protobuf.FieldMask getUpdateMask() { * An empty `updateMask` is temporarily treated as using the following mask * for backwards compatibility purposes: * - * `destination,filter,includeChildren` + * `destination,filter,includeChildren` * * At some point in the future, behavior will be removed and specifying an * empty `updateMask` will be an error. @@ -334,8 +340,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sinkName_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sinkName_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(sinkName_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, sinkName_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getSink()); @@ -355,8 +361,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sinkName_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, sinkName_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(sinkName_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, sinkName_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getSink()); @@ -457,38 +463,38 @@ public static com.google.logging.v2.UpdateSinkRequest parseFrom( public static com.google.logging.v2.UpdateSinkRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.UpdateSinkRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.UpdateSinkRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.UpdateSinkRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.UpdateSinkRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.UpdateSinkRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -511,7 +517,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -525,7 +531,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.logging.v2.UpdateSinkRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.UpdateSinkRequest) com.google.logging.v2.UpdateSinkRequestOrBuilder { @@ -535,7 +541,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_UpdateSinkRequest_fieldAccessorTable @@ -549,15 +555,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getSinkFieldBuilder(); - getUpdateMaskFieldBuilder(); + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetSinkFieldBuilder(); + internalGetUpdateMaskFieldBuilder(); } } @@ -631,39 +637,6 @@ private void buildPartial0(com.google.logging.v2.UpdateSinkRequest result) { result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.UpdateSinkRequest) { @@ -724,7 +697,7 @@ public Builder mergeFrom( } // case 10 case 18: { - input.readMessage(getSinkFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage(internalGetSinkFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 18 @@ -736,7 +709,8 @@ public Builder mergeFrom( } // case 24 case 34: { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage( + internalGetUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000008; break; } // case 34 @@ -768,14 +742,14 @@ public Builder mergeFrom( * Required. The full resource name of the sink to update, 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]" + * "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"` + * `"projects/my-project/sinks/my-sink"` *
* * @@ -803,14 +777,14 @@ public java.lang.String getSinkName() { * Required. The full resource name of the sink to update, 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]" + * "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"` + * `"projects/my-project/sinks/my-sink"` *
* * @@ -838,14 +812,14 @@ public com.google.protobuf.ByteString getSinkNameBytes() { * Required. The full resource name of the sink to update, 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]" + * "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"` + * `"projects/my-project/sinks/my-sink"` *
* * @@ -872,14 +846,14 @@ public Builder setSinkName(java.lang.String value) { * Required. The full resource name of the sink to update, 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]" + * "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"` + * `"projects/my-project/sinks/my-sink"` *
* * @@ -902,14 +876,14 @@ public Builder clearSinkName() { * Required. The full resource name of the sink to update, 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]" + * "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"` + * `"projects/my-project/sinks/my-sink"` *
* * @@ -931,7 +905,7 @@ public Builder setSinkNameBytes(com.google.protobuf.ByteString value) { } private com.google.logging.v2.LogSink sink_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.logging.v2.LogSink, com.google.logging.v2.LogSink.Builder, com.google.logging.v2.LogSinkOrBuilder> @@ -1081,7 +1055,7 @@ public Builder clearSink() { public com.google.logging.v2.LogSink.Builder getSinkBuilder() { bitField0_ |= 0x00000002; onChanged(); - return getSinkFieldBuilder().getBuilder(); + return internalGetSinkFieldBuilder().getBuilder(); } /** @@ -1112,14 +1086,14 @@ public com.google.logging.v2.LogSinkOrBuilder getSinkOrBuilder() { * * .google.logging.v2.LogSink sink = 2 [(.google.api.field_behavior) = REQUIRED]; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.logging.v2.LogSink, com.google.logging.v2.LogSink.Builder, com.google.logging.v2.LogSinkOrBuilder> - getSinkFieldBuilder() { + internalGetSinkFieldBuilder() { if (sinkBuilder_ == null) { sinkBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.logging.v2.LogSink, com.google.logging.v2.LogSink.Builder, com.google.logging.v2.LogSinkOrBuilder>( @@ -1141,11 +1115,11 @@ public com.google.logging.v2.LogSinkOrBuilder getSinkOrBuilder() { * the old and new values of this field: * * + If the old and new values of this field are both false or both true, - * then there is no change to the sink's `writer_identity`. + * then there is no change to the sink's `writer_identity`. * + If the old value is false and the new value is true, then - * `writer_identity` is changed to a unique service account. + * `writer_identity` is changed to a unique service account. * + It is an error if the old value is true and the new value is - * set to false or defaulted to false. + * set to false or defaulted to false. *
* * bool unique_writer_identity = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1167,11 +1141,11 @@ public boolean getUniqueWriterIdentity() { * the old and new values of this field: * * + If the old and new values of this field are both false or both true, - * then there is no change to the sink's `writer_identity`. + * then there is no change to the sink's `writer_identity`. * + If the old value is false and the new value is true, then - * `writer_identity` is changed to a unique service account. + * `writer_identity` is changed to a unique service account. * + It is an error if the old value is true and the new value is - * set to false or defaulted to false. + * set to false or defaulted to false. *
* * bool unique_writer_identity = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1197,11 +1171,11 @@ public Builder setUniqueWriterIdentity(boolean value) { * the old and new values of this field: * * + If the old and new values of this field are both false or both true, - * then there is no change to the sink's `writer_identity`. + * then there is no change to the sink's `writer_identity`. * + If the old value is false and the new value is true, then - * `writer_identity` is changed to a unique service account. + * `writer_identity` is changed to a unique service account. * + It is an error if the old value is true and the new value is - * set to false or defaulted to false. + * set to false or defaulted to false. *
* * bool unique_writer_identity = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1216,7 +1190,7 @@ public Builder clearUniqueWriterIdentity() { } private com.google.protobuf.FieldMask updateMask_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> @@ -1233,7 +1207,7 @@ public Builder clearUniqueWriterIdentity() { * An empty `updateMask` is temporarily treated as using the following mask * for backwards compatibility purposes: * - * `destination,filter,includeChildren` + * `destination,filter,includeChildren` * * At some point in the future, behavior will be removed and specifying an * empty `updateMask` will be an error. @@ -1264,7 +1238,7 @@ public boolean hasUpdateMask() { * An empty `updateMask` is temporarily treated as using the following mask * for backwards compatibility purposes: * - * `destination,filter,includeChildren` + * `destination,filter,includeChildren` * * At some point in the future, behavior will be removed and specifying an * empty `updateMask` will be an error. @@ -1301,7 +1275,7 @@ public com.google.protobuf.FieldMask getUpdateMask() { * An empty `updateMask` is temporarily treated as using the following mask * for backwards compatibility purposes: * - * `destination,filter,includeChildren` + * `destination,filter,includeChildren` * * At some point in the future, behavior will be removed and specifying an * empty `updateMask` will be an error. @@ -1340,7 +1314,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { * An empty `updateMask` is temporarily treated as using the following mask * for backwards compatibility purposes: * - * `destination,filter,includeChildren` + * `destination,filter,includeChildren` * * At some point in the future, behavior will be removed and specifying an * empty `updateMask` will be an error. @@ -1376,7 +1350,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal * An empty `updateMask` is temporarily treated as using the following mask * for backwards compatibility purposes: * - * `destination,filter,includeChildren` + * `destination,filter,includeChildren` * * At some point in the future, behavior will be removed and specifying an * empty `updateMask` will be an error. @@ -1420,7 +1394,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { * An empty `updateMask` is temporarily treated as using the following mask * for backwards compatibility purposes: * - * `destination,filter,includeChildren` + * `destination,filter,includeChildren` * * At some point in the future, behavior will be removed and specifying an * empty `updateMask` will be an error. @@ -1456,7 +1430,7 @@ public Builder clearUpdateMask() { * An empty `updateMask` is temporarily treated as using the following mask * for backwards compatibility purposes: * - * `destination,filter,includeChildren` + * `destination,filter,includeChildren` * * At some point in the future, behavior will be removed and specifying an * empty `updateMask` will be an error. @@ -1473,7 +1447,7 @@ public Builder clearUpdateMask() { public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000008; onChanged(); - return getUpdateMaskFieldBuilder().getBuilder(); + return internalGetUpdateMaskFieldBuilder().getBuilder(); } /** @@ -1487,7 +1461,7 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { * An empty `updateMask` is temporarily treated as using the following mask * for backwards compatibility purposes: * - * `destination,filter,includeChildren` + * `destination,filter,includeChildren` * * At some point in the future, behavior will be removed and specifying an * empty `updateMask` will be an error. @@ -1522,7 +1496,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * An empty `updateMask` is temporarily treated as using the following mask * for backwards compatibility purposes: * - * `destination,filter,includeChildren` + * `destination,filter,includeChildren` * * At some point in the future, behavior will be removed and specifying an * empty `updateMask` will be an error. @@ -1536,14 +1510,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = OPTIONAL]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> - getUpdateMaskFieldBuilder() { + internalGetUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( @@ -1553,17 +1527,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.logging.v2.UpdateSinkRequest) } diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSinkRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSinkRequestOrBuilder.java index ce4d62abd..ab8079b20 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSinkRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSinkRequestOrBuilder.java @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; +@com.google.protobuf.Generated public interface UpdateSinkRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.UpdateSinkRequest) @@ -31,14 +33,14 @@ public interface UpdateSinkRequestOrBuilder * Required. The full resource name of the sink to update, 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]" + * "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"` + * `"projects/my-project/sinks/my-sink"` *
* * @@ -56,14 +58,14 @@ public interface UpdateSinkRequestOrBuilder * Required. The full resource name of the sink to update, 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]" + * "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"` + * `"projects/my-project/sinks/my-sink"` *
* * @@ -124,11 +126,11 @@ public interface UpdateSinkRequestOrBuilder * the old and new values of this field: * * + If the old and new values of this field are both false or both true, - * then there is no change to the sink's `writer_identity`. + * then there is no change to the sink's `writer_identity`. * + If the old value is false and the new value is true, then - * `writer_identity` is changed to a unique service account. + * `writer_identity` is changed to a unique service account. * + It is an error if the old value is true and the new value is - * set to false or defaulted to false. + * set to false or defaulted to false. *
* * bool unique_writer_identity = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -148,7 +150,7 @@ public interface UpdateSinkRequestOrBuilder * An empty `updateMask` is temporarily treated as using the following mask * for backwards compatibility purposes: * - * `destination,filter,includeChildren` + * `destination,filter,includeChildren` * * At some point in the future, behavior will be removed and specifying an * empty `updateMask` will be an error. @@ -177,7 +179,7 @@ public interface UpdateSinkRequestOrBuilder * An empty `updateMask` is temporarily treated as using the following mask * for backwards compatibility purposes: * - * `destination,filter,includeChildren` + * `destination,filter,includeChildren` * * At some point in the future, behavior will be removed and specifying an * empty `updateMask` will be an error. @@ -206,7 +208,7 @@ public interface UpdateSinkRequestOrBuilder * An empty `updateMask` is temporarily treated as using the following mask * for backwards compatibility purposes: * - * `destination,filter,includeChildren` + * `destination,filter,includeChildren` * * At some point in the future, behavior will be removed and specifying an * empty `updateMask` will be an error. diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateViewRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateViewRequest.java index 4a9e62461..c400e56c0 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateViewRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateViewRequest.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.logging.v2.UpdateViewRequest} */ -public final class UpdateViewRequest extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class UpdateViewRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.logging.v2.UpdateViewRequest) UpdateViewRequestOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 0, + /* suffix= */ "", + "UpdateViewRequest"); + } + // Use UpdateViewRequest.newBuilder() to construct. - private UpdateViewRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private UpdateViewRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -43,19 +55,13 @@ private UpdateViewRequest() { name_ = ""; } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new UpdateViewRequest(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_UpdateViewRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_UpdateViewRequest_fieldAccessorTable @@ -76,11 +82,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { *
    * Required. The full resource name of the view to update
    *
-   *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
+   * "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"`
+   * `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -106,11 +112,11 @@ public java.lang.String getName() { *
    * Required. The full resource name of the view to update
    *
-   *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
+   * "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"`
+   * `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -266,8 +272,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getView()); @@ -284,8 +290,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getView()); @@ -380,38 +386,38 @@ public static com.google.logging.v2.UpdateViewRequest parseFrom( public static com.google.logging.v2.UpdateViewRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.UpdateViewRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.UpdateViewRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.UpdateViewRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.UpdateViewRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.UpdateViewRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -434,7 +440,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -448,7 +454,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.logging.v2.UpdateViewRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.UpdateViewRequest) com.google.logging.v2.UpdateViewRequestOrBuilder { @@ -458,7 +464,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_UpdateViewRequest_fieldAccessorTable @@ -472,15 +478,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getViewFieldBuilder(); - getUpdateMaskFieldBuilder(); + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetViewFieldBuilder(); + internalGetUpdateMaskFieldBuilder(); } } @@ -550,39 +556,6 @@ private void buildPartial0(com.google.logging.v2.UpdateViewRequest result) { result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.UpdateViewRequest) { @@ -640,13 +613,14 @@ public Builder mergeFrom( } // case 10 case 18: { - input.readMessage(getViewFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage(internalGetViewFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 18 case 34: { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage( + internalGetUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 34 @@ -677,11 +651,11 @@ public Builder mergeFrom( *
      * Required. The full resource name of the view to update
      *
-     *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
+     * "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"`
+     * `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -706,11 +680,11 @@ public java.lang.String getName() { *
      * Required. The full resource name of the view to update
      *
-     *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
+     * "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"`
+     * `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -735,11 +709,11 @@ public com.google.protobuf.ByteString getNameBytes() { *
      * Required. The full resource name of the view to update
      *
-     *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
+     * "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"`
+     * `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -763,11 +737,11 @@ public Builder setName(java.lang.String value) { *
      * Required. The full resource name of the view to update
      *
-     *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
+     * "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"`
+     * `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -787,11 +761,11 @@ public Builder clearName() { *
      * Required. The full resource name of the view to update
      *
-     *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
+     * "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"`
+     * `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -811,7 +785,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { } private com.google.logging.v2.LogView view_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.logging.v2.LogView, com.google.logging.v2.LogView.Builder, com.google.logging.v2.LogViewOrBuilder> @@ -954,7 +928,7 @@ public Builder clearView() { public com.google.logging.v2.LogView.Builder getViewBuilder() { bitField0_ |= 0x00000002; onChanged(); - return getViewFieldBuilder().getBuilder(); + return internalGetViewFieldBuilder().getBuilder(); } /** @@ -983,14 +957,14 @@ public com.google.logging.v2.LogViewOrBuilder getViewOrBuilder() { * * .google.logging.v2.LogView view = 2 [(.google.api.field_behavior) = REQUIRED]; */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.logging.v2.LogView, com.google.logging.v2.LogView.Builder, com.google.logging.v2.LogViewOrBuilder> - getViewFieldBuilder() { + internalGetViewFieldBuilder() { if (viewBuilder_ == null) { viewBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.logging.v2.LogView, com.google.logging.v2.LogView.Builder, com.google.logging.v2.LogViewOrBuilder>( @@ -1001,7 +975,7 @@ public com.google.logging.v2.LogViewOrBuilder getViewOrBuilder() { } private com.google.protobuf.FieldMask updateMask_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> @@ -1202,7 +1176,7 @@ public Builder clearUpdateMask() { public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000004; onChanged(); - return getUpdateMaskFieldBuilder().getBuilder(); + return internalGetUpdateMaskFieldBuilder().getBuilder(); } /** @@ -1249,14 +1223,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = OPTIONAL]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> - getUpdateMaskFieldBuilder() { + internalGetUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( @@ -1266,17 +1240,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.logging.v2.UpdateViewRequest) } diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateViewRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateViewRequestOrBuilder.java index ea1a3a0ee..f7c2302a6 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateViewRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateViewRequestOrBuilder.java @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; +@com.google.protobuf.Generated public interface UpdateViewRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.UpdateViewRequest) @@ -30,11 +32,11 @@ public interface UpdateViewRequestOrBuilder *
    * Required. The full resource name of the view to update
    *
-   *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
+   * "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"`
+   * `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -49,11 +51,11 @@ public interface UpdateViewRequestOrBuilder *
    * Required. The full resource name of the view to update
    *
-   *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
+   * "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"`
+   * `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesPartialErrors.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesPartialErrors.java index f12a54770..d8d6a13ef 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesPartialErrors.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesPartialErrors.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -28,25 +29,30 @@ * * Protobuf type {@code google.logging.v2.WriteLogEntriesPartialErrors} */ -public final class WriteLogEntriesPartialErrors extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class WriteLogEntriesPartialErrors extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.logging.v2.WriteLogEntriesPartialErrors) WriteLogEntriesPartialErrorsOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 0, + /* suffix= */ "", + "WriteLogEntriesPartialErrors"); + } + // Use WriteLogEntriesPartialErrors.newBuilder() to construct. - private WriteLogEntriesPartialErrors(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private WriteLogEntriesPartialErrors(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private WriteLogEntriesPartialErrors() {} - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new WriteLogEntriesPartialErrors(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingProto .internal_static_google_logging_v2_WriteLogEntriesPartialErrors_descriptor; @@ -65,7 +71,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingProto .internal_static_google_logging_v2_WriteLogEntriesPartialErrors_fieldAccessorTable @@ -215,7 +221,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - com.google.protobuf.GeneratedMessageV3.serializeIntegerMapTo( + com.google.protobuf.GeneratedMessage.serializeIntegerMapTo( output, internalGetLogEntryErrors(), LogEntryErrorsDefaultEntryHolder.defaultEntry, 1); getUnknownFields().writeTo(output); } @@ -310,38 +316,38 @@ public static com.google.logging.v2.WriteLogEntriesPartialErrors parseFrom( public static com.google.logging.v2.WriteLogEntriesPartialErrors parseFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.WriteLogEntriesPartialErrors parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.WriteLogEntriesPartialErrors parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.WriteLogEntriesPartialErrors parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.WriteLogEntriesPartialErrors parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.WriteLogEntriesPartialErrors parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -364,7 +370,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -378,7 +384,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.logging.v2.WriteLogEntriesPartialErrors} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.WriteLogEntriesPartialErrors) com.google.logging.v2.WriteLogEntriesPartialErrorsOrBuilder { @@ -410,7 +416,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingProto .internal_static_google_logging_v2_WriteLogEntriesPartialErrors_fieldAccessorTable @@ -422,7 +428,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi // Construct using com.google.logging.v2.WriteLogEntriesPartialErrors.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -473,39 +479,6 @@ private void buildPartial0(com.google.logging.v2.WriteLogEntriesPartialErrors re } } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.WriteLogEntriesPartialErrors) { @@ -845,17 +818,6 @@ public com.google.rpc.Status.Builder putLogEntryErrorsBuilderIfAbsent(int key) { return (com.google.rpc.Status.Builder) entry; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.logging.v2.WriteLogEntriesPartialErrors) } diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesPartialErrorsOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesPartialErrorsOrBuilder.java index 3dfe010a5..01d6968d3 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesPartialErrorsOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesPartialErrorsOrBuilder.java @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; +@com.google.protobuf.Generated public interface WriteLogEntriesPartialErrorsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.WriteLogEntriesPartialErrors) diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesRequest.java index 2702ea068..385cbbbbd 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesRequest.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -28,14 +29,25 @@ * * Protobuf type {@code google.logging.v2.WriteLogEntriesRequest} */ -public final class WriteLogEntriesRequest extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class WriteLogEntriesRequest extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.logging.v2.WriteLogEntriesRequest) WriteLogEntriesRequestOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 0, + /* suffix= */ "", + "WriteLogEntriesRequest"); + } + // Use WriteLogEntriesRequest.newBuilder() to construct. - private WriteLogEntriesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private WriteLogEntriesRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } @@ -44,12 +56,6 @@ private WriteLogEntriesRequest() { entries_ = java.util.Collections.emptyList(); } - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new WriteLogEntriesRequest(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingProto .internal_static_google_logging_v2_WriteLogEntriesRequest_descriptor; @@ -68,7 +74,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingProto .internal_static_google_logging_v2_WriteLogEntriesRequest_fieldAccessorTable @@ -97,8 +103,8 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl * * `[LOG_ID]` must be URL-encoded. For example: * - * "projects/my-project-id/logs/syslog" - * "organizations/123/logs/cloudaudit.googleapis.com%2Factivity" + * "projects/my-project-id/logs/syslog" + * "organizations/123/logs/cloudaudit.googleapis.com%2Factivity" * * The permission `logging.logEntries.create` is needed on each project, * organization, billing account, or folder that is receiving new log @@ -139,8 +145,8 @@ public java.lang.String getLogName() { * * `[LOG_ID]` must be URL-encoded. For example: * - * "projects/my-project-id/logs/syslog" - * "organizations/123/logs/cloudaudit.googleapis.com%2Factivity" + * "projects/my-project-id/logs/syslog" + * "organizations/123/logs/cloudaudit.googleapis.com%2Factivity" * * The permission `logging.logEntries.create` is needed on each project, * organization, billing account, or folder that is receiving new log @@ -177,9 +183,9 @@ public com.google.protobuf.ByteString getLogNameBytes() { * Optional. A default monitored resource object that is assigned to all log * entries in `entries` that do not specify a value for `resource`. Example: * - * { "type": "gce_instance", - * "labels": { - * "zone": "us-central1-a", "instance_id": "00000000000000000000" }} + * { "type": "gce_instance", + * "labels": { + * "zone": "us-central1-a", "instance_id": "00000000000000000000" }} * * See [LogEntry][google.logging.v2.LogEntry]. *
@@ -201,9 +207,9 @@ public boolean hasResource() { * Optional. A default monitored resource object that is assigned to all log * entries in `entries` that do not specify a value for `resource`. Example: * - * { "type": "gce_instance", - * "labels": { - * "zone": "us-central1-a", "instance_id": "00000000000000000000" }} + * { "type": "gce_instance", + * "labels": { + * "zone": "us-central1-a", "instance_id": "00000000000000000000" }} * * See [LogEntry][google.logging.v2.LogEntry]. *
@@ -225,9 +231,9 @@ public com.google.api.MonitoredResource getResource() { * Optional. A default monitored resource object that is assigned to all log * entries in `entries` that do not specify a value for `resource`. Example: * - * { "type": "gce_instance", - * "labels": { - * "zone": "us-central1-a", "instance_id": "00000000000000000000" }} + * { "type": "gce_instance", + * "labels": { + * "zone": "us-central1-a", "instance_id": "00000000000000000000" }} * * See [LogEntry][google.logging.v2.LogEntry]. *
@@ -620,13 +626,13 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(logName_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, logName_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(logName_)) { + com.google.protobuf.GeneratedMessage.writeString(output, 1, logName_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getResource()); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + com.google.protobuf.GeneratedMessage.serializeStringMapTo( output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 3); for (int i = 0; i < entries_.size(); i++) { output.writeMessage(4, entries_.get(i)); @@ -646,8 +652,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(logName_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, logName_); + if (!com.google.protobuf.GeneratedMessage.isStringEmpty(logName_)) { + size += com.google.protobuf.GeneratedMessage.computeStringSize(1, logName_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getResource()); @@ -767,38 +773,38 @@ public static com.google.logging.v2.WriteLogEntriesRequest parseFrom( public static com.google.logging.v2.WriteLogEntriesRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.WriteLogEntriesRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.WriteLogEntriesRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.WriteLogEntriesRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.WriteLogEntriesRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.WriteLogEntriesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -821,7 +827,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -835,7 +841,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.logging.v2.WriteLogEntriesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.WriteLogEntriesRequest) com.google.logging.v2.WriteLogEntriesRequestOrBuilder { @@ -867,7 +873,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingProto .internal_static_google_logging_v2_WriteLogEntriesRequest_fieldAccessorTable @@ -881,15 +887,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getResourceFieldBuilder(); - getEntriesFieldBuilder(); + if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + internalGetResourceFieldBuilder(); + internalGetEntriesFieldBuilder(); } } @@ -983,39 +989,6 @@ private void buildPartial0(com.google.logging.v2.WriteLogEntriesRequest result) result.bitField0_ |= to_bitField0_; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.WriteLogEntriesRequest) { @@ -1057,8 +1030,8 @@ public Builder mergeFrom(com.google.logging.v2.WriteLogEntriesRequest other) { entries_ = other.entries_; bitField0_ = (bitField0_ & ~0x00000008); entriesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getEntriesFieldBuilder() + com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders + ? internalGetEntriesFieldBuilder() : null; } else { entriesBuilder_.addAllMessages(other.entries_); @@ -1105,7 +1078,8 @@ public Builder mergeFrom( } // case 10 case 18: { - input.readMessage(getResourceFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage( + internalGetResourceFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 18 @@ -1180,8 +1154,8 @@ public Builder mergeFrom( * * `[LOG_ID]` must be URL-encoded. For example: * - * "projects/my-project-id/logs/syslog" - * "organizations/123/logs/cloudaudit.googleapis.com%2Factivity" + * "projects/my-project-id/logs/syslog" + * "organizations/123/logs/cloudaudit.googleapis.com%2Factivity" * * The permission `logging.logEntries.create` is needed on each project, * organization, billing account, or folder that is receiving new log @@ -1221,8 +1195,8 @@ public java.lang.String getLogName() { * * `[LOG_ID]` must be URL-encoded. For example: * - * "projects/my-project-id/logs/syslog" - * "organizations/123/logs/cloudaudit.googleapis.com%2Factivity" + * "projects/my-project-id/logs/syslog" + * "organizations/123/logs/cloudaudit.googleapis.com%2Factivity" * * The permission `logging.logEntries.create` is needed on each project, * organization, billing account, or folder that is receiving new log @@ -1262,8 +1236,8 @@ public com.google.protobuf.ByteString getLogNameBytes() { * * `[LOG_ID]` must be URL-encoded. For example: * - * "projects/my-project-id/logs/syslog" - * "organizations/123/logs/cloudaudit.googleapis.com%2Factivity" + * "projects/my-project-id/logs/syslog" + * "organizations/123/logs/cloudaudit.googleapis.com%2Factivity" * * The permission `logging.logEntries.create` is needed on each project, * organization, billing account, or folder that is receiving new log @@ -1302,8 +1276,8 @@ public Builder setLogName(java.lang.String value) { * * `[LOG_ID]` must be URL-encoded. For example: * - * "projects/my-project-id/logs/syslog" - * "organizations/123/logs/cloudaudit.googleapis.com%2Factivity" + * "projects/my-project-id/logs/syslog" + * "organizations/123/logs/cloudaudit.googleapis.com%2Factivity" * * The permission `logging.logEntries.create` is needed on each project, * organization, billing account, or folder that is receiving new log @@ -1338,8 +1312,8 @@ public Builder clearLogName() { * * `[LOG_ID]` must be URL-encoded. For example: * - * "projects/my-project-id/logs/syslog" - * "organizations/123/logs/cloudaudit.googleapis.com%2Factivity" + * "projects/my-project-id/logs/syslog" + * "organizations/123/logs/cloudaudit.googleapis.com%2Factivity" * * The permission `logging.logEntries.create` is needed on each project, * organization, billing account, or folder that is receiving new log @@ -1366,7 +1340,7 @@ public Builder setLogNameBytes(com.google.protobuf.ByteString value) { } private com.google.api.MonitoredResource resource_; - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.api.MonitoredResource, com.google.api.MonitoredResource.Builder, com.google.api.MonitoredResourceOrBuilder> @@ -1379,9 +1353,9 @@ public Builder setLogNameBytes(com.google.protobuf.ByteString value) { * Optional. A default monitored resource object that is assigned to all log * entries in `entries` that do not specify a value for `resource`. Example: * - * { "type": "gce_instance", - * "labels": { - * "zone": "us-central1-a", "instance_id": "00000000000000000000" }} + * { "type": "gce_instance", + * "labels": { + * "zone": "us-central1-a", "instance_id": "00000000000000000000" }} * * See [LogEntry][google.logging.v2.LogEntry]. *
@@ -1402,9 +1376,9 @@ public boolean hasResource() { * Optional. A default monitored resource object that is assigned to all log * entries in `entries` that do not specify a value for `resource`. Example: * - * { "type": "gce_instance", - * "labels": { - * "zone": "us-central1-a", "instance_id": "00000000000000000000" }} + * { "type": "gce_instance", + * "labels": { + * "zone": "us-central1-a", "instance_id": "00000000000000000000" }} * * See [LogEntry][google.logging.v2.LogEntry]. *
@@ -1431,9 +1405,9 @@ public com.google.api.MonitoredResource getResource() { * Optional. A default monitored resource object that is assigned to all log * entries in `entries` that do not specify a value for `resource`. Example: * - * { "type": "gce_instance", - * "labels": { - * "zone": "us-central1-a", "instance_id": "00000000000000000000" }} + * { "type": "gce_instance", + * "labels": { + * "zone": "us-central1-a", "instance_id": "00000000000000000000" }} * * See [LogEntry][google.logging.v2.LogEntry]. *
@@ -1462,9 +1436,9 @@ public Builder setResource(com.google.api.MonitoredResource value) { * Optional. A default monitored resource object that is assigned to all log * entries in `entries` that do not specify a value for `resource`. Example: * - * { "type": "gce_instance", - * "labels": { - * "zone": "us-central1-a", "instance_id": "00000000000000000000" }} + * { "type": "gce_instance", + * "labels": { + * "zone": "us-central1-a", "instance_id": "00000000000000000000" }} * * See [LogEntry][google.logging.v2.LogEntry]. *
@@ -1490,9 +1464,9 @@ public Builder setResource(com.google.api.MonitoredResource.Builder builderForVa * Optional. A default monitored resource object that is assigned to all log * entries in `entries` that do not specify a value for `resource`. Example: * - * { "type": "gce_instance", - * "labels": { - * "zone": "us-central1-a", "instance_id": "00000000000000000000" }} + * { "type": "gce_instance", + * "labels": { + * "zone": "us-central1-a", "instance_id": "00000000000000000000" }} * * See [LogEntry][google.logging.v2.LogEntry]. *
@@ -1526,9 +1500,9 @@ public Builder mergeResource(com.google.api.MonitoredResource value) { * Optional. A default monitored resource object that is assigned to all log * entries in `entries` that do not specify a value for `resource`. Example: * - * { "type": "gce_instance", - * "labels": { - * "zone": "us-central1-a", "instance_id": "00000000000000000000" }} + * { "type": "gce_instance", + * "labels": { + * "zone": "us-central1-a", "instance_id": "00000000000000000000" }} * * See [LogEntry][google.logging.v2.LogEntry]. *
@@ -1554,9 +1528,9 @@ public Builder clearResource() { * Optional. A default monitored resource object that is assigned to all log * entries in `entries` that do not specify a value for `resource`. Example: * - * { "type": "gce_instance", - * "labels": { - * "zone": "us-central1-a", "instance_id": "00000000000000000000" }} + * { "type": "gce_instance", + * "labels": { + * "zone": "us-central1-a", "instance_id": "00000000000000000000" }} * * See [LogEntry][google.logging.v2.LogEntry]. *
@@ -1567,7 +1541,7 @@ public Builder clearResource() { public com.google.api.MonitoredResource.Builder getResourceBuilder() { bitField0_ |= 0x00000002; onChanged(); - return getResourceFieldBuilder().getBuilder(); + return internalGetResourceFieldBuilder().getBuilder(); } /** @@ -1577,9 +1551,9 @@ public com.google.api.MonitoredResource.Builder getResourceBuilder() { * Optional. A default monitored resource object that is assigned to all log * entries in `entries` that do not specify a value for `resource`. Example: * - * { "type": "gce_instance", - * "labels": { - * "zone": "us-central1-a", "instance_id": "00000000000000000000" }} + * { "type": "gce_instance", + * "labels": { + * "zone": "us-central1-a", "instance_id": "00000000000000000000" }} * * See [LogEntry][google.logging.v2.LogEntry]. *
@@ -1604,9 +1578,9 @@ public com.google.api.MonitoredResourceOrBuilder getResourceOrBuilder() { * Optional. A default monitored resource object that is assigned to all log * entries in `entries` that do not specify a value for `resource`. Example: * - * { "type": "gce_instance", - * "labels": { - * "zone": "us-central1-a", "instance_id": "00000000000000000000" }} + * { "type": "gce_instance", + * "labels": { + * "zone": "us-central1-a", "instance_id": "00000000000000000000" }} * * See [LogEntry][google.logging.v2.LogEntry]. *
@@ -1614,14 +1588,14 @@ public com.google.api.MonitoredResourceOrBuilder getResourceOrBuilder() { * .google.api.MonitoredResource resource = 2 [(.google.api.field_behavior) = OPTIONAL]; * */ - private com.google.protobuf.SingleFieldBuilderV3< + private com.google.protobuf.SingleFieldBuilder< com.google.api.MonitoredResource, com.google.api.MonitoredResource.Builder, com.google.api.MonitoredResourceOrBuilder> - getResourceFieldBuilder() { + internalGetResourceFieldBuilder() { if (resourceBuilder_ == null) { resourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< + new com.google.protobuf.SingleFieldBuilder< com.google.api.MonitoredResource, com.google.api.MonitoredResource.Builder, com.google.api.MonitoredResourceOrBuilder>( @@ -1834,7 +1808,7 @@ private void ensureEntriesIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.logging.v2.LogEntry, com.google.logging.v2.LogEntry.Builder, com.google.logging.v2.LogEntryOrBuilder> @@ -2416,7 +2390,7 @@ public Builder removeEntries(int index) { * */ public com.google.logging.v2.LogEntry.Builder getEntriesBuilder(int index) { - return getEntriesFieldBuilder().getBuilder(index); + return internalGetEntriesFieldBuilder().getBuilder(index); } /** @@ -2539,7 +2513,7 @@ public com.google.logging.v2.LogEntryOrBuilder getEntriesOrBuilder(int index) { * */ public com.google.logging.v2.LogEntry.Builder addEntriesBuilder() { - return getEntriesFieldBuilder() + return internalGetEntriesFieldBuilder() .addBuilder(com.google.logging.v2.LogEntry.getDefaultInstance()); } @@ -2578,7 +2552,7 @@ public com.google.logging.v2.LogEntry.Builder addEntriesBuilder() { * */ public com.google.logging.v2.LogEntry.Builder addEntriesBuilder(int index) { - return getEntriesFieldBuilder() + return internalGetEntriesFieldBuilder() .addBuilder(index, com.google.logging.v2.LogEntry.getDefaultInstance()); } @@ -2617,17 +2591,17 @@ public com.google.logging.v2.LogEntry.Builder addEntriesBuilder(int index) { * */ public java.util.List getEntriesBuilderList() { - return getEntriesFieldBuilder().getBuilderList(); + return internalGetEntriesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< + private com.google.protobuf.RepeatedFieldBuilder< com.google.logging.v2.LogEntry, com.google.logging.v2.LogEntry.Builder, com.google.logging.v2.LogEntryOrBuilder> - getEntriesFieldBuilder() { + internalGetEntriesFieldBuilder() { if (entriesBuilder_ == null) { entriesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< + new com.google.protobuf.RepeatedFieldBuilder< com.google.logging.v2.LogEntry, com.google.logging.v2.LogEntry.Builder, com.google.logging.v2.LogEntryOrBuilder>( @@ -2773,17 +2747,6 @@ public Builder clearDryRun() { return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.logging.v2.WriteLogEntriesRequest) } diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesRequestOrBuilder.java index 6750e665f..e5df70d50 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesRequestOrBuilder.java @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; +@com.google.protobuf.Generated public interface WriteLogEntriesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.WriteLogEntriesRequest) @@ -38,8 +40,8 @@ public interface WriteLogEntriesRequestOrBuilder * * `[LOG_ID]` must be URL-encoded. For example: * - * "projects/my-project-id/logs/syslog" - * "organizations/123/logs/cloudaudit.googleapis.com%2Factivity" + * "projects/my-project-id/logs/syslog" + * "organizations/123/logs/cloudaudit.googleapis.com%2Factivity" * * The permission `logging.logEntries.create` is needed on each project, * organization, billing account, or folder that is receiving new log @@ -69,8 +71,8 @@ public interface WriteLogEntriesRequestOrBuilder * * `[LOG_ID]` must be URL-encoded. For example: * - * "projects/my-project-id/logs/syslog" - * "organizations/123/logs/cloudaudit.googleapis.com%2Factivity" + * "projects/my-project-id/logs/syslog" + * "organizations/123/logs/cloudaudit.googleapis.com%2Factivity" * * The permission `logging.logEntries.create` is needed on each project, * organization, billing account, or folder that is receiving new log @@ -93,9 +95,9 @@ public interface WriteLogEntriesRequestOrBuilder * Optional. A default monitored resource object that is assigned to all log * entries in `entries` that do not specify a value for `resource`. Example: * - * { "type": "gce_instance", - * "labels": { - * "zone": "us-central1-a", "instance_id": "00000000000000000000" }} + * { "type": "gce_instance", + * "labels": { + * "zone": "us-central1-a", "instance_id": "00000000000000000000" }} * * See [LogEntry][google.logging.v2.LogEntry]. *
@@ -114,9 +116,9 @@ public interface WriteLogEntriesRequestOrBuilder * Optional. A default monitored resource object that is assigned to all log * entries in `entries` that do not specify a value for `resource`. Example: * - * { "type": "gce_instance", - * "labels": { - * "zone": "us-central1-a", "instance_id": "00000000000000000000" }} + * { "type": "gce_instance", + * "labels": { + * "zone": "us-central1-a", "instance_id": "00000000000000000000" }} * * See [LogEntry][google.logging.v2.LogEntry]. * @@ -135,9 +137,9 @@ public interface WriteLogEntriesRequestOrBuilder * Optional. A default monitored resource object that is assigned to all log * entries in `entries` that do not specify a value for `resource`. Example: * - * { "type": "gce_instance", - * "labels": { - * "zone": "us-central1-a", "instance_id": "00000000000000000000" }} + * { "type": "gce_instance", + * "labels": { + * "zone": "us-central1-a", "instance_id": "00000000000000000000" }} * * See [LogEntry][google.logging.v2.LogEntry]. * diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesResponse.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesResponse.java index 25ff97e41..fbe029eda 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesResponse.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesResponse.java @@ -14,9 +14,10 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -28,32 +29,37 @@ * * Protobuf type {@code google.logging.v2.WriteLogEntriesResponse} */ -public final class WriteLogEntriesResponse extends com.google.protobuf.GeneratedMessageV3 +@com.google.protobuf.Generated +public final class WriteLogEntriesResponse extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:google.logging.v2.WriteLogEntriesResponse) WriteLogEntriesResponseOrBuilder { private static final long serialVersionUID = 0L; + static { + com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( + com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, + /* major= */ 4, + /* minor= */ 33, + /* patch= */ 0, + /* suffix= */ "", + "WriteLogEntriesResponse"); + } + // Use WriteLogEntriesResponse.newBuilder() to construct. - private WriteLogEntriesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private WriteLogEntriesResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private WriteLogEntriesResponse() {} - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new WriteLogEntriesResponse(); - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingProto .internal_static_google_logging_v2_WriteLogEntriesResponse_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingProto .internal_static_google_logging_v2_WriteLogEntriesResponse_fieldAccessorTable @@ -154,38 +160,38 @@ public static com.google.logging.v2.WriteLogEntriesResponse parseFrom( public static com.google.logging.v2.WriteLogEntriesResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.WriteLogEntriesResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.WriteLogEntriesResponse parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.WriteLogEntriesResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.WriteLogEntriesResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); } public static com.google.logging.v2.WriteLogEntriesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + return com.google.protobuf.GeneratedMessage.parseWithIOException( PARSER, input, extensionRegistry); } @@ -208,7 +214,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -222,7 +228,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * Protobuf type {@code google.logging.v2.WriteLogEntriesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.WriteLogEntriesResponse) com.google.logging.v2.WriteLogEntriesResponseOrBuilder { @@ -232,7 +238,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingProto .internal_static_google_logging_v2_WriteLogEntriesResponse_fieldAccessorTable @@ -244,7 +250,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.logging.v2.WriteLogEntriesResponse.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); } @@ -282,39 +288,6 @@ public com.google.logging.v2.WriteLogEntriesResponse buildPartial() { return result; } - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.WriteLogEntriesResponse) { @@ -370,17 +343,6 @@ public Builder mergeFrom( return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - // @@protoc_insertion_point(builder_scope:google.logging.v2.WriteLogEntriesResponse) } diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesResponseOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesResponseOrBuilder.java index 1014a7596..b229aa444 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesResponseOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesResponseOrBuilder.java @@ -14,11 +14,13 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging.proto +// Protobuf Java Version: 4.33.0 -// Protobuf Java Version: 3.25.8 package com.google.logging.v2; +@com.google.protobuf.Generated public interface WriteLogEntriesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.WriteLogEntriesResponse) From 19c6c852b84f03a5b17795e684910e11bddaaa57 Mon Sep 17 00:00:00 2001 From: cloud-java-bot Date: Mon, 15 Dec 2025 02:35:55 +0000 Subject: [PATCH 04/26] chore: Update generation configuration at Mon Dec 15 02:35:49 UTC 2025 --- generation_config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generation_config.yaml b/generation_config.yaml index 4b8bc910e..e28b3b001 100644 --- a/generation_config.yaml +++ b/generation_config.yaml @@ -1,5 +1,5 @@ gapic_generator_version: 2.65.0-rc1 -googleapis_commitish: 8f3e57f09707aeea497c82ba9fa96092c4d67d1c +googleapis_commitish: 23c589888f29ea1c5f14162940ab5e773db9b566 libraries_bom_version: 26.72.0 libraries: - api_shortname: logging From d231da4f12d10003432de36e73c22cd27a6972a7 Mon Sep 17 00:00:00 2001 From: cloud-java-bot Date: Tue, 16 Dec 2025 02:33:18 +0000 Subject: [PATCH 05/26] chore: Update generation configuration at Tue Dec 16 02:33:10 UTC 2025 --- generation_config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generation_config.yaml b/generation_config.yaml index e28b3b001..4acb2990c 100644 --- a/generation_config.yaml +++ b/generation_config.yaml @@ -1,5 +1,5 @@ gapic_generator_version: 2.65.0-rc1 -googleapis_commitish: 23c589888f29ea1c5f14162940ab5e773db9b566 +googleapis_commitish: b60f5a5783d5ec0e8a8d254f73ad00316b9b646f libraries_bom_version: 26.72.0 libraries: - api_shortname: logging From 043bf14d6e06fcdb689a314ca1278bcf7706f1a8 Mon Sep 17 00:00:00 2001 From: cloud-java-bot Date: Wed, 17 Dec 2025 02:31:12 +0000 Subject: [PATCH 06/26] chore: Update generation configuration at Wed Dec 17 02:31:06 UTC 2025 --- generation_config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/generation_config.yaml b/generation_config.yaml index 4acb2990c..6d57fa665 100644 --- a/generation_config.yaml +++ b/generation_config.yaml @@ -1,6 +1,6 @@ gapic_generator_version: 2.65.0-rc1 -googleapis_commitish: b60f5a5783d5ec0e8a8d254f73ad00316b9b646f -libraries_bom_version: 26.72.0 +googleapis_commitish: 1496716325adf01af70ffca9161dd62d7bebbd50 +libraries_bom_version: 26.73.0 libraries: - api_shortname: logging name_pretty: Cloud Logging From e71cfddbf3df9fe65b92170cccd7b6be0f7e2814 Mon Sep 17 00:00:00 2001 From: cloud-java-bot Date: Wed, 17 Dec 2025 02:33:47 +0000 Subject: [PATCH 07/26] chore: generate libraries at Wed Dec 17 02:31:35 UTC 2025 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cedf0f42e..633de39de 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ If you are using Maven without the BOM, add this to your dependencies: If you are using Gradle 5.x or later, add this to your dependencies: ```Groovy -implementation platform('com.google.cloud:libraries-bom:26.72.0') +implementation platform('com.google.cloud:libraries-bom:26.73.0') implementation 'com.google.cloud:google-cloud-logging' ``` From bc2e939ed51d1e73549b0a24c3d5683fd9e08c95 Mon Sep 17 00:00:00 2001 From: cloud-java-bot Date: Thu, 18 Dec 2025 02:31:26 +0000 Subject: [PATCH 08/26] chore: Update generation configuration at Thu Dec 18 02:31:17 UTC 2025 --- generation_config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generation_config.yaml b/generation_config.yaml index 6d57fa665..322c61834 100644 --- a/generation_config.yaml +++ b/generation_config.yaml @@ -1,5 +1,5 @@ gapic_generator_version: 2.65.0-rc1 -googleapis_commitish: 1496716325adf01af70ffca9161dd62d7bebbd50 +googleapis_commitish: 6d6acd2e993c45a7a45fc6374d6c2fc987af1f77 libraries_bom_version: 26.73.0 libraries: - api_shortname: logging From 53bad4ae4c4f654758e0438d689b959b379bacd2 Mon Sep 17 00:00:00 2001 From: cloud-java-bot Date: Fri, 19 Dec 2025 02:32:42 +0000 Subject: [PATCH 09/26] chore: Update generation configuration at Fri Dec 19 02:32:34 UTC 2025 --- generation_config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generation_config.yaml b/generation_config.yaml index 322c61834..8c54a1583 100644 --- a/generation_config.yaml +++ b/generation_config.yaml @@ -1,5 +1,5 @@ gapic_generator_version: 2.65.0-rc1 -googleapis_commitish: 6d6acd2e993c45a7a45fc6374d6c2fc987af1f77 +googleapis_commitish: affadb6065604127974a094649edbaceacfa2433 libraries_bom_version: 26.73.0 libraries: - api_shortname: logging From ce7d754a03b4ddc8ac15ac4e49fdffc770a9189c Mon Sep 17 00:00:00 2001 From: cloud-java-bot Date: Sat, 20 Dec 2025 02:30:15 +0000 Subject: [PATCH 10/26] chore: Update generation configuration at Sat Dec 20 02:30:09 UTC 2025 --- generation_config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/generation_config.yaml b/generation_config.yaml index 8c54a1583..ef287bae8 100644 --- a/generation_config.yaml +++ b/generation_config.yaml @@ -1,6 +1,6 @@ gapic_generator_version: 2.65.0-rc1 -googleapis_commitish: affadb6065604127974a094649edbaceacfa2433 -libraries_bom_version: 26.73.0 +googleapis_commitish: 347b0e45a6ec42e183e44ce11e0cb0eaf7f24caa +libraries_bom_version: 26.74.0-rc1 libraries: - api_shortname: logging name_pretty: Cloud Logging From ab79f2a5e1d80c984b14316acb9bc813504f7ff3 Mon Sep 17 00:00:00 2001 From: cloud-java-bot Date: Sat, 20 Dec 2025 02:32:36 +0000 Subject: [PATCH 11/26] chore: generate libraries at Sat Dec 20 02:30:38 UTC 2025 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 633de39de..485e333bf 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ If you are using Maven without the BOM, add this to your dependencies: If you are using Gradle 5.x or later, add this to your dependencies: ```Groovy -implementation platform('com.google.cloud:libraries-bom:26.73.0') +implementation platform('com.google.cloud:libraries-bom:26.74.0-rc1') implementation 'com.google.cloud:google-cloud-logging' ``` From d1190e35f1d96543cca0159452e8e41b9ad91760 Mon Sep 17 00:00:00 2001 From: cloud-java-bot Date: Wed, 24 Dec 2025 02:32:23 +0000 Subject: [PATCH 12/26] chore: Update generation configuration at Wed Dec 24 02:32:17 UTC 2025 --- generation_config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generation_config.yaml b/generation_config.yaml index ef287bae8..be905f137 100644 --- a/generation_config.yaml +++ b/generation_config.yaml @@ -1,5 +1,5 @@ gapic_generator_version: 2.65.0-rc1 -googleapis_commitish: 347b0e45a6ec42e183e44ce11e0cb0eaf7f24caa +googleapis_commitish: ef6a532bfd9ab7a944bdedd64c69a2b4042db58b libraries_bom_version: 26.74.0-rc1 libraries: - api_shortname: logging From 164dab5e285056a425331c35cb5939ff5867279a Mon Sep 17 00:00:00 2001 From: cloud-java-bot Date: Thu, 25 Dec 2025 02:34:22 +0000 Subject: [PATCH 13/26] chore: Update generation configuration at Thu Dec 25 02:34:13 UTC 2025 --- generation_config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generation_config.yaml b/generation_config.yaml index be905f137..74609dbd8 100644 --- a/generation_config.yaml +++ b/generation_config.yaml @@ -1,5 +1,5 @@ gapic_generator_version: 2.65.0-rc1 -googleapis_commitish: ef6a532bfd9ab7a944bdedd64c69a2b4042db58b +googleapis_commitish: 60f1e6ad747f1a603902b0d87867539c7df22a3b libraries_bom_version: 26.74.0-rc1 libraries: - api_shortname: logging From 23097ffbf2dc6fd4612727801388b80f808ccc08 Mon Sep 17 00:00:00 2001 From: cloud-java-bot Date: Tue, 30 Dec 2025 02:34:39 +0000 Subject: [PATCH 14/26] chore: Update generation configuration at Tue Dec 30 02:34:32 UTC 2025 --- generation_config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generation_config.yaml b/generation_config.yaml index 74609dbd8..41abaee9b 100644 --- a/generation_config.yaml +++ b/generation_config.yaml @@ -1,5 +1,5 @@ gapic_generator_version: 2.65.0-rc1 -googleapis_commitish: 60f1e6ad747f1a603902b0d87867539c7df22a3b +googleapis_commitish: 94ccedca05acb0bb60780789e93371c9e4100ddc libraries_bom_version: 26.74.0-rc1 libraries: - api_shortname: logging From bdfe33e64eeb3cc83369ad481b84dab81628fd51 Mon Sep 17 00:00:00 2001 From: cloud-java-bot Date: Wed, 31 Dec 2025 02:34:19 +0000 Subject: [PATCH 15/26] chore: Update generation configuration at Wed Dec 31 02:34:12 UTC 2025 --- generation_config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generation_config.yaml b/generation_config.yaml index 41abaee9b..196172c1a 100644 --- a/generation_config.yaml +++ b/generation_config.yaml @@ -1,5 +1,5 @@ gapic_generator_version: 2.65.0-rc1 -googleapis_commitish: 94ccedca05acb0bb60780789e93371c9e4100ddc +googleapis_commitish: 9a477cd3c26a704130e2a2fb44a40281d9312e4c libraries_bom_version: 26.74.0-rc1 libraries: - api_shortname: logging From 87dfb5cadd6b18cb5e8dcc7868c3fc2e9b2618e3 Mon Sep 17 00:00:00 2001 From: cloud-java-bot Date: Tue, 6 Jan 2026 02:36:07 +0000 Subject: [PATCH 16/26] chore: Update generation configuration at Tue Jan 6 02:36:01 UTC 2026 --- generation_config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generation_config.yaml b/generation_config.yaml index 196172c1a..766cc6d5d 100644 --- a/generation_config.yaml +++ b/generation_config.yaml @@ -1,5 +1,5 @@ gapic_generator_version: 2.65.0-rc1 -googleapis_commitish: 9a477cd3c26a704130e2a2fb44a40281d9312e4c +googleapis_commitish: 286c66a565ed6d9cfecb062e7ac13363e76f2e0a libraries_bom_version: 26.74.0-rc1 libraries: - api_shortname: logging From b6c7018d5b41bc68d13e2e9bf9cc73c1d0ce8ff5 Mon Sep 17 00:00:00 2001 From: cloud-java-bot Date: Tue, 6 Jan 2026 02:38:31 +0000 Subject: [PATCH 17/26] chore: generate libraries at Tue Jan 6 02:36:32 UTC 2026 --- .../src/main/java/com/google/cloud/logging/v2/ConfigClient.java | 2 +- .../main/java/com/google/cloud/logging/v2/ConfigSettings.java | 2 +- .../main/java/com/google/cloud/logging/v2/LoggingClient.java | 2 +- .../main/java/com/google/cloud/logging/v2/LoggingSettings.java | 2 +- .../main/java/com/google/cloud/logging/v2/MetricsClient.java | 2 +- .../main/java/com/google/cloud/logging/v2/MetricsSettings.java | 2 +- .../src/main/java/com/google/cloud/logging/v2/package-info.java | 2 +- .../com/google/cloud/logging/v2/stub/ConfigServiceV2Stub.java | 2 +- .../cloud/logging/v2/stub/ConfigServiceV2StubSettings.java | 2 +- .../logging/v2/stub/GrpcConfigServiceV2CallableFactory.java | 2 +- .../google/cloud/logging/v2/stub/GrpcConfigServiceV2Stub.java | 2 +- .../logging/v2/stub/GrpcLoggingServiceV2CallableFactory.java | 2 +- .../google/cloud/logging/v2/stub/GrpcLoggingServiceV2Stub.java | 2 +- .../logging/v2/stub/GrpcMetricsServiceV2CallableFactory.java | 2 +- .../google/cloud/logging/v2/stub/GrpcMetricsServiceV2Stub.java | 2 +- .../com/google/cloud/logging/v2/stub/LoggingServiceV2Stub.java | 2 +- .../cloud/logging/v2/stub/LoggingServiceV2StubSettings.java | 2 +- .../com/google/cloud/logging/v2/stub/MetricsServiceV2Stub.java | 2 +- .../cloud/logging/v2/stub/MetricsServiceV2StubSettings.java | 2 +- .../test/java/com/google/cloud/logging/v2/ConfigClientTest.java | 2 +- .../java/com/google/cloud/logging/v2/LoggingClientTest.java | 2 +- .../java/com/google/cloud/logging/v2/MetricsClientTest.java | 2 +- .../java/com/google/cloud/logging/v2/MockConfigServiceV2.java | 2 +- .../com/google/cloud/logging/v2/MockConfigServiceV2Impl.java | 2 +- .../java/com/google/cloud/logging/v2/MockLoggingServiceV2.java | 2 +- .../com/google/cloud/logging/v2/MockLoggingServiceV2Impl.java | 2 +- .../java/com/google/cloud/logging/v2/MockMetricsServiceV2.java | 2 +- .../com/google/cloud/logging/v2/MockMetricsServiceV2Impl.java | 2 +- .../main/java/com/google/logging/v2/ConfigServiceV2Grpc.java | 2 +- .../main/java/com/google/logging/v2/LoggingServiceV2Grpc.java | 2 +- .../main/java/com/google/logging/v2/MetricsServiceV2Grpc.java | 2 +- .../src/main/java/com/google/logging/v2/BigQueryDataset.java | 2 +- .../java/com/google/logging/v2/BigQueryDatasetOrBuilder.java | 2 +- .../src/main/java/com/google/logging/v2/BigQueryOptions.java | 2 +- .../java/com/google/logging/v2/BigQueryOptionsOrBuilder.java | 2 +- .../java/com/google/logging/v2/BillingAccountLocationName.java | 2 +- .../src/main/java/com/google/logging/v2/BillingAccountName.java | 2 +- .../src/main/java/com/google/logging/v2/BucketMetadata.java | 2 +- .../java/com/google/logging/v2/BucketMetadataOrBuilder.java | 2 +- .../src/main/java/com/google/logging/v2/CmekSettings.java | 2 +- .../src/main/java/com/google/logging/v2/CmekSettingsName.java | 2 +- .../main/java/com/google/logging/v2/CmekSettingsOrBuilder.java | 2 +- .../main/java/com/google/logging/v2/CopyLogEntriesMetadata.java | 2 +- .../com/google/logging/v2/CopyLogEntriesMetadataOrBuilder.java | 2 +- .../main/java/com/google/logging/v2/CopyLogEntriesRequest.java | 2 +- .../com/google/logging/v2/CopyLogEntriesRequestOrBuilder.java | 2 +- .../main/java/com/google/logging/v2/CopyLogEntriesResponse.java | 2 +- .../com/google/logging/v2/CopyLogEntriesResponseOrBuilder.java | 2 +- .../main/java/com/google/logging/v2/CreateBucketRequest.java | 2 +- .../com/google/logging/v2/CreateBucketRequestOrBuilder.java | 2 +- .../main/java/com/google/logging/v2/CreateExclusionRequest.java | 2 +- .../com/google/logging/v2/CreateExclusionRequestOrBuilder.java | 2 +- .../src/main/java/com/google/logging/v2/CreateLinkRequest.java | 2 +- .../java/com/google/logging/v2/CreateLinkRequestOrBuilder.java | 2 +- .../main/java/com/google/logging/v2/CreateLogMetricRequest.java | 2 +- .../com/google/logging/v2/CreateLogMetricRequestOrBuilder.java | 2 +- .../src/main/java/com/google/logging/v2/CreateSinkRequest.java | 2 +- .../java/com/google/logging/v2/CreateSinkRequestOrBuilder.java | 2 +- .../src/main/java/com/google/logging/v2/CreateViewRequest.java | 2 +- .../java/com/google/logging/v2/CreateViewRequestOrBuilder.java | 2 +- .../main/java/com/google/logging/v2/DeleteBucketRequest.java | 2 +- .../com/google/logging/v2/DeleteBucketRequestOrBuilder.java | 2 +- .../main/java/com/google/logging/v2/DeleteExclusionRequest.java | 2 +- .../com/google/logging/v2/DeleteExclusionRequestOrBuilder.java | 2 +- .../src/main/java/com/google/logging/v2/DeleteLinkRequest.java | 2 +- .../java/com/google/logging/v2/DeleteLinkRequestOrBuilder.java | 2 +- .../main/java/com/google/logging/v2/DeleteLogMetricRequest.java | 2 +- .../com/google/logging/v2/DeleteLogMetricRequestOrBuilder.java | 2 +- .../src/main/java/com/google/logging/v2/DeleteLogRequest.java | 2 +- .../java/com/google/logging/v2/DeleteLogRequestOrBuilder.java | 2 +- .../src/main/java/com/google/logging/v2/DeleteSinkRequest.java | 2 +- .../java/com/google/logging/v2/DeleteSinkRequestOrBuilder.java | 2 +- .../src/main/java/com/google/logging/v2/DeleteViewRequest.java | 2 +- .../java/com/google/logging/v2/DeleteViewRequestOrBuilder.java | 2 +- .../src/main/java/com/google/logging/v2/FolderLocationName.java | 2 +- .../src/main/java/com/google/logging/v2/FolderName.java | 2 +- .../src/main/java/com/google/logging/v2/GetBucketRequest.java | 2 +- .../java/com/google/logging/v2/GetBucketRequestOrBuilder.java | 2 +- .../main/java/com/google/logging/v2/GetCmekSettingsRequest.java | 2 +- .../com/google/logging/v2/GetCmekSettingsRequestOrBuilder.java | 2 +- .../main/java/com/google/logging/v2/GetExclusionRequest.java | 2 +- .../com/google/logging/v2/GetExclusionRequestOrBuilder.java | 2 +- .../src/main/java/com/google/logging/v2/GetLinkRequest.java | 2 +- .../java/com/google/logging/v2/GetLinkRequestOrBuilder.java | 2 +- .../main/java/com/google/logging/v2/GetLogMetricRequest.java | 2 +- .../com/google/logging/v2/GetLogMetricRequestOrBuilder.java | 2 +- .../src/main/java/com/google/logging/v2/GetSettingsRequest.java | 2 +- .../java/com/google/logging/v2/GetSettingsRequestOrBuilder.java | 2 +- .../src/main/java/com/google/logging/v2/GetSinkRequest.java | 2 +- .../java/com/google/logging/v2/GetSinkRequestOrBuilder.java | 2 +- .../src/main/java/com/google/logging/v2/GetViewRequest.java | 2 +- .../java/com/google/logging/v2/GetViewRequestOrBuilder.java | 2 +- .../src/main/java/com/google/logging/v2/IndexConfig.java | 2 +- .../main/java/com/google/logging/v2/IndexConfigOrBuilder.java | 2 +- .../src/main/java/com/google/logging/v2/IndexType.java | 2 +- .../src/main/java/com/google/logging/v2/LifecycleState.java | 2 +- .../src/main/java/com/google/logging/v2/Link.java | 2 +- .../src/main/java/com/google/logging/v2/LinkMetadata.java | 2 +- .../main/java/com/google/logging/v2/LinkMetadataOrBuilder.java | 2 +- .../src/main/java/com/google/logging/v2/LinkName.java | 2 +- .../src/main/java/com/google/logging/v2/LinkOrBuilder.java | 2 +- .../src/main/java/com/google/logging/v2/ListBucketsRequest.java | 2 +- .../java/com/google/logging/v2/ListBucketsRequestOrBuilder.java | 2 +- .../main/java/com/google/logging/v2/ListBucketsResponse.java | 2 +- .../com/google/logging/v2/ListBucketsResponseOrBuilder.java | 2 +- .../main/java/com/google/logging/v2/ListExclusionsRequest.java | 2 +- .../com/google/logging/v2/ListExclusionsRequestOrBuilder.java | 2 +- .../main/java/com/google/logging/v2/ListExclusionsResponse.java | 2 +- .../com/google/logging/v2/ListExclusionsResponseOrBuilder.java | 2 +- .../src/main/java/com/google/logging/v2/ListLinksRequest.java | 2 +- .../java/com/google/logging/v2/ListLinksRequestOrBuilder.java | 2 +- .../src/main/java/com/google/logging/v2/ListLinksResponse.java | 2 +- .../java/com/google/logging/v2/ListLinksResponseOrBuilder.java | 2 +- .../main/java/com/google/logging/v2/ListLogEntriesRequest.java | 2 +- .../com/google/logging/v2/ListLogEntriesRequestOrBuilder.java | 2 +- .../main/java/com/google/logging/v2/ListLogEntriesResponse.java | 2 +- .../com/google/logging/v2/ListLogEntriesResponseOrBuilder.java | 2 +- .../main/java/com/google/logging/v2/ListLogMetricsRequest.java | 2 +- .../com/google/logging/v2/ListLogMetricsRequestOrBuilder.java | 2 +- .../main/java/com/google/logging/v2/ListLogMetricsResponse.java | 2 +- .../com/google/logging/v2/ListLogMetricsResponseOrBuilder.java | 2 +- .../src/main/java/com/google/logging/v2/ListLogsRequest.java | 2 +- .../java/com/google/logging/v2/ListLogsRequestOrBuilder.java | 2 +- .../src/main/java/com/google/logging/v2/ListLogsResponse.java | 2 +- .../java/com/google/logging/v2/ListLogsResponseOrBuilder.java | 2 +- .../logging/v2/ListMonitoredResourceDescriptorsRequest.java | 2 +- .../v2/ListMonitoredResourceDescriptorsRequestOrBuilder.java | 2 +- .../logging/v2/ListMonitoredResourceDescriptorsResponse.java | 2 +- .../v2/ListMonitoredResourceDescriptorsResponseOrBuilder.java | 2 +- .../src/main/java/com/google/logging/v2/ListSinksRequest.java | 2 +- .../java/com/google/logging/v2/ListSinksRequestOrBuilder.java | 2 +- .../src/main/java/com/google/logging/v2/ListSinksResponse.java | 2 +- .../java/com/google/logging/v2/ListSinksResponseOrBuilder.java | 2 +- .../src/main/java/com/google/logging/v2/ListViewsRequest.java | 2 +- .../java/com/google/logging/v2/ListViewsRequestOrBuilder.java | 2 +- .../src/main/java/com/google/logging/v2/ListViewsResponse.java | 2 +- .../java/com/google/logging/v2/ListViewsResponseOrBuilder.java | 2 +- .../src/main/java/com/google/logging/v2/LocationMetadata.java | 2 +- .../java/com/google/logging/v2/LocationMetadataOrBuilder.java | 2 +- .../src/main/java/com/google/logging/v2/LocationName.java | 2 +- .../src/main/java/com/google/logging/v2/LogBucket.java | 2 +- .../src/main/java/com/google/logging/v2/LogBucketName.java | 2 +- .../src/main/java/com/google/logging/v2/LogBucketOrBuilder.java | 2 +- .../src/main/java/com/google/logging/v2/LogEntry.java | 2 +- .../src/main/java/com/google/logging/v2/LogEntryOperation.java | 2 +- .../java/com/google/logging/v2/LogEntryOperationOrBuilder.java | 2 +- .../src/main/java/com/google/logging/v2/LogEntryOrBuilder.java | 2 +- .../src/main/java/com/google/logging/v2/LogEntryProto.java | 2 +- .../main/java/com/google/logging/v2/LogEntrySourceLocation.java | 2 +- .../com/google/logging/v2/LogEntrySourceLocationOrBuilder.java | 2 +- .../src/main/java/com/google/logging/v2/LogExclusion.java | 2 +- .../src/main/java/com/google/logging/v2/LogExclusionName.java | 2 +- .../main/java/com/google/logging/v2/LogExclusionOrBuilder.java | 2 +- .../src/main/java/com/google/logging/v2/LogMetric.java | 2 +- .../src/main/java/com/google/logging/v2/LogMetricName.java | 2 +- .../src/main/java/com/google/logging/v2/LogMetricOrBuilder.java | 2 +- .../src/main/java/com/google/logging/v2/LogName.java | 2 +- .../src/main/java/com/google/logging/v2/LogSink.java | 2 +- .../src/main/java/com/google/logging/v2/LogSinkName.java | 2 +- .../src/main/java/com/google/logging/v2/LogSinkOrBuilder.java | 2 +- .../src/main/java/com/google/logging/v2/LogSplit.java | 2 +- .../src/main/java/com/google/logging/v2/LogSplitOrBuilder.java | 2 +- .../src/main/java/com/google/logging/v2/LogView.java | 2 +- .../src/main/java/com/google/logging/v2/LogViewName.java | 2 +- .../src/main/java/com/google/logging/v2/LogViewOrBuilder.java | 2 +- .../src/main/java/com/google/logging/v2/LoggingConfigProto.java | 2 +- .../main/java/com/google/logging/v2/LoggingMetricsProto.java | 2 +- .../src/main/java/com/google/logging/v2/LoggingProto.java | 2 +- .../src/main/java/com/google/logging/v2/OperationState.java | 2 +- .../java/com/google/logging/v2/OrganizationLocationName.java | 2 +- .../src/main/java/com/google/logging/v2/OrganizationName.java | 2 +- .../src/main/java/com/google/logging/v2/ProjectName.java | 2 +- .../src/main/java/com/google/logging/v2/Settings.java | 2 +- .../src/main/java/com/google/logging/v2/SettingsName.java | 2 +- .../src/main/java/com/google/logging/v2/SettingsOrBuilder.java | 2 +- .../main/java/com/google/logging/v2/TailLogEntriesRequest.java | 2 +- .../com/google/logging/v2/TailLogEntriesRequestOrBuilder.java | 2 +- .../main/java/com/google/logging/v2/TailLogEntriesResponse.java | 2 +- .../com/google/logging/v2/TailLogEntriesResponseOrBuilder.java | 2 +- .../main/java/com/google/logging/v2/UndeleteBucketRequest.java | 2 +- .../com/google/logging/v2/UndeleteBucketRequestOrBuilder.java | 2 +- .../main/java/com/google/logging/v2/UpdateBucketRequest.java | 2 +- .../com/google/logging/v2/UpdateBucketRequestOrBuilder.java | 2 +- .../java/com/google/logging/v2/UpdateCmekSettingsRequest.java | 2 +- .../google/logging/v2/UpdateCmekSettingsRequestOrBuilder.java | 2 +- .../main/java/com/google/logging/v2/UpdateExclusionRequest.java | 2 +- .../com/google/logging/v2/UpdateExclusionRequestOrBuilder.java | 2 +- .../main/java/com/google/logging/v2/UpdateLogMetricRequest.java | 2 +- .../com/google/logging/v2/UpdateLogMetricRequestOrBuilder.java | 2 +- .../main/java/com/google/logging/v2/UpdateSettingsRequest.java | 2 +- .../com/google/logging/v2/UpdateSettingsRequestOrBuilder.java | 2 +- .../src/main/java/com/google/logging/v2/UpdateSinkRequest.java | 2 +- .../java/com/google/logging/v2/UpdateSinkRequestOrBuilder.java | 2 +- .../src/main/java/com/google/logging/v2/UpdateViewRequest.java | 2 +- .../java/com/google/logging/v2/UpdateViewRequestOrBuilder.java | 2 +- .../com/google/logging/v2/WriteLogEntriesPartialErrors.java | 2 +- .../logging/v2/WriteLogEntriesPartialErrorsOrBuilder.java | 2 +- .../main/java/com/google/logging/v2/WriteLogEntriesRequest.java | 2 +- .../com/google/logging/v2/WriteLogEntriesRequestOrBuilder.java | 2 +- .../java/com/google/logging/v2/WriteLogEntriesResponse.java | 2 +- .../com/google/logging/v2/WriteLogEntriesResponseOrBuilder.java | 2 +- 201 files changed, 201 insertions(+), 201 deletions(-) diff --git a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/ConfigClient.java b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/ConfigClient.java index 6216cbacc..d25b88491 100644 --- a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/ConfigClient.java +++ b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/ConfigClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/ConfigSettings.java b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/ConfigSettings.java index aeed6d1ca..765fa49c8 100644 --- a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/ConfigSettings.java +++ b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/ConfigSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 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/LoggingClient.java b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/LoggingClient.java index d4e84c3b3..a8a708078 100644 --- a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/LoggingClient.java +++ b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/LoggingClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/LoggingSettings.java b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/LoggingSettings.java index 688bc3269..18321edf7 100644 --- a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/LoggingSettings.java +++ b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/LoggingSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 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/MetricsClient.java b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/MetricsClient.java index cbeed2501..8ee3f6207 100644 --- a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/MetricsClient.java +++ b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/MetricsClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/MetricsSettings.java b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/MetricsSettings.java index d75380296..b29efecf6 100644 --- a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/MetricsSettings.java +++ b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/MetricsSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 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/package-info.java b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/package-info.java index 562971562..029536712 100644 --- a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/package-info.java +++ b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/ConfigServiceV2Stub.java b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/ConfigServiceV2Stub.java index e5b734ebb..ba40b213b 100644 --- a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/ConfigServiceV2Stub.java +++ b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/ConfigServiceV2Stub.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/ConfigServiceV2StubSettings.java b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/ConfigServiceV2StubSettings.java index b3ccd40a1..555203c56 100644 --- a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/ConfigServiceV2StubSettings.java +++ b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/ConfigServiceV2StubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 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/GrpcConfigServiceV2CallableFactory.java b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcConfigServiceV2CallableFactory.java index ee8ab9705..e37c3746b 100644 --- a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcConfigServiceV2CallableFactory.java +++ b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcConfigServiceV2CallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcConfigServiceV2Stub.java b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcConfigServiceV2Stub.java index f5cd1a54a..4b810bd55 100644 --- a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcConfigServiceV2Stub.java +++ b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcConfigServiceV2Stub.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcLoggingServiceV2CallableFactory.java b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcLoggingServiceV2CallableFactory.java index b12cd704d..2ea721e81 100644 --- a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcLoggingServiceV2CallableFactory.java +++ b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcLoggingServiceV2CallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcLoggingServiceV2Stub.java b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcLoggingServiceV2Stub.java index c227a7d1b..ce6c8efc1 100644 --- a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcLoggingServiceV2Stub.java +++ b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcLoggingServiceV2Stub.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcMetricsServiceV2CallableFactory.java b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcMetricsServiceV2CallableFactory.java index 593ca85d9..d64bb1b3f 100644 --- a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcMetricsServiceV2CallableFactory.java +++ b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcMetricsServiceV2CallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcMetricsServiceV2Stub.java b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcMetricsServiceV2Stub.java index 35d5d1830..f6b4e3ab6 100644 --- a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcMetricsServiceV2Stub.java +++ b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcMetricsServiceV2Stub.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/LoggingServiceV2Stub.java b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/LoggingServiceV2Stub.java index 63c959ef2..5e2830d0e 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 2025 Google LLC + * Copyright 2026 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 2320f900e..70f47cbd3 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 2025 Google LLC + * Copyright 2026 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 14e6fdd3d..f546d2c26 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 2025 Google LLC + * Copyright 2026 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 b4786a31a..7f08a8e1d 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 2025 Google LLC + * Copyright 2026 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 e4a8e8770..44edf6ece 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 2025 Google LLC + * Copyright 2026 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 5299f9673..da2bff393 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 2025 Google LLC + * Copyright 2026 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 a73df6937..6d388979e 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 2025 Google LLC + * Copyright 2026 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 4307b3818..c7ebe0ffe 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 2025 Google LLC + * Copyright 2026 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 2b795e6c4..9539675fe 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 2025 Google LLC + * Copyright 2026 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 3a0d1f388..566b2df32 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 2025 Google LLC + * Copyright 2026 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 8e2ff8754..22a8770f2 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 2025 Google LLC + * Copyright 2026 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 d4bb1d5af..75cb84fb9 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 2025 Google LLC + * Copyright 2026 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 597b93be7..2e322e1da 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 2025 Google LLC + * Copyright 2026 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 e306944ed..7f26c3bc0 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 2025 Google LLC + * Copyright 2026 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 e654a1b54..41e5b84e1 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 2025 Google LLC + * Copyright 2026 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 ecc22d024..0c36ddf14 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 2025 Google LLC + * Copyright 2026 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 8d5b22a5b..bfbe9c5f7 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 2025 Google LLC + * Copyright 2026 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/BigQueryDatasetOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BigQueryDatasetOrBuilder.java index 88202a4d2..6e80ba5a7 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 2025 Google LLC + * Copyright 2026 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/BigQueryOptions.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BigQueryOptions.java index e47266ac3..c3b119cdf 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 2025 Google LLC + * Copyright 2026 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/BigQueryOptionsOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BigQueryOptionsOrBuilder.java index 84e878b99..8ec19c193 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 2025 Google LLC + * Copyright 2026 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/BillingAccountLocationName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BillingAccountLocationName.java index 4ced3ee80..1a5aa5c8d 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 2025 Google LLC + * Copyright 2026 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 39901d951..681a8031f 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 2025 Google LLC + * Copyright 2026 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 ee9878cb6..ceb620776 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 2025 Google LLC + * Copyright 2026 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/BucketMetadataOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BucketMetadataOrBuilder.java index 97b9a2a64..fc0457daf 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 2025 Google LLC + * Copyright 2026 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/CmekSettings.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CmekSettings.java index 672c6e250..e0bfde653 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 2025 Google LLC + * Copyright 2026 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/CmekSettingsName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CmekSettingsName.java index b6faec28b..dc03c46f5 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 2025 Google LLC + * Copyright 2026 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/CmekSettingsOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CmekSettingsOrBuilder.java index ef3a12856..dfdaf4631 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 2025 Google LLC + * Copyright 2026 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/CopyLogEntriesMetadata.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CopyLogEntriesMetadata.java index 2ee70c121..5426b09c9 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 2025 Google LLC + * Copyright 2026 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/CopyLogEntriesMetadataOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CopyLogEntriesMetadataOrBuilder.java index 4b0f95284..b7e13f9f6 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 2025 Google LLC + * Copyright 2026 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/CopyLogEntriesRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CopyLogEntriesRequest.java index 947821391..c33f8e6d2 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 2025 Google LLC + * Copyright 2026 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/CopyLogEntriesRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CopyLogEntriesRequestOrBuilder.java index fc8686d4e..a1cc65826 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 2025 Google LLC + * Copyright 2026 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/CopyLogEntriesResponse.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CopyLogEntriesResponse.java index f89d0275d..95cabd769 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 2025 Google LLC + * Copyright 2026 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/CopyLogEntriesResponseOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CopyLogEntriesResponseOrBuilder.java index 6dbe74015..e5cf680eb 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 2025 Google LLC + * Copyright 2026 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 2446919a3..1ec814239 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 2025 Google LLC + * Copyright 2026 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/CreateBucketRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateBucketRequestOrBuilder.java index 1d87b51f5..2d159a814 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 2025 Google LLC + * Copyright 2026 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/CreateExclusionRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateExclusionRequest.java index da711916c..82836d4d4 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 2025 Google LLC + * Copyright 2026 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/CreateExclusionRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateExclusionRequestOrBuilder.java index 104097717..f2f7aa568 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 2025 Google LLC + * Copyright 2026 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/CreateLinkRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateLinkRequest.java index 99d51551a..c9f1c443a 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 2025 Google LLC + * Copyright 2026 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/CreateLinkRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateLinkRequestOrBuilder.java index cf0fa905c..17876c71d 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 2025 Google LLC + * Copyright 2026 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/CreateLogMetricRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateLogMetricRequest.java index 52fc06a4c..3206e0ec3 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 2025 Google LLC + * Copyright 2026 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/CreateLogMetricRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateLogMetricRequestOrBuilder.java index d4cf19303..b1395dbb0 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 2025 Google LLC + * Copyright 2026 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/CreateSinkRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateSinkRequest.java index a1bb055ff..c4a40c19e 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 2025 Google LLC + * Copyright 2026 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/CreateSinkRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateSinkRequestOrBuilder.java index 042f7860c..f4ae5c9e3 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 2025 Google LLC + * Copyright 2026 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/CreateViewRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateViewRequest.java index c0c4d8949..6599a0a93 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 2025 Google LLC + * Copyright 2026 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/CreateViewRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateViewRequestOrBuilder.java index ec36f50c0..8348738e1 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 2025 Google LLC + * Copyright 2026 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/DeleteBucketRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteBucketRequest.java index c8eb17761..f261797f0 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 2025 Google LLC + * Copyright 2026 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/DeleteBucketRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteBucketRequestOrBuilder.java index eba5189e9..de7c6cec5 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 2025 Google LLC + * Copyright 2026 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/DeleteExclusionRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteExclusionRequest.java index 8706881aa..b9f5d5e35 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 2025 Google LLC + * Copyright 2026 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/DeleteExclusionRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteExclusionRequestOrBuilder.java index 5e64e2926..4e9b82fc9 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 2025 Google LLC + * Copyright 2026 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/DeleteLinkRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLinkRequest.java index 10690142e..36df66c0b 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 2025 Google LLC + * Copyright 2026 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/DeleteLinkRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLinkRequestOrBuilder.java index bbb175de2..04ec2b712 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 2025 Google LLC + * Copyright 2026 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/DeleteLogMetricRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLogMetricRequest.java index 2d3921b51..38addc577 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 2025 Google LLC + * Copyright 2026 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/DeleteLogMetricRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLogMetricRequestOrBuilder.java index f719f542a..f94f65499 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 2025 Google LLC + * Copyright 2026 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/DeleteLogRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLogRequest.java index 6f9106c3e..a6d1935b6 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 2025 Google LLC + * Copyright 2026 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/DeleteLogRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLogRequestOrBuilder.java index 88317968c..2c29f53a6 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 2025 Google LLC + * Copyright 2026 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/DeleteSinkRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteSinkRequest.java index 05a322414..788307ed4 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 2025 Google LLC + * Copyright 2026 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/DeleteSinkRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteSinkRequestOrBuilder.java index 5d3411c2f..08ca18c3a 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 2025 Google LLC + * Copyright 2026 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/DeleteViewRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteViewRequest.java index e04274e9d..b52e90b2b 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 2025 Google LLC + * Copyright 2026 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/DeleteViewRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteViewRequestOrBuilder.java index 5a87c62c4..72bbb1c1c 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 2025 Google LLC + * Copyright 2026 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/FolderLocationName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/FolderLocationName.java index 74e72ff9a..4860a1eb4 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 2025 Google LLC + * Copyright 2026 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 06b243aa0..2cb041189 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 2025 Google LLC + * Copyright 2026 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 d19b78ab1..f00252488 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 2025 Google LLC + * Copyright 2026 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/GetBucketRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetBucketRequestOrBuilder.java index cf5e060f2..4538a8a58 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 2025 Google LLC + * Copyright 2026 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/GetCmekSettingsRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetCmekSettingsRequest.java index 53ca8fa57..49b53333e 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 2025 Google LLC + * Copyright 2026 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/GetCmekSettingsRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetCmekSettingsRequestOrBuilder.java index c3ce67173..ea6d40bee 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 2025 Google LLC + * Copyright 2026 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/GetExclusionRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetExclusionRequest.java index f72d4a4ae..418d5869a 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 2025 Google LLC + * Copyright 2026 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/GetExclusionRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetExclusionRequestOrBuilder.java index 15bb79c5c..9edb40f28 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 2025 Google LLC + * Copyright 2026 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/GetLinkRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetLinkRequest.java index 970ed0c5d..0cfe4ddd4 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 2025 Google LLC + * Copyright 2026 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/GetLinkRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetLinkRequestOrBuilder.java index 9c434d9e1..7bf46a708 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 2025 Google LLC + * Copyright 2026 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/GetLogMetricRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetLogMetricRequest.java index c4d4ea99d..758cf12cd 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 2025 Google LLC + * Copyright 2026 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/GetLogMetricRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetLogMetricRequestOrBuilder.java index f22585135..ed76b22de 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 2025 Google LLC + * Copyright 2026 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/GetSettingsRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetSettingsRequest.java index 86851f9c0..aa6870adc 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 2025 Google LLC + * Copyright 2026 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/GetSettingsRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetSettingsRequestOrBuilder.java index 5fa88338f..d38f29164 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 2025 Google LLC + * Copyright 2026 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/GetSinkRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetSinkRequest.java index 86d74c502..24b4d4188 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 2025 Google LLC + * Copyright 2026 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/GetSinkRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetSinkRequestOrBuilder.java index 343a21909..fb8b295e6 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 2025 Google LLC + * Copyright 2026 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/GetViewRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetViewRequest.java index 0b91a814e..a9eeacbf0 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 2025 Google LLC + * Copyright 2026 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/GetViewRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetViewRequestOrBuilder.java index c88c63f03..7ce03746a 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 2025 Google LLC + * Copyright 2026 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/IndexConfig.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/IndexConfig.java index a72853315..3922aba29 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 2025 Google LLC + * Copyright 2026 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/IndexConfigOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/IndexConfigOrBuilder.java index 0d9d9b415..45124da9d 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 2025 Google LLC + * Copyright 2026 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/IndexType.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/IndexType.java index af203ba0b..4c96d5d93 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 2025 Google LLC + * Copyright 2026 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 7f4e9854d..4bcf177f8 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 2025 Google LLC + * Copyright 2026 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 c33a142d9..7723757b9 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 2025 Google LLC + * Copyright 2026 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/LinkMetadata.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LinkMetadata.java index ffbc4e587..34921f7ac 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 2025 Google LLC + * Copyright 2026 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/LinkMetadataOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LinkMetadataOrBuilder.java index 8ec1598cc..4af7b0001 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 2025 Google LLC + * Copyright 2026 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/LinkName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LinkName.java index 71b077484..cbf131ca4 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 2025 Google LLC + * Copyright 2026 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 b3bd72465..59e2cbfe5 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 2025 Google LLC + * Copyright 2026 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/ListBucketsRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListBucketsRequest.java index 3a53f1fd5..6f6c1ac69 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 2025 Google LLC + * Copyright 2026 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/ListBucketsRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListBucketsRequestOrBuilder.java index c2662bd07..17102cbf3 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 2025 Google LLC + * Copyright 2026 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/ListBucketsResponse.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListBucketsResponse.java index e6b9937b4..009838a9c 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 2025 Google LLC + * Copyright 2026 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/ListBucketsResponseOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListBucketsResponseOrBuilder.java index 30a642d4f..54d452bda 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 2025 Google LLC + * Copyright 2026 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 d4862f9fe..15d6f2449 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 2025 Google LLC + * Copyright 2026 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/ListExclusionsRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListExclusionsRequestOrBuilder.java index 46e618047..115763914 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 2025 Google LLC + * Copyright 2026 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/ListExclusionsResponse.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListExclusionsResponse.java index 75b968601..ac3541dbc 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 2025 Google LLC + * Copyright 2026 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/ListExclusionsResponseOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListExclusionsResponseOrBuilder.java index 656220464..ca08b06c0 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 2025 Google LLC + * Copyright 2026 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 2606cf98e..ce56ad325 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 2025 Google LLC + * Copyright 2026 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/ListLinksRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLinksRequestOrBuilder.java index f12cfb976..4ffed39ec 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 2025 Google LLC + * Copyright 2026 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/ListLinksResponse.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLinksResponse.java index e584b15cc..c5863af3a 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 2025 Google LLC + * Copyright 2026 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/ListLinksResponseOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLinksResponseOrBuilder.java index 64446f9a7..99b0e7f77 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 2025 Google LLC + * Copyright 2026 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 b4a60cf86..7af7c3c3e 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 2025 Google LLC + * Copyright 2026 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/ListLogEntriesRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesRequestOrBuilder.java index 691b4339e..884f40f81 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 2025 Google LLC + * Copyright 2026 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/ListLogEntriesResponse.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesResponse.java index 6faa9e5ac..95af2d6a9 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 2025 Google LLC + * Copyright 2026 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/ListLogEntriesResponseOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesResponseOrBuilder.java index cac84c227..65cc05899 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 2025 Google LLC + * Copyright 2026 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/ListLogMetricsRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogMetricsRequest.java index e50dfc4c4..8443d46f3 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 2025 Google LLC + * Copyright 2026 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/ListLogMetricsRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogMetricsRequestOrBuilder.java index 24907a953..87483bd1e 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 2025 Google LLC + * Copyright 2026 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/ListLogMetricsResponse.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogMetricsResponse.java index a71af9c72..199ded943 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 2025 Google LLC + * Copyright 2026 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/ListLogMetricsResponseOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogMetricsResponseOrBuilder.java index e9777ebaf..07091f8c3 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 2025 Google LLC + * Copyright 2026 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 9c0e28e06..abbb6ad38 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 2025 Google LLC + * Copyright 2026 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/ListLogsRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogsRequestOrBuilder.java index b4d4c3fe3..3a0b4ed81 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 2025 Google LLC + * Copyright 2026 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/ListLogsResponse.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogsResponse.java index 9323faf17..0f274ef74 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 2025 Google LLC + * Copyright 2026 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/ListLogsResponseOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogsResponseOrBuilder.java index 2b5364d29..eed70aaa8 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 2025 Google LLC + * Copyright 2026 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 fe40dfb56..2789d81ff 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 2025 Google LLC + * Copyright 2026 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/ListMonitoredResourceDescriptorsRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListMonitoredResourceDescriptorsRequestOrBuilder.java index 3faa27d2a..54d3f6682 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 2025 Google LLC + * Copyright 2026 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 80a1a6fbd..ca0893cfa 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 2025 Google LLC + * Copyright 2026 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/ListMonitoredResourceDescriptorsResponseOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListMonitoredResourceDescriptorsResponseOrBuilder.java index cc91aa054..68513807b 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 2025 Google LLC + * Copyright 2026 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 62e79b6ee..34965515e 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 2025 Google LLC + * Copyright 2026 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/ListSinksRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListSinksRequestOrBuilder.java index 3022f0284..eba69fd22 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 2025 Google LLC + * Copyright 2026 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/ListSinksResponse.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListSinksResponse.java index 59693af7f..f92122874 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 2025 Google LLC + * Copyright 2026 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/ListSinksResponseOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListSinksResponseOrBuilder.java index 3e43987b7..07f5bacf7 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 2025 Google LLC + * Copyright 2026 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 8af067703..43c53bfb9 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 2025 Google LLC + * Copyright 2026 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/ListViewsRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListViewsRequestOrBuilder.java index bb48b4c9b..05922464f 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 2025 Google LLC + * Copyright 2026 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/ListViewsResponse.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListViewsResponse.java index f65c8280f..8f0b1985b 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 2025 Google LLC + * Copyright 2026 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/ListViewsResponseOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListViewsResponseOrBuilder.java index 3ba2f1632..eeb8ae332 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 2025 Google LLC + * Copyright 2026 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 098c28a4c..d35cebaa0 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 2025 Google LLC + * Copyright 2026 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/LocationMetadataOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LocationMetadataOrBuilder.java index faf263581..e7e612fc9 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 2025 Google LLC + * Copyright 2026 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 0611cebaf..6f29f3fd7 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 2025 Google LLC + * Copyright 2026 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 496237278..1edb2956a 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 2025 Google LLC + * Copyright 2026 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/LogBucketName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogBucketName.java index c915636c2..640a055a1 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 2025 Google LLC + * Copyright 2026 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 b168e7740..31cc19c1c 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 2025 Google LLC + * Copyright 2026 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/LogEntry.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntry.java index a7db1f94b..3f7906397 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 2025 Google LLC + * Copyright 2026 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/LogEntryOperation.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOperation.java index 56c268628..8657c6a25 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOperation.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOperation.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 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/LogEntryOperationOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOperationOrBuilder.java index 6958c89aa..cb590979d 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOperationOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOperationOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 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/LogEntryOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOrBuilder.java index 8ed0d2eb4..93e086dad 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 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/LogEntryProto.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryProto.java index a3b6aaf8d..90e92fd67 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryProto.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryProto.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 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/LogEntrySourceLocation.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntrySourceLocation.java index fd1b7e9ca..6c5144417 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntrySourceLocation.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntrySourceLocation.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 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/LogEntrySourceLocationOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntrySourceLocationOrBuilder.java index 73e67f642..c03eca66d 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntrySourceLocationOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntrySourceLocationOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 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/LogExclusion.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogExclusion.java index c12a329e9..39465ff03 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogExclusion.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogExclusion.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 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/LogExclusionName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogExclusionName.java index 2e11790ee..89de682b0 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogExclusionName.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogExclusionName.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 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/LogExclusionOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogExclusionOrBuilder.java index 4af9b3303..6187f64c1 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogExclusionOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogExclusionOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 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/LogMetric.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogMetric.java index 40af4f303..7d58cfd22 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogMetric.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogMetric.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 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/LogMetricName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogMetricName.java index 7fe6a52fc..019696eea 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogMetricName.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogMetricName.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 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/LogMetricOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogMetricOrBuilder.java index 8b78fa5bc..d015e1625 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogMetricOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogMetricOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 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/LogName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogName.java index 4dbeb75d0..d98759efc 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogName.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogName.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 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/LogSink.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSink.java index f22085c3c..973832997 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSink.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSink.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 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/LogSinkName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSinkName.java index cf0e232d5..7e6959ac6 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSinkName.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSinkName.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 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/LogSinkOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSinkOrBuilder.java index 7edc7a94e..01e2f6ad3 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSinkOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSinkOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 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/LogSplit.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSplit.java index 83d9b3dce..9f62d77fc 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSplit.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSplit.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 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/LogSplitOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSplitOrBuilder.java index 1b32f5272..bf3b5cf8b 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSplitOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSplitOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 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/LogView.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogView.java index 7f34bbd0e..12d221dcf 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogView.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogView.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 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/LogViewName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogViewName.java index 4ff5babaf..ddf118ff1 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogViewName.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogViewName.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 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/LogViewOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogViewOrBuilder.java index 040adcb8b..db1b2130c 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogViewOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogViewOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 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/LoggingConfigProto.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingConfigProto.java index 98307e441..462d80d22 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingConfigProto.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingConfigProto.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 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/LoggingMetricsProto.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingMetricsProto.java index 04fe47588..768966a2a 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingMetricsProto.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingMetricsProto.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 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/LoggingProto.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingProto.java index 4257e123c..6ac84a772 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingProto.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingProto.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 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/OperationState.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/OperationState.java index 5ccfc9a82..a27ab70c0 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/OperationState.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/OperationState.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 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/OrganizationLocationName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/OrganizationLocationName.java index 926ce4f31..a747d117e 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/OrganizationLocationName.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/OrganizationLocationName.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 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/OrganizationName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/OrganizationName.java index 410cabf02..44d1cb28d 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/OrganizationName.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/OrganizationName.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 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/ProjectName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ProjectName.java index 4b576f153..aa708f472 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ProjectName.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ProjectName.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 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/Settings.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/Settings.java index b0c80d690..e250a746f 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/Settings.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/Settings.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 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/SettingsName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/SettingsName.java index ef6e1807b..388e29d87 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/SettingsName.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/SettingsName.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 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/SettingsOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/SettingsOrBuilder.java index ee747ec35..ce289d8dd 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/SettingsOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/SettingsOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 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/TailLogEntriesRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/TailLogEntriesRequest.java index 5c542aa24..a464f6cbc 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/TailLogEntriesRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/TailLogEntriesRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 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/TailLogEntriesRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/TailLogEntriesRequestOrBuilder.java index ea33c7fb0..7c018844c 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/TailLogEntriesRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/TailLogEntriesRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 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/TailLogEntriesResponse.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/TailLogEntriesResponse.java index 53eed67ee..27e7febb6 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/TailLogEntriesResponse.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/TailLogEntriesResponse.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 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/TailLogEntriesResponseOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/TailLogEntriesResponseOrBuilder.java index 69c6ef7b0..b547f7c77 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/TailLogEntriesResponseOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/TailLogEntriesResponseOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 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/UndeleteBucketRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UndeleteBucketRequest.java index fa91ad363..dccb026e1 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UndeleteBucketRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UndeleteBucketRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 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/UndeleteBucketRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UndeleteBucketRequestOrBuilder.java index cac84cf11..2a752e640 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UndeleteBucketRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UndeleteBucketRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 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/UpdateBucketRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateBucketRequest.java index 9a3a1ad66..4499c034f 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateBucketRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateBucketRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 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/UpdateBucketRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateBucketRequestOrBuilder.java index 2c9b00a4d..bc82cea56 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateBucketRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateBucketRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 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/UpdateCmekSettingsRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateCmekSettingsRequest.java index 3f47e2c1e..d45acaa35 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateCmekSettingsRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateCmekSettingsRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 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/UpdateCmekSettingsRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateCmekSettingsRequestOrBuilder.java index 8a96f9906..2ca281ac5 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateCmekSettingsRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateCmekSettingsRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 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/UpdateExclusionRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateExclusionRequest.java index 0123c4a64..e8a4a6ebd 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateExclusionRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateExclusionRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 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/UpdateExclusionRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateExclusionRequestOrBuilder.java index 86456f786..ff83998ec 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateExclusionRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateExclusionRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 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/UpdateLogMetricRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateLogMetricRequest.java index 3d84fe97b..7f05a8be3 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateLogMetricRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateLogMetricRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 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/UpdateLogMetricRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateLogMetricRequestOrBuilder.java index 2b51559bb..5c04f8b2a 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateLogMetricRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateLogMetricRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 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/UpdateSettingsRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSettingsRequest.java index de834743c..76250ae92 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSettingsRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSettingsRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 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/UpdateSettingsRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSettingsRequestOrBuilder.java index 7d786e8ab..ad77cd20f 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSettingsRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSettingsRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 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/UpdateSinkRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSinkRequest.java index facd700cc..15e78311b 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSinkRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSinkRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 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/UpdateSinkRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSinkRequestOrBuilder.java index ab8079b20..fbcac8982 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSinkRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSinkRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 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/UpdateViewRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateViewRequest.java index c400e56c0..309be59fd 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateViewRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateViewRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 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/UpdateViewRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateViewRequestOrBuilder.java index f7c2302a6..963a0a923 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateViewRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateViewRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 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/WriteLogEntriesPartialErrors.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesPartialErrors.java index d8d6a13ef..d107fbdad 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesPartialErrors.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesPartialErrors.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 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/WriteLogEntriesPartialErrorsOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesPartialErrorsOrBuilder.java index 01d6968d3..09be47f2b 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesPartialErrorsOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesPartialErrorsOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 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/WriteLogEntriesRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesRequest.java index 385cbbbbd..36e70a001 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 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/WriteLogEntriesRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesRequestOrBuilder.java index e5df70d50..c2f8faa22 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 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/WriteLogEntriesResponse.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesResponse.java index fbe029eda..15caa3337 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesResponse.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesResponse.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 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/WriteLogEntriesResponseOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesResponseOrBuilder.java index b229aa444..66840f72d 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesResponseOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesResponseOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 Google LLC + * Copyright 2026 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. From d8293adf39e803cd653f3b60203f3291338a9436 Mon Sep 17 00:00:00 2001 From: cloud-java-bot Date: Wed, 7 Jan 2026 02:36:03 +0000 Subject: [PATCH 18/26] chore: Update generation configuration at Wed Jan 7 02:35:57 UTC 2026 --- generation_config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generation_config.yaml b/generation_config.yaml index 766cc6d5d..45f8090b3 100644 --- a/generation_config.yaml +++ b/generation_config.yaml @@ -1,5 +1,5 @@ gapic_generator_version: 2.65.0-rc1 -googleapis_commitish: 286c66a565ed6d9cfecb062e7ac13363e76f2e0a +googleapis_commitish: d4a34bf03d617723146fe3ae15192c4d93981a27 libraries_bom_version: 26.74.0-rc1 libraries: - api_shortname: logging From e382c341e1e629845369dae796308b704e6535fb Mon Sep 17 00:00:00 2001 From: cloud-java-bot Date: Thu, 8 Jan 2026 02:35:45 +0000 Subject: [PATCH 19/26] chore: Update generation configuration at Thu Jan 8 02:35:34 UTC 2026 --- generation_config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generation_config.yaml b/generation_config.yaml index 45f8090b3..878802af0 100644 --- a/generation_config.yaml +++ b/generation_config.yaml @@ -1,5 +1,5 @@ gapic_generator_version: 2.65.0-rc1 -googleapis_commitish: d4a34bf03d617723146fe3ae15192c4d93981a27 +googleapis_commitish: 211d22fa6dfabfa52cbda04d1aee852a01301edf libraries_bom_version: 26.74.0-rc1 libraries: - api_shortname: logging From a381d9db4124c19667d104af82c9204f2b682b97 Mon Sep 17 00:00:00 2001 From: cloud-java-bot Date: Fri, 9 Jan 2026 02:36:20 +0000 Subject: [PATCH 20/26] chore: Update generation configuration at Fri Jan 9 02:36:13 UTC 2026 --- generation_config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generation_config.yaml b/generation_config.yaml index 878802af0..6ece1ea8a 100644 --- a/generation_config.yaml +++ b/generation_config.yaml @@ -1,5 +1,5 @@ gapic_generator_version: 2.65.0-rc1 -googleapis_commitish: 211d22fa6dfabfa52cbda04d1aee852a01301edf +googleapis_commitish: 136a2c43b38a67cfe07317031764dd1ca1043fc6 libraries_bom_version: 26.74.0-rc1 libraries: - api_shortname: logging From cdb3953b8a89d91c120a8627e6d1e195d3fb8a79 Mon Sep 17 00:00:00 2001 From: cloud-java-bot Date: Sat, 10 Jan 2026 02:32:39 +0000 Subject: [PATCH 21/26] chore: Update generation configuration at Sat Jan 10 02:32:33 UTC 2026 --- generation_config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generation_config.yaml b/generation_config.yaml index 6ece1ea8a..e811446de 100644 --- a/generation_config.yaml +++ b/generation_config.yaml @@ -1,5 +1,5 @@ gapic_generator_version: 2.65.0-rc1 -googleapis_commitish: 136a2c43b38a67cfe07317031764dd1ca1043fc6 +googleapis_commitish: 6145b5ffe99d290c3d840136f310490d732acb04 libraries_bom_version: 26.74.0-rc1 libraries: - api_shortname: logging From 25aeb2285ce33841580c2a8d69fbc4224971277a Mon Sep 17 00:00:00 2001 From: cloud-java-bot Date: Tue, 13 Jan 2026 02:35:21 +0000 Subject: [PATCH 22/26] chore: Update generation configuration at Tue Jan 13 02:35:14 UTC 2026 --- generation_config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/generation_config.yaml b/generation_config.yaml index e811446de..85f32f198 100644 --- a/generation_config.yaml +++ b/generation_config.yaml @@ -1,6 +1,6 @@ gapic_generator_version: 2.65.0-rc1 -googleapis_commitish: 6145b5ffe99d290c3d840136f310490d732acb04 -libraries_bom_version: 26.74.0-rc1 +googleapis_commitish: 406651201ecf188465807558d7e68f176eba61e6 +libraries_bom_version: 26.74.0-rc2 libraries: - api_shortname: logging name_pretty: Cloud Logging From e90f73bf6ac42e4b3691adbd0828e515a8c3f500 Mon Sep 17 00:00:00 2001 From: cloud-java-bot Date: Tue, 13 Jan 2026 02:37:42 +0000 Subject: [PATCH 23/26] chore: generate libraries at Tue Jan 13 02:35:44 UTC 2026 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 485e333bf..e5e960fb9 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ If you are using Maven without the BOM, add this to your dependencies: If you are using Gradle 5.x or later, add this to your dependencies: ```Groovy -implementation platform('com.google.cloud:libraries-bom:26.74.0-rc1') +implementation platform('com.google.cloud:libraries-bom:26.74.0-rc2') implementation 'com.google.cloud:google-cloud-logging' ``` From 31df9a224c167998114faecd4a82f7eef7efdf4a Mon Sep 17 00:00:00 2001 From: cloud-java-bot Date: Wed, 14 Jan 2026 02:40:19 +0000 Subject: [PATCH 24/26] chore: Update generation configuration at Wed Jan 14 02:40:07 UTC 2026 --- .github/workflows/hermetic_library_generation.yaml | 2 +- generation_config.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/hermetic_library_generation.yaml b/.github/workflows/hermetic_library_generation.yaml index 5b7d12af2..1716ff0b4 100644 --- a/.github/workflows/hermetic_library_generation.yaml +++ b/.github/workflows/hermetic_library_generation.yaml @@ -37,7 +37,7 @@ jobs: with: fetch-depth: 0 token: ${{ secrets.CLOUD_JAVA_BOT_TOKEN }} - - uses: googleapis/sdk-platform-java/.github/scripts@v2.65.0-rc1 + - uses: googleapis/sdk-platform-java/.github/scripts@v2.65.1 if: env.SHOULD_RUN == 'true' with: base_ref: ${{ github.base_ref }} diff --git a/generation_config.yaml b/generation_config.yaml index 85f32f198..56ab0d3a1 100644 --- a/generation_config.yaml +++ b/generation_config.yaml @@ -1,5 +1,5 @@ -gapic_generator_version: 2.65.0-rc1 -googleapis_commitish: 406651201ecf188465807558d7e68f176eba61e6 +gapic_generator_version: 2.65.1 +googleapis_commitish: e006e1c8b69c0594e6f872316a3543b3b37ad81b libraries_bom_version: 26.74.0-rc2 libraries: - api_shortname: logging From 062bd4790609b07bdec65a3b0b5d13a8fe5a0763 Mon Sep 17 00:00:00 2001 From: cloud-java-bot Date: Wed, 14 Jan 2026 02:42:35 +0000 Subject: [PATCH 25/26] chore: generate libraries at Wed Jan 14 02:40:41 UTC 2026 --- .github/scripts/update_generation_config.sh | 12 +- .kokoro/presubmit/graalvm-native-a.cfg | 2 +- .kokoro/presubmit/graalvm-native-b.cfg | 2 +- .kokoro/presubmit/graalvm-native-c.cfg | 2 +- README.md | 19 - .../cloud/logging/v2/ConfigSettings.java | 4 +- .../cloud/logging/v2/LoggingSettings.java | 4 +- .../cloud/logging/v2/MetricsSettings.java | 4 +- .../v2/stub/ConfigServiceV2StubSettings.java | 4 +- .../v2/stub/LoggingServiceV2StubSettings.java | 4 +- .../v2/stub/MetricsServiceV2StubSettings.java | 4 +- .../reflect-config.json | 63 --- .../google/logging/v2/BigQueryDataset.java | 112 +++-- .../logging/v2/BigQueryDatasetOrBuilder.java | 8 +- .../google/logging/v2/BigQueryOptions.java | 90 ++-- .../logging/v2/BigQueryOptionsOrBuilder.java | 4 +- .../com/google/logging/v2/BucketMetadata.java | 145 +++--- .../logging/v2/BucketMetadataOrBuilder.java | 4 +- .../com/google/logging/v2/CmekSettings.java | 178 +++++--- .../logging/v2/CmekSettingsOrBuilder.java | 20 +- .../logging/v2/CopyLogEntriesMetadata.java | 143 +++--- .../v2/CopyLogEntriesMetadataOrBuilder.java | 4 +- .../logging/v2/CopyLogEntriesRequest.java | 128 ++++-- .../v2/CopyLogEntriesRequestOrBuilder.java | 8 +- .../logging/v2/CopyLogEntriesResponse.java | 90 ++-- .../v2/CopyLogEntriesResponseOrBuilder.java | 4 +- .../logging/v2/CreateBucketRequest.java | 150 ++++--- .../v2/CreateBucketRequestOrBuilder.java | 12 +- .../logging/v2/CreateExclusionRequest.java | 199 +++++---- .../v2/CreateExclusionRequestOrBuilder.java | 28 +- .../google/logging/v2/CreateLinkRequest.java | 178 +++++--- .../v2/CreateLinkRequestOrBuilder.java | 20 +- .../logging/v2/CreateLogMetricRequest.java | 128 ++++-- .../v2/CreateLogMetricRequestOrBuilder.java | 8 +- .../google/logging/v2/CreateSinkRequest.java | 198 +++++---- .../v2/CreateSinkRequestOrBuilder.java | 28 +- .../google/logging/v2/CreateViewRequest.java | 150 ++++--- .../v2/CreateViewRequestOrBuilder.java | 12 +- .../logging/v2/DeleteBucketRequest.java | 168 ++++--- .../v2/DeleteBucketRequestOrBuilder.java | 24 +- .../logging/v2/DeleteExclusionRequest.java | 168 ++++--- .../v2/DeleteExclusionRequestOrBuilder.java | 24 +- .../google/logging/v2/DeleteLinkRequest.java | 154 ++++--- .../v2/DeleteLinkRequestOrBuilder.java | 20 +- .../logging/v2/DeleteLogMetricRequest.java | 112 +++-- .../v2/DeleteLogMetricRequestOrBuilder.java | 8 +- .../google/logging/v2/DeleteLogRequest.java | 98 ++-- .../logging/v2/DeleteLogRequestOrBuilder.java | 4 +- .../google/logging/v2/DeleteSinkRequest.java | 168 ++++--- .../v2/DeleteSinkRequestOrBuilder.java | 24 +- .../google/logging/v2/DeleteViewRequest.java | 126 ++++-- .../v2/DeleteViewRequestOrBuilder.java | 12 +- .../google/logging/v2/GetBucketRequest.java | 168 ++++--- .../logging/v2/GetBucketRequestOrBuilder.java | 24 +- .../logging/v2/GetCmekSettingsRequest.java | 168 ++++--- .../v2/GetCmekSettingsRequestOrBuilder.java | 24 +- .../logging/v2/GetExclusionRequest.java | 168 ++++--- .../v2/GetExclusionRequestOrBuilder.java | 24 +- .../com/google/logging/v2/GetLinkRequest.java | 154 ++++--- .../logging/v2/GetLinkRequestOrBuilder.java | 20 +- .../logging/v2/GetLogMetricRequest.java | 112 +++-- .../v2/GetLogMetricRequestOrBuilder.java | 8 +- .../google/logging/v2/GetSettingsRequest.java | 168 ++++--- .../v2/GetSettingsRequestOrBuilder.java | 24 +- .../com/google/logging/v2/GetSinkRequest.java | 168 ++++--- .../logging/v2/GetSinkRequestOrBuilder.java | 24 +- .../com/google/logging/v2/GetViewRequest.java | 126 ++++-- .../logging/v2/GetViewRequestOrBuilder.java | 12 +- .../com/google/logging/v2/IndexConfig.java | 115 +++-- .../logging/v2/IndexConfigOrBuilder.java | 4 +- .../java/com/google/logging/v2/IndexType.java | 16 +- .../com/google/logging/v2/LifecycleState.java | 16 +- .../main/java/com/google/logging/v2/Link.java | 208 +++++---- .../com/google/logging/v2/LinkMetadata.java | 145 +++--- .../logging/v2/LinkMetadataOrBuilder.java | 4 +- .../com/google/logging/v2/LinkOrBuilder.java | 24 +- .../google/logging/v2/ListBucketsRequest.java | 162 ++++--- .../v2/ListBucketsRequestOrBuilder.java | 20 +- .../logging/v2/ListBucketsResponse.java | 118 +++-- .../v2/ListBucketsResponseOrBuilder.java | 4 +- .../logging/v2/ListExclusionsRequest.java | 162 ++++--- .../v2/ListExclusionsRequestOrBuilder.java | 20 +- .../logging/v2/ListExclusionsResponse.java | 118 +++-- .../v2/ListExclusionsResponseOrBuilder.java | 4 +- .../google/logging/v2/ListLinksRequest.java | 162 ++++--- .../logging/v2/ListLinksRequestOrBuilder.java | 20 +- .../google/logging/v2/ListLinksResponse.java | 119 +++-- .../v2/ListLinksResponseOrBuilder.java | 4 +- .../logging/v2/ListLogEntriesRequest.java | 220 +++++---- .../v2/ListLogEntriesRequestOrBuilder.java | 36 +- .../logging/v2/ListLogEntriesResponse.java | 118 +++-- .../v2/ListLogEntriesResponseOrBuilder.java | 4 +- .../logging/v2/ListLogMetricsRequest.java | 120 +++-- .../v2/ListLogMetricsRequestOrBuilder.java | 8 +- .../logging/v2/ListLogMetricsResponse.java | 118 +++-- .../v2/ListLogMetricsResponseOrBuilder.java | 4 +- .../google/logging/v2/ListLogsRequest.java | 212 +++++---- .../logging/v2/ListLogsRequestOrBuilder.java | 36 +- .../google/logging/v2/ListLogsResponse.java | 100 +++-- .../logging/v2/ListLogsResponseOrBuilder.java | 4 +- ...stMonitoredResourceDescriptorsRequest.java | 98 ++-- ...edResourceDescriptorsRequestOrBuilder.java | 4 +- ...tMonitoredResourceDescriptorsResponse.java | 118 +++-- ...dResourceDescriptorsResponseOrBuilder.java | 4 +- .../google/logging/v2/ListSinksRequest.java | 162 ++++--- .../logging/v2/ListSinksRequestOrBuilder.java | 20 +- .../google/logging/v2/ListSinksResponse.java | 119 +++-- .../v2/ListSinksResponseOrBuilder.java | 4 +- .../google/logging/v2/ListViewsRequest.java | 120 +++-- .../logging/v2/ListViewsRequestOrBuilder.java | 8 +- .../google/logging/v2/ListViewsResponse.java | 119 +++-- .../v2/ListViewsResponseOrBuilder.java | 4 +- .../google/logging/v2/LocationMetadata.java | 90 ++-- .../logging/v2/LocationMetadataOrBuilder.java | 4 +- .../java/com/google/logging/v2/LogBucket.java | 191 ++++---- .../google/logging/v2/LogBucketOrBuilder.java | 8 +- .../java/com/google/logging/v2/LogEntry.java | 419 ++++++++++-------- .../google/logging/v2/LogEntryOperation.java | 106 +++-- .../v2/LogEntryOperationOrBuilder.java | 4 +- .../google/logging/v2/LogEntryOrBuilder.java | 48 +- .../com/google/logging/v2/LogEntryProto.java | 61 ++- .../logging/v2/LogEntrySourceLocation.java | 106 +++-- .../v2/LogEntrySourceLocationOrBuilder.java | 4 +- .../com/google/logging/v2/LogExclusion.java | 160 ++++--- .../logging/v2/LogExclusionOrBuilder.java | 8 +- .../java/com/google/logging/v2/LogMetric.java | 345 +++++++------- .../google/logging/v2/LogMetricOrBuilder.java | 44 +- .../java/com/google/logging/v2/LogSink.java | 281 ++++++------ .../google/logging/v2/LogSinkOrBuilder.java | 24 +- .../java/com/google/logging/v2/LogSplit.java | 98 ++-- .../google/logging/v2/LogSplitOrBuilder.java | 4 +- .../java/com/google/logging/v2/LogView.java | 230 ++++++---- .../google/logging/v2/LogViewOrBuilder.java | 28 +- .../google/logging/v2/LoggingConfigProto.java | 339 +++++++------- .../logging/v2/LoggingMetricsProto.java | 82 ++-- .../com/google/logging/v2/LoggingProto.java | 127 +++--- .../com/google/logging/v2/OperationState.java | 16 +- .../java/com/google/logging/v2/Settings.java | 150 ++++--- .../google/logging/v2/SettingsOrBuilder.java | 12 +- .../logging/v2/TailLogEntriesRequest.java | 221 +++++---- .../v2/TailLogEntriesRequestOrBuilder.java | 36 +- .../logging/v2/TailLogEntriesResponse.java | 233 ++++++---- .../v2/TailLogEntriesResponseOrBuilder.java | 4 +- .../logging/v2/UndeleteBucketRequest.java | 168 ++++--- .../v2/UndeleteBucketRequestOrBuilder.java | 24 +- .../logging/v2/UpdateBucketRequest.java | 199 +++++---- .../v2/UpdateBucketRequestOrBuilder.java | 24 +- .../logging/v2/UpdateCmekSettingsRequest.java | 200 +++++---- .../UpdateCmekSettingsRequestOrBuilder.java | 24 +- .../logging/v2/UpdateExclusionRequest.java | 200 +++++---- .../v2/UpdateExclusionRequestOrBuilder.java | 24 +- .../logging/v2/UpdateLogMetricRequest.java | 128 ++++-- .../v2/UpdateLogMetricRequestOrBuilder.java | 8 +- .../logging/v2/UpdateSettingsRequest.java | 158 ++++--- .../v2/UpdateSettingsRequestOrBuilder.java | 12 +- .../google/logging/v2/UpdateSinkRequest.java | 247 ++++++----- .../v2/UpdateSinkRequestOrBuilder.java | 36 +- .../google/logging/v2/UpdateViewRequest.java | 157 ++++--- .../v2/UpdateViewRequestOrBuilder.java | 12 +- .../v2/WriteLogEntriesPartialErrors.java | 92 ++-- ...WriteLogEntriesPartialErrorsOrBuilder.java | 4 +- .../logging/v2/WriteLogEntriesRequest.java | 239 +++++----- .../v2/WriteLogEntriesRequestOrBuilder.java | 30 +- .../logging/v2/WriteLogEntriesResponse.java | 90 ++-- .../v2/WriteLogEntriesResponseOrBuilder.java | 4 +- 165 files changed, 7948 insertions(+), 5495 deletions(-) diff --git a/.github/scripts/update_generation_config.sh b/.github/scripts/update_generation_config.sh index 92efcf881..74d0e6cc4 100644 --- a/.github/scripts/update_generation_config.sh +++ b/.github/scripts/update_generation_config.sh @@ -18,7 +18,17 @@ function get_latest_released_version() { group_id_url_path="$(sed 's|\.|/|g' <<< "${group_id}")" url="https://repo1.maven.org/maven2/${group_id_url_path}/${artifact_id}/maven-metadata.xml" xml_content=$(curl -s --fail "${url}") - latest=$(xmllint --xpath 'metadata/versioning/latest/text()' - <<< "${xml_content}") + + # 1. Extract all version tags + # 2. Strip the XML tags to leave just the version numbers + # 3. Filter for strictly numbers.numbers.numbers (e.g., 2.54.0) + # 4. Sort by version (V) and take the last one (tail -n 1) + latest=$(echo "${xml_content}" \ + | grep -oE '[0-9]+\.[0-9]+\.[0-9]+' \ + | sed -E 's/<[^>]+>//g' \ + | sort -V \ + | tail -n 1) + if [[ -z "${latest}" ]]; then echo "The latest version of ${group_id}:${artifact_id} is empty." echo "The returned json from maven.org is invalid: ${json_content}" diff --git a/.kokoro/presubmit/graalvm-native-a.cfg b/.kokoro/presubmit/graalvm-native-a.cfg index e02721bbf..623fedf20 100644 --- a/.kokoro/presubmit/graalvm-native-a.cfg +++ b/.kokoro/presubmit/graalvm-native-a.cfg @@ -3,7 +3,7 @@ # Configure the docker image for kokoro-trampoline. env_vars: { key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_a:3.55.0-rc1" # {x-version-update:google-cloud-shared-dependencies:current} + value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_a:3.55.1" # {x-version-update:google-cloud-shared-dependencies:current} } env_vars: { diff --git a/.kokoro/presubmit/graalvm-native-b.cfg b/.kokoro/presubmit/graalvm-native-b.cfg index 523202c39..bee69fa91 100644 --- a/.kokoro/presubmit/graalvm-native-b.cfg +++ b/.kokoro/presubmit/graalvm-native-b.cfg @@ -3,7 +3,7 @@ # Configure the docker image for kokoro-trampoline. env_vars: { key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_b:3.55.0-rc1" # {x-version-update:google-cloud-shared-dependencies:current} + value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_b:3.55.1" # {x-version-update:google-cloud-shared-dependencies:current} } env_vars: { diff --git a/.kokoro/presubmit/graalvm-native-c.cfg b/.kokoro/presubmit/graalvm-native-c.cfg index f8ffca6ef..b742f6ec4 100644 --- a/.kokoro/presubmit/graalvm-native-c.cfg +++ b/.kokoro/presubmit/graalvm-native-c.cfg @@ -3,7 +3,7 @@ # Configure the docker image for kokoro-trampoline. env_vars: { key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_c:3.55.0-rc1" # {x-version-update:google-cloud-shared-dependencies:current} + value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_c:3.55.1" # {x-version-update:google-cloud-shared-dependencies:current} } env_vars: { diff --git a/README.md b/README.md index e5e960fb9..fb82a2fd5 100644 --- a/README.md +++ b/README.md @@ -438,29 +438,10 @@ information. Apache 2.0 - See [LICENSE][license] for more information. -## CI Status - -Java Version | Status ------------- | ------ -Java 8 | [![Kokoro CI][kokoro-badge-image-2]][kokoro-badge-link-2] -Java 8 OSX | [![Kokoro CI][kokoro-badge-image-3]][kokoro-badge-link-3] -Java 8 Windows | [![Kokoro CI][kokoro-badge-image-4]][kokoro-badge-link-4] -Java 11 | [![Kokoro CI][kokoro-badge-image-5]][kokoro-badge-link-5] - Java is a registered trademark of Oracle and/or its affiliates. [product-docs]: https://cloud.google.com/logging/docs [javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-logging/latest/history -[kokoro-badge-image-1]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-logging/java7.svg -[kokoro-badge-link-1]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-logging/java7.html -[kokoro-badge-image-2]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-logging/java8.svg -[kokoro-badge-link-2]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-logging/java8.html -[kokoro-badge-image-3]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-logging/java8-osx.svg -[kokoro-badge-link-3]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-logging/java8-osx.html -[kokoro-badge-image-4]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-logging/java8-win.svg -[kokoro-badge-link-4]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-logging/java8-win.html -[kokoro-badge-image-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-logging/java11.svg -[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-logging/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-logging.svg [maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-logging/3.23.9 diff --git a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/ConfigSettings.java b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/ConfigSettings.java index 765fa49c8..9271cadd4 100644 --- a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/ConfigSettings.java +++ b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/ConfigSettings.java @@ -132,8 +132,8 @@ * } * * Please refer to the [Client Side Retry - * Guide](https://github.com/googleapis/google-cloud-java/blob/main/docs/client_retries.md) for - * additional support in setting retries. + * Guide](https://docs.cloud.google.com/java/docs/client-retries) for additional support in setting + * retries. * *

To configure the RetrySettings of a Long Running Operation method, create an * OperationTimedPollAlgorithm object and update the RPC's polling algorithm. For example, to diff --git a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/LoggingSettings.java b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/LoggingSettings.java index 18321edf7..075c50372 100644 --- a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/LoggingSettings.java +++ b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/LoggingSettings.java @@ -95,8 +95,8 @@ * } * * Please refer to the [Client Side Retry - * Guide](https://github.com/googleapis/google-cloud-java/blob/main/docs/client_retries.md) for - * additional support in setting retries. + * Guide](https://docs.cloud.google.com/java/docs/client-retries) for additional support in setting + * retries. */ @Generated("by gapic-generator-java") public class LoggingSettings extends ClientSettings { diff --git a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/MetricsSettings.java b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/MetricsSettings.java index b29efecf6..ab6816ecd 100644 --- a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/MetricsSettings.java +++ b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/MetricsSettings.java @@ -87,8 +87,8 @@ * } * * Please refer to the [Client Side Retry - * Guide](https://github.com/googleapis/google-cloud-java/blob/main/docs/client_retries.md) for - * additional support in setting retries. + * Guide](https://docs.cloud.google.com/java/docs/client-retries) for additional support in setting + * retries. */ @Generated("by gapic-generator-java") public class MetricsSettings extends ClientSettings { diff --git a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/ConfigServiceV2StubSettings.java b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/ConfigServiceV2StubSettings.java index 555203c56..9f93b9fb4 100644 --- a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/ConfigServiceV2StubSettings.java +++ b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/ConfigServiceV2StubSettings.java @@ -152,8 +152,8 @@ * } * * Please refer to the [Client Side Retry - * Guide](https://github.com/googleapis/google-cloud-java/blob/main/docs/client_retries.md) for - * additional support in setting retries. + * Guide](https://docs.cloud.google.com/java/docs/client-retries) for additional support in setting + * retries. * *

To configure the RetrySettings of a Long Running Operation method, create an * OperationTimedPollAlgorithm object and update the RPC's polling algorithm. For example, to 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 70f47cbd3..fcbdb5f86 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 @@ -122,8 +122,8 @@ * } * * Please refer to the [Client Side Retry - * Guide](https://github.com/googleapis/google-cloud-java/blob/main/docs/client_retries.md) for - * additional support in setting retries. + * Guide](https://docs.cloud.google.com/java/docs/client-retries) for additional support in setting + * retries. */ @Generated("by gapic-generator-java") public class LoggingServiceV2StubSettings extends StubSettings { 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 7f08a8e1d..e52064bb2 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 @@ -104,8 +104,8 @@ * } * * Please refer to the [Client Side Retry - * Guide](https://github.com/googleapis/google-cloud-java/blob/main/docs/client_retries.md) for - * additional support in setting retries. + * Guide](https://docs.cloud.google.com/java/docs/client-retries) for additional support in setting + * retries. */ @Generated("by gapic-generator-java") public class MetricsServiceV2StubSettings extends StubSettings { diff --git a/google-cloud-logging/src/main/resources/META-INF/native-image/com.google.cloud.logging.v2/reflect-config.json b/google-cloud-logging/src/main/resources/META-INF/native-image/com.google.cloud.logging.v2/reflect-config.json index 1dabb7c6e..0d781d4b2 100644 --- a/google-cloud-logging/src/main/resources/META-INF/native-image/com.google.cloud.logging.v2/reflect-config.json +++ b/google-cloud-logging/src/main/resources/META-INF/native-image/com.google.cloud.logging.v2/reflect-config.json @@ -2492,15 +2492,6 @@ "allDeclaredClasses": true, "allPublicClasses": true }, - { - "name": "com.google.protobuf.DescriptorProtos$FeatureSet$EnforceNamingStyle", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, { "name": "com.google.protobuf.DescriptorProtos$FeatureSet$EnumType", "queryAllDeclaredConstructors": true, @@ -2555,33 +2546,6 @@ "allDeclaredClasses": true, "allPublicClasses": true }, - { - "name": "com.google.protobuf.DescriptorProtos$FeatureSet$VisibilityFeature", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$FeatureSet$VisibilityFeature$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$FeatureSet$VisibilityFeature$DefaultSymbolVisibility", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, { "name": "com.google.protobuf.DescriptorProtos$FeatureSetDefaults", "queryAllDeclaredConstructors": true, @@ -2699,24 +2663,6 @@ "allDeclaredClasses": true, "allPublicClasses": true }, - { - "name": "com.google.protobuf.DescriptorProtos$FieldOptions$FeatureSupport", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$FieldOptions$FeatureSupport$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, { "name": "com.google.protobuf.DescriptorProtos$FieldOptions$JSType", "queryAllDeclaredConstructors": true, @@ -3023,15 +2969,6 @@ "allDeclaredClasses": true, "allPublicClasses": true }, - { - "name": "com.google.protobuf.DescriptorProtos$SymbolVisibility", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, { "name": "com.google.protobuf.DescriptorProtos$UninterpretedOption", "queryAllDeclaredConstructors": true, 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 bfbe9c5f7..b75c067f3 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 @@ -14,10 +14,9 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -29,25 +28,14 @@ * * Protobuf type {@code google.logging.v2.BigQueryDataset} */ -@com.google.protobuf.Generated -public final class BigQueryDataset extends com.google.protobuf.GeneratedMessage +public final class BigQueryDataset extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.logging.v2.BigQueryDataset) BigQueryDatasetOrBuilder { private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 0, - /* suffix= */ "", - "BigQueryDataset"); - } - // Use BigQueryDataset.newBuilder() to construct. - private BigQueryDataset(com.google.protobuf.GeneratedMessage.Builder builder) { + private BigQueryDataset(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } @@ -55,13 +43,19 @@ private BigQueryDataset() { datasetId_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new BigQueryDataset(); + } + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_BigQueryDataset_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_BigQueryDataset_fieldAccessorTable @@ -85,7 +79,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * only). * * The dataset will have a resource path of - * "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET_ID]" + * "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET_ID]" * * * string dataset_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -115,7 +109,7 @@ public java.lang.String getDatasetId() { * only). * * The dataset will have a resource path of - * "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET_ID]" + * "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET_ID]" * * * string dataset_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -149,8 +143,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(datasetId_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, datasetId_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(datasetId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, datasetId_); } getUnknownFields().writeTo(output); } @@ -161,8 +155,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(datasetId_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, datasetId_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(datasetId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, datasetId_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -234,38 +228,38 @@ public static com.google.logging.v2.BigQueryDataset parseFrom( public static com.google.logging.v2.BigQueryDataset parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.BigQueryDataset parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.BigQueryDataset parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.BigQueryDataset parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.BigQueryDataset parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.BigQueryDataset parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } @@ -288,7 +282,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -302,7 +296,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder * * Protobuf type {@code google.logging.v2.BigQueryDataset} */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.BigQueryDataset) com.google.logging.v2.BigQueryDatasetOrBuilder { @@ -312,7 +306,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_BigQueryDataset_fieldAccessorTable @@ -324,7 +318,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.logging.v2.BigQueryDataset.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @@ -374,6 +368,39 @@ private void buildPartial0(com.google.logging.v2.BigQueryDataset result) { } } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.BigQueryDataset) { @@ -454,7 +481,7 @@ public Builder mergeFrom( * only). * * The dataset will have a resource path of - * "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET_ID]" + * "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET_ID]" * * * string dataset_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -483,7 +510,7 @@ public java.lang.String getDatasetId() { * only). * * The dataset will have a resource path of - * "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET_ID]" + * "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET_ID]" * * * string dataset_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -512,7 +539,7 @@ public com.google.protobuf.ByteString getDatasetIdBytes() { * only). * * The dataset will have a resource path of - * "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET_ID]" + * "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET_ID]" * * * string dataset_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -540,7 +567,7 @@ public Builder setDatasetId(java.lang.String value) { * only). * * The dataset will have a resource path of - * "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET_ID]" + * "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET_ID]" * * * string dataset_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -564,7 +591,7 @@ public Builder clearDatasetId() { * only). * * The dataset will have a resource path of - * "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET_ID]" + * "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET_ID]" * * * string dataset_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -583,6 +610,17 @@ public Builder setDatasetIdBytes(com.google.protobuf.ByteString value) { return this; } + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:google.logging.v2.BigQueryDataset) } 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 6e80ba5a7..db4142a19 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 @@ -14,13 +14,11 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; -@com.google.protobuf.Generated public interface BigQueryDatasetOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.BigQueryDataset) @@ -36,7 +34,7 @@ public interface BigQueryDatasetOrBuilder * only). * * The dataset will have a resource path of - * "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET_ID]" + * "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET_ID]" * * * string dataset_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -55,7 +53,7 @@ public interface BigQueryDatasetOrBuilder * only). * * The dataset will have a resource path of - * "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET_ID]" + * "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET_ID]" * * * string dataset_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; 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 c3b119cdf..5e7fdc646 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 @@ -14,10 +14,9 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -29,37 +28,32 @@ * * Protobuf type {@code google.logging.v2.BigQueryOptions} */ -@com.google.protobuf.Generated -public final class BigQueryOptions extends com.google.protobuf.GeneratedMessage +public final class BigQueryOptions extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.logging.v2.BigQueryOptions) BigQueryOptionsOrBuilder { private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 0, - /* suffix= */ "", - "BigQueryOptions"); - } - // Use BigQueryOptions.newBuilder() to construct. - private BigQueryOptions(com.google.protobuf.GeneratedMessage.Builder builder) { + private BigQueryOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BigQueryOptions() {} + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new BigQueryOptions(); + } + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_BigQueryOptions_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_BigQueryOptions_fieldAccessorTable @@ -233,38 +227,38 @@ public static com.google.logging.v2.BigQueryOptions parseFrom( public static com.google.logging.v2.BigQueryOptions parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.BigQueryOptions parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.BigQueryOptions parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.BigQueryOptions parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.BigQueryOptions parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.BigQueryOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } @@ -287,7 +281,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -301,7 +295,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder * * Protobuf type {@code google.logging.v2.BigQueryOptions} */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.BigQueryOptions) com.google.logging.v2.BigQueryOptionsOrBuilder { @@ -311,7 +305,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_BigQueryOptions_fieldAccessorTable @@ -323,7 +317,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.logging.v2.BigQueryOptions.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @@ -377,6 +371,39 @@ private void buildPartial0(com.google.logging.v2.BigQueryOptions result) { } } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.BigQueryOptions) { @@ -609,6 +636,17 @@ public Builder clearUsesTimestampColumnPartitioning() { return this; } + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:google.logging.v2.BigQueryOptions) } 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 8ec19c193..ea413c2bf 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 @@ -14,13 +14,11 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; -@com.google.protobuf.Generated public interface BigQueryOptionsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.BigQueryOptions) 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 ceb620776..f3e0fb10e 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 @@ -14,10 +14,9 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -29,25 +28,14 @@ * * Protobuf type {@code google.logging.v2.BucketMetadata} */ -@com.google.protobuf.Generated -public final class BucketMetadata extends com.google.protobuf.GeneratedMessage +public final class BucketMetadata extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.logging.v2.BucketMetadata) BucketMetadataOrBuilder { private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 0, - /* suffix= */ "", - "BucketMetadata"); - } - // Use BucketMetadata.newBuilder() to construct. - private BucketMetadata(com.google.protobuf.GeneratedMessage.Builder builder) { + private BucketMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } @@ -55,13 +43,19 @@ private BucketMetadata() { state_ = 0; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new BucketMetadata(); + } + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_BucketMetadata_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_BucketMetadata_fieldAccessorTable @@ -530,38 +524,38 @@ public static com.google.logging.v2.BucketMetadata parseFrom( public static com.google.logging.v2.BucketMetadata parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.BucketMetadata parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.BucketMetadata parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.BucketMetadata parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.BucketMetadata parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.BucketMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } @@ -584,7 +578,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -598,7 +592,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder * * Protobuf type {@code google.logging.v2.BucketMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.BucketMetadata) com.google.logging.v2.BucketMetadataOrBuilder { @@ -608,7 +602,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_BucketMetadata_fieldAccessorTable @@ -622,15 +616,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { - internalGetStartTimeFieldBuilder(); - internalGetEndTimeFieldBuilder(); + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getStartTimeFieldBuilder(); + getEndTimeFieldBuilder(); } } @@ -719,6 +713,39 @@ private void buildPartialOneofs(com.google.logging.v2.BucketMetadata result) { } } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.BucketMetadata) { @@ -784,14 +811,13 @@ public Builder mergeFrom( break; case 10: { - input.readMessage( - internalGetStartTimeFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 18: { - input.readMessage(internalGetEndTimeFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 18 @@ -804,14 +830,14 @@ public Builder mergeFrom( case 34: { input.readMessage( - internalGetCreateBucketRequestFieldBuilder().getBuilder(), extensionRegistry); + getCreateBucketRequestFieldBuilder().getBuilder(), extensionRegistry); requestCase_ = 4; break; } // case 34 case 42: { input.readMessage( - internalGetUpdateBucketRequestFieldBuilder().getBuilder(), extensionRegistry); + getUpdateBucketRequestFieldBuilder().getBuilder(), extensionRegistry); requestCase_ = 5; break; } // case 42 @@ -849,7 +875,7 @@ public Builder clearRequest() { private int bitField0_; private com.google.protobuf.Timestamp startTime_; - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> @@ -992,7 +1018,7 @@ public Builder clearStartTime() { public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { bitField0_ |= 0x00000001; onChanged(); - return internalGetStartTimeFieldBuilder().getBuilder(); + return getStartTimeFieldBuilder().getBuilder(); } /** @@ -1021,14 +1047,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * * .google.protobuf.Timestamp start_time = 1; */ - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> - internalGetStartTimeFieldBuilder() { + getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { startTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilder< + new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( @@ -1039,7 +1065,7 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { } private com.google.protobuf.Timestamp endTime_; - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> @@ -1182,7 +1208,7 @@ public Builder clearEndTime() { public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { bitField0_ |= 0x00000002; onChanged(); - return internalGetEndTimeFieldBuilder().getBuilder(); + return getEndTimeFieldBuilder().getBuilder(); } /** @@ -1211,14 +1237,14 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * * .google.protobuf.Timestamp end_time = 2; */ - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> - internalGetEndTimeFieldBuilder() { + getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { endTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilder< + new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( @@ -1323,7 +1349,7 @@ public Builder clearState() { return this; } - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.logging.v2.CreateBucketRequest, com.google.logging.v2.CreateBucketRequest.Builder, com.google.logging.v2.CreateBucketRequestOrBuilder> @@ -1484,7 +1510,7 @@ public Builder clearCreateBucketRequest() { * .google.logging.v2.CreateBucketRequest create_bucket_request = 4; */ public com.google.logging.v2.CreateBucketRequest.Builder getCreateBucketRequestBuilder() { - return internalGetCreateBucketRequestFieldBuilder().getBuilder(); + return getCreateBucketRequestFieldBuilder().getBuilder(); } /** @@ -1517,17 +1543,17 @@ public com.google.logging.v2.CreateBucketRequestOrBuilder getCreateBucketRequest * * .google.logging.v2.CreateBucketRequest create_bucket_request = 4; */ - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.logging.v2.CreateBucketRequest, com.google.logging.v2.CreateBucketRequest.Builder, com.google.logging.v2.CreateBucketRequestOrBuilder> - internalGetCreateBucketRequestFieldBuilder() { + getCreateBucketRequestFieldBuilder() { if (createBucketRequestBuilder_ == null) { if (!(requestCase_ == 4)) { request_ = com.google.logging.v2.CreateBucketRequest.getDefaultInstance(); } createBucketRequestBuilder_ = - new com.google.protobuf.SingleFieldBuilder< + new com.google.protobuf.SingleFieldBuilderV3< com.google.logging.v2.CreateBucketRequest, com.google.logging.v2.CreateBucketRequest.Builder, com.google.logging.v2.CreateBucketRequestOrBuilder>( @@ -1541,7 +1567,7 @@ public com.google.logging.v2.CreateBucketRequestOrBuilder getCreateBucketRequest return createBucketRequestBuilder_; } - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.logging.v2.UpdateBucketRequest, com.google.logging.v2.UpdateBucketRequest.Builder, com.google.logging.v2.UpdateBucketRequestOrBuilder> @@ -1702,7 +1728,7 @@ public Builder clearUpdateBucketRequest() { * .google.logging.v2.UpdateBucketRequest update_bucket_request = 5; */ public com.google.logging.v2.UpdateBucketRequest.Builder getUpdateBucketRequestBuilder() { - return internalGetUpdateBucketRequestFieldBuilder().getBuilder(); + return getUpdateBucketRequestFieldBuilder().getBuilder(); } /** @@ -1735,17 +1761,17 @@ public com.google.logging.v2.UpdateBucketRequestOrBuilder getUpdateBucketRequest * * .google.logging.v2.UpdateBucketRequest update_bucket_request = 5; */ - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.logging.v2.UpdateBucketRequest, com.google.logging.v2.UpdateBucketRequest.Builder, com.google.logging.v2.UpdateBucketRequestOrBuilder> - internalGetUpdateBucketRequestFieldBuilder() { + getUpdateBucketRequestFieldBuilder() { if (updateBucketRequestBuilder_ == null) { if (!(requestCase_ == 5)) { request_ = com.google.logging.v2.UpdateBucketRequest.getDefaultInstance(); } updateBucketRequestBuilder_ = - new com.google.protobuf.SingleFieldBuilder< + new com.google.protobuf.SingleFieldBuilderV3< com.google.logging.v2.UpdateBucketRequest, com.google.logging.v2.UpdateBucketRequest.Builder, com.google.logging.v2.UpdateBucketRequestOrBuilder>( @@ -1759,6 +1785,17 @@ public com.google.logging.v2.UpdateBucketRequestOrBuilder getUpdateBucketRequest return updateBucketRequestBuilder_; } + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:google.logging.v2.BucketMetadata) } 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 fc0457daf..c2b44e213 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 @@ -14,13 +14,11 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; -@com.google.protobuf.Generated public interface BucketMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.BucketMetadata) 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 e0bfde653..970b30393 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 @@ -14,10 +14,9 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -38,25 +37,14 @@ * * Protobuf type {@code google.logging.v2.CmekSettings} */ -@com.google.protobuf.Generated -public final class CmekSettings extends com.google.protobuf.GeneratedMessage +public final class CmekSettings extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.logging.v2.CmekSettings) CmekSettingsOrBuilder { private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 0, - /* suffix= */ "", - "CmekSettings"); - } - // Use CmekSettings.newBuilder() to construct. - private CmekSettings(com.google.protobuf.GeneratedMessage.Builder builder) { + private CmekSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } @@ -67,13 +55,19 @@ private CmekSettings() { serviceAccountId_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new CmekSettings(); + } + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_CmekSettings_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_CmekSettings_fieldAccessorTable @@ -148,11 +142,11 @@ public com.google.protobuf.ByteString getNameBytes() { * * KMS key name format: * - * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" + * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" * * For example: * - * `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"` + * `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"` * * * @@ -199,11 +193,11 @@ public java.lang.String getKmsKeyName() { * * KMS key name format: * - * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" + * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" * * For example: * - * `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"` + * `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"` * * * @@ -255,11 +249,11 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() { * * KMS key name format: * - * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]/cryptoKeyVersions/[VERSION]" + * "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"` + * `"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 @@ -295,11 +289,11 @@ public java.lang.String getKmsKeyVersionName() { * * KMS key name format: * - * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]/cryptoKeyVersions/[VERSION]" + * "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"` + * `"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 @@ -416,17 +410,17 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(kmsKeyName_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 2, kmsKeyName_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, kmsKeyName_); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(serviceAccountId_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 3, serviceAccountId_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccountId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, serviceAccountId_); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(kmsKeyVersionName_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 4, kmsKeyVersionName_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyVersionName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, kmsKeyVersionName_); } getUnknownFields().writeTo(output); } @@ -437,17 +431,17 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(kmsKeyName_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(2, kmsKeyName_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, kmsKeyName_); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(serviceAccountId_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(3, serviceAccountId_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccountId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, serviceAccountId_); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(kmsKeyVersionName_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(4, kmsKeyVersionName_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyVersionName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, kmsKeyVersionName_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -528,38 +522,38 @@ public static com.google.logging.v2.CmekSettings parseFrom( public static com.google.logging.v2.CmekSettings parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.CmekSettings parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.CmekSettings parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.CmekSettings parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.CmekSettings parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.CmekSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } @@ -582,7 +576,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -605,7 +599,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder * * Protobuf type {@code google.logging.v2.CmekSettings} */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.CmekSettings) com.google.logging.v2.CmekSettingsOrBuilder { @@ -615,7 +609,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_CmekSettings_fieldAccessorTable @@ -627,7 +621,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.logging.v2.CmekSettings.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @@ -688,6 +682,39 @@ private void buildPartial0(com.google.logging.v2.CmekSettings result) { } } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.CmekSettings) { @@ -910,11 +937,11 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * KMS key name format: * - * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" + * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" * * For example: * - * `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"` + * `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"` * * * @@ -960,11 +987,11 @@ public java.lang.String getKmsKeyName() { * * KMS key name format: * - * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" + * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" * * For example: * - * `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"` + * `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"` * * * @@ -1010,11 +1037,11 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() { * * KMS key name format: * - * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" + * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" * * For example: * - * `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"` + * `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"` * * * @@ -1059,11 +1086,11 @@ public Builder setKmsKeyName(java.lang.String value) { * * KMS key name format: * - * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" + * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" * * For example: * - * `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"` + * `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"` * * * @@ -1104,11 +1131,11 @@ public Builder clearKmsKeyName() { * * KMS key name format: * - * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" + * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" * * For example: * - * `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"` + * `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"` * * * @@ -1156,11 +1183,11 @@ public Builder setKmsKeyNameBytes(com.google.protobuf.ByteString value) { * * KMS key name format: * - * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]/cryptoKeyVersions/[VERSION]" + * "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"` + * `"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 @@ -1195,11 +1222,11 @@ public java.lang.String getKmsKeyVersionName() { * * KMS key name format: * - * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]/cryptoKeyVersions/[VERSION]" + * "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"` + * `"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 @@ -1234,11 +1261,11 @@ public com.google.protobuf.ByteString getKmsKeyVersionNameBytes() { * * KMS key name format: * - * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]/cryptoKeyVersions/[VERSION]" + * "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"` + * `"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 @@ -1272,11 +1299,11 @@ public Builder setKmsKeyVersionName(java.lang.String value) { * * KMS key name format: * - * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]/cryptoKeyVersions/[VERSION]" + * "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"` + * `"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 @@ -1306,11 +1333,11 @@ public Builder clearKmsKeyVersionName() { * * KMS key name format: * - * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]/cryptoKeyVersions/[VERSION]" + * "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"` + * `"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 @@ -1503,6 +1530,17 @@ public Builder setServiceAccountIdBytes(com.google.protobuf.ByteString value) { return this; } + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:google.logging.v2.CmekSettings) } 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 dfdaf4631..77b2e3621 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 @@ -14,13 +14,11 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; -@com.google.protobuf.Generated public interface CmekSettingsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.CmekSettings) @@ -60,11 +58,11 @@ public interface CmekSettingsOrBuilder * * KMS key name format: * - * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" + * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" * * For example: * - * `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"` + * `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"` * * * @@ -100,11 +98,11 @@ public interface CmekSettingsOrBuilder * * KMS key name format: * - * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" + * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" * * For example: * - * `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"` + * `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"` * * * @@ -140,11 +138,11 @@ public interface CmekSettingsOrBuilder * * KMS key name format: * - * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]/cryptoKeyVersions/[VERSION]" + * "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"` + * `"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 @@ -169,11 +167,11 @@ public interface CmekSettingsOrBuilder * * KMS key name format: * - * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]/cryptoKeyVersions/[VERSION]" + * "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"` + * `"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 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 5426b09c9..69be1ea83 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 @@ -14,10 +14,9 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -29,25 +28,14 @@ * * Protobuf type {@code google.logging.v2.CopyLogEntriesMetadata} */ -@com.google.protobuf.Generated -public final class CopyLogEntriesMetadata extends com.google.protobuf.GeneratedMessage +public final class CopyLogEntriesMetadata extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.logging.v2.CopyLogEntriesMetadata) CopyLogEntriesMetadataOrBuilder { private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 0, - /* suffix= */ "", - "CopyLogEntriesMetadata"); - } - // Use CopyLogEntriesMetadata.newBuilder() to construct. - private CopyLogEntriesMetadata(com.google.protobuf.GeneratedMessage.Builder builder) { + private CopyLogEntriesMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } @@ -56,13 +44,19 @@ private CopyLogEntriesMetadata() { writerIdentity_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new CopyLogEntriesMetadata(); + } + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_CopyLogEntriesMetadata_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_CopyLogEntriesMetadata_fieldAccessorTable @@ -395,8 +389,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (progress_ != 0) { output.writeInt32(6, progress_); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(writerIdentity_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 7, writerIdentity_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(writerIdentity_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 7, writerIdentity_); } getUnknownFields().writeTo(output); } @@ -425,8 +419,8 @@ public int getSerializedSize() { if (progress_ != 0) { size += com.google.protobuf.CodedOutputStream.computeInt32Size(6, progress_); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(writerIdentity_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(7, writerIdentity_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(writerIdentity_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, writerIdentity_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -533,38 +527,38 @@ public static com.google.logging.v2.CopyLogEntriesMetadata parseFrom( public static com.google.logging.v2.CopyLogEntriesMetadata parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.CopyLogEntriesMetadata parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.CopyLogEntriesMetadata parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.CopyLogEntriesMetadata parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.CopyLogEntriesMetadata parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.CopyLogEntriesMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } @@ -587,7 +581,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -601,7 +595,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder * * Protobuf type {@code google.logging.v2.CopyLogEntriesMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.CopyLogEntriesMetadata) com.google.logging.v2.CopyLogEntriesMetadataOrBuilder { @@ -611,7 +605,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_CopyLogEntriesMetadata_fieldAccessorTable @@ -625,16 +619,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { - internalGetStartTimeFieldBuilder(); - internalGetEndTimeFieldBuilder(); - internalGetRequestFieldBuilder(); + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getStartTimeFieldBuilder(); + getEndTimeFieldBuilder(); + getRequestFieldBuilder(); } } @@ -725,6 +719,39 @@ private void buildPartial0(com.google.logging.v2.CopyLogEntriesMetadata result) result.bitField0_ |= to_bitField0_; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.CopyLogEntriesMetadata) { @@ -788,14 +815,13 @@ public Builder mergeFrom( break; case 10: { - input.readMessage( - internalGetStartTimeFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 18: { - input.readMessage(internalGetEndTimeFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 18 @@ -813,7 +839,7 @@ public Builder mergeFrom( } // case 32 case 42: { - input.readMessage(internalGetRequestFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage(getRequestFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000010; break; } // case 42 @@ -849,7 +875,7 @@ public Builder mergeFrom( private int bitField0_; private com.google.protobuf.Timestamp startTime_; - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> @@ -992,7 +1018,7 @@ public Builder clearStartTime() { public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { bitField0_ |= 0x00000001; onChanged(); - return internalGetStartTimeFieldBuilder().getBuilder(); + return getStartTimeFieldBuilder().getBuilder(); } /** @@ -1021,14 +1047,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * * .google.protobuf.Timestamp start_time = 1; */ - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> - internalGetStartTimeFieldBuilder() { + getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { startTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilder< + new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( @@ -1039,7 +1065,7 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { } private com.google.protobuf.Timestamp endTime_; - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> @@ -1182,7 +1208,7 @@ public Builder clearEndTime() { public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { bitField0_ |= 0x00000002; onChanged(); - return internalGetEndTimeFieldBuilder().getBuilder(); + return getEndTimeFieldBuilder().getBuilder(); } /** @@ -1211,14 +1237,14 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * * .google.protobuf.Timestamp end_time = 2; */ - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> - internalGetEndTimeFieldBuilder() { + getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { endTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilder< + new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( @@ -1380,7 +1406,7 @@ public Builder clearCancellationRequested() { } private com.google.logging.v2.CopyLogEntriesRequest request_; - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.logging.v2.CopyLogEntriesRequest, com.google.logging.v2.CopyLogEntriesRequest.Builder, com.google.logging.v2.CopyLogEntriesRequestOrBuilder> @@ -1525,7 +1551,7 @@ public Builder clearRequest() { public com.google.logging.v2.CopyLogEntriesRequest.Builder getRequestBuilder() { bitField0_ |= 0x00000010; onChanged(); - return internalGetRequestFieldBuilder().getBuilder(); + return getRequestFieldBuilder().getBuilder(); } /** @@ -1556,14 +1582,14 @@ public com.google.logging.v2.CopyLogEntriesRequestOrBuilder getRequestOrBuilder( * * .google.logging.v2.CopyLogEntriesRequest request = 5; */ - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.logging.v2.CopyLogEntriesRequest, com.google.logging.v2.CopyLogEntriesRequest.Builder, com.google.logging.v2.CopyLogEntriesRequestOrBuilder> - internalGetRequestFieldBuilder() { + getRequestFieldBuilder() { if (requestBuilder_ == null) { requestBuilder_ = - new com.google.protobuf.SingleFieldBuilder< + new com.google.protobuf.SingleFieldBuilderV3< com.google.logging.v2.CopyLogEntriesRequest, com.google.logging.v2.CopyLogEntriesRequest.Builder, com.google.logging.v2.CopyLogEntriesRequestOrBuilder>( @@ -1770,6 +1796,17 @@ public Builder setWriterIdentityBytes(com.google.protobuf.ByteString value) { return this; } + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:google.logging.v2.CopyLogEntriesMetadata) } 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 b7e13f9f6..bc0540ae4 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 @@ -14,13 +14,11 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; -@com.google.protobuf.Generated public interface CopyLogEntriesMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.CopyLogEntriesMetadata) 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 c33f8e6d2..81a3a81c4 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 @@ -14,10 +14,9 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -29,25 +28,14 @@ * * Protobuf type {@code google.logging.v2.CopyLogEntriesRequest} */ -@com.google.protobuf.Generated -public final class CopyLogEntriesRequest extends com.google.protobuf.GeneratedMessage +public final class CopyLogEntriesRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.logging.v2.CopyLogEntriesRequest) CopyLogEntriesRequestOrBuilder { private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 0, - /* suffix= */ "", - "CopyLogEntriesRequest"); - } - // Use CopyLogEntriesRequest.newBuilder() to construct. - private CopyLogEntriesRequest(com.google.protobuf.GeneratedMessage.Builder builder) { + private CopyLogEntriesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } @@ -57,13 +45,19 @@ private CopyLogEntriesRequest() { destination_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new CopyLogEntriesRequest(); + } + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_CopyLogEntriesRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_CopyLogEntriesRequest_fieldAccessorTable @@ -85,7 +79,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * For example: * - * `"projects/my-project/locations/global/buckets/my-source-bucket"` + * `"projects/my-project/locations/global/buckets/my-source-bucket"` * * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -113,7 +107,7 @@ public java.lang.String getName() { * * For example: * - * `"projects/my-project/locations/global/buckets/my-source-bucket"` + * `"projects/my-project/locations/global/buckets/my-source-bucket"` * * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -255,14 +249,14 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(filter_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 3, filter_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, filter_); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(destination_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 4, destination_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(destination_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, destination_); } getUnknownFields().writeTo(output); } @@ -273,14 +267,14 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(filter_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(3, filter_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, filter_); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(destination_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(4, destination_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(destination_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, destination_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -360,38 +354,38 @@ public static com.google.logging.v2.CopyLogEntriesRequest parseFrom( public static com.google.logging.v2.CopyLogEntriesRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.CopyLogEntriesRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.CopyLogEntriesRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.CopyLogEntriesRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.CopyLogEntriesRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.CopyLogEntriesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } @@ -414,7 +408,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -428,7 +422,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder * * Protobuf type {@code google.logging.v2.CopyLogEntriesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.CopyLogEntriesRequest) com.google.logging.v2.CopyLogEntriesRequestOrBuilder { @@ -438,7 +432,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_CopyLogEntriesRequest_fieldAccessorTable @@ -450,7 +444,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.logging.v2.CopyLogEntriesRequest.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @@ -508,6 +502,39 @@ private void buildPartial0(com.google.logging.v2.CopyLogEntriesRequest result) { } } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.CopyLogEntriesRequest) { @@ -608,7 +635,7 @@ public Builder mergeFrom( * * For example: * - * `"projects/my-project/locations/global/buckets/my-source-bucket"` + * `"projects/my-project/locations/global/buckets/my-source-bucket"` * * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -635,7 +662,7 @@ public java.lang.String getName() { * * For example: * - * `"projects/my-project/locations/global/buckets/my-source-bucket"` + * `"projects/my-project/locations/global/buckets/my-source-bucket"` * * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -662,7 +689,7 @@ public com.google.protobuf.ByteString getNameBytes() { * * For example: * - * `"projects/my-project/locations/global/buckets/my-source-bucket"` + * `"projects/my-project/locations/global/buckets/my-source-bucket"` * * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -688,7 +715,7 @@ public Builder setName(java.lang.String value) { * * For example: * - * `"projects/my-project/locations/global/buckets/my-source-bucket"` + * `"projects/my-project/locations/global/buckets/my-source-bucket"` * * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -710,7 +737,7 @@ public Builder clearName() { * * For example: * - * `"projects/my-project/locations/global/buckets/my-source-bucket"` + * `"projects/my-project/locations/global/buckets/my-source-bucket"` * * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -956,6 +983,17 @@ public Builder setDestinationBytes(com.google.protobuf.ByteString value) { return this; } + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:google.logging.v2.CopyLogEntriesRequest) } 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 a1cc65826..0c9834d67 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 @@ -14,13 +14,11 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; -@com.google.protobuf.Generated public interface CopyLogEntriesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.CopyLogEntriesRequest) @@ -34,7 +32,7 @@ public interface CopyLogEntriesRequestOrBuilder * * For example: * - * `"projects/my-project/locations/global/buckets/my-source-bucket"` + * `"projects/my-project/locations/global/buckets/my-source-bucket"` * * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -51,7 +49,7 @@ public interface CopyLogEntriesRequestOrBuilder * * For example: * - * `"projects/my-project/locations/global/buckets/my-source-bucket"` + * `"projects/my-project/locations/global/buckets/my-source-bucket"` * * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; 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 95cabd769..add32caa2 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 @@ -14,10 +14,9 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -29,37 +28,32 @@ * * Protobuf type {@code google.logging.v2.CopyLogEntriesResponse} */ -@com.google.protobuf.Generated -public final class CopyLogEntriesResponse extends com.google.protobuf.GeneratedMessage +public final class CopyLogEntriesResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.logging.v2.CopyLogEntriesResponse) CopyLogEntriesResponseOrBuilder { private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 0, - /* suffix= */ "", - "CopyLogEntriesResponse"); - } - // Use CopyLogEntriesResponse.newBuilder() to construct. - private CopyLogEntriesResponse(com.google.protobuf.GeneratedMessage.Builder builder) { + private CopyLogEntriesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CopyLogEntriesResponse() {} + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new CopyLogEntriesResponse(); + } + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_CopyLogEntriesResponse_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_CopyLogEntriesResponse_fieldAccessorTable @@ -188,38 +182,38 @@ public static com.google.logging.v2.CopyLogEntriesResponse parseFrom( public static com.google.logging.v2.CopyLogEntriesResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.CopyLogEntriesResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.CopyLogEntriesResponse parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.CopyLogEntriesResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.CopyLogEntriesResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.CopyLogEntriesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } @@ -242,7 +236,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -256,7 +250,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder * * Protobuf type {@code google.logging.v2.CopyLogEntriesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.CopyLogEntriesResponse) com.google.logging.v2.CopyLogEntriesResponseOrBuilder { @@ -266,7 +260,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_CopyLogEntriesResponse_fieldAccessorTable @@ -278,7 +272,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.logging.v2.CopyLogEntriesResponse.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @@ -328,6 +322,39 @@ private void buildPartial0(com.google.logging.v2.CopyLogEntriesResponse result) } } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.CopyLogEntriesResponse) { @@ -450,6 +477,17 @@ public Builder clearLogEntriesCopiedCount() { return this; } + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:google.logging.v2.CopyLogEntriesResponse) } 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 e5cf680eb..55b777e0f 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 @@ -14,13 +14,11 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; -@com.google.protobuf.Generated public interface CopyLogEntriesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.CopyLogEntriesResponse) 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 1ec814239..ce76eea1b 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 @@ -14,10 +14,9 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -29,25 +28,14 @@ * * Protobuf type {@code google.logging.v2.CreateBucketRequest} */ -@com.google.protobuf.Generated -public final class CreateBucketRequest extends com.google.protobuf.GeneratedMessage +public final class CreateBucketRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.logging.v2.CreateBucketRequest) CreateBucketRequestOrBuilder { private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 0, - /* suffix= */ "", - "CreateBucketRequest"); - } - // Use CreateBucketRequest.newBuilder() to construct. - private CreateBucketRequest(com.google.protobuf.GeneratedMessage.Builder builder) { + private CreateBucketRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } @@ -56,13 +44,19 @@ private CreateBucketRequest() { bucketId_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new CreateBucketRequest(); + } + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_CreateBucketRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_CreateBucketRequest_fieldAccessorTable @@ -83,11 +77,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]"
+   *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
    *
    * For example:
    *
-   * `"projects/my-project/locations/global"`
+   *   `"projects/my-project/locations/global"`
    * 
* * @@ -115,11 +109,11 @@ public java.lang.String getParent() { *
    * Required. The resource in which to create the log bucket:
    *
-   * "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
+   *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
    *
    * For example:
    *
-   * `"projects/my-project/locations/global"`
+   *   `"projects/my-project/locations/global"`
    * 
* * @@ -267,11 +261,11 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, parent_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(bucketId_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 2, bucketId_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bucketId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, bucketId_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(3, getBucket()); @@ -285,11 +279,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, parent_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(bucketId_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(2, bucketId_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bucketId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, bucketId_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getBucket()); @@ -377,38 +371,38 @@ public static com.google.logging.v2.CreateBucketRequest parseFrom( public static com.google.logging.v2.CreateBucketRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.CreateBucketRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.CreateBucketRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.CreateBucketRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.CreateBucketRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.CreateBucketRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } @@ -431,7 +425,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -445,7 +439,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder * * Protobuf type {@code google.logging.v2.CreateBucketRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.CreateBucketRequest) com.google.logging.v2.CreateBucketRequestOrBuilder { @@ -455,7 +449,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_CreateBucketRequest_fieldAccessorTable @@ -469,14 +463,14 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { - internalGetBucketFieldBuilder(); + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getBucketFieldBuilder(); } } @@ -541,6 +535,39 @@ private void buildPartial0(com.google.logging.v2.CreateBucketRequest result) { result.bitField0_ |= to_bitField0_; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.CreateBucketRequest) { @@ -606,7 +633,7 @@ public Builder mergeFrom( } // case 18 case 26: { - input.readMessage(internalGetBucketFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage(getBucketFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 26 @@ -637,11 +664,11 @@ public Builder mergeFrom( *
      * Required. The resource in which to create the log bucket:
      *
-     * "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
+     *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
      *
      * For example:
      *
-     * `"projects/my-project/locations/global"`
+     *   `"projects/my-project/locations/global"`
      * 
* * @@ -668,11 +695,11 @@ public java.lang.String getParent() { *
      * Required. The resource in which to create the log bucket:
      *
-     * "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
+     *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
      *
      * For example:
      *
-     * `"projects/my-project/locations/global"`
+     *   `"projects/my-project/locations/global"`
      * 
* * @@ -699,11 +726,11 @@ public com.google.protobuf.ByteString getParentBytes() { *
      * Required. The resource in which to create the log bucket:
      *
-     * "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
+     *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
      *
      * For example:
      *
-     * `"projects/my-project/locations/global"`
+     *   `"projects/my-project/locations/global"`
      * 
* * @@ -729,11 +756,11 @@ public Builder setParent(java.lang.String value) { *
      * Required. The resource in which to create the log bucket:
      *
-     * "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
+     *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
      *
      * For example:
      *
-     * `"projects/my-project/locations/global"`
+     *   `"projects/my-project/locations/global"`
      * 
* * @@ -755,11 +782,11 @@ public Builder clearParent() { *
      * Required. The resource in which to create the log bucket:
      *
-     * "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
+     *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
      *
      * For example:
      *
-     * `"projects/my-project/locations/global"`
+     *   `"projects/my-project/locations/global"`
      * 
* * @@ -902,7 +929,7 @@ public Builder setBucketIdBytes(com.google.protobuf.ByteString value) { } private com.google.logging.v2.LogBucket bucket_; - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.logging.v2.LogBucket, com.google.logging.v2.LogBucket.Builder, com.google.logging.v2.LogBucketOrBuilder> @@ -1066,7 +1093,7 @@ public Builder clearBucket() { public com.google.logging.v2.LogBucket.Builder getBucketBuilder() { bitField0_ |= 0x00000004; onChanged(); - return internalGetBucketFieldBuilder().getBuilder(); + return getBucketFieldBuilder().getBuilder(); } /** @@ -1101,14 +1128,14 @@ public com.google.logging.v2.LogBucketOrBuilder getBucketOrBuilder() { * .google.logging.v2.LogBucket bucket = 3 [(.google.api.field_behavior) = REQUIRED]; * */ - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.logging.v2.LogBucket, com.google.logging.v2.LogBucket.Builder, com.google.logging.v2.LogBucketOrBuilder> - internalGetBucketFieldBuilder() { + getBucketFieldBuilder() { if (bucketBuilder_ == null) { bucketBuilder_ = - new com.google.protobuf.SingleFieldBuilder< + new com.google.protobuf.SingleFieldBuilderV3< com.google.logging.v2.LogBucket, com.google.logging.v2.LogBucket.Builder, com.google.logging.v2.LogBucketOrBuilder>( @@ -1118,6 +1145,17 @@ public com.google.logging.v2.LogBucketOrBuilder getBucketOrBuilder() { return bucketBuilder_; } + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:google.logging.v2.CreateBucketRequest) } 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 2d159a814..b6c9e3a8b 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 @@ -14,13 +14,11 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; -@com.google.protobuf.Generated public interface CreateBucketRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.CreateBucketRequest) @@ -32,11 +30,11 @@ public interface CreateBucketRequestOrBuilder *
    * Required. The resource in which to create the log bucket:
    *
-   * "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
+   *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
    *
    * For example:
    *
-   * `"projects/my-project/locations/global"`
+   *   `"projects/my-project/locations/global"`
    * 
* * @@ -53,11 +51,11 @@ public interface CreateBucketRequestOrBuilder *
    * Required. The resource in which to create the log bucket:
    *
-   * "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
+   *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
    *
    * For example:
    *
-   * `"projects/my-project/locations/global"`
+   *   `"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 82836d4d4..fd3e970a1 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 @@ -14,10 +14,9 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -29,25 +28,14 @@ * * Protobuf type {@code google.logging.v2.CreateExclusionRequest} */ -@com.google.protobuf.Generated -public final class CreateExclusionRequest extends com.google.protobuf.GeneratedMessage +public final class CreateExclusionRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.logging.v2.CreateExclusionRequest) CreateExclusionRequestOrBuilder { private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 0, - /* suffix= */ "", - "CreateExclusionRequest"); - } - // Use CreateExclusionRequest.newBuilder() to construct. - private CreateExclusionRequest(com.google.protobuf.GeneratedMessage.Builder builder) { + private CreateExclusionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } @@ -55,13 +43,19 @@ private CreateExclusionRequest() { parent_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new CreateExclusionRequest(); + } + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_CreateExclusionRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_CreateExclusionRequest_fieldAccessorTable @@ -82,15 +76,15 @@ 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]"
+   *     "projects/[PROJECT_ID]"
+   *     "organizations/[ORGANIZATION_ID]"
+   *     "billingAccounts/[BILLING_ACCOUNT_ID]"
+   *     "folders/[FOLDER_ID]"
    *
    * For examples:
    *
-   * `"projects/my-logging-project"`
-   * `"organizations/123456789"`
+   *   `"projects/my-logging-project"`
+   *   `"organizations/123456789"`
    * 
* * @@ -118,15 +112,15 @@ 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]"
+   *     "projects/[PROJECT_ID]"
+   *     "organizations/[ORGANIZATION_ID]"
+   *     "billingAccounts/[BILLING_ACCOUNT_ID]"
+   *     "folders/[FOLDER_ID]"
    *
    * For examples:
    *
-   * `"projects/my-logging-project"`
-   * `"organizations/123456789"`
+   *   `"projects/my-logging-project"`
+   *   `"organizations/123456789"`
    * 
* * @@ -221,8 +215,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, parent_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getExclusion()); @@ -236,8 +230,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, parent_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getExclusion()); @@ -322,38 +316,38 @@ public static com.google.logging.v2.CreateExclusionRequest parseFrom( public static com.google.logging.v2.CreateExclusionRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.CreateExclusionRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.CreateExclusionRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.CreateExclusionRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.CreateExclusionRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.CreateExclusionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } @@ -376,7 +370,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -390,7 +384,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder * * Protobuf type {@code google.logging.v2.CreateExclusionRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.CreateExclusionRequest) com.google.logging.v2.CreateExclusionRequestOrBuilder { @@ -400,7 +394,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_CreateExclusionRequest_fieldAccessorTable @@ -414,14 +408,14 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { - internalGetExclusionFieldBuilder(); + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getExclusionFieldBuilder(); } } @@ -482,6 +476,39 @@ private void buildPartial0(com.google.logging.v2.CreateExclusionRequest result) result.bitField0_ |= to_bitField0_; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.CreateExclusionRequest) { @@ -536,8 +563,7 @@ public Builder mergeFrom( } // case 10 case 18: { - input.readMessage( - internalGetExclusionFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage(getExclusionFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 18 @@ -568,15 +594,15 @@ 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]"
+     *     "projects/[PROJECT_ID]"
+     *     "organizations/[ORGANIZATION_ID]"
+     *     "billingAccounts/[BILLING_ACCOUNT_ID]"
+     *     "folders/[FOLDER_ID]"
      *
      * For examples:
      *
-     * `"projects/my-logging-project"`
-     * `"organizations/123456789"`
+     *   `"projects/my-logging-project"`
+     *   `"organizations/123456789"`
      * 
* * @@ -603,15 +629,15 @@ 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]"
+     *     "projects/[PROJECT_ID]"
+     *     "organizations/[ORGANIZATION_ID]"
+     *     "billingAccounts/[BILLING_ACCOUNT_ID]"
+     *     "folders/[FOLDER_ID]"
      *
      * For examples:
      *
-     * `"projects/my-logging-project"`
-     * `"organizations/123456789"`
+     *   `"projects/my-logging-project"`
+     *   `"organizations/123456789"`
      * 
* * @@ -638,15 +664,15 @@ 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]"
+     *     "projects/[PROJECT_ID]"
+     *     "organizations/[ORGANIZATION_ID]"
+     *     "billingAccounts/[BILLING_ACCOUNT_ID]"
+     *     "folders/[FOLDER_ID]"
      *
      * For examples:
      *
-     * `"projects/my-logging-project"`
-     * `"organizations/123456789"`
+     *   `"projects/my-logging-project"`
+     *   `"organizations/123456789"`
      * 
* * @@ -672,15 +698,15 @@ 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]"
+     *     "projects/[PROJECT_ID]"
+     *     "organizations/[ORGANIZATION_ID]"
+     *     "billingAccounts/[BILLING_ACCOUNT_ID]"
+     *     "folders/[FOLDER_ID]"
      *
      * For examples:
      *
-     * `"projects/my-logging-project"`
-     * `"organizations/123456789"`
+     *   `"projects/my-logging-project"`
+     *   `"organizations/123456789"`
      * 
* * @@ -702,15 +728,15 @@ 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]"
+     *     "projects/[PROJECT_ID]"
+     *     "organizations/[ORGANIZATION_ID]"
+     *     "billingAccounts/[BILLING_ACCOUNT_ID]"
+     *     "folders/[FOLDER_ID]"
      *
      * For examples:
      *
-     * `"projects/my-logging-project"`
-     * `"organizations/123456789"`
+     *   `"projects/my-logging-project"`
+     *   `"organizations/123456789"`
      * 
* * @@ -732,7 +758,7 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { } private com.google.logging.v2.LogExclusion exclusion_; - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.logging.v2.LogExclusion, com.google.logging.v2.LogExclusion.Builder, com.google.logging.v2.LogExclusionOrBuilder> @@ -898,7 +924,7 @@ public Builder clearExclusion() { public com.google.logging.v2.LogExclusion.Builder getExclusionBuilder() { bitField0_ |= 0x00000002; onChanged(); - return internalGetExclusionFieldBuilder().getBuilder(); + return getExclusionFieldBuilder().getBuilder(); } /** @@ -935,14 +961,14 @@ public com.google.logging.v2.LogExclusionOrBuilder getExclusionOrBuilder() { * .google.logging.v2.LogExclusion exclusion = 2 [(.google.api.field_behavior) = REQUIRED]; * */ - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.logging.v2.LogExclusion, com.google.logging.v2.LogExclusion.Builder, com.google.logging.v2.LogExclusionOrBuilder> - internalGetExclusionFieldBuilder() { + getExclusionFieldBuilder() { if (exclusionBuilder_ == null) { exclusionBuilder_ = - new com.google.protobuf.SingleFieldBuilder< + new com.google.protobuf.SingleFieldBuilderV3< com.google.logging.v2.LogExclusion, com.google.logging.v2.LogExclusion.Builder, com.google.logging.v2.LogExclusionOrBuilder>( @@ -952,6 +978,17 @@ public com.google.logging.v2.LogExclusionOrBuilder getExclusionOrBuilder() { return exclusionBuilder_; } + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:google.logging.v2.CreateExclusionRequest) } 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 f2f7aa568..d7cfa0e00 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 @@ -14,13 +14,11 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; -@com.google.protobuf.Generated public interface CreateExclusionRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.CreateExclusionRequest) @@ -32,15 +30,15 @@ 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]"
+   *     "projects/[PROJECT_ID]"
+   *     "organizations/[ORGANIZATION_ID]"
+   *     "billingAccounts/[BILLING_ACCOUNT_ID]"
+   *     "folders/[FOLDER_ID]"
    *
    * For examples:
    *
-   * `"projects/my-logging-project"`
-   * `"organizations/123456789"`
+   *   `"projects/my-logging-project"`
+   *   `"organizations/123456789"`
    * 
* * @@ -57,15 +55,15 @@ 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]"
+   *     "projects/[PROJECT_ID]"
+   *     "organizations/[ORGANIZATION_ID]"
+   *     "billingAccounts/[BILLING_ACCOUNT_ID]"
+   *     "folders/[FOLDER_ID]"
    *
    * For examples:
    *
-   * `"projects/my-logging-project"`
-   * `"organizations/123456789"`
+   *   `"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 c9f1c443a..cc136d58b 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 @@ -14,10 +14,9 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -29,25 +28,14 @@ * * Protobuf type {@code google.logging.v2.CreateLinkRequest} */ -@com.google.protobuf.Generated -public final class CreateLinkRequest extends com.google.protobuf.GeneratedMessage +public final class CreateLinkRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.logging.v2.CreateLinkRequest) CreateLinkRequestOrBuilder { private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 0, - /* suffix= */ "", - "CreateLinkRequest"); - } - // Use CreateLinkRequest.newBuilder() to construct. - private CreateLinkRequest(com.google.protobuf.GeneratedMessage.Builder builder) { + private CreateLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } @@ -56,13 +44,19 @@ private CreateLinkRequest() { linkId_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new CreateLinkRequest(); + } + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_CreateLinkRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_CreateLinkRequest_fieldAccessorTable @@ -83,10 +77,10 @@ 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]"
-   * "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+   *     "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]"
    * 
* * @@ -114,10 +108,10 @@ 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]"
-   * "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+   *     "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]"
    * 
* * @@ -259,14 +253,14 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, parent_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getLink()); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(linkId_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 3, linkId_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(linkId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, linkId_); } getUnknownFields().writeTo(output); } @@ -277,14 +271,14 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, parent_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getLink()); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(linkId_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(3, linkId_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(linkId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, linkId_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -368,38 +362,38 @@ public static com.google.logging.v2.CreateLinkRequest parseFrom( public static com.google.logging.v2.CreateLinkRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.CreateLinkRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.CreateLinkRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.CreateLinkRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.CreateLinkRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.CreateLinkRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } @@ -422,7 +416,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -436,7 +430,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder * * Protobuf type {@code google.logging.v2.CreateLinkRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.CreateLinkRequest) com.google.logging.v2.CreateLinkRequestOrBuilder { @@ -446,7 +440,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_CreateLinkRequest_fieldAccessorTable @@ -460,14 +454,14 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { - internalGetLinkFieldBuilder(); + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getLinkFieldBuilder(); } } @@ -532,6 +526,39 @@ private void buildPartial0(com.google.logging.v2.CreateLinkRequest result) { result.bitField0_ |= to_bitField0_; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.CreateLinkRequest) { @@ -591,7 +618,7 @@ public Builder mergeFrom( } // case 10 case 18: { - input.readMessage(internalGetLinkFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage(getLinkFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 18 @@ -628,10 +655,10 @@ 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]"
-     * "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+     *     "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]"
      * 
* * @@ -658,10 +685,10 @@ 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]"
-     * "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+     *     "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]"
      * 
* * @@ -688,10 +715,10 @@ 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]"
-     * "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+     *     "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]"
      * 
* * @@ -717,10 +744,10 @@ 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]"
-     * "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+     *     "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]"
      * 
* * @@ -742,10 +769,10 @@ 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]"
-     * "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+     *     "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]"
      * 
* * @@ -767,7 +794,7 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { } private com.google.logging.v2.Link link_; - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.logging.v2.Link, com.google.logging.v2.Link.Builder, com.google.logging.v2.LinkOrBuilder> @@ -910,7 +937,7 @@ public Builder clearLink() { public com.google.logging.v2.Link.Builder getLinkBuilder() { bitField0_ |= 0x00000002; onChanged(); - return internalGetLinkFieldBuilder().getBuilder(); + return getLinkFieldBuilder().getBuilder(); } /** @@ -939,14 +966,14 @@ public com.google.logging.v2.LinkOrBuilder getLinkOrBuilder() { * * .google.logging.v2.Link link = 2 [(.google.api.field_behavior) = REQUIRED]; */ - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.logging.v2.Link, com.google.logging.v2.Link.Builder, com.google.logging.v2.LinkOrBuilder> - internalGetLinkFieldBuilder() { + getLinkFieldBuilder() { if (linkBuilder_ == null) { linkBuilder_ = - new com.google.protobuf.SingleFieldBuilder< + new com.google.protobuf.SingleFieldBuilderV3< com.google.logging.v2.Link, com.google.logging.v2.Link.Builder, com.google.logging.v2.LinkOrBuilder>(getLink(), getParentForChildren(), isClean()); @@ -1076,6 +1103,17 @@ public Builder setLinkIdBytes(com.google.protobuf.ByteString value) { return this; } + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:google.logging.v2.CreateLinkRequest) } 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 17876c71d..7677682f6 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 @@ -14,13 +14,11 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; -@com.google.protobuf.Generated public interface CreateLinkRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.CreateLinkRequest) @@ -32,10 +30,10 @@ 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]"
-   * "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+   *     "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]"
    * 
* * @@ -52,10 +50,10 @@ 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]"
-   * "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+   *     "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]"
    * 
* * 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 3206e0ec3..15d558d12 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 @@ -14,10 +14,9 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_metrics.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -29,25 +28,14 @@ * * Protobuf type {@code google.logging.v2.CreateLogMetricRequest} */ -@com.google.protobuf.Generated -public final class CreateLogMetricRequest extends com.google.protobuf.GeneratedMessage +public final class CreateLogMetricRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.logging.v2.CreateLogMetricRequest) CreateLogMetricRequestOrBuilder { private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 0, - /* suffix= */ "", - "CreateLogMetricRequest"); - } - // Use CreateLogMetricRequest.newBuilder() to construct. - private CreateLogMetricRequest(com.google.protobuf.GeneratedMessage.Builder builder) { + private CreateLogMetricRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } @@ -55,13 +43,19 @@ private CreateLogMetricRequest() { parent_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new CreateLogMetricRequest(); + } + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingMetricsProto .internal_static_google_logging_v2_CreateLogMetricRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingMetricsProto .internal_static_google_logging_v2_CreateLogMetricRequest_fieldAccessorTable @@ -82,7 +76,7 @@ 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]"
+   *     "projects/[PROJECT_ID]"
    *
    * The new metric must be provided in the request.
    * 
@@ -112,7 +106,7 @@ public java.lang.String getParent() { *
    * Required. The resource name of the project in which to create the metric:
    *
-   * "projects/[PROJECT_ID]"
+   *     "projects/[PROJECT_ID]"
    *
    * The new metric must be provided in the request.
    * 
@@ -202,8 +196,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, parent_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getMetric()); @@ -217,8 +211,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, parent_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getMetric()); @@ -303,38 +297,38 @@ public static com.google.logging.v2.CreateLogMetricRequest parseFrom( public static com.google.logging.v2.CreateLogMetricRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.CreateLogMetricRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.CreateLogMetricRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.CreateLogMetricRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.CreateLogMetricRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.CreateLogMetricRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } @@ -357,7 +351,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -371,7 +365,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder * * Protobuf type {@code google.logging.v2.CreateLogMetricRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.CreateLogMetricRequest) com.google.logging.v2.CreateLogMetricRequestOrBuilder { @@ -381,7 +375,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingMetricsProto .internal_static_google_logging_v2_CreateLogMetricRequest_fieldAccessorTable @@ -395,14 +389,14 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { - internalGetMetricFieldBuilder(); + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getMetricFieldBuilder(); } } @@ -463,6 +457,39 @@ private void buildPartial0(com.google.logging.v2.CreateLogMetricRequest result) result.bitField0_ |= to_bitField0_; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.CreateLogMetricRequest) { @@ -517,7 +544,7 @@ public Builder mergeFrom( } // case 10 case 18: { - input.readMessage(internalGetMetricFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage(getMetricFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 18 @@ -548,7 +575,7 @@ public Builder mergeFrom( *
      * Required. The resource name of the project in which to create the metric:
      *
-     * "projects/[PROJECT_ID]"
+     *     "projects/[PROJECT_ID]"
      *
      * The new metric must be provided in the request.
      * 
@@ -577,7 +604,7 @@ public java.lang.String getParent() { *
      * Required. The resource name of the project in which to create the metric:
      *
-     * "projects/[PROJECT_ID]"
+     *     "projects/[PROJECT_ID]"
      *
      * The new metric must be provided in the request.
      * 
@@ -606,7 +633,7 @@ public com.google.protobuf.ByteString getParentBytes() { *
      * Required. The resource name of the project in which to create the metric:
      *
-     * "projects/[PROJECT_ID]"
+     *     "projects/[PROJECT_ID]"
      *
      * The new metric must be provided in the request.
      * 
@@ -634,7 +661,7 @@ public Builder setParent(java.lang.String value) { *
      * Required. The resource name of the project in which to create the metric:
      *
-     * "projects/[PROJECT_ID]"
+     *     "projects/[PROJECT_ID]"
      *
      * The new metric must be provided in the request.
      * 
@@ -658,7 +685,7 @@ public Builder clearParent() { *
      * Required. The resource name of the project in which to create the metric:
      *
-     * "projects/[PROJECT_ID]"
+     *     "projects/[PROJECT_ID]"
      *
      * The new metric must be provided in the request.
      * 
@@ -682,7 +709,7 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { } private com.google.logging.v2.LogMetric metric_; - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.logging.v2.LogMetric, com.google.logging.v2.LogMetric.Builder, com.google.logging.v2.LogMetricOrBuilder> @@ -839,7 +866,7 @@ public Builder clearMetric() { public com.google.logging.v2.LogMetric.Builder getMetricBuilder() { bitField0_ |= 0x00000002; onChanged(); - return internalGetMetricFieldBuilder().getBuilder(); + return getMetricFieldBuilder().getBuilder(); } /** @@ -872,14 +899,14 @@ public com.google.logging.v2.LogMetricOrBuilder getMetricOrBuilder() { * .google.logging.v2.LogMetric metric = 2 [(.google.api.field_behavior) = REQUIRED]; * */ - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.logging.v2.LogMetric, com.google.logging.v2.LogMetric.Builder, com.google.logging.v2.LogMetricOrBuilder> - internalGetMetricFieldBuilder() { + getMetricFieldBuilder() { if (metricBuilder_ == null) { metricBuilder_ = - new com.google.protobuf.SingleFieldBuilder< + new com.google.protobuf.SingleFieldBuilderV3< com.google.logging.v2.LogMetric, com.google.logging.v2.LogMetric.Builder, com.google.logging.v2.LogMetricOrBuilder>( @@ -889,6 +916,17 @@ public com.google.logging.v2.LogMetricOrBuilder getMetricOrBuilder() { return metricBuilder_; } + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:google.logging.v2.CreateLogMetricRequest) } 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 b1395dbb0..d84b24a99 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 @@ -14,13 +14,11 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_metrics.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; -@com.google.protobuf.Generated public interface CreateLogMetricRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.CreateLogMetricRequest) @@ -32,7 +30,7 @@ public interface CreateLogMetricRequestOrBuilder *
    * Required. The resource name of the project in which to create the metric:
    *
-   * "projects/[PROJECT_ID]"
+   *     "projects/[PROJECT_ID]"
    *
    * The new metric must be provided in the request.
    * 
@@ -51,7 +49,7 @@ public interface CreateLogMetricRequestOrBuilder *
    * Required. The resource name of the project in which to create the metric:
    *
-   * "projects/[PROJECT_ID]"
+   *     "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 c4a40c19e..42cf9b223 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 @@ -14,10 +14,9 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -29,25 +28,14 @@ * * Protobuf type {@code google.logging.v2.CreateSinkRequest} */ -@com.google.protobuf.Generated -public final class CreateSinkRequest extends com.google.protobuf.GeneratedMessage +public final class CreateSinkRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.logging.v2.CreateSinkRequest) CreateSinkRequestOrBuilder { private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 0, - /* suffix= */ "", - "CreateSinkRequest"); - } - // Use CreateSinkRequest.newBuilder() to construct. - private CreateSinkRequest(com.google.protobuf.GeneratedMessage.Builder builder) { + private CreateSinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } @@ -55,13 +43,19 @@ private CreateSinkRequest() { parent_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new CreateSinkRequest(); + } + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_CreateSinkRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_CreateSinkRequest_fieldAccessorTable @@ -82,15 +76,15 @@ 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]"
+   *     "projects/[PROJECT_ID]"
+   *     "organizations/[ORGANIZATION_ID]"
+   *     "billingAccounts/[BILLING_ACCOUNT_ID]"
+   *     "folders/[FOLDER_ID]"
    *
    * For examples:
    *
-   * `"projects/my-project"`
-   * `"organizations/123456789"`
+   *   `"projects/my-project"`
+   *   `"organizations/123456789"`
    * 
* * @@ -118,15 +112,15 @@ 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]"
+   *     "projects/[PROJECT_ID]"
+   *     "organizations/[ORGANIZATION_ID]"
+   *     "billingAccounts/[BILLING_ACCOUNT_ID]"
+   *     "folders/[FOLDER_ID]"
    *
    * For examples:
    *
-   * `"projects/my-project"`
-   * `"organizations/123456789"`
+   *   `"projects/my-project"`
+   *   `"organizations/123456789"`
    * 
* * @@ -244,8 +238,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, parent_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getSink()); @@ -262,8 +256,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, parent_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getSink()); @@ -353,38 +347,38 @@ public static com.google.logging.v2.CreateSinkRequest parseFrom( public static com.google.logging.v2.CreateSinkRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.CreateSinkRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.CreateSinkRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.CreateSinkRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.CreateSinkRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.CreateSinkRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } @@ -407,7 +401,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -421,7 +415,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder * * Protobuf type {@code google.logging.v2.CreateSinkRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.CreateSinkRequest) com.google.logging.v2.CreateSinkRequestOrBuilder { @@ -431,7 +425,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_CreateSinkRequest_fieldAccessorTable @@ -445,14 +439,14 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { - internalGetSinkFieldBuilder(); + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getSinkFieldBuilder(); } } @@ -517,6 +511,39 @@ private void buildPartial0(com.google.logging.v2.CreateSinkRequest result) { result.bitField0_ |= to_bitField0_; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.CreateSinkRequest) { @@ -574,7 +601,7 @@ public Builder mergeFrom( } // case 10 case 18: { - input.readMessage(internalGetSinkFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage(getSinkFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 18 @@ -611,15 +638,15 @@ 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]"
+     *     "projects/[PROJECT_ID]"
+     *     "organizations/[ORGANIZATION_ID]"
+     *     "billingAccounts/[BILLING_ACCOUNT_ID]"
+     *     "folders/[FOLDER_ID]"
      *
      * For examples:
      *
-     * `"projects/my-project"`
-     * `"organizations/123456789"`
+     *   `"projects/my-project"`
+     *   `"organizations/123456789"`
      * 
* * @@ -646,15 +673,15 @@ 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]"
+     *     "projects/[PROJECT_ID]"
+     *     "organizations/[ORGANIZATION_ID]"
+     *     "billingAccounts/[BILLING_ACCOUNT_ID]"
+     *     "folders/[FOLDER_ID]"
      *
      * For examples:
      *
-     * `"projects/my-project"`
-     * `"organizations/123456789"`
+     *   `"projects/my-project"`
+     *   `"organizations/123456789"`
      * 
* * @@ -681,15 +708,15 @@ 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]"
+     *     "projects/[PROJECT_ID]"
+     *     "organizations/[ORGANIZATION_ID]"
+     *     "billingAccounts/[BILLING_ACCOUNT_ID]"
+     *     "folders/[FOLDER_ID]"
      *
      * For examples:
      *
-     * `"projects/my-project"`
-     * `"organizations/123456789"`
+     *   `"projects/my-project"`
+     *   `"organizations/123456789"`
      * 
* * @@ -715,15 +742,15 @@ 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]"
+     *     "projects/[PROJECT_ID]"
+     *     "organizations/[ORGANIZATION_ID]"
+     *     "billingAccounts/[BILLING_ACCOUNT_ID]"
+     *     "folders/[FOLDER_ID]"
      *
      * For examples:
      *
-     * `"projects/my-project"`
-     * `"organizations/123456789"`
+     *   `"projects/my-project"`
+     *   `"organizations/123456789"`
      * 
* * @@ -745,15 +772,15 @@ 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]"
+     *     "projects/[PROJECT_ID]"
+     *     "organizations/[ORGANIZATION_ID]"
+     *     "billingAccounts/[BILLING_ACCOUNT_ID]"
+     *     "folders/[FOLDER_ID]"
      *
      * For examples:
      *
-     * `"projects/my-project"`
-     * `"organizations/123456789"`
+     *   `"projects/my-project"`
+     *   `"organizations/123456789"`
      * 
* * @@ -775,7 +802,7 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { } private com.google.logging.v2.LogSink sink_; - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.logging.v2.LogSink, com.google.logging.v2.LogSink.Builder, com.google.logging.v2.LogSinkOrBuilder> @@ -925,7 +952,7 @@ public Builder clearSink() { public com.google.logging.v2.LogSink.Builder getSinkBuilder() { bitField0_ |= 0x00000002; onChanged(); - return internalGetSinkFieldBuilder().getBuilder(); + return getSinkFieldBuilder().getBuilder(); } /** @@ -956,14 +983,14 @@ public com.google.logging.v2.LogSinkOrBuilder getSinkOrBuilder() { * * .google.logging.v2.LogSink sink = 2 [(.google.api.field_behavior) = REQUIRED]; */ - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.logging.v2.LogSink, com.google.logging.v2.LogSink.Builder, com.google.logging.v2.LogSinkOrBuilder> - internalGetSinkFieldBuilder() { + getSinkFieldBuilder() { if (sinkBuilder_ == null) { sinkBuilder_ = - new com.google.protobuf.SingleFieldBuilder< + new com.google.protobuf.SingleFieldBuilderV3< com.google.logging.v2.LogSink, com.google.logging.v2.LogSink.Builder, com.google.logging.v2.LogSinkOrBuilder>( @@ -1062,6 +1089,17 @@ public Builder clearUniqueWriterIdentity() { return this; } + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:google.logging.v2.CreateSinkRequest) } 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 f4ae5c9e3..2fb017a65 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 @@ -14,13 +14,11 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; -@com.google.protobuf.Generated public interface CreateSinkRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.CreateSinkRequest) @@ -32,15 +30,15 @@ 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]"
+   *     "projects/[PROJECT_ID]"
+   *     "organizations/[ORGANIZATION_ID]"
+   *     "billingAccounts/[BILLING_ACCOUNT_ID]"
+   *     "folders/[FOLDER_ID]"
    *
    * For examples:
    *
-   * `"projects/my-project"`
-   * `"organizations/123456789"`
+   *   `"projects/my-project"`
+   *   `"organizations/123456789"`
    * 
* * @@ -57,15 +55,15 @@ 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]"
+   *     "projects/[PROJECT_ID]"
+   *     "organizations/[ORGANIZATION_ID]"
+   *     "billingAccounts/[BILLING_ACCOUNT_ID]"
+   *     "folders/[FOLDER_ID]"
    *
    * For examples:
    *
-   * `"projects/my-project"`
-   * `"organizations/123456789"`
+   *   `"projects/my-project"`
+   *   `"organizations/123456789"`
    * 
* * 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 6599a0a93..0fa94205d 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 @@ -14,10 +14,9 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -29,25 +28,14 @@ * * Protobuf type {@code google.logging.v2.CreateViewRequest} */ -@com.google.protobuf.Generated -public final class CreateViewRequest extends com.google.protobuf.GeneratedMessage +public final class CreateViewRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.logging.v2.CreateViewRequest) CreateViewRequestOrBuilder { private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 0, - /* suffix= */ "", - "CreateViewRequest"); - } - // Use CreateViewRequest.newBuilder() to construct. - private CreateViewRequest(com.google.protobuf.GeneratedMessage.Builder builder) { + private CreateViewRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } @@ -56,13 +44,19 @@ private CreateViewRequest() { viewId_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new CreateViewRequest(); + } + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_CreateViewRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_CreateViewRequest_fieldAccessorTable @@ -83,11 +77,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]"`
+   *     `"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"`
    *
    * For example:
    *
-   * `"projects/my-project/locations/global/buckets/my-bucket"`
+   *   `"projects/my-project/locations/global/buckets/my-bucket"`
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -113,11 +107,11 @@ public java.lang.String getParent() { *
    * Required. The bucket in which to create the view
    *
-   * `"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"`
+   *     `"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"`
    *
    * For example:
    *
-   * `"projects/my-project/locations/global/buckets/my-bucket"`
+   *   `"projects/my-project/locations/global/buckets/my-bucket"`
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -257,11 +251,11 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, parent_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(viewId_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 2, viewId_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(viewId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, viewId_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(3, getView()); @@ -275,11 +269,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, parent_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(viewId_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(2, viewId_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(viewId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, viewId_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getView()); @@ -366,38 +360,38 @@ public static com.google.logging.v2.CreateViewRequest parseFrom( public static com.google.logging.v2.CreateViewRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.CreateViewRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.CreateViewRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.CreateViewRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.CreateViewRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.CreateViewRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } @@ -420,7 +414,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -434,7 +428,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder * * Protobuf type {@code google.logging.v2.CreateViewRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.CreateViewRequest) com.google.logging.v2.CreateViewRequestOrBuilder { @@ -444,7 +438,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_CreateViewRequest_fieldAccessorTable @@ -458,14 +452,14 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { - internalGetViewFieldBuilder(); + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getViewFieldBuilder(); } } @@ -530,6 +524,39 @@ private void buildPartial0(com.google.logging.v2.CreateViewRequest result) { result.bitField0_ |= to_bitField0_; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.CreateViewRequest) { @@ -595,7 +622,7 @@ public Builder mergeFrom( } // case 18 case 26: { - input.readMessage(internalGetViewFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage(getViewFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 26 @@ -626,11 +653,11 @@ public Builder mergeFrom( *
      * Required. The bucket in which to create the view
      *
-     * `"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"`
+     *     `"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"`
      *
      * For example:
      *
-     * `"projects/my-project/locations/global/buckets/my-bucket"`
+     *   `"projects/my-project/locations/global/buckets/my-bucket"`
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -655,11 +682,11 @@ public java.lang.String getParent() { *
      * Required. The bucket in which to create the view
      *
-     * `"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"`
+     *     `"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"`
      *
      * For example:
      *
-     * `"projects/my-project/locations/global/buckets/my-bucket"`
+     *   `"projects/my-project/locations/global/buckets/my-bucket"`
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -684,11 +711,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]"`
+     *     `"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"`
      *
      * For example:
      *
-     * `"projects/my-project/locations/global/buckets/my-bucket"`
+     *   `"projects/my-project/locations/global/buckets/my-bucket"`
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -712,11 +739,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]"`
+     *     `"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"`
      *
      * For example:
      *
-     * `"projects/my-project/locations/global/buckets/my-bucket"`
+     *   `"projects/my-project/locations/global/buckets/my-bucket"`
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -736,11 +763,11 @@ public Builder clearParent() { *
      * Required. The bucket in which to create the view
      *
-     * `"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"`
+     *     `"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"`
      *
      * For example:
      *
-     * `"projects/my-project/locations/global/buckets/my-bucket"`
+     *   `"projects/my-project/locations/global/buckets/my-bucket"`
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -881,7 +908,7 @@ public Builder setViewIdBytes(com.google.protobuf.ByteString value) { } private com.google.logging.v2.LogView view_; - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.logging.v2.LogView, com.google.logging.v2.LogView.Builder, com.google.logging.v2.LogViewOrBuilder> @@ -1024,7 +1051,7 @@ public Builder clearView() { public com.google.logging.v2.LogView.Builder getViewBuilder() { bitField0_ |= 0x00000004; onChanged(); - return internalGetViewFieldBuilder().getBuilder(); + return getViewFieldBuilder().getBuilder(); } /** @@ -1053,14 +1080,14 @@ public com.google.logging.v2.LogViewOrBuilder getViewOrBuilder() { * * .google.logging.v2.LogView view = 3 [(.google.api.field_behavior) = REQUIRED]; */ - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.logging.v2.LogView, com.google.logging.v2.LogView.Builder, com.google.logging.v2.LogViewOrBuilder> - internalGetViewFieldBuilder() { + getViewFieldBuilder() { if (viewBuilder_ == null) { viewBuilder_ = - new com.google.protobuf.SingleFieldBuilder< + new com.google.protobuf.SingleFieldBuilderV3< com.google.logging.v2.LogView, com.google.logging.v2.LogView.Builder, com.google.logging.v2.LogViewOrBuilder>( @@ -1070,6 +1097,17 @@ public com.google.logging.v2.LogViewOrBuilder getViewOrBuilder() { return viewBuilder_; } + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:google.logging.v2.CreateViewRequest) } 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 8348738e1..73af191be 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 @@ -14,13 +14,11 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; -@com.google.protobuf.Generated public interface CreateViewRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.CreateViewRequest) @@ -32,11 +30,11 @@ public interface CreateViewRequestOrBuilder *
    * Required. The bucket in which to create the view
    *
-   * `"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"`
+   *     `"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"`
    *
    * For example:
    *
-   * `"projects/my-project/locations/global/buckets/my-bucket"`
+   *   `"projects/my-project/locations/global/buckets/my-bucket"`
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -51,11 +49,11 @@ public interface CreateViewRequestOrBuilder *
    * Required. The bucket in which to create the view
    *
-   * `"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"`
+   *     `"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"`
    *
    * For example:
    *
-   * `"projects/my-project/locations/global/buckets/my-bucket"`
+   *   `"projects/my-project/locations/global/buckets/my-bucket"`
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; 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 f261797f0..49d8a7a88 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 @@ -14,10 +14,9 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -29,25 +28,14 @@ * * Protobuf type {@code google.logging.v2.DeleteBucketRequest} */ -@com.google.protobuf.Generated -public final class DeleteBucketRequest extends com.google.protobuf.GeneratedMessage +public final class DeleteBucketRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.logging.v2.DeleteBucketRequest) DeleteBucketRequestOrBuilder { private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 0, - /* suffix= */ "", - "DeleteBucketRequest"); - } - // Use DeleteBucketRequest.newBuilder() to construct. - private DeleteBucketRequest(com.google.protobuf.GeneratedMessage.Builder builder) { + private DeleteBucketRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } @@ -55,13 +43,19 @@ private DeleteBucketRequest() { name_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new DeleteBucketRequest(); + } + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_DeleteBucketRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_DeleteBucketRequest_fieldAccessorTable @@ -81,14 +75,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]"
+   *     "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"`
+   *   `"projects/my-project/locations/global/buckets/my-bucket"`
    * 
* * @@ -116,14 +110,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]"
+   *     "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"`
+   *   `"projects/my-project/locations/global/buckets/my-bucket"`
    * 
* * @@ -159,8 +153,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } getUnknownFields().writeTo(output); } @@ -171,8 +165,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -246,38 +240,38 @@ public static com.google.logging.v2.DeleteBucketRequest parseFrom( public static com.google.logging.v2.DeleteBucketRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.DeleteBucketRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.DeleteBucketRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.DeleteBucketRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.DeleteBucketRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.DeleteBucketRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } @@ -300,7 +294,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -314,7 +308,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder * * Protobuf type {@code google.logging.v2.DeleteBucketRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.DeleteBucketRequest) com.google.logging.v2.DeleteBucketRequestOrBuilder { @@ -324,7 +318,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_DeleteBucketRequest_fieldAccessorTable @@ -336,7 +330,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.logging.v2.DeleteBucketRequest.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @@ -386,6 +380,39 @@ private void buildPartial0(com.google.logging.v2.DeleteBucketRequest result) { } } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.DeleteBucketRequest) { @@ -462,14 +489,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]"
+     *     "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"`
+     *   `"projects/my-project/locations/global/buckets/my-bucket"`
      * 
* * @@ -496,14 +523,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]"
+     *     "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"`
+     *   `"projects/my-project/locations/global/buckets/my-bucket"`
      * 
* * @@ -530,14 +557,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]"
+     *     "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"`
+     *   `"projects/my-project/locations/global/buckets/my-bucket"`
      * 
* * @@ -563,14 +590,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]"
+     *     "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"`
+     *   `"projects/my-project/locations/global/buckets/my-bucket"`
      * 
* * @@ -592,14 +619,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]"
+     *     "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"`
+     *   `"projects/my-project/locations/global/buckets/my-bucket"`
      * 
* * @@ -620,6 +647,17 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { return this; } + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:google.logging.v2.DeleteBucketRequest) } 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 de7c6cec5..610defcf2 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 @@ -14,13 +14,11 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; -@com.google.protobuf.Generated public interface DeleteBucketRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.DeleteBucketRequest) @@ -32,14 +30,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]"
+   *     "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"`
+   *   `"projects/my-project/locations/global/buckets/my-bucket"`
    * 
* * @@ -56,14 +54,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]"
+   *     "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"`
+   *   `"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 b9f5d5e35..9a14ebeae 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 @@ -14,10 +14,9 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -29,25 +28,14 @@ * * Protobuf type {@code google.logging.v2.DeleteExclusionRequest} */ -@com.google.protobuf.Generated -public final class DeleteExclusionRequest extends com.google.protobuf.GeneratedMessage +public final class DeleteExclusionRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.logging.v2.DeleteExclusionRequest) DeleteExclusionRequestOrBuilder { private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 0, - /* suffix= */ "", - "DeleteExclusionRequest"); - } - // Use DeleteExclusionRequest.newBuilder() to construct. - private DeleteExclusionRequest(com.google.protobuf.GeneratedMessage.Builder builder) { + private DeleteExclusionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } @@ -55,13 +43,19 @@ private DeleteExclusionRequest() { name_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new DeleteExclusionRequest(); + } + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_DeleteExclusionRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_DeleteExclusionRequest_fieldAccessorTable @@ -81,14 +75,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]"
+   *     "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"`
+   *   `"projects/my-project/exclusions/my-exclusion"`
    * 
* * @@ -116,14 +110,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]"
+   *     "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"`
+   *   `"projects/my-project/exclusions/my-exclusion"`
    * 
* * @@ -159,8 +153,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } getUnknownFields().writeTo(output); } @@ -171,8 +165,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -246,38 +240,38 @@ public static com.google.logging.v2.DeleteExclusionRequest parseFrom( public static com.google.logging.v2.DeleteExclusionRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.DeleteExclusionRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.DeleteExclusionRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.DeleteExclusionRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.DeleteExclusionRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.DeleteExclusionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } @@ -300,7 +294,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -314,7 +308,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder * * Protobuf type {@code google.logging.v2.DeleteExclusionRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.DeleteExclusionRequest) com.google.logging.v2.DeleteExclusionRequestOrBuilder { @@ -324,7 +318,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_DeleteExclusionRequest_fieldAccessorTable @@ -336,7 +330,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.logging.v2.DeleteExclusionRequest.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @@ -386,6 +380,39 @@ private void buildPartial0(com.google.logging.v2.DeleteExclusionRequest result) } } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.DeleteExclusionRequest) { @@ -462,14 +489,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]"
+     *     "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"`
+     *   `"projects/my-project/exclusions/my-exclusion"`
      * 
* * @@ -496,14 +523,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]"
+     *     "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"`
+     *   `"projects/my-project/exclusions/my-exclusion"`
      * 
* * @@ -530,14 +557,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]"
+     *     "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"`
+     *   `"projects/my-project/exclusions/my-exclusion"`
      * 
* * @@ -563,14 +590,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]"
+     *     "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"`
+     *   `"projects/my-project/exclusions/my-exclusion"`
      * 
* * @@ -592,14 +619,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]"
+     *     "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"`
+     *   `"projects/my-project/exclusions/my-exclusion"`
      * 
* * @@ -620,6 +647,17 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { return this; } + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:google.logging.v2.DeleteExclusionRequest) } 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 4e9b82fc9..e85c5c182 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 @@ -14,13 +14,11 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; -@com.google.protobuf.Generated public interface DeleteExclusionRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.DeleteExclusionRequest) @@ -32,14 +30,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]"
+   *     "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"`
+   *   `"projects/my-project/exclusions/my-exclusion"`
    * 
* * @@ -56,14 +54,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]"
+   *     "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"`
+   *   `"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 36df66c0b..ded488e45 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 @@ -14,10 +14,9 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -29,25 +28,14 @@ * * Protobuf type {@code google.logging.v2.DeleteLinkRequest} */ -@com.google.protobuf.Generated -public final class DeleteLinkRequest extends com.google.protobuf.GeneratedMessage +public final class DeleteLinkRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.logging.v2.DeleteLinkRequest) DeleteLinkRequestOrBuilder { private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 0, - /* suffix= */ "", - "DeleteLinkRequest"); - } - // Use DeleteLinkRequest.newBuilder() to construct. - private DeleteLinkRequest(com.google.protobuf.GeneratedMessage.Builder builder) { + private DeleteLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } @@ -55,13 +43,19 @@ private DeleteLinkRequest() { name_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new DeleteLinkRequest(); + } + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_DeleteLinkRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_DeleteLinkRequest_fieldAccessorTable @@ -81,10 +75,10 @@ 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]"
-   * "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
+   *  "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]"
    * 
* * @@ -112,10 +106,10 @@ 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]"
-   * "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
+   *  "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]"
    * 
* * @@ -151,8 +145,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } getUnknownFields().writeTo(output); } @@ -163,8 +157,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -237,38 +231,38 @@ public static com.google.logging.v2.DeleteLinkRequest parseFrom( public static com.google.logging.v2.DeleteLinkRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.DeleteLinkRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.DeleteLinkRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.DeleteLinkRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.DeleteLinkRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.DeleteLinkRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } @@ -291,7 +285,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -305,7 +299,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder * * Protobuf type {@code google.logging.v2.DeleteLinkRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.DeleteLinkRequest) com.google.logging.v2.DeleteLinkRequestOrBuilder { @@ -315,7 +309,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_DeleteLinkRequest_fieldAccessorTable @@ -327,7 +321,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.logging.v2.DeleteLinkRequest.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @@ -377,6 +371,39 @@ private void buildPartial0(com.google.logging.v2.DeleteLinkRequest result) { } } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.DeleteLinkRequest) { @@ -453,10 +480,10 @@ 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]"
-     * "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
+     *  "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]"
      * 
* * @@ -483,10 +510,10 @@ 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]"
-     * "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
+     *  "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]"
      * 
* * @@ -513,10 +540,10 @@ 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]"
-     * "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
+     *  "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]"
      * 
* * @@ -542,10 +569,10 @@ 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]"
-     * "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
+     *  "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]"
      * 
* * @@ -567,10 +594,10 @@ 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]"
-     * "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
+     *  "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]"
      * 
* * @@ -591,6 +618,17 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { return this; } + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:google.logging.v2.DeleteLinkRequest) } 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 04ec2b712..bc20c523f 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 @@ -14,13 +14,11 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; -@com.google.protobuf.Generated public interface DeleteLinkRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.DeleteLinkRequest) @@ -32,10 +30,10 @@ 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]"
-   * "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
+   *  "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]"
    * 
* * @@ -52,10 +50,10 @@ 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]"
-   * "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
+   *  "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]"
    * 
* * 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 38addc577..6fe475b2e 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 @@ -14,10 +14,9 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_metrics.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -29,25 +28,14 @@ * * Protobuf type {@code google.logging.v2.DeleteLogMetricRequest} */ -@com.google.protobuf.Generated -public final class DeleteLogMetricRequest extends com.google.protobuf.GeneratedMessage +public final class DeleteLogMetricRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.logging.v2.DeleteLogMetricRequest) DeleteLogMetricRequestOrBuilder { private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 0, - /* suffix= */ "", - "DeleteLogMetricRequest"); - } - // Use DeleteLogMetricRequest.newBuilder() to construct. - private DeleteLogMetricRequest(com.google.protobuf.GeneratedMessage.Builder builder) { + private DeleteLogMetricRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } @@ -55,13 +43,19 @@ private DeleteLogMetricRequest() { metricName_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new DeleteLogMetricRequest(); + } + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingMetricsProto .internal_static_google_logging_v2_DeleteLogMetricRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingMetricsProto .internal_static_google_logging_v2_DeleteLogMetricRequest_fieldAccessorTable @@ -81,7 +75,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]"
+   *     "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
    * 
* * @@ -109,7 +103,7 @@ public java.lang.String getMetricName() { *
    * Required. The resource name of the metric to delete:
    *
-   * "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
+   *     "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
    * 
* * @@ -145,8 +139,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(metricName_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, metricName_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(metricName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, metricName_); } getUnknownFields().writeTo(output); } @@ -157,8 +151,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(metricName_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, metricName_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(metricName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, metricName_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -232,38 +226,38 @@ public static com.google.logging.v2.DeleteLogMetricRequest parseFrom( public static com.google.logging.v2.DeleteLogMetricRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.DeleteLogMetricRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.DeleteLogMetricRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.DeleteLogMetricRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.DeleteLogMetricRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.DeleteLogMetricRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } @@ -286,7 +280,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -300,7 +294,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder * * Protobuf type {@code google.logging.v2.DeleteLogMetricRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.DeleteLogMetricRequest) com.google.logging.v2.DeleteLogMetricRequestOrBuilder { @@ -310,7 +304,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingMetricsProto .internal_static_google_logging_v2_DeleteLogMetricRequest_fieldAccessorTable @@ -322,7 +316,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.logging.v2.DeleteLogMetricRequest.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @@ -372,6 +366,39 @@ private void buildPartial0(com.google.logging.v2.DeleteLogMetricRequest result) } } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.DeleteLogMetricRequest) { @@ -448,7 +475,7 @@ public Builder mergeFrom( *
      * Required. The resource name of the metric to delete:
      *
-     * "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
+     *     "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
      * 
* * @@ -475,7 +502,7 @@ public java.lang.String getMetricName() { *
      * Required. The resource name of the metric to delete:
      *
-     * "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
+     *     "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
      * 
* * @@ -502,7 +529,7 @@ public com.google.protobuf.ByteString getMetricNameBytes() { *
      * Required. The resource name of the metric to delete:
      *
-     * "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
+     *     "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
      * 
* * @@ -528,7 +555,7 @@ public Builder setMetricName(java.lang.String value) { *
      * Required. The resource name of the metric to delete:
      *
-     * "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
+     *     "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
      * 
* * @@ -550,7 +577,7 @@ public Builder clearMetricName() { *
      * Required. The resource name of the metric to delete:
      *
-     * "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
+     *     "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
      * 
* * @@ -571,6 +598,17 @@ public Builder setMetricNameBytes(com.google.protobuf.ByteString value) { return this; } + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:google.logging.v2.DeleteLogMetricRequest) } 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 f94f65499..c2a161cb9 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 @@ -14,13 +14,11 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_metrics.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; -@com.google.protobuf.Generated public interface DeleteLogMetricRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.DeleteLogMetricRequest) @@ -32,7 +30,7 @@ public interface DeleteLogMetricRequestOrBuilder *
    * Required. The resource name of the metric to delete:
    *
-   * "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
+   *     "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
    * 
* * @@ -49,7 +47,7 @@ public interface DeleteLogMetricRequestOrBuilder *
    * Required. The resource name of the metric to delete:
    *
-   * "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
+   *     "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 a6d1935b6..619fc73b9 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 @@ -14,10 +14,9 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -29,25 +28,14 @@ * * Protobuf type {@code google.logging.v2.DeleteLogRequest} */ -@com.google.protobuf.Generated -public final class DeleteLogRequest extends com.google.protobuf.GeneratedMessage +public final class DeleteLogRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.logging.v2.DeleteLogRequest) DeleteLogRequestOrBuilder { private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 0, - /* suffix= */ "", - "DeleteLogRequest"); - } - // Use DeleteLogRequest.newBuilder() to construct. - private DeleteLogRequest(com.google.protobuf.GeneratedMessage.Builder builder) { + private DeleteLogRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } @@ -55,13 +43,19 @@ private DeleteLogRequest() { logName_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new DeleteLogRequest(); + } + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingProto .internal_static_google_logging_v2_DeleteLogRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingProto .internal_static_google_logging_v2_DeleteLogRequest_fieldAccessorTable @@ -165,8 +159,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(logName_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, logName_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(logName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, logName_); } getUnknownFields().writeTo(output); } @@ -177,8 +171,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(logName_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, logName_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(logName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, logName_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -251,38 +245,38 @@ public static com.google.logging.v2.DeleteLogRequest parseFrom( public static com.google.logging.v2.DeleteLogRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.DeleteLogRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.DeleteLogRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.DeleteLogRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.DeleteLogRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.DeleteLogRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } @@ -305,7 +299,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -319,7 +313,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder * * Protobuf type {@code google.logging.v2.DeleteLogRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.DeleteLogRequest) com.google.logging.v2.DeleteLogRequestOrBuilder { @@ -329,7 +323,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingProto .internal_static_google_logging_v2_DeleteLogRequest_fieldAccessorTable @@ -341,7 +335,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.logging.v2.DeleteLogRequest.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @@ -391,6 +385,39 @@ private void buildPartial0(com.google.logging.v2.DeleteLogRequest result) { } } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.DeleteLogRequest) { @@ -640,6 +667,17 @@ public Builder setLogNameBytes(com.google.protobuf.ByteString value) { return this; } + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:google.logging.v2.DeleteLogRequest) } 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 2c29f53a6..cc81367fe 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 @@ -14,13 +14,11 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; -@com.google.protobuf.Generated public interface DeleteLogRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.DeleteLogRequest) 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 788307ed4..308961010 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 @@ -14,10 +14,9 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -29,25 +28,14 @@ * * Protobuf type {@code google.logging.v2.DeleteSinkRequest} */ -@com.google.protobuf.Generated -public final class DeleteSinkRequest extends com.google.protobuf.GeneratedMessage +public final class DeleteSinkRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.logging.v2.DeleteSinkRequest) DeleteSinkRequestOrBuilder { private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 0, - /* suffix= */ "", - "DeleteSinkRequest"); - } - // Use DeleteSinkRequest.newBuilder() to construct. - private DeleteSinkRequest(com.google.protobuf.GeneratedMessage.Builder builder) { + private DeleteSinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } @@ -55,13 +43,19 @@ private DeleteSinkRequest() { sinkName_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new DeleteSinkRequest(); + } + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_DeleteSinkRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_DeleteSinkRequest_fieldAccessorTable @@ -82,14 +76,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]" + * "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"` + * `"projects/my-project/sinks/my-sink"` * * * @@ -118,14 +112,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]" + * "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"` + * `"projects/my-project/sinks/my-sink"` * * * @@ -161,8 +155,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(sinkName_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, sinkName_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sinkName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sinkName_); } getUnknownFields().writeTo(output); } @@ -173,8 +167,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(sinkName_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, sinkName_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sinkName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, sinkName_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -247,38 +241,38 @@ public static com.google.logging.v2.DeleteSinkRequest parseFrom( public static com.google.logging.v2.DeleteSinkRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.DeleteSinkRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.DeleteSinkRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.DeleteSinkRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.DeleteSinkRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.DeleteSinkRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } @@ -301,7 +295,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -315,7 +309,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder * * Protobuf type {@code google.logging.v2.DeleteSinkRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.DeleteSinkRequest) com.google.logging.v2.DeleteSinkRequestOrBuilder { @@ -325,7 +319,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_DeleteSinkRequest_fieldAccessorTable @@ -337,7 +331,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.logging.v2.DeleteSinkRequest.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @@ -387,6 +381,39 @@ private void buildPartial0(com.google.logging.v2.DeleteSinkRequest result) { } } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.DeleteSinkRequest) { @@ -464,14 +491,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]" + * "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"` + * `"projects/my-project/sinks/my-sink"` * * * @@ -499,14 +526,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]" + * "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"` + * `"projects/my-project/sinks/my-sink"` * * * @@ -534,14 +561,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]" + * "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"` + * `"projects/my-project/sinks/my-sink"` * * * @@ -568,14 +595,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]" + * "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"` + * `"projects/my-project/sinks/my-sink"` * * * @@ -598,14 +625,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]" + * "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"` + * `"projects/my-project/sinks/my-sink"` * * * @@ -626,6 +653,17 @@ public Builder setSinkNameBytes(com.google.protobuf.ByteString value) { return this; } + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:google.logging.v2.DeleteSinkRequest) } 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 08ca18c3a..593e6c4ce 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 @@ -14,13 +14,11 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; -@com.google.protobuf.Generated public interface DeleteSinkRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.DeleteSinkRequest) @@ -33,14 +31,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]" + * "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"` + * `"projects/my-project/sinks/my-sink"` * * * @@ -58,14 +56,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]" + * "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"` + * `"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 b52e90b2b..d3433d671 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 @@ -14,10 +14,9 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -29,25 +28,14 @@ * * Protobuf type {@code google.logging.v2.DeleteViewRequest} */ -@com.google.protobuf.Generated -public final class DeleteViewRequest extends com.google.protobuf.GeneratedMessage +public final class DeleteViewRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.logging.v2.DeleteViewRequest) DeleteViewRequestOrBuilder { private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 0, - /* suffix= */ "", - "DeleteViewRequest"); - } - // Use DeleteViewRequest.newBuilder() to construct. - private DeleteViewRequest(com.google.protobuf.GeneratedMessage.Builder builder) { + private DeleteViewRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } @@ -55,13 +43,19 @@ private DeleteViewRequest() { name_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new DeleteViewRequest(); + } + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_DeleteViewRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_DeleteViewRequest_fieldAccessorTable @@ -81,11 +75,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]"
+   *     "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"`
+   *    `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
    * 
* * @@ -113,11 +107,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]"
+   *     "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"`
+   *    `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
    * 
* * @@ -153,8 +147,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } getUnknownFields().writeTo(output); } @@ -165,8 +159,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -239,38 +233,38 @@ public static com.google.logging.v2.DeleteViewRequest parseFrom( public static com.google.logging.v2.DeleteViewRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.DeleteViewRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.DeleteViewRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.DeleteViewRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.DeleteViewRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.DeleteViewRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } @@ -293,7 +287,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -307,7 +301,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder * * Protobuf type {@code google.logging.v2.DeleteViewRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.DeleteViewRequest) com.google.logging.v2.DeleteViewRequestOrBuilder { @@ -317,7 +311,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_DeleteViewRequest_fieldAccessorTable @@ -329,7 +323,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.logging.v2.DeleteViewRequest.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @@ -379,6 +373,39 @@ private void buildPartial0(com.google.logging.v2.DeleteViewRequest result) { } } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.DeleteViewRequest) { @@ -455,11 +482,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]"
+     *     "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"`
+     *    `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
      * 
* * @@ -486,11 +513,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]"
+     *     "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"`
+     *    `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
      * 
* * @@ -517,11 +544,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]"
+     *     "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"`
+     *    `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
      * 
* * @@ -547,11 +574,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]"
+     *     "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"`
+     *    `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
      * 
* * @@ -573,11 +600,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]"
+     *     "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"`
+     *    `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
      * 
* * @@ -598,6 +625,17 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { return this; } + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:google.logging.v2.DeleteViewRequest) } 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 72bbb1c1c..707d9ab82 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 @@ -14,13 +14,11 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; -@com.google.protobuf.Generated public interface DeleteViewRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.DeleteViewRequest) @@ -32,11 +30,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]"
+   *     "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"`
+   *    `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
    * 
* * @@ -53,11 +51,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]"
+   *     "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"`
+   *    `"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/GetBucketRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetBucketRequest.java index f00252488..4e77cd0f9 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 @@ -14,10 +14,9 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -29,25 +28,14 @@ * * Protobuf type {@code google.logging.v2.GetBucketRequest} */ -@com.google.protobuf.Generated -public final class GetBucketRequest extends com.google.protobuf.GeneratedMessage +public final class GetBucketRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.logging.v2.GetBucketRequest) GetBucketRequestOrBuilder { private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 0, - /* suffix= */ "", - "GetBucketRequest"); - } - // Use GetBucketRequest.newBuilder() to construct. - private GetBucketRequest(com.google.protobuf.GeneratedMessage.Builder builder) { + private GetBucketRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } @@ -55,13 +43,19 @@ private GetBucketRequest() { name_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new GetBucketRequest(); + } + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_GetBucketRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_GetBucketRequest_fieldAccessorTable @@ -81,14 +75,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]"
+   *     "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"`
+   *   `"projects/my-project/locations/global/buckets/my-bucket"`
    * 
* * @@ -116,14 +110,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]"
+   *     "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"`
+   *   `"projects/my-project/locations/global/buckets/my-bucket"`
    * 
* * @@ -159,8 +153,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } getUnknownFields().writeTo(output); } @@ -171,8 +165,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -245,38 +239,38 @@ public static com.google.logging.v2.GetBucketRequest parseFrom( public static com.google.logging.v2.GetBucketRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.GetBucketRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.GetBucketRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.GetBucketRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.GetBucketRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.GetBucketRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } @@ -299,7 +293,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -313,7 +307,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder * * Protobuf type {@code google.logging.v2.GetBucketRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.GetBucketRequest) com.google.logging.v2.GetBucketRequestOrBuilder { @@ -323,7 +317,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_GetBucketRequest_fieldAccessorTable @@ -335,7 +329,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.logging.v2.GetBucketRequest.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @@ -385,6 +379,39 @@ private void buildPartial0(com.google.logging.v2.GetBucketRequest result) { } } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.GetBucketRequest) { @@ -461,14 +488,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]"
+     *     "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"`
+     *   `"projects/my-project/locations/global/buckets/my-bucket"`
      * 
* * @@ -495,14 +522,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]"
+     *     "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"`
+     *   `"projects/my-project/locations/global/buckets/my-bucket"`
      * 
* * @@ -529,14 +556,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]"
+     *     "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"`
+     *   `"projects/my-project/locations/global/buckets/my-bucket"`
      * 
* * @@ -562,14 +589,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]"
+     *     "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"`
+     *   `"projects/my-project/locations/global/buckets/my-bucket"`
      * 
* * @@ -591,14 +618,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]"
+     *     "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"`
+     *   `"projects/my-project/locations/global/buckets/my-bucket"`
      * 
* * @@ -619,6 +646,17 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { return this; } + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:google.logging.v2.GetBucketRequest) } 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 4538a8a58..f7c2a0b61 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 @@ -14,13 +14,11 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; -@com.google.protobuf.Generated public interface GetBucketRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.GetBucketRequest) @@ -32,14 +30,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]"
+   *     "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"`
+   *   `"projects/my-project/locations/global/buckets/my-bucket"`
    * 
* * @@ -56,14 +54,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]"
+   *     "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"`
+   *   `"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 49b53333e..8b2bc6bf6 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 @@ -14,10 +14,9 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -34,25 +33,14 @@ * * Protobuf type {@code google.logging.v2.GetCmekSettingsRequest} */ -@com.google.protobuf.Generated -public final class GetCmekSettingsRequest extends com.google.protobuf.GeneratedMessage +public final class GetCmekSettingsRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.logging.v2.GetCmekSettingsRequest) GetCmekSettingsRequestOrBuilder { private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 0, - /* suffix= */ "", - "GetCmekSettingsRequest"); - } - // Use GetCmekSettingsRequest.newBuilder() to construct. - private GetCmekSettingsRequest(com.google.protobuf.GeneratedMessage.Builder builder) { + private GetCmekSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } @@ -60,13 +48,19 @@ private GetCmekSettingsRequest() { name_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new GetCmekSettingsRequest(); + } + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_GetCmekSettingsRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_GetCmekSettingsRequest_fieldAccessorTable @@ -86,14 +80,14 @@ 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"
+   *     "projects/[PROJECT_ID]/cmekSettings"
+   *     "organizations/[ORGANIZATION_ID]/cmekSettings"
+   *     "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
+   *     "folders/[FOLDER_ID]/cmekSettings"
    *
    * For example:
    *
-   * `"organizations/12345/cmekSettings"`
+   *   `"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
@@ -126,14 +120,14 @@ 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"
+   *     "projects/[PROJECT_ID]/cmekSettings"
+   *     "organizations/[ORGANIZATION_ID]/cmekSettings"
+   *     "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
+   *     "folders/[FOLDER_ID]/cmekSettings"
    *
    * For example:
    *
-   * `"organizations/12345/cmekSettings"`
+   *   `"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
@@ -174,8 +168,8 @@ public final boolean isInitialized() {
 
   @java.lang.Override
   public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
-    if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) {
-      com.google.protobuf.GeneratedMessage.writeString(output, 1, name_);
+    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
+      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
     getUnknownFields().writeTo(output);
   }
@@ -186,8 +180,8 @@ public int getSerializedSize() {
     if (size != -1) return size;
 
     size = 0;
-    if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) {
-      size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_);
+    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
+      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -261,38 +255,38 @@ public static com.google.logging.v2.GetCmekSettingsRequest parseFrom(
 
   public static com.google.logging.v2.GetCmekSettingsRequest parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
 
   public static com.google.logging.v2.GetCmekSettingsRequest parseFrom(
       java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessage.parseWithIOException(
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
         PARSER, input, extensionRegistry);
   }
 
   public static com.google.logging.v2.GetCmekSettingsRequest parseDelimitedFrom(
       java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.logging.v2.GetCmekSettingsRequest parseDelimitedFrom(
       java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
         PARSER, input, extensionRegistry);
   }
 
   public static com.google.logging.v2.GetCmekSettingsRequest parseFrom(
       com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
 
   public static com.google.logging.v2.GetCmekSettingsRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessage.parseWithIOException(
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
         PARSER, input, extensionRegistry);
   }
 
@@ -315,7 +309,7 @@ public Builder toBuilder() {
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
@@ -334,7 +328,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder
    *
    * Protobuf type {@code google.logging.v2.GetCmekSettingsRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
       implements
       // @@protoc_insertion_point(builder_implements:google.logging.v2.GetCmekSettingsRequest)
       com.google.logging.v2.GetCmekSettingsRequestOrBuilder {
@@ -344,7 +338,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     }
 
     @java.lang.Override
-    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
       return com.google.logging.v2.LoggingConfigProto
           .internal_static_google_logging_v2_GetCmekSettingsRequest_fieldAccessorTable
@@ -356,7 +350,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     // Construct using com.google.logging.v2.GetCmekSettingsRequest.newBuilder()
     private Builder() {}
 
-    private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
     }
 
@@ -406,6 +400,39 @@ private void buildPartial0(com.google.logging.v2.GetCmekSettingsRequest result)
       }
     }
 
+    @java.lang.Override
+    public Builder clone() {
+      return super.clone();
+    }
+
+    @java.lang.Override
+    public Builder setField(
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+      return super.setField(field, value);
+    }
+
+    @java.lang.Override
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      return super.clearField(field);
+    }
+
+    @java.lang.Override
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      return super.clearOneof(oneof);
+    }
+
+    @java.lang.Override
+    public Builder setRepeatedField(
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+      return super.setRepeatedField(field, index, value);
+    }
+
+    @java.lang.Override
+    public Builder addRepeatedField(
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+      return super.addRepeatedField(field, value);
+    }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.logging.v2.GetCmekSettingsRequest) {
@@ -482,14 +509,14 @@ 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"
+     *     "projects/[PROJECT_ID]/cmekSettings"
+     *     "organizations/[ORGANIZATION_ID]/cmekSettings"
+     *     "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
+     *     "folders/[FOLDER_ID]/cmekSettings"
      *
      * For example:
      *
-     * `"organizations/12345/cmekSettings"`
+     *   `"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
@@ -521,14 +548,14 @@ 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"
+     *     "projects/[PROJECT_ID]/cmekSettings"
+     *     "organizations/[ORGANIZATION_ID]/cmekSettings"
+     *     "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
+     *     "folders/[FOLDER_ID]/cmekSettings"
      *
      * For example:
      *
-     * `"organizations/12345/cmekSettings"`
+     *   `"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
@@ -560,14 +587,14 @@ 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"
+     *     "projects/[PROJECT_ID]/cmekSettings"
+     *     "organizations/[ORGANIZATION_ID]/cmekSettings"
+     *     "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
+     *     "folders/[FOLDER_ID]/cmekSettings"
      *
      * For example:
      *
-     * `"organizations/12345/cmekSettings"`
+     *   `"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
@@ -598,14 +625,14 @@ 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"
+     *     "projects/[PROJECT_ID]/cmekSettings"
+     *     "organizations/[ORGANIZATION_ID]/cmekSettings"
+     *     "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
+     *     "folders/[FOLDER_ID]/cmekSettings"
      *
      * For example:
      *
-     * `"organizations/12345/cmekSettings"`
+     *   `"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
@@ -632,14 +659,14 @@ 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"
+     *     "projects/[PROJECT_ID]/cmekSettings"
+     *     "organizations/[ORGANIZATION_ID]/cmekSettings"
+     *     "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
+     *     "folders/[FOLDER_ID]/cmekSettings"
      *
      * For example:
      *
-     * `"organizations/12345/cmekSettings"`
+     *   `"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
@@ -665,6 +692,17 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
       return this;
     }
 
+    @java.lang.Override
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+      return super.setUnknownFields(unknownFields);
+    }
+
+    @java.lang.Override
+    public final Builder mergeUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
+      return super.mergeUnknownFields(unknownFields);
+    }
+
     // @@protoc_insertion_point(builder_scope:google.logging.v2.GetCmekSettingsRequest)
   }
 
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 ea6d40bee..03a5ce799 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
@@ -14,13 +14,11 @@
  * limitations under the License.
  */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
-// NO CHECKED-IN PROTOBUF GENCODE
 // source: google/logging/v2/logging_config.proto
-// Protobuf Java Version: 4.33.0
 
+// Protobuf Java Version: 3.25.8
 package com.google.logging.v2;
 
-@com.google.protobuf.Generated
 public interface GetCmekSettingsRequestOrBuilder
     extends
     // @@protoc_insertion_point(interface_extends:google.logging.v2.GetCmekSettingsRequest)
@@ -32,14 +30,14 @@ 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"
+   *     "projects/[PROJECT_ID]/cmekSettings"
+   *     "organizations/[ORGANIZATION_ID]/cmekSettings"
+   *     "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
+   *     "folders/[FOLDER_ID]/cmekSettings"
    *
    * For example:
    *
-   * `"organizations/12345/cmekSettings"`
+   *   `"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
@@ -61,14 +59,14 @@ 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"
+   *     "projects/[PROJECT_ID]/cmekSettings"
+   *     "organizations/[ORGANIZATION_ID]/cmekSettings"
+   *     "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
+   *     "folders/[FOLDER_ID]/cmekSettings"
    *
    * For example:
    *
-   * `"organizations/12345/cmekSettings"`
+   *   `"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
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 418d5869a..3630dea59 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
@@ -14,10 +14,9 @@
  * limitations under the License.
  */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
-// NO CHECKED-IN PROTOBUF GENCODE
 // source: google/logging/v2/logging_config.proto
-// Protobuf Java Version: 4.33.0
 
+// Protobuf Java Version: 3.25.8
 package com.google.logging.v2;
 
 /**
@@ -29,25 +28,14 @@
  *
  * Protobuf type {@code google.logging.v2.GetExclusionRequest}
  */
-@com.google.protobuf.Generated
-public final class GetExclusionRequest extends com.google.protobuf.GeneratedMessage
+public final class GetExclusionRequest extends com.google.protobuf.GeneratedMessageV3
     implements
     // @@protoc_insertion_point(message_implements:google.logging.v2.GetExclusionRequest)
     GetExclusionRequestOrBuilder {
   private static final long serialVersionUID = 0L;
 
-  static {
-    com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
-        com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
-        /* major= */ 4,
-        /* minor= */ 33,
-        /* patch= */ 0,
-        /* suffix= */ "",
-        "GetExclusionRequest");
-  }
-
   // Use GetExclusionRequest.newBuilder() to construct.
-  private GetExclusionRequest(com.google.protobuf.GeneratedMessage.Builder builder) {
+  private GetExclusionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
 
@@ -55,13 +43,19 @@ private GetExclusionRequest() {
     name_ = "";
   }
 
+  @java.lang.Override
+  @SuppressWarnings({"unused"})
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    return new GetExclusionRequest();
+  }
+
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.logging.v2.LoggingConfigProto
         .internal_static_google_logging_v2_GetExclusionRequest_descriptor;
   }
 
   @java.lang.Override
-  protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
     return com.google.logging.v2.LoggingConfigProto
         .internal_static_google_logging_v2_GetExclusionRequest_fieldAccessorTable
@@ -81,14 +75,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]"
+   *     "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"`
+   *   `"projects/my-project/exclusions/my-exclusion"`
    * 
* * @@ -116,14 +110,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]"
+   *     "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"`
+   *   `"projects/my-project/exclusions/my-exclusion"`
    * 
* * @@ -159,8 +153,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } getUnknownFields().writeTo(output); } @@ -171,8 +165,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -246,38 +240,38 @@ public static com.google.logging.v2.GetExclusionRequest parseFrom( public static com.google.logging.v2.GetExclusionRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.GetExclusionRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.GetExclusionRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.GetExclusionRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.GetExclusionRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.GetExclusionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } @@ -300,7 +294,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -314,7 +308,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder * * Protobuf type {@code google.logging.v2.GetExclusionRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.GetExclusionRequest) com.google.logging.v2.GetExclusionRequestOrBuilder { @@ -324,7 +318,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_GetExclusionRequest_fieldAccessorTable @@ -336,7 +330,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.logging.v2.GetExclusionRequest.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @@ -386,6 +380,39 @@ private void buildPartial0(com.google.logging.v2.GetExclusionRequest result) { } } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.GetExclusionRequest) { @@ -462,14 +489,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]"
+     *     "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"`
+     *   `"projects/my-project/exclusions/my-exclusion"`
      * 
* * @@ -496,14 +523,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]"
+     *     "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"`
+     *   `"projects/my-project/exclusions/my-exclusion"`
      * 
* * @@ -530,14 +557,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]"
+     *     "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"`
+     *   `"projects/my-project/exclusions/my-exclusion"`
      * 
* * @@ -563,14 +590,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]"
+     *     "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"`
+     *   `"projects/my-project/exclusions/my-exclusion"`
      * 
* * @@ -592,14 +619,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]"
+     *     "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"`
+     *   `"projects/my-project/exclusions/my-exclusion"`
      * 
* * @@ -620,6 +647,17 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { return this; } + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:google.logging.v2.GetExclusionRequest) } 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 9edb40f28..b6cd1b846 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 @@ -14,13 +14,11 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; -@com.google.protobuf.Generated public interface GetExclusionRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.GetExclusionRequest) @@ -32,14 +30,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]"
+   *     "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"`
+   *   `"projects/my-project/exclusions/my-exclusion"`
    * 
* * @@ -56,14 +54,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]"
+   *     "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"`
+   *   `"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 0cfe4ddd4..a3b162d67 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 @@ -14,10 +14,9 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -29,25 +28,14 @@ * * Protobuf type {@code google.logging.v2.GetLinkRequest} */ -@com.google.protobuf.Generated -public final class GetLinkRequest extends com.google.protobuf.GeneratedMessage +public final class GetLinkRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.logging.v2.GetLinkRequest) GetLinkRequestOrBuilder { private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 0, - /* suffix= */ "", - "GetLinkRequest"); - } - // Use GetLinkRequest.newBuilder() to construct. - private GetLinkRequest(com.google.protobuf.GeneratedMessage.Builder builder) { + private GetLinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } @@ -55,13 +43,19 @@ private GetLinkRequest() { name_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new GetLinkRequest(); + } + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_GetLinkRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_GetLinkRequest_fieldAccessorTable @@ -81,10 +75,10 @@ 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]"
-   * "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]
+   *   "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]
    * 
* * @@ -112,10 +106,10 @@ 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]"
-   * "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]
+   *   "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]
    * 
* * @@ -151,8 +145,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } getUnknownFields().writeTo(output); } @@ -163,8 +157,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -236,38 +230,38 @@ public static com.google.logging.v2.GetLinkRequest parseFrom( public static com.google.logging.v2.GetLinkRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.GetLinkRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.GetLinkRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.GetLinkRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.GetLinkRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.GetLinkRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } @@ -290,7 +284,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -304,7 +298,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder * * Protobuf type {@code google.logging.v2.GetLinkRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.GetLinkRequest) com.google.logging.v2.GetLinkRequestOrBuilder { @@ -314,7 +308,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_GetLinkRequest_fieldAccessorTable @@ -326,7 +320,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.logging.v2.GetLinkRequest.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @@ -375,6 +369,39 @@ private void buildPartial0(com.google.logging.v2.GetLinkRequest result) { } } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.GetLinkRequest) { @@ -451,10 +478,10 @@ 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]"
-     * "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]
+     *   "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]
      * 
* * @@ -481,10 +508,10 @@ 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]"
-     * "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]
+     *   "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]
      * 
* * @@ -511,10 +538,10 @@ 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]"
-     * "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]
+     *   "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]
      * 
* * @@ -540,10 +567,10 @@ 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]"
-     * "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]
+     *   "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]
      * 
* * @@ -565,10 +592,10 @@ 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]"
-     * "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]
+     *   "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]
      * 
* * @@ -589,6 +616,17 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { return this; } + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:google.logging.v2.GetLinkRequest) } 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 7bf46a708..50098f0e0 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 @@ -14,13 +14,11 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; -@com.google.protobuf.Generated public interface GetLinkRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.GetLinkRequest) @@ -32,10 +30,10 @@ 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]"
-   * "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]
+   *   "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]
    * 
* * @@ -52,10 +50,10 @@ 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]"
-   * "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]
+   *   "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]
    * 
* * 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 758cf12cd..37793aefd 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 @@ -14,10 +14,9 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_metrics.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -29,25 +28,14 @@ * * Protobuf type {@code google.logging.v2.GetLogMetricRequest} */ -@com.google.protobuf.Generated -public final class GetLogMetricRequest extends com.google.protobuf.GeneratedMessage +public final class GetLogMetricRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.logging.v2.GetLogMetricRequest) GetLogMetricRequestOrBuilder { private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 0, - /* suffix= */ "", - "GetLogMetricRequest"); - } - // Use GetLogMetricRequest.newBuilder() to construct. - private GetLogMetricRequest(com.google.protobuf.GeneratedMessage.Builder builder) { + private GetLogMetricRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } @@ -55,13 +43,19 @@ private GetLogMetricRequest() { metricName_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new GetLogMetricRequest(); + } + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingMetricsProto .internal_static_google_logging_v2_GetLogMetricRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingMetricsProto .internal_static_google_logging_v2_GetLogMetricRequest_fieldAccessorTable @@ -81,7 +75,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { *
    * Required. The resource name of the desired metric:
    *
-   * "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
+   *     "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
    * 
* * @@ -109,7 +103,7 @@ public java.lang.String getMetricName() { *
    * Required. The resource name of the desired metric:
    *
-   * "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
+   *     "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
    * 
* * @@ -145,8 +139,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(metricName_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, metricName_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(metricName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, metricName_); } getUnknownFields().writeTo(output); } @@ -157,8 +151,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(metricName_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, metricName_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(metricName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, metricName_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -232,38 +226,38 @@ public static com.google.logging.v2.GetLogMetricRequest parseFrom( public static com.google.logging.v2.GetLogMetricRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.GetLogMetricRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.GetLogMetricRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.GetLogMetricRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.GetLogMetricRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.GetLogMetricRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } @@ -286,7 +280,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -300,7 +294,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder * * Protobuf type {@code google.logging.v2.GetLogMetricRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.GetLogMetricRequest) com.google.logging.v2.GetLogMetricRequestOrBuilder { @@ -310,7 +304,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingMetricsProto .internal_static_google_logging_v2_GetLogMetricRequest_fieldAccessorTable @@ -322,7 +316,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.logging.v2.GetLogMetricRequest.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @@ -372,6 +366,39 @@ private void buildPartial0(com.google.logging.v2.GetLogMetricRequest result) { } } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.GetLogMetricRequest) { @@ -448,7 +475,7 @@ public Builder mergeFrom( *
      * Required. The resource name of the desired metric:
      *
-     * "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
+     *     "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
      * 
* * @@ -475,7 +502,7 @@ public java.lang.String getMetricName() { *
      * Required. The resource name of the desired metric:
      *
-     * "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
+     *     "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
      * 
* * @@ -502,7 +529,7 @@ public com.google.protobuf.ByteString getMetricNameBytes() { *
      * Required. The resource name of the desired metric:
      *
-     * "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
+     *     "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
      * 
* * @@ -528,7 +555,7 @@ public Builder setMetricName(java.lang.String value) { *
      * Required. The resource name of the desired metric:
      *
-     * "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
+     *     "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
      * 
* * @@ -550,7 +577,7 @@ public Builder clearMetricName() { *
      * Required. The resource name of the desired metric:
      *
-     * "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
+     *     "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
      * 
* * @@ -571,6 +598,17 @@ public Builder setMetricNameBytes(com.google.protobuf.ByteString value) { return this; } + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:google.logging.v2.GetLogMetricRequest) } 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 ed76b22de..7e2223c52 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 @@ -14,13 +14,11 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_metrics.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; -@com.google.protobuf.Generated public interface GetLogMetricRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.GetLogMetricRequest) @@ -32,7 +30,7 @@ public interface GetLogMetricRequestOrBuilder *
    * Required. The resource name of the desired metric:
    *
-   * "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
+   *     "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
    * 
* * @@ -49,7 +47,7 @@ public interface GetLogMetricRequestOrBuilder *
    * Required. The resource name of the desired metric:
    *
-   * "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
+   *     "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 aa6870adc..fe127a4d7 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 @@ -14,10 +14,9 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -34,25 +33,14 @@ * * Protobuf type {@code google.logging.v2.GetSettingsRequest} */ -@com.google.protobuf.Generated -public final class GetSettingsRequest extends com.google.protobuf.GeneratedMessage +public final class GetSettingsRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.logging.v2.GetSettingsRequest) GetSettingsRequestOrBuilder { private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 0, - /* suffix= */ "", - "GetSettingsRequest"); - } - // Use GetSettingsRequest.newBuilder() to construct. - private GetSettingsRequest(com.google.protobuf.GeneratedMessage.Builder builder) { + private GetSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } @@ -60,13 +48,19 @@ private GetSettingsRequest() { name_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new GetSettingsRequest(); + } + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_GetSettingsRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_GetSettingsRequest_fieldAccessorTable @@ -86,14 +80,14 @@ 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"
+   *     "projects/[PROJECT_ID]/settings"
+   *     "organizations/[ORGANIZATION_ID]/settings"
+   *     "billingAccounts/[BILLING_ACCOUNT_ID]/settings"
+   *     "folders/[FOLDER_ID]/settings"
    *
    * For example:
    *
-   * `"organizations/12345/settings"`
+   *   `"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
@@ -126,14 +120,14 @@ 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"
+   *     "projects/[PROJECT_ID]/settings"
+   *     "organizations/[ORGANIZATION_ID]/settings"
+   *     "billingAccounts/[BILLING_ACCOUNT_ID]/settings"
+   *     "folders/[FOLDER_ID]/settings"
    *
    * For example:
    *
-   * `"organizations/12345/settings"`
+   *   `"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
@@ -174,8 +168,8 @@ public final boolean isInitialized() {
 
   @java.lang.Override
   public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
-    if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) {
-      com.google.protobuf.GeneratedMessage.writeString(output, 1, name_);
+    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
+      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
     getUnknownFields().writeTo(output);
   }
@@ -186,8 +180,8 @@ public int getSerializedSize() {
     if (size != -1) return size;
 
     size = 0;
-    if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) {
-      size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_);
+    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
+      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -260,38 +254,38 @@ public static com.google.logging.v2.GetSettingsRequest parseFrom(
 
   public static com.google.logging.v2.GetSettingsRequest parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
 
   public static com.google.logging.v2.GetSettingsRequest parseFrom(
       java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessage.parseWithIOException(
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
         PARSER, input, extensionRegistry);
   }
 
   public static com.google.logging.v2.GetSettingsRequest parseDelimitedFrom(
       java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.logging.v2.GetSettingsRequest parseDelimitedFrom(
       java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
         PARSER, input, extensionRegistry);
   }
 
   public static com.google.logging.v2.GetSettingsRequest parseFrom(
       com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
 
   public static com.google.logging.v2.GetSettingsRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessage.parseWithIOException(
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
         PARSER, input, extensionRegistry);
   }
 
@@ -314,7 +308,7 @@ public Builder toBuilder() {
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
@@ -333,7 +327,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder
    *
    * Protobuf type {@code google.logging.v2.GetSettingsRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
       implements
       // @@protoc_insertion_point(builder_implements:google.logging.v2.GetSettingsRequest)
       com.google.logging.v2.GetSettingsRequestOrBuilder {
@@ -343,7 +337,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     }
 
     @java.lang.Override
-    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
       return com.google.logging.v2.LoggingConfigProto
           .internal_static_google_logging_v2_GetSettingsRequest_fieldAccessorTable
@@ -355,7 +349,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     // Construct using com.google.logging.v2.GetSettingsRequest.newBuilder()
     private Builder() {}
 
-    private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
     }
 
@@ -405,6 +399,39 @@ private void buildPartial0(com.google.logging.v2.GetSettingsRequest result) {
       }
     }
 
+    @java.lang.Override
+    public Builder clone() {
+      return super.clone();
+    }
+
+    @java.lang.Override
+    public Builder setField(
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+      return super.setField(field, value);
+    }
+
+    @java.lang.Override
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      return super.clearField(field);
+    }
+
+    @java.lang.Override
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      return super.clearOneof(oneof);
+    }
+
+    @java.lang.Override
+    public Builder setRepeatedField(
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+      return super.setRepeatedField(field, index, value);
+    }
+
+    @java.lang.Override
+    public Builder addRepeatedField(
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+      return super.addRepeatedField(field, value);
+    }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.logging.v2.GetSettingsRequest) {
@@ -481,14 +508,14 @@ 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"
+     *     "projects/[PROJECT_ID]/settings"
+     *     "organizations/[ORGANIZATION_ID]/settings"
+     *     "billingAccounts/[BILLING_ACCOUNT_ID]/settings"
+     *     "folders/[FOLDER_ID]/settings"
      *
      * For example:
      *
-     * `"organizations/12345/settings"`
+     *   `"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
@@ -520,14 +547,14 @@ 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"
+     *     "projects/[PROJECT_ID]/settings"
+     *     "organizations/[ORGANIZATION_ID]/settings"
+     *     "billingAccounts/[BILLING_ACCOUNT_ID]/settings"
+     *     "folders/[FOLDER_ID]/settings"
      *
      * For example:
      *
-     * `"organizations/12345/settings"`
+     *   `"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
@@ -559,14 +586,14 @@ 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"
+     *     "projects/[PROJECT_ID]/settings"
+     *     "organizations/[ORGANIZATION_ID]/settings"
+     *     "billingAccounts/[BILLING_ACCOUNT_ID]/settings"
+     *     "folders/[FOLDER_ID]/settings"
      *
      * For example:
      *
-     * `"organizations/12345/settings"`
+     *   `"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
@@ -597,14 +624,14 @@ 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"
+     *     "projects/[PROJECT_ID]/settings"
+     *     "organizations/[ORGANIZATION_ID]/settings"
+     *     "billingAccounts/[BILLING_ACCOUNT_ID]/settings"
+     *     "folders/[FOLDER_ID]/settings"
      *
      * For example:
      *
-     * `"organizations/12345/settings"`
+     *   `"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
@@ -631,14 +658,14 @@ 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"
+     *     "projects/[PROJECT_ID]/settings"
+     *     "organizations/[ORGANIZATION_ID]/settings"
+     *     "billingAccounts/[BILLING_ACCOUNT_ID]/settings"
+     *     "folders/[FOLDER_ID]/settings"
      *
      * For example:
      *
-     * `"organizations/12345/settings"`
+     *   `"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
@@ -664,6 +691,17 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
       return this;
     }
 
+    @java.lang.Override
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+      return super.setUnknownFields(unknownFields);
+    }
+
+    @java.lang.Override
+    public final Builder mergeUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
+      return super.mergeUnknownFields(unknownFields);
+    }
+
     // @@protoc_insertion_point(builder_scope:google.logging.v2.GetSettingsRequest)
   }
 
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 d38f29164..b072dd1d2 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
@@ -14,13 +14,11 @@
  * limitations under the License.
  */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
-// NO CHECKED-IN PROTOBUF GENCODE
 // source: google/logging/v2/logging_config.proto
-// Protobuf Java Version: 4.33.0
 
+// Protobuf Java Version: 3.25.8
 package com.google.logging.v2;
 
-@com.google.protobuf.Generated
 public interface GetSettingsRequestOrBuilder
     extends
     // @@protoc_insertion_point(interface_extends:google.logging.v2.GetSettingsRequest)
@@ -32,14 +30,14 @@ 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"
+   *     "projects/[PROJECT_ID]/settings"
+   *     "organizations/[ORGANIZATION_ID]/settings"
+   *     "billingAccounts/[BILLING_ACCOUNT_ID]/settings"
+   *     "folders/[FOLDER_ID]/settings"
    *
    * For example:
    *
-   * `"organizations/12345/settings"`
+   *   `"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
@@ -61,14 +59,14 @@ 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"
+   *     "projects/[PROJECT_ID]/settings"
+   *     "organizations/[ORGANIZATION_ID]/settings"
+   *     "billingAccounts/[BILLING_ACCOUNT_ID]/settings"
+   *     "folders/[FOLDER_ID]/settings"
    *
    * For example:
    *
-   * `"organizations/12345/settings"`
+   *   `"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
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 24b4d4188..30ddc0ab0 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
@@ -14,10 +14,9 @@
  * limitations under the License.
  */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
-// NO CHECKED-IN PROTOBUF GENCODE
 // source: google/logging/v2/logging_config.proto
-// Protobuf Java Version: 4.33.0
 
+// Protobuf Java Version: 3.25.8
 package com.google.logging.v2;
 
 /**
@@ -29,25 +28,14 @@
  *
  * Protobuf type {@code google.logging.v2.GetSinkRequest}
  */
-@com.google.protobuf.Generated
-public final class GetSinkRequest extends com.google.protobuf.GeneratedMessage
+public final class GetSinkRequest extends com.google.protobuf.GeneratedMessageV3
     implements
     // @@protoc_insertion_point(message_implements:google.logging.v2.GetSinkRequest)
     GetSinkRequestOrBuilder {
   private static final long serialVersionUID = 0L;
 
-  static {
-    com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
-        com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
-        /* major= */ 4,
-        /* minor= */ 33,
-        /* patch= */ 0,
-        /* suffix= */ "",
-        "GetSinkRequest");
-  }
-
   // Use GetSinkRequest.newBuilder() to construct.
-  private GetSinkRequest(com.google.protobuf.GeneratedMessage.Builder builder) {
+  private GetSinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
 
@@ -55,13 +43,19 @@ private GetSinkRequest() {
     sinkName_ = "";
   }
 
+  @java.lang.Override
+  @SuppressWarnings({"unused"})
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    return new GetSinkRequest();
+  }
+
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.logging.v2.LoggingConfigProto
         .internal_static_google_logging_v2_GetSinkRequest_descriptor;
   }
 
   @java.lang.Override
-  protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
     return com.google.logging.v2.LoggingConfigProto
         .internal_static_google_logging_v2_GetSinkRequest_fieldAccessorTable
@@ -81,14 +75,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]"
+   *     "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"`
+   *   `"projects/my-project/sinks/my-sink"`
    * 
* * @@ -116,14 +110,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]"
+   *     "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"`
+   *   `"projects/my-project/sinks/my-sink"`
    * 
* * @@ -159,8 +153,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(sinkName_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, sinkName_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sinkName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sinkName_); } getUnknownFields().writeTo(output); } @@ -171,8 +165,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(sinkName_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, sinkName_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sinkName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, sinkName_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -244,38 +238,38 @@ public static com.google.logging.v2.GetSinkRequest parseFrom( public static com.google.logging.v2.GetSinkRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.GetSinkRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.GetSinkRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.GetSinkRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.GetSinkRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.GetSinkRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } @@ -298,7 +292,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -312,7 +306,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder * * Protobuf type {@code google.logging.v2.GetSinkRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.GetSinkRequest) com.google.logging.v2.GetSinkRequestOrBuilder { @@ -322,7 +316,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_GetSinkRequest_fieldAccessorTable @@ -334,7 +328,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.logging.v2.GetSinkRequest.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @@ -383,6 +377,39 @@ private void buildPartial0(com.google.logging.v2.GetSinkRequest result) { } } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.GetSinkRequest) { @@ -459,14 +486,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]"
+     *     "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"`
+     *   `"projects/my-project/sinks/my-sink"`
      * 
* * @@ -493,14 +520,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]"
+     *     "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"`
+     *   `"projects/my-project/sinks/my-sink"`
      * 
* * @@ -527,14 +554,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]"
+     *     "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"`
+     *   `"projects/my-project/sinks/my-sink"`
      * 
* * @@ -560,14 +587,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]"
+     *     "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"`
+     *   `"projects/my-project/sinks/my-sink"`
      * 
* * @@ -589,14 +616,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]"
+     *     "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"`
+     *   `"projects/my-project/sinks/my-sink"`
      * 
* * @@ -617,6 +644,17 @@ public Builder setSinkNameBytes(com.google.protobuf.ByteString value) { return this; } + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:google.logging.v2.GetSinkRequest) } 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 fb8b295e6..d0e67787f 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 @@ -14,13 +14,11 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; -@com.google.protobuf.Generated public interface GetSinkRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.GetSinkRequest) @@ -32,14 +30,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]"
+   *     "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"`
+   *   `"projects/my-project/sinks/my-sink"`
    * 
* * @@ -56,14 +54,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]"
+   *     "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"`
+   *   `"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 a9eeacbf0..cf2482642 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 @@ -14,10 +14,9 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -29,25 +28,14 @@ * * Protobuf type {@code google.logging.v2.GetViewRequest} */ -@com.google.protobuf.Generated -public final class GetViewRequest extends com.google.protobuf.GeneratedMessage +public final class GetViewRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.logging.v2.GetViewRequest) GetViewRequestOrBuilder { private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 0, - /* suffix= */ "", - "GetViewRequest"); - } - // Use GetViewRequest.newBuilder() to construct. - private GetViewRequest(com.google.protobuf.GeneratedMessage.Builder builder) { + private GetViewRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } @@ -55,13 +43,19 @@ private GetViewRequest() { name_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new GetViewRequest(); + } + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_GetViewRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_GetViewRequest_fieldAccessorTable @@ -81,11 +75,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]"
+   *     "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"`
+   *   `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
    * 
* * @@ -113,11 +107,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]"
+   *     "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"`
+   *   `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
    * 
* * @@ -153,8 +147,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } getUnknownFields().writeTo(output); } @@ -165,8 +159,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -238,38 +232,38 @@ public static com.google.logging.v2.GetViewRequest parseFrom( public static com.google.logging.v2.GetViewRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.GetViewRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.GetViewRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.GetViewRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.GetViewRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.GetViewRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } @@ -292,7 +286,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -306,7 +300,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder * * Protobuf type {@code google.logging.v2.GetViewRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.GetViewRequest) com.google.logging.v2.GetViewRequestOrBuilder { @@ -316,7 +310,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_GetViewRequest_fieldAccessorTable @@ -328,7 +322,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.logging.v2.GetViewRequest.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @@ -377,6 +371,39 @@ private void buildPartial0(com.google.logging.v2.GetViewRequest result) { } } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.GetViewRequest) { @@ -453,11 +480,11 @@ public Builder mergeFrom( *
      * Required. The resource name of the policy:
      *
-     * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
+     *     "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"`
+     *   `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
      * 
* * @@ -484,11 +511,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]"
+     *     "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"`
+     *   `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
      * 
* * @@ -515,11 +542,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]"
+     *     "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"`
+     *   `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
      * 
* * @@ -545,11 +572,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]"
+     *     "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"`
+     *   `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
      * 
* * @@ -571,11 +598,11 @@ public Builder clearName() { *
      * Required. The resource name of the policy:
      *
-     * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
+     *     "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"`
+     *   `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
      * 
* * @@ -596,6 +623,17 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { return this; } + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:google.logging.v2.GetViewRequest) } 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 7ce03746a..10f88d912 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 @@ -14,13 +14,11 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; -@com.google.protobuf.Generated public interface GetViewRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.GetViewRequest) @@ -32,11 +30,11 @@ public interface GetViewRequestOrBuilder *
    * Required. The resource name of the policy:
    *
-   * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
+   *     "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"`
+   *   `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
    * 
* * @@ -53,11 +51,11 @@ public interface GetViewRequestOrBuilder *
    * Required. The resource name of the policy:
    *
-   * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
+   *     "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"`
+   *   `"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 3922aba29..69aae7412 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 @@ -14,10 +14,9 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -29,25 +28,14 @@ * * Protobuf type {@code google.logging.v2.IndexConfig} */ -@com.google.protobuf.Generated -public final class IndexConfig extends com.google.protobuf.GeneratedMessage +public final class IndexConfig extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.logging.v2.IndexConfig) IndexConfigOrBuilder { private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 0, - /* suffix= */ "", - "IndexConfig"); - } - // Use IndexConfig.newBuilder() to construct. - private IndexConfig(com.google.protobuf.GeneratedMessage.Builder builder) { + private IndexConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } @@ -56,13 +44,19 @@ private IndexConfig() { type_ = 0; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new IndexConfig(); + } + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_IndexConfig_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_IndexConfig_fieldAccessorTable @@ -250,8 +244,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(fieldPath_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, fieldPath_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fieldPath_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, fieldPath_); } if (type_ != com.google.logging.v2.IndexType.INDEX_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(2, type_); @@ -268,8 +262,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(fieldPath_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, fieldPath_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fieldPath_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, fieldPath_); } if (type_ != com.google.logging.v2.IndexType.INDEX_TYPE_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, type_); @@ -358,38 +352,38 @@ public static com.google.logging.v2.IndexConfig parseFrom( public static com.google.logging.v2.IndexConfig parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.IndexConfig parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.IndexConfig parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.IndexConfig parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.IndexConfig parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.IndexConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } @@ -412,7 +406,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -426,7 +420,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder * * Protobuf type {@code google.logging.v2.IndexConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.IndexConfig) com.google.logging.v2.IndexConfigOrBuilder { @@ -436,7 +430,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_IndexConfig_fieldAccessorTable @@ -450,14 +444,14 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { - internalGetCreateTimeFieldBuilder(); + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getCreateTimeFieldBuilder(); } } @@ -521,6 +515,39 @@ private void buildPartial0(com.google.logging.v2.IndexConfig result) { result.bitField0_ |= to_bitField0_; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.IndexConfig) { @@ -584,8 +611,7 @@ public Builder mergeFrom( } // case 16 case 26: { - input.readMessage( - internalGetCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 26 @@ -849,7 +875,7 @@ public Builder clearType() { } private com.google.protobuf.Timestamp createTime_; - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> @@ -1029,7 +1055,7 @@ public Builder clearCreateTime() { public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000004; onChanged(); - return internalGetCreateTimeFieldBuilder().getBuilder(); + return getCreateTimeFieldBuilder().getBuilder(); } /** @@ -1070,14 +1096,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> - internalGetCreateTimeFieldBuilder() { + getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilder< + new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( @@ -1087,6 +1113,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { return createTimeBuilder_; } + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:google.logging.v2.IndexConfig) } 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 45124da9d..3bda9d50c 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 @@ -14,13 +14,11 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; -@com.google.protobuf.Generated public interface IndexConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.IndexConfig) 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 4c96d5d93..c7fcd6cd0 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 @@ -14,10 +14,9 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -30,7 +29,6 @@ * * Protobuf enum {@code google.logging.v2.IndexType} */ -@com.google.protobuf.Generated public enum IndexType implements com.google.protobuf.ProtocolMessageEnum { /** * @@ -65,16 +63,6 @@ public enum IndexType implements com.google.protobuf.ProtocolMessageEnum { UNRECOGNIZED(-1), ; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 0, - /* suffix= */ "", - "IndexType"); - } - /** * * @@ -166,7 +154,7 @@ public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType return getDescriptor(); } - public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto.getDescriptor().getEnumTypes().get(2); } 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 4bcf177f8..cbe9279ba 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 @@ -14,10 +14,9 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -29,7 +28,6 @@ * * Protobuf enum {@code google.logging.v2.LifecycleState} */ -@com.google.protobuf.Generated public enum LifecycleState implements com.google.protobuf.ProtocolMessageEnum { /** * @@ -98,16 +96,6 @@ public enum LifecycleState implements com.google.protobuf.ProtocolMessageEnum { UNRECOGNIZED(-1), ; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 0, - /* suffix= */ "", - "LifecycleState"); - } - /** * * @@ -242,7 +230,7 @@ public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType return getDescriptor(); } - public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto.getDescriptor().getEnumTypes().get(1); } 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 7723757b9..6676d0939 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 @@ -14,10 +14,9 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -29,25 +28,14 @@ * * Protobuf type {@code google.logging.v2.Link} */ -@com.google.protobuf.Generated -public final class Link extends com.google.protobuf.GeneratedMessage +public final class Link extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.logging.v2.Link) LinkOrBuilder { private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 0, - /* suffix= */ "", - "Link"); - } - // Use Link.newBuilder() to construct. - private Link(com.google.protobuf.GeneratedMessage.Builder builder) { + private Link(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } @@ -57,13 +45,19 @@ private Link() { lifecycleState_ = 0; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new Link(); + } + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_Link_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_Link_fieldAccessorTable @@ -85,14 +79,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * 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]" + * "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 + * `projects/my-project/locations/global/buckets/my-bucket/links/my_link *
* * string name = 1; @@ -120,14 +114,14 @@ public java.lang.String getName() { * 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]" + * "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 + * `projects/my-project/locations/global/buckets/my-bucket/links/my_link *
* * string name = 1; @@ -373,11 +367,11 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 2, description_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, description_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(3, getCreateTime()); @@ -398,11 +392,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(2, description_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCreateTime()); @@ -506,38 +500,38 @@ public static com.google.logging.v2.Link parseFrom( public static com.google.logging.v2.Link parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.Link parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.Link parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.Link parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.Link parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.Link parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } @@ -560,7 +554,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -574,7 +568,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder * * Protobuf type {@code google.logging.v2.Link} */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.Link) com.google.logging.v2.LinkOrBuilder { @@ -584,7 +578,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_Link_fieldAccessorTable @@ -597,15 +591,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { - internalGetCreateTimeFieldBuilder(); - internalGetBigqueryDatasetFieldBuilder(); + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getCreateTimeFieldBuilder(); + getBigqueryDatasetFieldBuilder(); } } @@ -683,6 +677,39 @@ private void buildPartial0(com.google.logging.v2.Link result) { result.bitField0_ |= to_bitField0_; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.Link) { @@ -754,8 +781,7 @@ public Builder mergeFrom( } // case 18 case 26: { - input.readMessage( - internalGetCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 26 @@ -767,8 +793,7 @@ public Builder mergeFrom( } // case 32 case 42: { - input.readMessage( - internalGetBigqueryDatasetFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage(getBigqueryDatasetFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000010; break; } // case 42 @@ -801,14 +826,14 @@ public Builder mergeFrom( * 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]" + * "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 + * `projects/my-project/locations/global/buckets/my-bucket/links/my_link *
* * string name = 1; @@ -835,14 +860,14 @@ public java.lang.String getName() { * 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]" + * "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 + * `projects/my-project/locations/global/buckets/my-bucket/links/my_link *
* * string name = 1; @@ -869,14 +894,14 @@ public com.google.protobuf.ByteString getNameBytes() { * 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]" + * "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 + * `projects/my-project/locations/global/buckets/my-bucket/links/my_link *
* * string name = 1; @@ -902,14 +927,14 @@ public Builder setName(java.lang.String value) { * 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]" + * "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 + * `projects/my-project/locations/global/buckets/my-bucket/links/my_link *
* * string name = 1; @@ -931,14 +956,14 @@ public Builder clearName() { * 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]" + * "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 + * `projects/my-project/locations/global/buckets/my-bucket/links/my_link *
* * string name = 1; @@ -1079,7 +1104,7 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { } private com.google.protobuf.Timestamp createTime_; - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> @@ -1238,7 +1263,7 @@ public Builder clearCreateTime() { public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000004; onChanged(); - return internalGetCreateTimeFieldBuilder().getBuilder(); + return getCreateTimeFieldBuilder().getBuilder(); } /** @@ -1273,14 +1298,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> - internalGetCreateTimeFieldBuilder() { + getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilder< + new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( @@ -1396,7 +1421,7 @@ public Builder clearLifecycleState() { } private com.google.logging.v2.BigQueryDataset bigqueryDataset_; - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.logging.v2.BigQueryDataset, com.google.logging.v2.BigQueryDataset.Builder, com.google.logging.v2.BigQueryDatasetOrBuilder> @@ -1563,7 +1588,7 @@ public Builder clearBigqueryDataset() { public com.google.logging.v2.BigQueryDataset.Builder getBigqueryDatasetBuilder() { bitField0_ |= 0x00000010; onChanged(); - return internalGetBigqueryDatasetFieldBuilder().getBuilder(); + return getBigqueryDatasetFieldBuilder().getBuilder(); } /** @@ -1600,14 +1625,14 @@ public com.google.logging.v2.BigQueryDatasetOrBuilder getBigqueryDatasetOrBuilde * * .google.logging.v2.BigQueryDataset bigquery_dataset = 5; */ - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.logging.v2.BigQueryDataset, com.google.logging.v2.BigQueryDataset.Builder, com.google.logging.v2.BigQueryDatasetOrBuilder> - internalGetBigqueryDatasetFieldBuilder() { + getBigqueryDatasetFieldBuilder() { if (bigqueryDatasetBuilder_ == null) { bigqueryDatasetBuilder_ = - new com.google.protobuf.SingleFieldBuilder< + new com.google.protobuf.SingleFieldBuilderV3< com.google.logging.v2.BigQueryDataset, com.google.logging.v2.BigQueryDataset.Builder, com.google.logging.v2.BigQueryDatasetOrBuilder>( @@ -1617,6 +1642,17 @@ public com.google.logging.v2.BigQueryDatasetOrBuilder getBigqueryDatasetOrBuilde return bigqueryDatasetBuilder_; } + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:google.logging.v2.Link) } 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 34921f7ac..563a3f344 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 @@ -14,10 +14,9 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -29,25 +28,14 @@ * * Protobuf type {@code google.logging.v2.LinkMetadata} */ -@com.google.protobuf.Generated -public final class LinkMetadata extends com.google.protobuf.GeneratedMessage +public final class LinkMetadata extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.logging.v2.LinkMetadata) LinkMetadataOrBuilder { private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 0, - /* suffix= */ "", - "LinkMetadata"); - } - // Use LinkMetadata.newBuilder() to construct. - private LinkMetadata(com.google.protobuf.GeneratedMessage.Builder builder) { + private LinkMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } @@ -55,13 +43,19 @@ private LinkMetadata() { state_ = 0; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new LinkMetadata(); + } + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_LinkMetadata_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_LinkMetadata_fieldAccessorTable @@ -530,38 +524,38 @@ public static com.google.logging.v2.LinkMetadata parseFrom( public static com.google.logging.v2.LinkMetadata parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.LinkMetadata parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.LinkMetadata parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.LinkMetadata parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.LinkMetadata parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.LinkMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } @@ -584,7 +578,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -598,7 +592,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder * * Protobuf type {@code google.logging.v2.LinkMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.LinkMetadata) com.google.logging.v2.LinkMetadataOrBuilder { @@ -608,7 +602,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_LinkMetadata_fieldAccessorTable @@ -622,15 +616,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { - internalGetStartTimeFieldBuilder(); - internalGetEndTimeFieldBuilder(); + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getStartTimeFieldBuilder(); + getEndTimeFieldBuilder(); } } @@ -719,6 +713,39 @@ private void buildPartialOneofs(com.google.logging.v2.LinkMetadata result) { } } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.LinkMetadata) { @@ -784,14 +811,13 @@ public Builder mergeFrom( break; case 10: { - input.readMessage( - internalGetStartTimeFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 18: { - input.readMessage(internalGetEndTimeFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 18 @@ -804,14 +830,14 @@ public Builder mergeFrom( case 34: { input.readMessage( - internalGetCreateLinkRequestFieldBuilder().getBuilder(), extensionRegistry); + getCreateLinkRequestFieldBuilder().getBuilder(), extensionRegistry); requestCase_ = 4; break; } // case 34 case 42: { input.readMessage( - internalGetDeleteLinkRequestFieldBuilder().getBuilder(), extensionRegistry); + getDeleteLinkRequestFieldBuilder().getBuilder(), extensionRegistry); requestCase_ = 5; break; } // case 42 @@ -849,7 +875,7 @@ public Builder clearRequest() { private int bitField0_; private com.google.protobuf.Timestamp startTime_; - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> @@ -992,7 +1018,7 @@ public Builder clearStartTime() { public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { bitField0_ |= 0x00000001; onChanged(); - return internalGetStartTimeFieldBuilder().getBuilder(); + return getStartTimeFieldBuilder().getBuilder(); } /** @@ -1021,14 +1047,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * * .google.protobuf.Timestamp start_time = 1; */ - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> - internalGetStartTimeFieldBuilder() { + getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { startTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilder< + new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( @@ -1039,7 +1065,7 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { } private com.google.protobuf.Timestamp endTime_; - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> @@ -1182,7 +1208,7 @@ public Builder clearEndTime() { public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { bitField0_ |= 0x00000002; onChanged(); - return internalGetEndTimeFieldBuilder().getBuilder(); + return getEndTimeFieldBuilder().getBuilder(); } /** @@ -1211,14 +1237,14 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * * .google.protobuf.Timestamp end_time = 2; */ - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> - internalGetEndTimeFieldBuilder() { + getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { endTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilder< + new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( @@ -1323,7 +1349,7 @@ public Builder clearState() { return this; } - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.logging.v2.CreateLinkRequest, com.google.logging.v2.CreateLinkRequest.Builder, com.google.logging.v2.CreateLinkRequestOrBuilder> @@ -1484,7 +1510,7 @@ public Builder clearCreateLinkRequest() { * .google.logging.v2.CreateLinkRequest create_link_request = 4; */ public com.google.logging.v2.CreateLinkRequest.Builder getCreateLinkRequestBuilder() { - return internalGetCreateLinkRequestFieldBuilder().getBuilder(); + return getCreateLinkRequestFieldBuilder().getBuilder(); } /** @@ -1517,17 +1543,17 @@ public com.google.logging.v2.CreateLinkRequestOrBuilder getCreateLinkRequestOrBu * * .google.logging.v2.CreateLinkRequest create_link_request = 4; */ - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.logging.v2.CreateLinkRequest, com.google.logging.v2.CreateLinkRequest.Builder, com.google.logging.v2.CreateLinkRequestOrBuilder> - internalGetCreateLinkRequestFieldBuilder() { + getCreateLinkRequestFieldBuilder() { if (createLinkRequestBuilder_ == null) { if (!(requestCase_ == 4)) { request_ = com.google.logging.v2.CreateLinkRequest.getDefaultInstance(); } createLinkRequestBuilder_ = - new com.google.protobuf.SingleFieldBuilder< + new com.google.protobuf.SingleFieldBuilderV3< com.google.logging.v2.CreateLinkRequest, com.google.logging.v2.CreateLinkRequest.Builder, com.google.logging.v2.CreateLinkRequestOrBuilder>( @@ -1541,7 +1567,7 @@ public com.google.logging.v2.CreateLinkRequestOrBuilder getCreateLinkRequestOrBu return createLinkRequestBuilder_; } - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.logging.v2.DeleteLinkRequest, com.google.logging.v2.DeleteLinkRequest.Builder, com.google.logging.v2.DeleteLinkRequestOrBuilder> @@ -1702,7 +1728,7 @@ public Builder clearDeleteLinkRequest() { * .google.logging.v2.DeleteLinkRequest delete_link_request = 5; */ public com.google.logging.v2.DeleteLinkRequest.Builder getDeleteLinkRequestBuilder() { - return internalGetDeleteLinkRequestFieldBuilder().getBuilder(); + return getDeleteLinkRequestFieldBuilder().getBuilder(); } /** @@ -1735,17 +1761,17 @@ public com.google.logging.v2.DeleteLinkRequestOrBuilder getDeleteLinkRequestOrBu * * .google.logging.v2.DeleteLinkRequest delete_link_request = 5; */ - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.logging.v2.DeleteLinkRequest, com.google.logging.v2.DeleteLinkRequest.Builder, com.google.logging.v2.DeleteLinkRequestOrBuilder> - internalGetDeleteLinkRequestFieldBuilder() { + getDeleteLinkRequestFieldBuilder() { if (deleteLinkRequestBuilder_ == null) { if (!(requestCase_ == 5)) { request_ = com.google.logging.v2.DeleteLinkRequest.getDefaultInstance(); } deleteLinkRequestBuilder_ = - new com.google.protobuf.SingleFieldBuilder< + new com.google.protobuf.SingleFieldBuilderV3< com.google.logging.v2.DeleteLinkRequest, com.google.logging.v2.DeleteLinkRequest.Builder, com.google.logging.v2.DeleteLinkRequestOrBuilder>( @@ -1759,6 +1785,17 @@ public com.google.logging.v2.DeleteLinkRequestOrBuilder getDeleteLinkRequestOrBu return deleteLinkRequestBuilder_; } + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:google.logging.v2.LinkMetadata) } 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 4af7b0001..beab51d25 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 @@ -14,13 +14,11 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; -@com.google.protobuf.Generated public interface LinkMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.LinkMetadata) 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 59e2cbfe5..4d1253cd5 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 @@ -14,13 +14,11 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; -@com.google.protobuf.Generated public interface LinkOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.Link) @@ -34,14 +32,14 @@ public interface LinkOrBuilder * 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]" + * "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 + * `projects/my-project/locations/global/buckets/my-bucket/links/my_link *
* * string name = 1; @@ -58,14 +56,14 @@ public interface LinkOrBuilder * 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]" + * "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 + * `projects/my-project/locations/global/buckets/my-bucket/links/my_link *
* * string name = 1; 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 6f6c1ac69..def8cff68 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 @@ -14,10 +14,9 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -29,25 +28,14 @@ * * Protobuf type {@code google.logging.v2.ListBucketsRequest} */ -@com.google.protobuf.Generated -public final class ListBucketsRequest extends com.google.protobuf.GeneratedMessage +public final class ListBucketsRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.logging.v2.ListBucketsRequest) ListBucketsRequestOrBuilder { private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 0, - /* suffix= */ "", - "ListBucketsRequest"); - } - // Use ListBucketsRequest.newBuilder() to construct. - private ListBucketsRequest(com.google.protobuf.GeneratedMessage.Builder builder) { + private ListBucketsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } @@ -56,13 +44,19 @@ private ListBucketsRequest() { pageToken_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ListBucketsRequest(); + } + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_ListBucketsRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_ListBucketsRequest_fieldAccessorTable @@ -82,10 +76,10 @@ 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]"
+   *     "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
@@ -117,10 +111,10 @@ 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]"
+   *     "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
@@ -240,11 +234,11 @@ public final boolean isInitialized() {
 
   @java.lang.Override
   public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
-    if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) {
-      com.google.protobuf.GeneratedMessage.writeString(output, 1, parent_);
+    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
+      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
     }
-    if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) {
-      com.google.protobuf.GeneratedMessage.writeString(output, 2, pageToken_);
+    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) {
+      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, pageToken_);
     }
     if (pageSize_ != 0) {
       output.writeInt32(3, pageSize_);
@@ -258,11 +252,11 @@ public int getSerializedSize() {
     if (size != -1) return size;
 
     size = 0;
-    if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) {
-      size += com.google.protobuf.GeneratedMessage.computeStringSize(1, parent_);
+    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
+      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_);
     }
-    if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) {
-      size += com.google.protobuf.GeneratedMessage.computeStringSize(2, pageToken_);
+    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) {
+      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, pageToken_);
     }
     if (pageSize_ != 0) {
       size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_);
@@ -344,38 +338,38 @@ public static com.google.logging.v2.ListBucketsRequest parseFrom(
 
   public static com.google.logging.v2.ListBucketsRequest parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
 
   public static com.google.logging.v2.ListBucketsRequest parseFrom(
       java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessage.parseWithIOException(
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
         PARSER, input, extensionRegistry);
   }
 
   public static com.google.logging.v2.ListBucketsRequest parseDelimitedFrom(
       java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.logging.v2.ListBucketsRequest parseDelimitedFrom(
       java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
         PARSER, input, extensionRegistry);
   }
 
   public static com.google.logging.v2.ListBucketsRequest parseFrom(
       com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
 
   public static com.google.logging.v2.ListBucketsRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessage.parseWithIOException(
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
         PARSER, input, extensionRegistry);
   }
 
@@ -398,7 +392,7 @@ public Builder toBuilder() {
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
@@ -412,7 +406,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder
    *
    * Protobuf type {@code google.logging.v2.ListBucketsRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
       implements
       // @@protoc_insertion_point(builder_implements:google.logging.v2.ListBucketsRequest)
       com.google.logging.v2.ListBucketsRequestOrBuilder {
@@ -422,7 +416,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     }
 
     @java.lang.Override
-    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
       return com.google.logging.v2.LoggingConfigProto
           .internal_static_google_logging_v2_ListBucketsRequest_fieldAccessorTable
@@ -434,7 +428,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     // Construct using com.google.logging.v2.ListBucketsRequest.newBuilder()
     private Builder() {}
 
-    private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
     }
 
@@ -492,6 +486,39 @@ private void buildPartial0(com.google.logging.v2.ListBucketsRequest result) {
       }
     }
 
+    @java.lang.Override
+    public Builder clone() {
+      return super.clone();
+    }
+
+    @java.lang.Override
+    public Builder setField(
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+      return super.setField(field, value);
+    }
+
+    @java.lang.Override
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      return super.clearField(field);
+    }
+
+    @java.lang.Override
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      return super.clearOneof(oneof);
+    }
+
+    @java.lang.Override
+    public Builder setRepeatedField(
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+      return super.setRepeatedField(field, index, value);
+    }
+
+    @java.lang.Override
+    public Builder addRepeatedField(
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+      return super.addRepeatedField(field, value);
+    }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.logging.v2.ListBucketsRequest) {
@@ -588,10 +615,10 @@ 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]"
+     *     "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
@@ -622,10 +649,10 @@ 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]"
+     *     "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
@@ -656,10 +683,10 @@ 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]"
+     *     "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
@@ -689,10 +716,10 @@ 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]"
+     *     "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
@@ -718,10 +745,10 @@ 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]"
+     *     "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
@@ -934,6 +961,17 @@ public Builder clearPageSize() {
       return this;
     }
 
+    @java.lang.Override
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+      return super.setUnknownFields(unknownFields);
+    }
+
+    @java.lang.Override
+    public final Builder mergeUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
+      return super.mergeUnknownFields(unknownFields);
+    }
+
     // @@protoc_insertion_point(builder_scope:google.logging.v2.ListBucketsRequest)
   }
 
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 17102cbf3..6038c8c77 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
@@ -14,13 +14,11 @@
  * limitations under the License.
  */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
-// NO CHECKED-IN PROTOBUF GENCODE
 // source: google/logging/v2/logging_config.proto
-// Protobuf Java Version: 4.33.0
 
+// Protobuf Java Version: 3.25.8
 package com.google.logging.v2;
 
-@com.google.protobuf.Generated
 public interface ListBucketsRequestOrBuilder
     extends
     // @@protoc_insertion_point(interface_extends:google.logging.v2.ListBucketsRequest)
@@ -32,10 +30,10 @@ 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]"
+   *     "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
@@ -56,10 +54,10 @@ 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]"
+   *     "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
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 009838a9c..9b481c592 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
@@ -14,10 +14,9 @@
  * limitations under the License.
  */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
-// NO CHECKED-IN PROTOBUF GENCODE
 // source: google/logging/v2/logging_config.proto
-// Protobuf Java Version: 4.33.0
 
+// Protobuf Java Version: 3.25.8
 package com.google.logging.v2;
 
 /**
@@ -29,25 +28,14 @@
  *
  * Protobuf type {@code google.logging.v2.ListBucketsResponse}
  */
-@com.google.protobuf.Generated
-public final class ListBucketsResponse extends com.google.protobuf.GeneratedMessage
+public final class ListBucketsResponse extends com.google.protobuf.GeneratedMessageV3
     implements
     // @@protoc_insertion_point(message_implements:google.logging.v2.ListBucketsResponse)
     ListBucketsResponseOrBuilder {
   private static final long serialVersionUID = 0L;
 
-  static {
-    com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
-        com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
-        /* major= */ 4,
-        /* minor= */ 33,
-        /* patch= */ 0,
-        /* suffix= */ "",
-        "ListBucketsResponse");
-  }
-
   // Use ListBucketsResponse.newBuilder() to construct.
-  private ListBucketsResponse(com.google.protobuf.GeneratedMessage.Builder builder) {
+  private ListBucketsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
 
@@ -56,13 +44,19 @@ private ListBucketsResponse() {
     nextPageToken_ = "";
   }
 
+  @java.lang.Override
+  @SuppressWarnings({"unused"})
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    return new ListBucketsResponse();
+  }
+
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.logging.v2.LoggingConfigProto
         .internal_static_google_logging_v2_ListBucketsResponse_descriptor;
   }
 
   @java.lang.Override
-  protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
     return com.google.logging.v2.LoggingConfigProto
         .internal_static_google_logging_v2_ListBucketsResponse_fieldAccessorTable
@@ -221,8 +215,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
     for (int i = 0; i < buckets_.size(); i++) {
       output.writeMessage(1, buckets_.get(i));
     }
-    if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageToken_)) {
-      com.google.protobuf.GeneratedMessage.writeString(output, 2, nextPageToken_);
+    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) {
+      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_);
     }
     getUnknownFields().writeTo(output);
   }
@@ -236,8 +230,8 @@ public int getSerializedSize() {
     for (int i = 0; i < buckets_.size(); i++) {
       size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, buckets_.get(i));
     }
-    if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageToken_)) {
-      size += com.google.protobuf.GeneratedMessage.computeStringSize(2, nextPageToken_);
+    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) {
+      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -316,38 +310,38 @@ public static com.google.logging.v2.ListBucketsResponse parseFrom(
 
   public static com.google.logging.v2.ListBucketsResponse parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
 
   public static com.google.logging.v2.ListBucketsResponse parseFrom(
       java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessage.parseWithIOException(
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
         PARSER, input, extensionRegistry);
   }
 
   public static com.google.logging.v2.ListBucketsResponse parseDelimitedFrom(
       java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.logging.v2.ListBucketsResponse parseDelimitedFrom(
       java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
         PARSER, input, extensionRegistry);
   }
 
   public static com.google.logging.v2.ListBucketsResponse parseFrom(
       com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
 
   public static com.google.logging.v2.ListBucketsResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessage.parseWithIOException(
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
         PARSER, input, extensionRegistry);
   }
 
@@ -370,7 +364,7 @@ public Builder toBuilder() {
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
@@ -384,7 +378,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder
    *
    * Protobuf type {@code google.logging.v2.ListBucketsResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
       implements
       // @@protoc_insertion_point(builder_implements:google.logging.v2.ListBucketsResponse)
       com.google.logging.v2.ListBucketsResponseOrBuilder {
@@ -394,7 +388,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     }
 
     @java.lang.Override
-    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
       return com.google.logging.v2.LoggingConfigProto
           .internal_static_google_logging_v2_ListBucketsResponse_fieldAccessorTable
@@ -406,7 +400,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     // Construct using com.google.logging.v2.ListBucketsResponse.newBuilder()
     private Builder() {}
 
-    private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
     }
 
@@ -476,6 +470,39 @@ private void buildPartial0(com.google.logging.v2.ListBucketsResponse result) {
       }
     }
 
+    @java.lang.Override
+    public Builder clone() {
+      return super.clone();
+    }
+
+    @java.lang.Override
+    public Builder setField(
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+      return super.setField(field, value);
+    }
+
+    @java.lang.Override
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      return super.clearField(field);
+    }
+
+    @java.lang.Override
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      return super.clearOneof(oneof);
+    }
+
+    @java.lang.Override
+    public Builder setRepeatedField(
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+      return super.setRepeatedField(field, index, value);
+    }
+
+    @java.lang.Override
+    public Builder addRepeatedField(
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+      return super.addRepeatedField(field, value);
+    }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.logging.v2.ListBucketsResponse) {
@@ -507,8 +534,8 @@ public Builder mergeFrom(com.google.logging.v2.ListBucketsResponse other) {
             buckets_ = other.buckets_;
             bitField0_ = (bitField0_ & ~0x00000001);
             bucketsBuilder_ =
-                com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders
-                    ? internalGetBucketsFieldBuilder()
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getBucketsFieldBuilder()
                     : null;
           } else {
             bucketsBuilder_.addAllMessages(other.buckets_);
@@ -593,7 +620,7 @@ private void ensureBucketsIsMutable() {
       }
     }
 
-    private com.google.protobuf.RepeatedFieldBuilder<
+    private com.google.protobuf.RepeatedFieldBuilderV3<
             com.google.logging.v2.LogBucket,
             com.google.logging.v2.LogBucket.Builder,
             com.google.logging.v2.LogBucketOrBuilder>
@@ -850,7 +877,7 @@ public Builder removeBuckets(int index) {
      * repeated .google.logging.v2.LogBucket buckets = 1;
      */
     public com.google.logging.v2.LogBucket.Builder getBucketsBuilder(int index) {
-      return internalGetBucketsFieldBuilder().getBuilder(index);
+      return getBucketsFieldBuilder().getBuilder(index);
     }
 
     /**
@@ -898,7 +925,7 @@ public com.google.logging.v2.LogBucketOrBuilder getBucketsOrBuilder(int index) {
      * repeated .google.logging.v2.LogBucket buckets = 1;
      */
     public com.google.logging.v2.LogBucket.Builder addBucketsBuilder() {
-      return internalGetBucketsFieldBuilder()
+      return getBucketsFieldBuilder()
           .addBuilder(com.google.logging.v2.LogBucket.getDefaultInstance());
     }
 
@@ -912,7 +939,7 @@ public com.google.logging.v2.LogBucket.Builder addBucketsBuilder() {
      * repeated .google.logging.v2.LogBucket buckets = 1;
      */
     public com.google.logging.v2.LogBucket.Builder addBucketsBuilder(int index) {
-      return internalGetBucketsFieldBuilder()
+      return getBucketsFieldBuilder()
           .addBuilder(index, com.google.logging.v2.LogBucket.getDefaultInstance());
     }
 
@@ -926,17 +953,17 @@ public com.google.logging.v2.LogBucket.Builder addBucketsBuilder(int index) {
      * repeated .google.logging.v2.LogBucket buckets = 1;
      */
     public java.util.List getBucketsBuilderList() {
-      return internalGetBucketsFieldBuilder().getBuilderList();
+      return getBucketsFieldBuilder().getBuilderList();
     }
 
-    private com.google.protobuf.RepeatedFieldBuilder<
+    private com.google.protobuf.RepeatedFieldBuilderV3<
             com.google.logging.v2.LogBucket,
             com.google.logging.v2.LogBucket.Builder,
             com.google.logging.v2.LogBucketOrBuilder>
-        internalGetBucketsFieldBuilder() {
+        getBucketsFieldBuilder() {
       if (bucketsBuilder_ == null) {
         bucketsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilder<
+            new com.google.protobuf.RepeatedFieldBuilderV3<
                 com.google.logging.v2.LogBucket,
                 com.google.logging.v2.LogBucket.Builder,
                 com.google.logging.v2.LogBucketOrBuilder>(
@@ -1067,6 +1094,17 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) {
       return this;
     }
 
+    @java.lang.Override
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+      return super.setUnknownFields(unknownFields);
+    }
+
+    @java.lang.Override
+    public final Builder mergeUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
+      return super.mergeUnknownFields(unknownFields);
+    }
+
     // @@protoc_insertion_point(builder_scope:google.logging.v2.ListBucketsResponse)
   }
 
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 54d452bda..150446299 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
@@ -14,13 +14,11 @@
  * limitations under the License.
  */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
-// NO CHECKED-IN PROTOBUF GENCODE
 // source: google/logging/v2/logging_config.proto
-// Protobuf Java Version: 4.33.0
 
+// Protobuf Java Version: 3.25.8
 package com.google.logging.v2;
 
-@com.google.protobuf.Generated
 public interface ListBucketsResponseOrBuilder
     extends
     // @@protoc_insertion_point(interface_extends:google.logging.v2.ListBucketsResponse)
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 15d6f2449..536f0d0fc 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
@@ -14,10 +14,9 @@
  * limitations under the License.
  */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
-// NO CHECKED-IN PROTOBUF GENCODE
 // source: google/logging/v2/logging_config.proto
-// Protobuf Java Version: 4.33.0
 
+// Protobuf Java Version: 3.25.8
 package com.google.logging.v2;
 
 /**
@@ -29,25 +28,14 @@
  *
  * Protobuf type {@code google.logging.v2.ListExclusionsRequest}
  */
-@com.google.protobuf.Generated
-public final class ListExclusionsRequest extends com.google.protobuf.GeneratedMessage
+public final class ListExclusionsRequest extends com.google.protobuf.GeneratedMessageV3
     implements
     // @@protoc_insertion_point(message_implements:google.logging.v2.ListExclusionsRequest)
     ListExclusionsRequestOrBuilder {
   private static final long serialVersionUID = 0L;
 
-  static {
-    com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
-        com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
-        /* major= */ 4,
-        /* minor= */ 33,
-        /* patch= */ 0,
-        /* suffix= */ "",
-        "ListExclusionsRequest");
-  }
-
   // Use ListExclusionsRequest.newBuilder() to construct.
-  private ListExclusionsRequest(com.google.protobuf.GeneratedMessage.Builder builder) {
+  private ListExclusionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
 
@@ -56,13 +44,19 @@ private ListExclusionsRequest() {
     pageToken_ = "";
   }
 
+  @java.lang.Override
+  @SuppressWarnings({"unused"})
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    return new ListExclusionsRequest();
+  }
+
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.logging.v2.LoggingConfigProto
         .internal_static_google_logging_v2_ListExclusionsRequest_descriptor;
   }
 
   @java.lang.Override
-  protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
     return com.google.logging.v2.LoggingConfigProto
         .internal_static_google_logging_v2_ListExclusionsRequest_fieldAccessorTable
@@ -82,10 +76,10 @@ 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]"
-   * "folders/[FOLDER_ID]"
+   *     "projects/[PROJECT_ID]"
+   *     "organizations/[ORGANIZATION_ID]"
+   *     "billingAccounts/[BILLING_ACCOUNT_ID]"
+   *     "folders/[FOLDER_ID]"
    * 
* * @@ -113,10 +107,10 @@ 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]"
-   * "folders/[FOLDER_ID]"
+   *     "projects/[PROJECT_ID]"
+   *     "organizations/[ORGANIZATION_ID]"
+   *     "billingAccounts/[BILLING_ACCOUNT_ID]"
+   *     "folders/[FOLDER_ID]"
    * 
* * @@ -232,11 +226,11 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, parent_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 2, pageToken_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, pageToken_); } if (pageSize_ != 0) { output.writeInt32(3, pageSize_); @@ -250,11 +244,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, parent_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(2, pageToken_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, pageToken_); } if (pageSize_ != 0) { size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); @@ -337,38 +331,38 @@ public static com.google.logging.v2.ListExclusionsRequest parseFrom( public static com.google.logging.v2.ListExclusionsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.ListExclusionsRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.ListExclusionsRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.ListExclusionsRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.ListExclusionsRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.ListExclusionsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } @@ -391,7 +385,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -405,7 +399,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder * * Protobuf type {@code google.logging.v2.ListExclusionsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.ListExclusionsRequest) com.google.logging.v2.ListExclusionsRequestOrBuilder { @@ -415,7 +409,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_ListExclusionsRequest_fieldAccessorTable @@ -427,7 +421,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.logging.v2.ListExclusionsRequest.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @@ -485,6 +479,39 @@ private void buildPartial0(com.google.logging.v2.ListExclusionsRequest result) { } } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.ListExclusionsRequest) { @@ -581,10 +608,10 @@ public Builder mergeFrom( *
      * Required. The parent resource whose exclusions are to be listed.
      *
-     * "projects/[PROJECT_ID]"
-     * "organizations/[ORGANIZATION_ID]"
-     * "billingAccounts/[BILLING_ACCOUNT_ID]"
-     * "folders/[FOLDER_ID]"
+     *     "projects/[PROJECT_ID]"
+     *     "organizations/[ORGANIZATION_ID]"
+     *     "billingAccounts/[BILLING_ACCOUNT_ID]"
+     *     "folders/[FOLDER_ID]"
      * 
* * @@ -611,10 +638,10 @@ 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]"
-     * "folders/[FOLDER_ID]"
+     *     "projects/[PROJECT_ID]"
+     *     "organizations/[ORGANIZATION_ID]"
+     *     "billingAccounts/[BILLING_ACCOUNT_ID]"
+     *     "folders/[FOLDER_ID]"
      * 
* * @@ -641,10 +668,10 @@ 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]"
-     * "folders/[FOLDER_ID]"
+     *     "projects/[PROJECT_ID]"
+     *     "organizations/[ORGANIZATION_ID]"
+     *     "billingAccounts/[BILLING_ACCOUNT_ID]"
+     *     "folders/[FOLDER_ID]"
      * 
* * @@ -670,10 +697,10 @@ 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]"
-     * "folders/[FOLDER_ID]"
+     *     "projects/[PROJECT_ID]"
+     *     "organizations/[ORGANIZATION_ID]"
+     *     "billingAccounts/[BILLING_ACCOUNT_ID]"
+     *     "folders/[FOLDER_ID]"
      * 
* * @@ -695,10 +722,10 @@ public Builder clearParent() { *
      * Required. The parent resource whose exclusions are to be listed.
      *
-     * "projects/[PROJECT_ID]"
-     * "organizations/[ORGANIZATION_ID]"
-     * "billingAccounts/[BILLING_ACCOUNT_ID]"
-     * "folders/[FOLDER_ID]"
+     *     "projects/[PROJECT_ID]"
+     *     "organizations/[ORGANIZATION_ID]"
+     *     "billingAccounts/[BILLING_ACCOUNT_ID]"
+     *     "folders/[FOLDER_ID]"
      * 
* * @@ -907,6 +934,17 @@ public Builder clearPageSize() { return this; } + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:google.logging.v2.ListExclusionsRequest) } 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 115763914..fbde84690 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 @@ -14,13 +14,11 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; -@com.google.protobuf.Generated public interface ListExclusionsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.ListExclusionsRequest) @@ -32,10 +30,10 @@ public interface ListExclusionsRequestOrBuilder *
    * Required. The parent resource whose exclusions are to be listed.
    *
-   * "projects/[PROJECT_ID]"
-   * "organizations/[ORGANIZATION_ID]"
-   * "billingAccounts/[BILLING_ACCOUNT_ID]"
-   * "folders/[FOLDER_ID]"
+   *     "projects/[PROJECT_ID]"
+   *     "organizations/[ORGANIZATION_ID]"
+   *     "billingAccounts/[BILLING_ACCOUNT_ID]"
+   *     "folders/[FOLDER_ID]"
    * 
* * @@ -52,10 +50,10 @@ public interface ListExclusionsRequestOrBuilder *
    * Required. The parent resource whose exclusions are to be listed.
    *
-   * "projects/[PROJECT_ID]"
-   * "organizations/[ORGANIZATION_ID]"
-   * "billingAccounts/[BILLING_ACCOUNT_ID]"
-   * "folders/[FOLDER_ID]"
+   *     "projects/[PROJECT_ID]"
+   *     "organizations/[ORGANIZATION_ID]"
+   *     "billingAccounts/[BILLING_ACCOUNT_ID]"
+   *     "folders/[FOLDER_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 ac3541dbc..0a03a6b91 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 @@ -14,10 +14,9 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -29,25 +28,14 @@ * * Protobuf type {@code google.logging.v2.ListExclusionsResponse} */ -@com.google.protobuf.Generated -public final class ListExclusionsResponse extends com.google.protobuf.GeneratedMessage +public final class ListExclusionsResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.logging.v2.ListExclusionsResponse) ListExclusionsResponseOrBuilder { private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 0, - /* suffix= */ "", - "ListExclusionsResponse"); - } - // Use ListExclusionsResponse.newBuilder() to construct. - private ListExclusionsResponse(com.google.protobuf.GeneratedMessage.Builder builder) { + private ListExclusionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } @@ -56,13 +44,19 @@ private ListExclusionsResponse() { nextPageToken_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ListExclusionsResponse(); + } + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_ListExclusionsResponse_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_ListExclusionsResponse_fieldAccessorTable @@ -221,8 +215,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < exclusions_.size(); i++) { output.writeMessage(1, exclusions_.get(i)); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageToken_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 2, nextPageToken_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); } getUnknownFields().writeTo(output); } @@ -236,8 +230,8 @@ public int getSerializedSize() { for (int i = 0; i < exclusions_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, exclusions_.get(i)); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageToken_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(2, nextPageToken_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -316,38 +310,38 @@ public static com.google.logging.v2.ListExclusionsResponse parseFrom( public static com.google.logging.v2.ListExclusionsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.ListExclusionsResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.ListExclusionsResponse parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.ListExclusionsResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.ListExclusionsResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.ListExclusionsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } @@ -370,7 +364,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -384,7 +378,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder * * Protobuf type {@code google.logging.v2.ListExclusionsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.ListExclusionsResponse) com.google.logging.v2.ListExclusionsResponseOrBuilder { @@ -394,7 +388,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_ListExclusionsResponse_fieldAccessorTable @@ -406,7 +400,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.logging.v2.ListExclusionsResponse.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @@ -476,6 +470,39 @@ private void buildPartial0(com.google.logging.v2.ListExclusionsResponse result) } } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.ListExclusionsResponse) { @@ -507,8 +534,8 @@ public Builder mergeFrom(com.google.logging.v2.ListExclusionsResponse other) { exclusions_ = other.exclusions_; bitField0_ = (bitField0_ & ~0x00000001); exclusionsBuilder_ = - com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders - ? internalGetExclusionsFieldBuilder() + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getExclusionsFieldBuilder() : null; } else { exclusionsBuilder_.addAllMessages(other.exclusions_); @@ -594,7 +621,7 @@ private void ensureExclusionsIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilder< + private com.google.protobuf.RepeatedFieldBuilderV3< com.google.logging.v2.LogExclusion, com.google.logging.v2.LogExclusion.Builder, com.google.logging.v2.LogExclusionOrBuilder> @@ -853,7 +880,7 @@ public Builder removeExclusions(int index) { * repeated .google.logging.v2.LogExclusion exclusions = 1; */ public com.google.logging.v2.LogExclusion.Builder getExclusionsBuilder(int index) { - return internalGetExclusionsFieldBuilder().getBuilder(index); + return getExclusionsFieldBuilder().getBuilder(index); } /** @@ -901,7 +928,7 @@ public com.google.logging.v2.LogExclusionOrBuilder getExclusionsOrBuilder(int in * repeated .google.logging.v2.LogExclusion exclusions = 1; */ public com.google.logging.v2.LogExclusion.Builder addExclusionsBuilder() { - return internalGetExclusionsFieldBuilder() + return getExclusionsFieldBuilder() .addBuilder(com.google.logging.v2.LogExclusion.getDefaultInstance()); } @@ -915,7 +942,7 @@ public com.google.logging.v2.LogExclusion.Builder addExclusionsBuilder() { * repeated .google.logging.v2.LogExclusion exclusions = 1; */ public com.google.logging.v2.LogExclusion.Builder addExclusionsBuilder(int index) { - return internalGetExclusionsFieldBuilder() + return getExclusionsFieldBuilder() .addBuilder(index, com.google.logging.v2.LogExclusion.getDefaultInstance()); } @@ -929,17 +956,17 @@ public com.google.logging.v2.LogExclusion.Builder addExclusionsBuilder(int index * repeated .google.logging.v2.LogExclusion exclusions = 1; */ public java.util.List getExclusionsBuilderList() { - return internalGetExclusionsFieldBuilder().getBuilderList(); + return getExclusionsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilder< + private com.google.protobuf.RepeatedFieldBuilderV3< com.google.logging.v2.LogExclusion, com.google.logging.v2.LogExclusion.Builder, com.google.logging.v2.LogExclusionOrBuilder> - internalGetExclusionsFieldBuilder() { + getExclusionsFieldBuilder() { if (exclusionsBuilder_ == null) { exclusionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilder< + new com.google.protobuf.RepeatedFieldBuilderV3< com.google.logging.v2.LogExclusion, com.google.logging.v2.LogExclusion.Builder, com.google.logging.v2.LogExclusionOrBuilder>( @@ -1070,6 +1097,17 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { return this; } + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:google.logging.v2.ListExclusionsResponse) } 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 ca08b06c0..ded1d52fd 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 @@ -14,13 +14,11 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; -@com.google.protobuf.Generated public interface ListExclusionsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.ListExclusionsResponse) 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 ce56ad325..f7e9daf2d 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 @@ -14,10 +14,9 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -29,25 +28,14 @@ * * Protobuf type {@code google.logging.v2.ListLinksRequest} */ -@com.google.protobuf.Generated -public final class ListLinksRequest extends com.google.protobuf.GeneratedMessage +public final class ListLinksRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.logging.v2.ListLinksRequest) ListLinksRequestOrBuilder { private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 0, - /* suffix= */ "", - "ListLinksRequest"); - } - // Use ListLinksRequest.newBuilder() to construct. - private ListLinksRequest(com.google.protobuf.GeneratedMessage.Builder builder) { + private ListLinksRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } @@ -56,13 +44,19 @@ private ListLinksRequest() { pageToken_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ListLinksRequest(); + } + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_ListLinksRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_ListLinksRequest_fieldAccessorTable @@ -82,10 +76,10 @@ 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]/"
-   * "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/
+   *   "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]/"
+   *   "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/
    * 
* * @@ -113,10 +107,10 @@ 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]/"
-   * "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/
+   *   "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]/"
+   *   "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/
    * 
* * @@ -228,11 +222,11 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, parent_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 2, pageToken_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, pageToken_); } if (pageSize_ != 0) { output.writeInt32(3, pageSize_); @@ -246,11 +240,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, parent_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(2, pageToken_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, pageToken_); } if (pageSize_ != 0) { size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); @@ -332,38 +326,38 @@ public static com.google.logging.v2.ListLinksRequest parseFrom( public static com.google.logging.v2.ListLinksRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.ListLinksRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.ListLinksRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.ListLinksRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.ListLinksRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.ListLinksRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } @@ -386,7 +380,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -400,7 +394,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder * * Protobuf type {@code google.logging.v2.ListLinksRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.ListLinksRequest) com.google.logging.v2.ListLinksRequestOrBuilder { @@ -410,7 +404,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_ListLinksRequest_fieldAccessorTable @@ -422,7 +416,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.logging.v2.ListLinksRequest.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @@ -480,6 +474,39 @@ private void buildPartial0(com.google.logging.v2.ListLinksRequest result) { } } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.ListLinksRequest) { @@ -576,10 +603,10 @@ 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]/"
-     * "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/
+     *   "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]/"
+     *   "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/
      * 
* * @@ -606,10 +633,10 @@ 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]/"
-     * "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/
+     *   "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]/"
+     *   "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/
      * 
* * @@ -636,10 +663,10 @@ 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]/"
-     * "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/
+     *   "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]/"
+     *   "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/
      * 
* * @@ -665,10 +692,10 @@ 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]/"
-     * "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/
+     *   "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]/"
+     *   "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/
      * 
* * @@ -690,10 +717,10 @@ 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]/"
-     * "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/
+     *   "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]/"
+     *   "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/
      * 
* * @@ -891,6 +918,17 @@ public Builder clearPageSize() { return this; } + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:google.logging.v2.ListLinksRequest) } 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 4ffed39ec..eb3ce0d03 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 @@ -14,13 +14,11 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; -@com.google.protobuf.Generated public interface ListLinksRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.ListLinksRequest) @@ -32,10 +30,10 @@ 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]/"
-   * "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/
+   *   "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]/"
+   *   "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/
    * 
* * @@ -52,10 +50,10 @@ 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]/"
-   * "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/
+   *   "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]/"
+   *   "folders/[FOLDER_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 c5863af3a..dce0494c1 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 @@ -14,10 +14,9 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -29,25 +28,14 @@ * * Protobuf type {@code google.logging.v2.ListLinksResponse} */ -@com.google.protobuf.Generated -public final class ListLinksResponse extends com.google.protobuf.GeneratedMessage +public final class ListLinksResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.logging.v2.ListLinksResponse) ListLinksResponseOrBuilder { private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 0, - /* suffix= */ "", - "ListLinksResponse"); - } - // Use ListLinksResponse.newBuilder() to construct. - private ListLinksResponse(com.google.protobuf.GeneratedMessage.Builder builder) { + private ListLinksResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } @@ -56,13 +44,19 @@ private ListLinksResponse() { nextPageToken_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ListLinksResponse(); + } + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_ListLinksResponse_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_ListLinksResponse_fieldAccessorTable @@ -220,8 +214,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < links_.size(); i++) { output.writeMessage(1, links_.get(i)); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageToken_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 2, nextPageToken_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); } getUnknownFields().writeTo(output); } @@ -235,8 +229,8 @@ public int getSerializedSize() { for (int i = 0; i < links_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, links_.get(i)); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageToken_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(2, nextPageToken_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -314,38 +308,38 @@ public static com.google.logging.v2.ListLinksResponse parseFrom( public static com.google.logging.v2.ListLinksResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.ListLinksResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.ListLinksResponse parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.ListLinksResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.ListLinksResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.ListLinksResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } @@ -368,7 +362,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -382,7 +376,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder * * Protobuf type {@code google.logging.v2.ListLinksResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.ListLinksResponse) com.google.logging.v2.ListLinksResponseOrBuilder { @@ -392,7 +386,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_ListLinksResponse_fieldAccessorTable @@ -404,7 +398,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.logging.v2.ListLinksResponse.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @@ -474,6 +468,39 @@ private void buildPartial0(com.google.logging.v2.ListLinksResponse result) { } } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.ListLinksResponse) { @@ -505,8 +532,8 @@ public Builder mergeFrom(com.google.logging.v2.ListLinksResponse other) { links_ = other.links_; bitField0_ = (bitField0_ & ~0x00000001); linksBuilder_ = - com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders - ? internalGetLinksFieldBuilder() + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getLinksFieldBuilder() : null; } else { linksBuilder_.addAllMessages(other.links_); @@ -590,7 +617,7 @@ private void ensureLinksIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilder< + private com.google.protobuf.RepeatedFieldBuilderV3< com.google.logging.v2.Link, com.google.logging.v2.Link.Builder, com.google.logging.v2.LinkOrBuilder> @@ -846,7 +873,7 @@ public Builder removeLinks(int index) { * repeated .google.logging.v2.Link links = 1; */ public com.google.logging.v2.Link.Builder getLinksBuilder(int index) { - return internalGetLinksFieldBuilder().getBuilder(index); + return getLinksFieldBuilder().getBuilder(index); } /** @@ -893,8 +920,7 @@ public java.util.List getLinksOrB * repeated .google.logging.v2.Link links = 1; */ public com.google.logging.v2.Link.Builder addLinksBuilder() { - return internalGetLinksFieldBuilder() - .addBuilder(com.google.logging.v2.Link.getDefaultInstance()); + return getLinksFieldBuilder().addBuilder(com.google.logging.v2.Link.getDefaultInstance()); } /** @@ -907,7 +933,7 @@ public com.google.logging.v2.Link.Builder addLinksBuilder() { * repeated .google.logging.v2.Link links = 1; */ public com.google.logging.v2.Link.Builder addLinksBuilder(int index) { - return internalGetLinksFieldBuilder() + return getLinksFieldBuilder() .addBuilder(index, com.google.logging.v2.Link.getDefaultInstance()); } @@ -921,17 +947,17 @@ public com.google.logging.v2.Link.Builder addLinksBuilder(int index) { * repeated .google.logging.v2.Link links = 1; */ public java.util.List getLinksBuilderList() { - return internalGetLinksFieldBuilder().getBuilderList(); + return getLinksFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilder< + private com.google.protobuf.RepeatedFieldBuilderV3< com.google.logging.v2.Link, com.google.logging.v2.Link.Builder, com.google.logging.v2.LinkOrBuilder> - internalGetLinksFieldBuilder() { + getLinksFieldBuilder() { if (linksBuilder_ == null) { linksBuilder_ = - new com.google.protobuf.RepeatedFieldBuilder< + new com.google.protobuf.RepeatedFieldBuilderV3< com.google.logging.v2.Link, com.google.logging.v2.Link.Builder, com.google.logging.v2.LinkOrBuilder>( @@ -1062,6 +1088,17 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { return this; } + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:google.logging.v2.ListLinksResponse) } 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 99b0e7f77..7b3ae5037 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 @@ -14,13 +14,11 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; -@com.google.protobuf.Generated public interface ListLinksResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.ListLinksResponse) 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 7af7c3c3e..205eedff6 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 @@ -14,10 +14,9 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -29,25 +28,14 @@ * * Protobuf type {@code google.logging.v2.ListLogEntriesRequest} */ -@com.google.protobuf.Generated -public final class ListLogEntriesRequest extends com.google.protobuf.GeneratedMessage +public final class ListLogEntriesRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.logging.v2.ListLogEntriesRequest) ListLogEntriesRequestOrBuilder { private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 0, - /* suffix= */ "", - "ListLogEntriesRequest"); - } - // Use ListLogEntriesRequest.newBuilder() to construct. - private ListLogEntriesRequest(com.google.protobuf.GeneratedMessage.Builder builder) { + private ListLogEntriesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } @@ -58,13 +46,19 @@ private ListLogEntriesRequest() { pageToken_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ListLogEntriesRequest(); + } + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingProto .internal_static_google_logging_v2_ListLogEntriesRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingProto .internal_static_google_logging_v2_ListLogEntriesRequest_fieldAccessorTable @@ -93,10 +87,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * 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/[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. @@ -126,10 +120,10 @@ public com.google.protobuf.ProtocolStringList getResourceNamesList() { * * 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/[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. @@ -159,10 +153,10 @@ public int getResourceNamesCount() { * * 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/[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. @@ -193,10 +187,10 @@ public java.lang.String getResourceNames(int index) { * * 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/[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. @@ -432,20 +426,20 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(filter_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 2, filter_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, filter_); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(orderBy_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 3, orderBy_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, orderBy_); } if (pageSize_ != 0) { output.writeInt32(4, pageSize_); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 5, pageToken_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, pageToken_); } for (int i = 0; i < resourceNames_.size(); i++) { - com.google.protobuf.GeneratedMessage.writeString(output, 8, resourceNames_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString(output, 8, resourceNames_.getRaw(i)); } getUnknownFields().writeTo(output); } @@ -456,17 +450,17 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(filter_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(2, filter_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filter_); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(orderBy_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(3, orderBy_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, orderBy_); } if (pageSize_ != 0) { size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, pageSize_); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(5, pageToken_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, pageToken_); } { int dataSize = 0; @@ -562,38 +556,38 @@ public static com.google.logging.v2.ListLogEntriesRequest parseFrom( public static com.google.logging.v2.ListLogEntriesRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.ListLogEntriesRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.ListLogEntriesRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.ListLogEntriesRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.ListLogEntriesRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.ListLogEntriesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } @@ -616,7 +610,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -630,7 +624,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder * * Protobuf type {@code google.logging.v2.ListLogEntriesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.ListLogEntriesRequest) com.google.logging.v2.ListLogEntriesRequestOrBuilder { @@ -640,7 +634,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingProto .internal_static_google_logging_v2_ListLogEntriesRequest_fieldAccessorTable @@ -652,7 +646,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.logging.v2.ListLogEntriesRequest.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @@ -719,6 +713,39 @@ private void buildPartial0(com.google.logging.v2.ListLogEntriesRequest result) { } } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.ListLogEntriesRequest) { @@ -859,10 +886,10 @@ private void ensureResourceNamesIsMutable() { * * 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/[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. @@ -893,10 +920,10 @@ public com.google.protobuf.ProtocolStringList getResourceNamesList() { * * 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/[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. @@ -926,10 +953,10 @@ public int getResourceNamesCount() { * * 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/[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. @@ -960,10 +987,10 @@ public java.lang.String getResourceNames(int index) { * * 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/[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. @@ -994,10 +1021,10 @@ public com.google.protobuf.ByteString getResourceNamesBytes(int index) { * * 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/[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. @@ -1036,10 +1063,10 @@ public Builder setResourceNames(int index, java.lang.String value) { * * 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/[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. @@ -1077,10 +1104,10 @@ public Builder addResourceNames(java.lang.String value) { * * 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/[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. @@ -1115,10 +1142,10 @@ public Builder addAllResourceNames(java.lang.Iterable values) * * 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/[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. @@ -1152,10 +1179,10 @@ public Builder clearResourceNames() { * * 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/[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. @@ -1638,6 +1665,17 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { return this; } + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:google.logging.v2.ListLogEntriesRequest) } 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 884f40f81..1da4298e4 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 @@ -14,13 +14,11 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; -@com.google.protobuf.Generated public interface ListLogEntriesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.ListLogEntriesRequest) @@ -40,10 +38,10 @@ public interface ListLogEntriesRequestOrBuilder * * 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/[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. @@ -71,10 +69,10 @@ public interface ListLogEntriesRequestOrBuilder * * 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/[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. @@ -102,10 +100,10 @@ public interface ListLogEntriesRequestOrBuilder * * 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/[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. @@ -134,10 +132,10 @@ public interface ListLogEntriesRequestOrBuilder * * 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/[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 95af2d6a9..6ddcdab20 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 @@ -14,10 +14,9 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -29,25 +28,14 @@ * * Protobuf type {@code google.logging.v2.ListLogEntriesResponse} */ -@com.google.protobuf.Generated -public final class ListLogEntriesResponse extends com.google.protobuf.GeneratedMessage +public final class ListLogEntriesResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.logging.v2.ListLogEntriesResponse) ListLogEntriesResponseOrBuilder { private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 0, - /* suffix= */ "", - "ListLogEntriesResponse"); - } - // Use ListLogEntriesResponse.newBuilder() to construct. - private ListLogEntriesResponse(com.google.protobuf.GeneratedMessage.Builder builder) { + private ListLogEntriesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } @@ -56,13 +44,19 @@ private ListLogEntriesResponse() { nextPageToken_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ListLogEntriesResponse(); + } + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingProto .internal_static_google_logging_v2_ListLogEntriesResponse_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingProto .internal_static_google_logging_v2_ListLogEntriesResponse_fieldAccessorTable @@ -245,8 +239,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < entries_.size(); i++) { output.writeMessage(1, entries_.get(i)); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageToken_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 2, nextPageToken_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); } getUnknownFields().writeTo(output); } @@ -260,8 +254,8 @@ public int getSerializedSize() { for (int i = 0; i < entries_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, entries_.get(i)); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageToken_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(2, nextPageToken_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -340,38 +334,38 @@ public static com.google.logging.v2.ListLogEntriesResponse parseFrom( public static com.google.logging.v2.ListLogEntriesResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.ListLogEntriesResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.ListLogEntriesResponse parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.ListLogEntriesResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.ListLogEntriesResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.ListLogEntriesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } @@ -394,7 +388,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -408,7 +402,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder * * Protobuf type {@code google.logging.v2.ListLogEntriesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.ListLogEntriesResponse) com.google.logging.v2.ListLogEntriesResponseOrBuilder { @@ -418,7 +412,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingProto .internal_static_google_logging_v2_ListLogEntriesResponse_fieldAccessorTable @@ -430,7 +424,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.logging.v2.ListLogEntriesResponse.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @@ -500,6 +494,39 @@ private void buildPartial0(com.google.logging.v2.ListLogEntriesResponse result) } } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.ListLogEntriesResponse) { @@ -531,8 +558,8 @@ public Builder mergeFrom(com.google.logging.v2.ListLogEntriesResponse other) { entries_ = other.entries_; bitField0_ = (bitField0_ & ~0x00000001); entriesBuilder_ = - com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders - ? internalGetEntriesFieldBuilder() + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getEntriesFieldBuilder() : null; } else { entriesBuilder_.addAllMessages(other.entries_); @@ -617,7 +644,7 @@ private void ensureEntriesIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilder< + private com.google.protobuf.RepeatedFieldBuilderV3< com.google.logging.v2.LogEntry, com.google.logging.v2.LogEntry.Builder, com.google.logging.v2.LogEntryOrBuilder> @@ -900,7 +927,7 @@ public Builder removeEntries(int index) { * repeated .google.logging.v2.LogEntry entries = 1; */ public com.google.logging.v2.LogEntry.Builder getEntriesBuilder(int index) { - return internalGetEntriesFieldBuilder().getBuilder(index); + return getEntriesFieldBuilder().getBuilder(index); } /** @@ -954,7 +981,7 @@ public com.google.logging.v2.LogEntryOrBuilder getEntriesOrBuilder(int index) { * repeated .google.logging.v2.LogEntry entries = 1; */ public com.google.logging.v2.LogEntry.Builder addEntriesBuilder() { - return internalGetEntriesFieldBuilder() + return getEntriesFieldBuilder() .addBuilder(com.google.logging.v2.LogEntry.getDefaultInstance()); } @@ -970,7 +997,7 @@ public com.google.logging.v2.LogEntry.Builder addEntriesBuilder() { * repeated .google.logging.v2.LogEntry entries = 1; */ public com.google.logging.v2.LogEntry.Builder addEntriesBuilder(int index) { - return internalGetEntriesFieldBuilder() + return getEntriesFieldBuilder() .addBuilder(index, com.google.logging.v2.LogEntry.getDefaultInstance()); } @@ -986,17 +1013,17 @@ public com.google.logging.v2.LogEntry.Builder addEntriesBuilder(int index) { * repeated .google.logging.v2.LogEntry entries = 1; */ public java.util.List getEntriesBuilderList() { - return internalGetEntriesFieldBuilder().getBuilderList(); + return getEntriesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilder< + private com.google.protobuf.RepeatedFieldBuilderV3< com.google.logging.v2.LogEntry, com.google.logging.v2.LogEntry.Builder, com.google.logging.v2.LogEntryOrBuilder> - internalGetEntriesFieldBuilder() { + getEntriesFieldBuilder() { if (entriesBuilder_ == null) { entriesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilder< + new com.google.protobuf.RepeatedFieldBuilderV3< com.google.logging.v2.LogEntry, com.google.logging.v2.LogEntry.Builder, com.google.logging.v2.LogEntryOrBuilder>( @@ -1162,6 +1189,17 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { return this; } + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:google.logging.v2.ListLogEntriesResponse) } 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 65cc05899..f5473de1b 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 @@ -14,13 +14,11 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; -@com.google.protobuf.Generated public interface ListLogEntriesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.ListLogEntriesResponse) 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 8443d46f3..cb81bd41a 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 @@ -14,10 +14,9 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_metrics.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -29,25 +28,14 @@ * * Protobuf type {@code google.logging.v2.ListLogMetricsRequest} */ -@com.google.protobuf.Generated -public final class ListLogMetricsRequest extends com.google.protobuf.GeneratedMessage +public final class ListLogMetricsRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.logging.v2.ListLogMetricsRequest) ListLogMetricsRequestOrBuilder { private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 0, - /* suffix= */ "", - "ListLogMetricsRequest"); - } - // Use ListLogMetricsRequest.newBuilder() to construct. - private ListLogMetricsRequest(com.google.protobuf.GeneratedMessage.Builder builder) { + private ListLogMetricsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } @@ -56,13 +44,19 @@ private ListLogMetricsRequest() { pageToken_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ListLogMetricsRequest(); + } + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingMetricsProto .internal_static_google_logging_v2_ListLogMetricsRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingMetricsProto .internal_static_google_logging_v2_ListLogMetricsRequest_fieldAccessorTable @@ -82,7 +76,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { *
    * Required. The name of the project containing the metrics:
    *
-   * "projects/[PROJECT_ID]"
+   *     "projects/[PROJECT_ID]"
    * 
* * @@ -110,7 +104,7 @@ public java.lang.String getParent() { *
    * Required. The name of the project containing the metrics:
    *
-   * "projects/[PROJECT_ID]"
+   *     "projects/[PROJECT_ID]"
    * 
* * @@ -226,11 +220,11 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, parent_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 2, pageToken_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, pageToken_); } if (pageSize_ != 0) { output.writeInt32(3, pageSize_); @@ -244,11 +238,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, parent_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(2, pageToken_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, pageToken_); } if (pageSize_ != 0) { size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); @@ -331,38 +325,38 @@ public static com.google.logging.v2.ListLogMetricsRequest parseFrom( public static com.google.logging.v2.ListLogMetricsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.ListLogMetricsRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.ListLogMetricsRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.ListLogMetricsRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.ListLogMetricsRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.ListLogMetricsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } @@ -385,7 +379,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -399,7 +393,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder * * Protobuf type {@code google.logging.v2.ListLogMetricsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.ListLogMetricsRequest) com.google.logging.v2.ListLogMetricsRequestOrBuilder { @@ -409,7 +403,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingMetricsProto .internal_static_google_logging_v2_ListLogMetricsRequest_fieldAccessorTable @@ -421,7 +415,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.logging.v2.ListLogMetricsRequest.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @@ -479,6 +473,39 @@ private void buildPartial0(com.google.logging.v2.ListLogMetricsRequest result) { } } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.ListLogMetricsRequest) { @@ -575,7 +602,7 @@ public Builder mergeFrom( *
      * Required. The name of the project containing the metrics:
      *
-     * "projects/[PROJECT_ID]"
+     *     "projects/[PROJECT_ID]"
      * 
* * @@ -602,7 +629,7 @@ public java.lang.String getParent() { *
      * Required. The name of the project containing the metrics:
      *
-     * "projects/[PROJECT_ID]"
+     *     "projects/[PROJECT_ID]"
      * 
* * @@ -629,7 +656,7 @@ public com.google.protobuf.ByteString getParentBytes() { *
      * Required. The name of the project containing the metrics:
      *
-     * "projects/[PROJECT_ID]"
+     *     "projects/[PROJECT_ID]"
      * 
* * @@ -655,7 +682,7 @@ public Builder setParent(java.lang.String value) { *
      * Required. The name of the project containing the metrics:
      *
-     * "projects/[PROJECT_ID]"
+     *     "projects/[PROJECT_ID]"
      * 
* * @@ -677,7 +704,7 @@ public Builder clearParent() { *
      * Required. The name of the project containing the metrics:
      *
-     * "projects/[PROJECT_ID]"
+     *     "projects/[PROJECT_ID]"
      * 
* * @@ -886,6 +913,17 @@ public Builder clearPageSize() { return this; } + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:google.logging.v2.ListLogMetricsRequest) } 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 87483bd1e..ad346218f 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 @@ -14,13 +14,11 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_metrics.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; -@com.google.protobuf.Generated public interface ListLogMetricsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.ListLogMetricsRequest) @@ -32,7 +30,7 @@ public interface ListLogMetricsRequestOrBuilder *
    * Required. The name of the project containing the metrics:
    *
-   * "projects/[PROJECT_ID]"
+   *     "projects/[PROJECT_ID]"
    * 
* * @@ -49,7 +47,7 @@ public interface ListLogMetricsRequestOrBuilder *
    * Required. The name of the project containing the metrics:
    *
-   * "projects/[PROJECT_ID]"
+   *     "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 199ded943..7f042b138 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 @@ -14,10 +14,9 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_metrics.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -29,25 +28,14 @@ * * Protobuf type {@code google.logging.v2.ListLogMetricsResponse} */ -@com.google.protobuf.Generated -public final class ListLogMetricsResponse extends com.google.protobuf.GeneratedMessage +public final class ListLogMetricsResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.logging.v2.ListLogMetricsResponse) ListLogMetricsResponseOrBuilder { private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 0, - /* suffix= */ "", - "ListLogMetricsResponse"); - } - // Use ListLogMetricsResponse.newBuilder() to construct. - private ListLogMetricsResponse(com.google.protobuf.GeneratedMessage.Builder builder) { + private ListLogMetricsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } @@ -56,13 +44,19 @@ private ListLogMetricsResponse() { nextPageToken_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ListLogMetricsResponse(); + } + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingMetricsProto .internal_static_google_logging_v2_ListLogMetricsResponse_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingMetricsProto .internal_static_google_logging_v2_ListLogMetricsResponse_fieldAccessorTable @@ -221,8 +215,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < metrics_.size(); i++) { output.writeMessage(1, metrics_.get(i)); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageToken_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 2, nextPageToken_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); } getUnknownFields().writeTo(output); } @@ -236,8 +230,8 @@ public int getSerializedSize() { for (int i = 0; i < metrics_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, metrics_.get(i)); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageToken_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(2, nextPageToken_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -316,38 +310,38 @@ public static com.google.logging.v2.ListLogMetricsResponse parseFrom( public static com.google.logging.v2.ListLogMetricsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.ListLogMetricsResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.ListLogMetricsResponse parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.ListLogMetricsResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.ListLogMetricsResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.ListLogMetricsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } @@ -370,7 +364,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -384,7 +378,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder * * Protobuf type {@code google.logging.v2.ListLogMetricsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.ListLogMetricsResponse) com.google.logging.v2.ListLogMetricsResponseOrBuilder { @@ -394,7 +388,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingMetricsProto .internal_static_google_logging_v2_ListLogMetricsResponse_fieldAccessorTable @@ -406,7 +400,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.logging.v2.ListLogMetricsResponse.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @@ -476,6 +470,39 @@ private void buildPartial0(com.google.logging.v2.ListLogMetricsResponse result) } } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.ListLogMetricsResponse) { @@ -507,8 +534,8 @@ public Builder mergeFrom(com.google.logging.v2.ListLogMetricsResponse other) { metrics_ = other.metrics_; bitField0_ = (bitField0_ & ~0x00000001); metricsBuilder_ = - com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders - ? internalGetMetricsFieldBuilder() + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getMetricsFieldBuilder() : null; } else { metricsBuilder_.addAllMessages(other.metrics_); @@ -593,7 +620,7 @@ private void ensureMetricsIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilder< + private com.google.protobuf.RepeatedFieldBuilderV3< com.google.logging.v2.LogMetric, com.google.logging.v2.LogMetric.Builder, com.google.logging.v2.LogMetricOrBuilder> @@ -850,7 +877,7 @@ public Builder removeMetrics(int index) { * repeated .google.logging.v2.LogMetric metrics = 1; */ public com.google.logging.v2.LogMetric.Builder getMetricsBuilder(int index) { - return internalGetMetricsFieldBuilder().getBuilder(index); + return getMetricsFieldBuilder().getBuilder(index); } /** @@ -898,7 +925,7 @@ public com.google.logging.v2.LogMetricOrBuilder getMetricsOrBuilder(int index) { * repeated .google.logging.v2.LogMetric metrics = 1; */ public com.google.logging.v2.LogMetric.Builder addMetricsBuilder() { - return internalGetMetricsFieldBuilder() + return getMetricsFieldBuilder() .addBuilder(com.google.logging.v2.LogMetric.getDefaultInstance()); } @@ -912,7 +939,7 @@ public com.google.logging.v2.LogMetric.Builder addMetricsBuilder() { * repeated .google.logging.v2.LogMetric metrics = 1; */ public com.google.logging.v2.LogMetric.Builder addMetricsBuilder(int index) { - return internalGetMetricsFieldBuilder() + return getMetricsFieldBuilder() .addBuilder(index, com.google.logging.v2.LogMetric.getDefaultInstance()); } @@ -926,17 +953,17 @@ public com.google.logging.v2.LogMetric.Builder addMetricsBuilder(int index) { * repeated .google.logging.v2.LogMetric metrics = 1; */ public java.util.List getMetricsBuilderList() { - return internalGetMetricsFieldBuilder().getBuilderList(); + return getMetricsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilder< + private com.google.protobuf.RepeatedFieldBuilderV3< com.google.logging.v2.LogMetric, com.google.logging.v2.LogMetric.Builder, com.google.logging.v2.LogMetricOrBuilder> - internalGetMetricsFieldBuilder() { + getMetricsFieldBuilder() { if (metricsBuilder_ == null) { metricsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilder< + new com.google.protobuf.RepeatedFieldBuilderV3< com.google.logging.v2.LogMetric, com.google.logging.v2.LogMetric.Builder, com.google.logging.v2.LogMetricOrBuilder>( @@ -1067,6 +1094,17 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { return this; } + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:google.logging.v2.ListLogMetricsResponse) } 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 07091f8c3..316fcceea 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 @@ -14,13 +14,11 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_metrics.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; -@com.google.protobuf.Generated public interface ListLogMetricsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.ListLogMetricsResponse) 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 abbb6ad38..2e8c2c60a 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 @@ -14,10 +14,9 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -29,25 +28,14 @@ * * Protobuf type {@code google.logging.v2.ListLogsRequest} */ -@com.google.protobuf.Generated -public final class ListLogsRequest extends com.google.protobuf.GeneratedMessage +public final class ListLogsRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.logging.v2.ListLogsRequest) ListLogsRequestOrBuilder { private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 0, - /* suffix= */ "", - "ListLogsRequest"); - } - // Use ListLogsRequest.newBuilder() to construct. - private ListLogsRequest(com.google.protobuf.GeneratedMessage.Builder builder) { + private ListLogsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } @@ -57,13 +45,19 @@ private ListLogsRequest() { pageToken_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ListLogsRequest(); + } + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingProto .internal_static_google_logging_v2_ListLogsRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingProto .internal_static_google_logging_v2_ListLogsRequest_fieldAccessorTable @@ -151,10 +145,10 @@ public com.google.protobuf.ByteString getParentBytes() { *
    * 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]`
+   *  * `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:
    *
@@ -182,10 +176,10 @@ 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]`
+   *  * `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:
    *
@@ -213,10 +207,10 @@ 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]`
+   *  * `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:
    *
@@ -245,10 +239,10 @@ 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]`
+   *  * `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:
    *
@@ -365,17 +359,17 @@ public final boolean isInitialized() {
 
   @java.lang.Override
   public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
-    if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) {
-      com.google.protobuf.GeneratedMessage.writeString(output, 1, parent_);
+    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
+      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
     }
     if (pageSize_ != 0) {
       output.writeInt32(2, pageSize_);
     }
-    if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) {
-      com.google.protobuf.GeneratedMessage.writeString(output, 3, pageToken_);
+    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) {
+      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_);
     }
     for (int i = 0; i < resourceNames_.size(); i++) {
-      com.google.protobuf.GeneratedMessage.writeString(output, 8, resourceNames_.getRaw(i));
+      com.google.protobuf.GeneratedMessageV3.writeString(output, 8, resourceNames_.getRaw(i));
     }
     getUnknownFields().writeTo(output);
   }
@@ -386,14 +380,14 @@ public int getSerializedSize() {
     if (size != -1) return size;
 
     size = 0;
-    if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) {
-      size += com.google.protobuf.GeneratedMessage.computeStringSize(1, parent_);
+    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
+      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_);
     }
     if (pageSize_ != 0) {
       size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_);
     }
-    if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) {
-      size += com.google.protobuf.GeneratedMessage.computeStringSize(3, pageToken_);
+    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) {
+      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_);
     }
     {
       int dataSize = 0;
@@ -484,38 +478,38 @@ public static com.google.logging.v2.ListLogsRequest parseFrom(
 
   public static com.google.logging.v2.ListLogsRequest parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
 
   public static com.google.logging.v2.ListLogsRequest parseFrom(
       java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessage.parseWithIOException(
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
         PARSER, input, extensionRegistry);
   }
 
   public static com.google.logging.v2.ListLogsRequest parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.logging.v2.ListLogsRequest parseDelimitedFrom(
       java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
         PARSER, input, extensionRegistry);
   }
 
   public static com.google.logging.v2.ListLogsRequest parseFrom(
       com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
 
   public static com.google.logging.v2.ListLogsRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessage.parseWithIOException(
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
         PARSER, input, extensionRegistry);
   }
 
@@ -538,7 +532,7 @@ public Builder toBuilder() {
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
@@ -552,7 +546,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder
    *
    * Protobuf type {@code google.logging.v2.ListLogsRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
       implements
       // @@protoc_insertion_point(builder_implements:google.logging.v2.ListLogsRequest)
       com.google.logging.v2.ListLogsRequestOrBuilder {
@@ -562,7 +556,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     }
 
     @java.lang.Override
-    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
       return com.google.logging.v2.LoggingProto
           .internal_static_google_logging_v2_ListLogsRequest_fieldAccessorTable
@@ -574,7 +568,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     // Construct using com.google.logging.v2.ListLogsRequest.newBuilder()
     private Builder() {}
 
-    private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
     }
 
@@ -637,6 +631,39 @@ private void buildPartial0(com.google.logging.v2.ListLogsRequest result) {
       }
     }
 
+    @java.lang.Override
+    public Builder clone() {
+      return super.clone();
+    }
+
+    @java.lang.Override
+    public Builder setField(
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+      return super.setField(field, value);
+    }
+
+    @java.lang.Override
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      return super.clearField(field);
+    }
+
+    @java.lang.Override
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      return super.clearOneof(oneof);
+    }
+
+    @java.lang.Override
+    public Builder setRepeatedField(
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+      return super.setRepeatedField(field, index, value);
+    }
+
+    @java.lang.Override
+    public Builder addRepeatedField(
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+      return super.addRepeatedField(field, value);
+    }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.logging.v2.ListLogsRequest) {
@@ -904,10 +931,10 @@ private void ensureResourceNamesIsMutable() {
      * 
      * 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]`
+     *  * `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:
      *
@@ -936,10 +963,10 @@ 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]`
+     *  * `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:
      *
@@ -967,10 +994,10 @@ 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]`
+     *  * `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:
      *
@@ -999,10 +1026,10 @@ 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]`
+     *  * `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:
      *
@@ -1031,10 +1058,10 @@ 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]`
+     *  * `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:
      *
@@ -1071,10 +1098,10 @@ 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]`
+     *  * `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:
      *
@@ -1110,10 +1137,10 @@ 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]`
+     *  * `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:
      *
@@ -1146,10 +1173,10 @@ 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]`
+     *  * `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:
      *
@@ -1181,10 +1208,10 @@ 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]`
+     *  * `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:
      *
@@ -1403,6 +1430,17 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
       return this;
     }
 
+    @java.lang.Override
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+      return super.setUnknownFields(unknownFields);
+    }
+
+    @java.lang.Override
+    public final Builder mergeUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
+      return super.mergeUnknownFields(unknownFields);
+    }
+
     // @@protoc_insertion_point(builder_scope:google.logging.v2.ListLogsRequest)
   }
 
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 3a0b4ed81..7588a7b3f 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
@@ -14,13 +14,11 @@
  * limitations under the License.
  */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
-// NO CHECKED-IN PROTOBUF GENCODE
 // source: google/logging/v2/logging.proto
-// Protobuf Java Version: 4.33.0
 
+// Protobuf Java Version: 3.25.8
 package com.google.logging.v2;
 
-@com.google.protobuf.Generated
 public interface ListLogsRequestOrBuilder
     extends
     // @@protoc_insertion_point(interface_extends:google.logging.v2.ListLogsRequest)
@@ -72,10 +70,10 @@ 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]`
+   *  * `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:
    *
@@ -101,10 +99,10 @@ 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]`
+   *  * `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:
    *
@@ -130,10 +128,10 @@ 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]`
+   *  * `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:
    *
@@ -160,10 +158,10 @@ 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]`
+   *  * `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:
    *
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 0f274ef74..a72685c93 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
@@ -14,10 +14,9 @@
  * limitations under the License.
  */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
-// NO CHECKED-IN PROTOBUF GENCODE
 // source: google/logging/v2/logging.proto
-// Protobuf Java Version: 4.33.0
 
+// Protobuf Java Version: 3.25.8
 package com.google.logging.v2;
 
 /**
@@ -29,25 +28,14 @@
  *
  * Protobuf type {@code google.logging.v2.ListLogsResponse}
  */
-@com.google.protobuf.Generated
-public final class ListLogsResponse extends com.google.protobuf.GeneratedMessage
+public final class ListLogsResponse extends com.google.protobuf.GeneratedMessageV3
     implements
     // @@protoc_insertion_point(message_implements:google.logging.v2.ListLogsResponse)
     ListLogsResponseOrBuilder {
   private static final long serialVersionUID = 0L;
 
-  static {
-    com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
-        com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
-        /* major= */ 4,
-        /* minor= */ 33,
-        /* patch= */ 0,
-        /* suffix= */ "",
-        "ListLogsResponse");
-  }
-
   // Use ListLogsResponse.newBuilder() to construct.
-  private ListLogsResponse(com.google.protobuf.GeneratedMessage.Builder builder) {
+  private ListLogsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
 
@@ -56,13 +44,19 @@ private ListLogsResponse() {
     nextPageToken_ = "";
   }
 
+  @java.lang.Override
+  @SuppressWarnings({"unused"})
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    return new ListLogsResponse();
+  }
+
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.logging.v2.LoggingProto
         .internal_static_google_logging_v2_ListLogsResponse_descriptor;
   }
 
   @java.lang.Override
-  protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
     return com.google.logging.v2.LoggingProto
         .internal_static_google_logging_v2_ListLogsResponse_fieldAccessorTable
@@ -218,11 +212,11 @@ public final boolean isInitialized() {
 
   @java.lang.Override
   public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
-    if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageToken_)) {
-      com.google.protobuf.GeneratedMessage.writeString(output, 2, nextPageToken_);
+    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) {
+      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_);
     }
     for (int i = 0; i < logNames_.size(); i++) {
-      com.google.protobuf.GeneratedMessage.writeString(output, 3, logNames_.getRaw(i));
+      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, logNames_.getRaw(i));
     }
     getUnknownFields().writeTo(output);
   }
@@ -233,8 +227,8 @@ public int getSerializedSize() {
     if (size != -1) return size;
 
     size = 0;
-    if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageToken_)) {
-      size += com.google.protobuf.GeneratedMessage.computeStringSize(2, nextPageToken_);
+    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) {
+      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_);
     }
     {
       int dataSize = 0;
@@ -320,38 +314,38 @@ public static com.google.logging.v2.ListLogsResponse parseFrom(
 
   public static com.google.logging.v2.ListLogsResponse parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
 
   public static com.google.logging.v2.ListLogsResponse parseFrom(
       java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessage.parseWithIOException(
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
         PARSER, input, extensionRegistry);
   }
 
   public static com.google.logging.v2.ListLogsResponse parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.logging.v2.ListLogsResponse parseDelimitedFrom(
       java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
         PARSER, input, extensionRegistry);
   }
 
   public static com.google.logging.v2.ListLogsResponse parseFrom(
       com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
 
   public static com.google.logging.v2.ListLogsResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessage.parseWithIOException(
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
         PARSER, input, extensionRegistry);
   }
 
@@ -374,7 +368,7 @@ public Builder toBuilder() {
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
@@ -388,7 +382,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder
    *
    * Protobuf type {@code google.logging.v2.ListLogsResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
       implements
       // @@protoc_insertion_point(builder_implements:google.logging.v2.ListLogsResponse)
       com.google.logging.v2.ListLogsResponseOrBuilder {
@@ -398,7 +392,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     }
 
     @java.lang.Override
-    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
       return com.google.logging.v2.LoggingProto
           .internal_static_google_logging_v2_ListLogsResponse_fieldAccessorTable
@@ -410,7 +404,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     // Construct using com.google.logging.v2.ListLogsResponse.newBuilder()
     private Builder() {}
 
-    private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
     }
 
@@ -465,6 +459,39 @@ private void buildPartial0(com.google.logging.v2.ListLogsResponse result) {
       }
     }
 
+    @java.lang.Override
+    public Builder clone() {
+      return super.clone();
+    }
+
+    @java.lang.Override
+    public Builder setField(
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+      return super.setField(field, value);
+    }
+
+    @java.lang.Override
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      return super.clearField(field);
+    }
+
+    @java.lang.Override
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      return super.clearOneof(oneof);
+    }
+
+    @java.lang.Override
+    public Builder setRepeatedField(
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+      return super.setRepeatedField(field, index, value);
+    }
+
+    @java.lang.Override
+    public Builder addRepeatedField(
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+      return super.addRepeatedField(field, value);
+    }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.logging.v2.ListLogsResponse) {
@@ -872,6 +899,17 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) {
       return this;
     }
 
+    @java.lang.Override
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+      return super.setUnknownFields(unknownFields);
+    }
+
+    @java.lang.Override
+    public final Builder mergeUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
+      return super.mergeUnknownFields(unknownFields);
+    }
+
     // @@protoc_insertion_point(builder_scope:google.logging.v2.ListLogsResponse)
   }
 
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 eed70aaa8..0ba4fe93a 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
@@ -14,13 +14,11 @@
  * limitations under the License.
  */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
-// NO CHECKED-IN PROTOBUF GENCODE
 // source: google/logging/v2/logging.proto
-// Protobuf Java Version: 4.33.0
 
+// Protobuf Java Version: 3.25.8
 package com.google.logging.v2;
 
-@com.google.protobuf.Generated
 public interface ListLogsResponseOrBuilder
     extends
     // @@protoc_insertion_point(interface_extends:google.logging.v2.ListLogsResponse)
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 2789d81ff..14de7ddc6 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
@@ -14,10 +14,9 @@
  * limitations under the License.
  */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
-// NO CHECKED-IN PROTOBUF GENCODE
 // source: google/logging/v2/logging.proto
-// Protobuf Java Version: 4.33.0
 
+// Protobuf Java Version: 3.25.8
 package com.google.logging.v2;
 
 /**
@@ -29,27 +28,16 @@
  *
  * Protobuf type {@code google.logging.v2.ListMonitoredResourceDescriptorsRequest}
  */
-@com.google.protobuf.Generated
 public final class ListMonitoredResourceDescriptorsRequest
-    extends com.google.protobuf.GeneratedMessage
+    extends com.google.protobuf.GeneratedMessageV3
     implements
     // @@protoc_insertion_point(message_implements:google.logging.v2.ListMonitoredResourceDescriptorsRequest)
     ListMonitoredResourceDescriptorsRequestOrBuilder {
   private static final long serialVersionUID = 0L;
 
-  static {
-    com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
-        com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
-        /* major= */ 4,
-        /* minor= */ 33,
-        /* patch= */ 0,
-        /* suffix= */ "",
-        "ListMonitoredResourceDescriptorsRequest");
-  }
-
   // Use ListMonitoredResourceDescriptorsRequest.newBuilder() to construct.
   private ListMonitoredResourceDescriptorsRequest(
-      com.google.protobuf.GeneratedMessage.Builder builder) {
+      com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
 
@@ -57,13 +45,19 @@ private ListMonitoredResourceDescriptorsRequest() {
     pageToken_ = "";
   }
 
+  @java.lang.Override
+  @SuppressWarnings({"unused"})
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    return new ListMonitoredResourceDescriptorsRequest();
+  }
+
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.logging.v2.LoggingProto
         .internal_static_google_logging_v2_ListMonitoredResourceDescriptorsRequest_descriptor;
   }
 
   @java.lang.Override
-  protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
     return com.google.logging.v2.LoggingProto
         .internal_static_google_logging_v2_ListMonitoredResourceDescriptorsRequest_fieldAccessorTable
@@ -169,8 +163,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
     if (pageSize_ != 0) {
       output.writeInt32(1, pageSize_);
     }
-    if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) {
-      com.google.protobuf.GeneratedMessage.writeString(output, 2, pageToken_);
+    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) {
+      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, pageToken_);
     }
     getUnknownFields().writeTo(output);
   }
@@ -184,8 +178,8 @@ public int getSerializedSize() {
     if (pageSize_ != 0) {
       size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, pageSize_);
     }
-    if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) {
-      size += com.google.protobuf.GeneratedMessage.computeStringSize(2, pageToken_);
+    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) {
+      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, pageToken_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -262,38 +256,38 @@ public static com.google.logging.v2.ListMonitoredResourceDescriptorsRequest pars
 
   public static com.google.logging.v2.ListMonitoredResourceDescriptorsRequest parseFrom(
       java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
 
   public static com.google.logging.v2.ListMonitoredResourceDescriptorsRequest parseFrom(
       java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessage.parseWithIOException(
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
         PARSER, input, extensionRegistry);
   }
 
   public static com.google.logging.v2.ListMonitoredResourceDescriptorsRequest parseDelimitedFrom(
       java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.logging.v2.ListMonitoredResourceDescriptorsRequest parseDelimitedFrom(
       java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
         PARSER, input, extensionRegistry);
   }
 
   public static com.google.logging.v2.ListMonitoredResourceDescriptorsRequest parseFrom(
       com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
 
   public static com.google.logging.v2.ListMonitoredResourceDescriptorsRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessage.parseWithIOException(
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
         PARSER, input, extensionRegistry);
   }
 
@@ -317,7 +311,7 @@ public Builder toBuilder() {
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
@@ -331,7 +325,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder
    *
    * Protobuf type {@code google.logging.v2.ListMonitoredResourceDescriptorsRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
       implements
       // @@protoc_insertion_point(builder_implements:google.logging.v2.ListMonitoredResourceDescriptorsRequest)
       com.google.logging.v2.ListMonitoredResourceDescriptorsRequestOrBuilder {
@@ -341,7 +335,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     }
 
     @java.lang.Override
-    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
       return com.google.logging.v2.LoggingProto
           .internal_static_google_logging_v2_ListMonitoredResourceDescriptorsRequest_fieldAccessorTable
@@ -353,7 +347,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     // Construct using com.google.logging.v2.ListMonitoredResourceDescriptorsRequest.newBuilder()
     private Builder() {}
 
-    private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
     }
 
@@ -409,6 +403,39 @@ private void buildPartial0(
       }
     }
 
+    @java.lang.Override
+    public Builder clone() {
+      return super.clone();
+    }
+
+    @java.lang.Override
+    public Builder setField(
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+      return super.setField(field, value);
+    }
+
+    @java.lang.Override
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      return super.clearField(field);
+    }
+
+    @java.lang.Override
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      return super.clearOneof(oneof);
+    }
+
+    @java.lang.Override
+    public Builder setRepeatedField(
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+      return super.setRepeatedField(field, index, value);
+    }
+
+    @java.lang.Override
+    public Builder addRepeatedField(
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+      return super.addRepeatedField(field, value);
+    }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.logging.v2.ListMonitoredResourceDescriptorsRequest) {
@@ -676,6 +703,17 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
       return this;
     }
 
+    @java.lang.Override
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+      return super.setUnknownFields(unknownFields);
+    }
+
+    @java.lang.Override
+    public final Builder mergeUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
+      return super.mergeUnknownFields(unknownFields);
+    }
+
     // @@protoc_insertion_point(builder_scope:google.logging.v2.ListMonitoredResourceDescriptorsRequest)
   }
 
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 54d3f6682..bf74f75cd 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
@@ -14,13 +14,11 @@
  * limitations under the License.
  */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
-// NO CHECKED-IN PROTOBUF GENCODE
 // source: google/logging/v2/logging.proto
-// Protobuf Java Version: 4.33.0
 
+// Protobuf Java Version: 3.25.8
 package com.google.logging.v2;
 
-@com.google.protobuf.Generated
 public interface ListMonitoredResourceDescriptorsRequestOrBuilder
     extends
     // @@protoc_insertion_point(interface_extends:google.logging.v2.ListMonitoredResourceDescriptorsRequest)
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 ca0893cfa..e7bbae00b 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
@@ -14,10 +14,9 @@
  * limitations under the License.
  */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
-// NO CHECKED-IN PROTOBUF GENCODE
 // source: google/logging/v2/logging.proto
-// Protobuf Java Version: 4.33.0
 
+// Protobuf Java Version: 3.25.8
 package com.google.logging.v2;
 
 /**
@@ -29,27 +28,16 @@
  *
  * Protobuf type {@code google.logging.v2.ListMonitoredResourceDescriptorsResponse}
  */
-@com.google.protobuf.Generated
 public final class ListMonitoredResourceDescriptorsResponse
-    extends com.google.protobuf.GeneratedMessage
+    extends com.google.protobuf.GeneratedMessageV3
     implements
     // @@protoc_insertion_point(message_implements:google.logging.v2.ListMonitoredResourceDescriptorsResponse)
     ListMonitoredResourceDescriptorsResponseOrBuilder {
   private static final long serialVersionUID = 0L;
 
-  static {
-    com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
-        com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
-        /* major= */ 4,
-        /* minor= */ 33,
-        /* patch= */ 0,
-        /* suffix= */ "",
-        "ListMonitoredResourceDescriptorsResponse");
-  }
-
   // Use ListMonitoredResourceDescriptorsResponse.newBuilder() to construct.
   private ListMonitoredResourceDescriptorsResponse(
-      com.google.protobuf.GeneratedMessage.Builder builder) {
+      com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
 
@@ -58,13 +46,19 @@ private ListMonitoredResourceDescriptorsResponse() {
     nextPageToken_ = "";
   }
 
+  @java.lang.Override
+  @SuppressWarnings({"unused"})
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    return new ListMonitoredResourceDescriptorsResponse();
+  }
+
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.logging.v2.LoggingProto
         .internal_static_google_logging_v2_ListMonitoredResourceDescriptorsResponse_descriptor;
   }
 
   @java.lang.Override
-  protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
     return com.google.logging.v2.LoggingProto
         .internal_static_google_logging_v2_ListMonitoredResourceDescriptorsResponse_fieldAccessorTable
@@ -224,8 +218,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
     for (int i = 0; i < resourceDescriptors_.size(); i++) {
       output.writeMessage(1, resourceDescriptors_.get(i));
     }
-    if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageToken_)) {
-      com.google.protobuf.GeneratedMessage.writeString(output, 2, nextPageToken_);
+    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) {
+      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_);
     }
     getUnknownFields().writeTo(output);
   }
@@ -240,8 +234,8 @@ public int getSerializedSize() {
       size +=
           com.google.protobuf.CodedOutputStream.computeMessageSize(1, resourceDescriptors_.get(i));
     }
-    if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageToken_)) {
-      size += com.google.protobuf.GeneratedMessage.computeStringSize(2, nextPageToken_);
+    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) {
+      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -320,38 +314,38 @@ public static com.google.logging.v2.ListMonitoredResourceDescriptorsResponse par
 
   public static com.google.logging.v2.ListMonitoredResourceDescriptorsResponse parseFrom(
       java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
 
   public static com.google.logging.v2.ListMonitoredResourceDescriptorsResponse parseFrom(
       java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessage.parseWithIOException(
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
         PARSER, input, extensionRegistry);
   }
 
   public static com.google.logging.v2.ListMonitoredResourceDescriptorsResponse parseDelimitedFrom(
       java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.logging.v2.ListMonitoredResourceDescriptorsResponse parseDelimitedFrom(
       java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
         PARSER, input, extensionRegistry);
   }
 
   public static com.google.logging.v2.ListMonitoredResourceDescriptorsResponse parseFrom(
       com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
 
   public static com.google.logging.v2.ListMonitoredResourceDescriptorsResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessage.parseWithIOException(
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
         PARSER, input, extensionRegistry);
   }
 
@@ -375,7 +369,7 @@ public Builder toBuilder() {
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
@@ -389,7 +383,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder
    *
    * Protobuf type {@code google.logging.v2.ListMonitoredResourceDescriptorsResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
       implements
       // @@protoc_insertion_point(builder_implements:google.logging.v2.ListMonitoredResourceDescriptorsResponse)
       com.google.logging.v2.ListMonitoredResourceDescriptorsResponseOrBuilder {
@@ -399,7 +393,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     }
 
     @java.lang.Override
-    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
       return com.google.logging.v2.LoggingProto
           .internal_static_google_logging_v2_ListMonitoredResourceDescriptorsResponse_fieldAccessorTable
@@ -411,7 +405,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     // Construct using com.google.logging.v2.ListMonitoredResourceDescriptorsResponse.newBuilder()
     private Builder() {}
 
-    private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
     }
 
@@ -484,6 +478,39 @@ private void buildPartial0(
       }
     }
 
+    @java.lang.Override
+    public Builder clone() {
+      return super.clone();
+    }
+
+    @java.lang.Override
+    public Builder setField(
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+      return super.setField(field, value);
+    }
+
+    @java.lang.Override
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      return super.clearField(field);
+    }
+
+    @java.lang.Override
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      return super.clearOneof(oneof);
+    }
+
+    @java.lang.Override
+    public Builder setRepeatedField(
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+      return super.setRepeatedField(field, index, value);
+    }
+
+    @java.lang.Override
+    public Builder addRepeatedField(
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+      return super.addRepeatedField(field, value);
+    }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.logging.v2.ListMonitoredResourceDescriptorsResponse) {
@@ -517,8 +544,8 @@ public Builder mergeFrom(com.google.logging.v2.ListMonitoredResourceDescriptorsR
             resourceDescriptors_ = other.resourceDescriptors_;
             bitField0_ = (bitField0_ & ~0x00000001);
             resourceDescriptorsBuilder_ =
-                com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders
-                    ? internalGetResourceDescriptorsFieldBuilder()
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getResourceDescriptorsFieldBuilder()
                     : null;
           } else {
             resourceDescriptorsBuilder_.addAllMessages(other.resourceDescriptors_);
@@ -606,7 +633,7 @@ private void ensureResourceDescriptorsIsMutable() {
       }
     }
 
-    private com.google.protobuf.RepeatedFieldBuilder<
+    private com.google.protobuf.RepeatedFieldBuilderV3<
             com.google.api.MonitoredResourceDescriptor,
             com.google.api.MonitoredResourceDescriptor.Builder,
             com.google.api.MonitoredResourceDescriptorOrBuilder>
@@ -869,7 +896,7 @@ public Builder removeResourceDescriptors(int index) {
      */
     public com.google.api.MonitoredResourceDescriptor.Builder getResourceDescriptorsBuilder(
         int index) {
-      return internalGetResourceDescriptorsFieldBuilder().getBuilder(index);
+      return getResourceDescriptorsFieldBuilder().getBuilder(index);
     }
 
     /**
@@ -918,7 +945,7 @@ public com.google.api.MonitoredResourceDescriptorOrBuilder getResourceDescriptor
      * repeated .google.api.MonitoredResourceDescriptor resource_descriptors = 1;
      */
     public com.google.api.MonitoredResourceDescriptor.Builder addResourceDescriptorsBuilder() {
-      return internalGetResourceDescriptorsFieldBuilder()
+      return getResourceDescriptorsFieldBuilder()
           .addBuilder(com.google.api.MonitoredResourceDescriptor.getDefaultInstance());
     }
 
@@ -933,7 +960,7 @@ public com.google.api.MonitoredResourceDescriptor.Builder addResourceDescriptors
      */
     public com.google.api.MonitoredResourceDescriptor.Builder addResourceDescriptorsBuilder(
         int index) {
-      return internalGetResourceDescriptorsFieldBuilder()
+      return getResourceDescriptorsFieldBuilder()
           .addBuilder(index, com.google.api.MonitoredResourceDescriptor.getDefaultInstance());
     }
 
@@ -948,17 +975,17 @@ public com.google.api.MonitoredResourceDescriptor.Builder addResourceDescriptors
      */
     public java.util.List
         getResourceDescriptorsBuilderList() {
-      return internalGetResourceDescriptorsFieldBuilder().getBuilderList();
+      return getResourceDescriptorsFieldBuilder().getBuilderList();
     }
 
-    private com.google.protobuf.RepeatedFieldBuilder<
+    private com.google.protobuf.RepeatedFieldBuilderV3<
             com.google.api.MonitoredResourceDescriptor,
             com.google.api.MonitoredResourceDescriptor.Builder,
             com.google.api.MonitoredResourceDescriptorOrBuilder>
-        internalGetResourceDescriptorsFieldBuilder() {
+        getResourceDescriptorsFieldBuilder() {
       if (resourceDescriptorsBuilder_ == null) {
         resourceDescriptorsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilder<
+            new com.google.protobuf.RepeatedFieldBuilderV3<
                 com.google.api.MonitoredResourceDescriptor,
                 com.google.api.MonitoredResourceDescriptor.Builder,
                 com.google.api.MonitoredResourceDescriptorOrBuilder>(
@@ -1092,6 +1119,17 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) {
       return this;
     }
 
+    @java.lang.Override
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+      return super.setUnknownFields(unknownFields);
+    }
+
+    @java.lang.Override
+    public final Builder mergeUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
+      return super.mergeUnknownFields(unknownFields);
+    }
+
     // @@protoc_insertion_point(builder_scope:google.logging.v2.ListMonitoredResourceDescriptorsResponse)
   }
 
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 68513807b..e6b2201e4 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
@@ -14,13 +14,11 @@
  * limitations under the License.
  */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
-// NO CHECKED-IN PROTOBUF GENCODE
 // source: google/logging/v2/logging.proto
-// Protobuf Java Version: 4.33.0
 
+// Protobuf Java Version: 3.25.8
 package com.google.logging.v2;
 
-@com.google.protobuf.Generated
 public interface ListMonitoredResourceDescriptorsResponseOrBuilder
     extends
     // @@protoc_insertion_point(interface_extends:google.logging.v2.ListMonitoredResourceDescriptorsResponse)
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 34965515e..0c249b9ed 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
@@ -14,10 +14,9 @@
  * limitations under the License.
  */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
-// NO CHECKED-IN PROTOBUF GENCODE
 // source: google/logging/v2/logging_config.proto
-// Protobuf Java Version: 4.33.0
 
+// Protobuf Java Version: 3.25.8
 package com.google.logging.v2;
 
 /**
@@ -29,25 +28,14 @@
  *
  * Protobuf type {@code google.logging.v2.ListSinksRequest}
  */
-@com.google.protobuf.Generated
-public final class ListSinksRequest extends com.google.protobuf.GeneratedMessage
+public final class ListSinksRequest extends com.google.protobuf.GeneratedMessageV3
     implements
     // @@protoc_insertion_point(message_implements:google.logging.v2.ListSinksRequest)
     ListSinksRequestOrBuilder {
   private static final long serialVersionUID = 0L;
 
-  static {
-    com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
-        com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
-        /* major= */ 4,
-        /* minor= */ 33,
-        /* patch= */ 0,
-        /* suffix= */ "",
-        "ListSinksRequest");
-  }
-
   // Use ListSinksRequest.newBuilder() to construct.
-  private ListSinksRequest(com.google.protobuf.GeneratedMessage.Builder builder) {
+  private ListSinksRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
 
@@ -56,13 +44,19 @@ private ListSinksRequest() {
     pageToken_ = "";
   }
 
+  @java.lang.Override
+  @SuppressWarnings({"unused"})
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    return new ListSinksRequest();
+  }
+
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.logging.v2.LoggingConfigProto
         .internal_static_google_logging_v2_ListSinksRequest_descriptor;
   }
 
   @java.lang.Override
-  protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
     return com.google.logging.v2.LoggingConfigProto
         .internal_static_google_logging_v2_ListSinksRequest_fieldAccessorTable
@@ -82,10 +76,10 @@ 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]"
-   * "folders/[FOLDER_ID]"
+   *     "projects/[PROJECT_ID]"
+   *     "organizations/[ORGANIZATION_ID]"
+   *     "billingAccounts/[BILLING_ACCOUNT_ID]"
+   *     "folders/[FOLDER_ID]"
    * 
* * @@ -113,10 +107,10 @@ 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]"
-   * "folders/[FOLDER_ID]"
+   *     "projects/[PROJECT_ID]"
+   *     "organizations/[ORGANIZATION_ID]"
+   *     "billingAccounts/[BILLING_ACCOUNT_ID]"
+   *     "folders/[FOLDER_ID]"
    * 
* * @@ -232,11 +226,11 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, parent_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 2, pageToken_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, pageToken_); } if (pageSize_ != 0) { output.writeInt32(3, pageSize_); @@ -250,11 +244,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, parent_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(2, pageToken_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, pageToken_); } if (pageSize_ != 0) { size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); @@ -336,38 +330,38 @@ public static com.google.logging.v2.ListSinksRequest parseFrom( public static com.google.logging.v2.ListSinksRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.ListSinksRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.ListSinksRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.ListSinksRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.ListSinksRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.ListSinksRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } @@ -390,7 +384,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -404,7 +398,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder * * Protobuf type {@code google.logging.v2.ListSinksRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.ListSinksRequest) com.google.logging.v2.ListSinksRequestOrBuilder { @@ -414,7 +408,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_ListSinksRequest_fieldAccessorTable @@ -426,7 +420,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.logging.v2.ListSinksRequest.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @@ -484,6 +478,39 @@ private void buildPartial0(com.google.logging.v2.ListSinksRequest result) { } } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.ListSinksRequest) { @@ -580,10 +607,10 @@ public Builder mergeFrom( *
      * Required. The parent resource whose sinks are to be listed:
      *
-     * "projects/[PROJECT_ID]"
-     * "organizations/[ORGANIZATION_ID]"
-     * "billingAccounts/[BILLING_ACCOUNT_ID]"
-     * "folders/[FOLDER_ID]"
+     *     "projects/[PROJECT_ID]"
+     *     "organizations/[ORGANIZATION_ID]"
+     *     "billingAccounts/[BILLING_ACCOUNT_ID]"
+     *     "folders/[FOLDER_ID]"
      * 
* * @@ -610,10 +637,10 @@ 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]"
-     * "folders/[FOLDER_ID]"
+     *     "projects/[PROJECT_ID]"
+     *     "organizations/[ORGANIZATION_ID]"
+     *     "billingAccounts/[BILLING_ACCOUNT_ID]"
+     *     "folders/[FOLDER_ID]"
      * 
* * @@ -640,10 +667,10 @@ 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]"
-     * "folders/[FOLDER_ID]"
+     *     "projects/[PROJECT_ID]"
+     *     "organizations/[ORGANIZATION_ID]"
+     *     "billingAccounts/[BILLING_ACCOUNT_ID]"
+     *     "folders/[FOLDER_ID]"
      * 
* * @@ -669,10 +696,10 @@ 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]"
-     * "folders/[FOLDER_ID]"
+     *     "projects/[PROJECT_ID]"
+     *     "organizations/[ORGANIZATION_ID]"
+     *     "billingAccounts/[BILLING_ACCOUNT_ID]"
+     *     "folders/[FOLDER_ID]"
      * 
* * @@ -694,10 +721,10 @@ public Builder clearParent() { *
      * Required. The parent resource whose sinks are to be listed:
      *
-     * "projects/[PROJECT_ID]"
-     * "organizations/[ORGANIZATION_ID]"
-     * "billingAccounts/[BILLING_ACCOUNT_ID]"
-     * "folders/[FOLDER_ID]"
+     *     "projects/[PROJECT_ID]"
+     *     "organizations/[ORGANIZATION_ID]"
+     *     "billingAccounts/[BILLING_ACCOUNT_ID]"
+     *     "folders/[FOLDER_ID]"
      * 
* * @@ -906,6 +933,17 @@ public Builder clearPageSize() { return this; } + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:google.logging.v2.ListSinksRequest) } 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 eba69fd22..0c45621b0 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 @@ -14,13 +14,11 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; -@com.google.protobuf.Generated public interface ListSinksRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.ListSinksRequest) @@ -32,10 +30,10 @@ public interface ListSinksRequestOrBuilder *
    * Required. The parent resource whose sinks are to be listed:
    *
-   * "projects/[PROJECT_ID]"
-   * "organizations/[ORGANIZATION_ID]"
-   * "billingAccounts/[BILLING_ACCOUNT_ID]"
-   * "folders/[FOLDER_ID]"
+   *     "projects/[PROJECT_ID]"
+   *     "organizations/[ORGANIZATION_ID]"
+   *     "billingAccounts/[BILLING_ACCOUNT_ID]"
+   *     "folders/[FOLDER_ID]"
    * 
* * @@ -52,10 +50,10 @@ public interface ListSinksRequestOrBuilder *
    * Required. The parent resource whose sinks are to be listed:
    *
-   * "projects/[PROJECT_ID]"
-   * "organizations/[ORGANIZATION_ID]"
-   * "billingAccounts/[BILLING_ACCOUNT_ID]"
-   * "folders/[FOLDER_ID]"
+   *     "projects/[PROJECT_ID]"
+   *     "organizations/[ORGANIZATION_ID]"
+   *     "billingAccounts/[BILLING_ACCOUNT_ID]"
+   *     "folders/[FOLDER_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 f92122874..ff99a7656 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 @@ -14,10 +14,9 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -29,25 +28,14 @@ * * Protobuf type {@code google.logging.v2.ListSinksResponse} */ -@com.google.protobuf.Generated -public final class ListSinksResponse extends com.google.protobuf.GeneratedMessage +public final class ListSinksResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.logging.v2.ListSinksResponse) ListSinksResponseOrBuilder { private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 0, - /* suffix= */ "", - "ListSinksResponse"); - } - // Use ListSinksResponse.newBuilder() to construct. - private ListSinksResponse(com.google.protobuf.GeneratedMessage.Builder builder) { + private ListSinksResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } @@ -56,13 +44,19 @@ private ListSinksResponse() { nextPageToken_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ListSinksResponse(); + } + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_ListSinksResponse_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_ListSinksResponse_fieldAccessorTable @@ -220,8 +214,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < sinks_.size(); i++) { output.writeMessage(1, sinks_.get(i)); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageToken_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 2, nextPageToken_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); } getUnknownFields().writeTo(output); } @@ -235,8 +229,8 @@ public int getSerializedSize() { for (int i = 0; i < sinks_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, sinks_.get(i)); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageToken_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(2, nextPageToken_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -314,38 +308,38 @@ public static com.google.logging.v2.ListSinksResponse parseFrom( public static com.google.logging.v2.ListSinksResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.ListSinksResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.ListSinksResponse parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.ListSinksResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.ListSinksResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.ListSinksResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } @@ -368,7 +362,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -382,7 +376,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder * * Protobuf type {@code google.logging.v2.ListSinksResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.ListSinksResponse) com.google.logging.v2.ListSinksResponseOrBuilder { @@ -392,7 +386,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_ListSinksResponse_fieldAccessorTable @@ -404,7 +398,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.logging.v2.ListSinksResponse.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @@ -474,6 +468,39 @@ private void buildPartial0(com.google.logging.v2.ListSinksResponse result) { } } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.ListSinksResponse) { @@ -505,8 +532,8 @@ public Builder mergeFrom(com.google.logging.v2.ListSinksResponse other) { sinks_ = other.sinks_; bitField0_ = (bitField0_ & ~0x00000001); sinksBuilder_ = - com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders - ? internalGetSinksFieldBuilder() + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getSinksFieldBuilder() : null; } else { sinksBuilder_.addAllMessages(other.sinks_); @@ -591,7 +618,7 @@ private void ensureSinksIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilder< + private com.google.protobuf.RepeatedFieldBuilderV3< com.google.logging.v2.LogSink, com.google.logging.v2.LogSink.Builder, com.google.logging.v2.LogSinkOrBuilder> @@ -847,7 +874,7 @@ public Builder removeSinks(int index) { * repeated .google.logging.v2.LogSink sinks = 1; */ public com.google.logging.v2.LogSink.Builder getSinksBuilder(int index) { - return internalGetSinksFieldBuilder().getBuilder(index); + return getSinksFieldBuilder().getBuilder(index); } /** @@ -895,8 +922,7 @@ public com.google.logging.v2.LogSinkOrBuilder getSinksOrBuilder(int index) { * repeated .google.logging.v2.LogSink sinks = 1; */ public com.google.logging.v2.LogSink.Builder addSinksBuilder() { - return internalGetSinksFieldBuilder() - .addBuilder(com.google.logging.v2.LogSink.getDefaultInstance()); + return getSinksFieldBuilder().addBuilder(com.google.logging.v2.LogSink.getDefaultInstance()); } /** @@ -909,7 +935,7 @@ public com.google.logging.v2.LogSink.Builder addSinksBuilder() { * repeated .google.logging.v2.LogSink sinks = 1; */ public com.google.logging.v2.LogSink.Builder addSinksBuilder(int index) { - return internalGetSinksFieldBuilder() + return getSinksFieldBuilder() .addBuilder(index, com.google.logging.v2.LogSink.getDefaultInstance()); } @@ -923,17 +949,17 @@ public com.google.logging.v2.LogSink.Builder addSinksBuilder(int index) { * repeated .google.logging.v2.LogSink sinks = 1; */ public java.util.List getSinksBuilderList() { - return internalGetSinksFieldBuilder().getBuilderList(); + return getSinksFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilder< + private com.google.protobuf.RepeatedFieldBuilderV3< com.google.logging.v2.LogSink, com.google.logging.v2.LogSink.Builder, com.google.logging.v2.LogSinkOrBuilder> - internalGetSinksFieldBuilder() { + getSinksFieldBuilder() { if (sinksBuilder_ == null) { sinksBuilder_ = - new com.google.protobuf.RepeatedFieldBuilder< + new com.google.protobuf.RepeatedFieldBuilderV3< com.google.logging.v2.LogSink, com.google.logging.v2.LogSink.Builder, com.google.logging.v2.LogSinkOrBuilder>( @@ -1064,6 +1090,17 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { return this; } + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:google.logging.v2.ListSinksResponse) } 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 07f5bacf7..67ab169e6 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 @@ -14,13 +14,11 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; -@com.google.protobuf.Generated public interface ListSinksResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.ListSinksResponse) 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 43c53bfb9..51bc472ec 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 @@ -14,10 +14,9 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -29,25 +28,14 @@ * * Protobuf type {@code google.logging.v2.ListViewsRequest} */ -@com.google.protobuf.Generated -public final class ListViewsRequest extends com.google.protobuf.GeneratedMessage +public final class ListViewsRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.logging.v2.ListViewsRequest) ListViewsRequestOrBuilder { private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 0, - /* suffix= */ "", - "ListViewsRequest"); - } - // Use ListViewsRequest.newBuilder() to construct. - private ListViewsRequest(com.google.protobuf.GeneratedMessage.Builder builder) { + private ListViewsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } @@ -56,13 +44,19 @@ private ListViewsRequest() { pageToken_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ListViewsRequest(); + } + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_ListViewsRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_ListViewsRequest_fieldAccessorTable @@ -82,7 +76,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]"
+   *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -108,7 +102,7 @@ public java.lang.String getParent() { *
    * Required. The bucket whose views are to be listed:
    *
-   * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+   *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -223,11 +217,11 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, parent_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 2, pageToken_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, pageToken_); } if (pageSize_ != 0) { output.writeInt32(3, pageSize_); @@ -241,11 +235,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, parent_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(2, pageToken_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, pageToken_); } if (pageSize_ != 0) { size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); @@ -327,38 +321,38 @@ public static com.google.logging.v2.ListViewsRequest parseFrom( public static com.google.logging.v2.ListViewsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.ListViewsRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.ListViewsRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.ListViewsRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.ListViewsRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.ListViewsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } @@ -381,7 +375,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -395,7 +389,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder * * Protobuf type {@code google.logging.v2.ListViewsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.ListViewsRequest) com.google.logging.v2.ListViewsRequestOrBuilder { @@ -405,7 +399,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_ListViewsRequest_fieldAccessorTable @@ -417,7 +411,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.logging.v2.ListViewsRequest.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @@ -475,6 +469,39 @@ private void buildPartial0(com.google.logging.v2.ListViewsRequest result) { } } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.ListViewsRequest) { @@ -571,7 +598,7 @@ public Builder mergeFrom( *
      * Required. The bucket whose views are to be listed:
      *
-     * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+     *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -596,7 +623,7 @@ public java.lang.String getParent() { *
      * Required. The bucket whose views are to be listed:
      *
-     * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+     *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -621,7 +648,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]"
+     *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -645,7 +672,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]"
+     *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -665,7 +692,7 @@ public Builder clearParent() { *
      * Required. The bucket whose views are to be listed:
      *
-     * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+     *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -875,6 +902,17 @@ public Builder clearPageSize() { return this; } + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:google.logging.v2.ListViewsRequest) } 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 05922464f..5a41b97a9 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 @@ -14,13 +14,11 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; -@com.google.protobuf.Generated public interface ListViewsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.ListViewsRequest) @@ -32,7 +30,7 @@ public interface ListViewsRequestOrBuilder *
    * Required. The bucket whose views are to be listed:
    *
-   * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+   *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -47,7 +45,7 @@ public interface ListViewsRequestOrBuilder *
    * Required. The bucket whose views are to be listed:
    *
-   * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+   *     "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; 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 8f0b1985b..f88d9dcdd 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 @@ -14,10 +14,9 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -29,25 +28,14 @@ * * Protobuf type {@code google.logging.v2.ListViewsResponse} */ -@com.google.protobuf.Generated -public final class ListViewsResponse extends com.google.protobuf.GeneratedMessage +public final class ListViewsResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.logging.v2.ListViewsResponse) ListViewsResponseOrBuilder { private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 0, - /* suffix= */ "", - "ListViewsResponse"); - } - // Use ListViewsResponse.newBuilder() to construct. - private ListViewsResponse(com.google.protobuf.GeneratedMessage.Builder builder) { + private ListViewsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } @@ -56,13 +44,19 @@ private ListViewsResponse() { nextPageToken_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ListViewsResponse(); + } + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_ListViewsResponse_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_ListViewsResponse_fieldAccessorTable @@ -220,8 +214,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < views_.size(); i++) { output.writeMessage(1, views_.get(i)); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageToken_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 2, nextPageToken_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); } getUnknownFields().writeTo(output); } @@ -235,8 +229,8 @@ public int getSerializedSize() { for (int i = 0; i < views_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, views_.get(i)); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageToken_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(2, nextPageToken_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -314,38 +308,38 @@ public static com.google.logging.v2.ListViewsResponse parseFrom( public static com.google.logging.v2.ListViewsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.ListViewsResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.ListViewsResponse parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.ListViewsResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.ListViewsResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.ListViewsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } @@ -368,7 +362,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -382,7 +376,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder * * Protobuf type {@code google.logging.v2.ListViewsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.ListViewsResponse) com.google.logging.v2.ListViewsResponseOrBuilder { @@ -392,7 +386,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_ListViewsResponse_fieldAccessorTable @@ -404,7 +398,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.logging.v2.ListViewsResponse.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @@ -474,6 +468,39 @@ private void buildPartial0(com.google.logging.v2.ListViewsResponse result) { } } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.ListViewsResponse) { @@ -505,8 +532,8 @@ public Builder mergeFrom(com.google.logging.v2.ListViewsResponse other) { views_ = other.views_; bitField0_ = (bitField0_ & ~0x00000001); viewsBuilder_ = - com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders - ? internalGetViewsFieldBuilder() + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getViewsFieldBuilder() : null; } else { viewsBuilder_.addAllMessages(other.views_); @@ -591,7 +618,7 @@ private void ensureViewsIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilder< + private com.google.protobuf.RepeatedFieldBuilderV3< com.google.logging.v2.LogView, com.google.logging.v2.LogView.Builder, com.google.logging.v2.LogViewOrBuilder> @@ -847,7 +874,7 @@ public Builder removeViews(int index) { * repeated .google.logging.v2.LogView views = 1; */ public com.google.logging.v2.LogView.Builder getViewsBuilder(int index) { - return internalGetViewsFieldBuilder().getBuilder(index); + return getViewsFieldBuilder().getBuilder(index); } /** @@ -895,8 +922,7 @@ public com.google.logging.v2.LogViewOrBuilder getViewsOrBuilder(int index) { * repeated .google.logging.v2.LogView views = 1; */ public com.google.logging.v2.LogView.Builder addViewsBuilder() { - return internalGetViewsFieldBuilder() - .addBuilder(com.google.logging.v2.LogView.getDefaultInstance()); + return getViewsFieldBuilder().addBuilder(com.google.logging.v2.LogView.getDefaultInstance()); } /** @@ -909,7 +935,7 @@ public com.google.logging.v2.LogView.Builder addViewsBuilder() { * repeated .google.logging.v2.LogView views = 1; */ public com.google.logging.v2.LogView.Builder addViewsBuilder(int index) { - return internalGetViewsFieldBuilder() + return getViewsFieldBuilder() .addBuilder(index, com.google.logging.v2.LogView.getDefaultInstance()); } @@ -923,17 +949,17 @@ public com.google.logging.v2.LogView.Builder addViewsBuilder(int index) { * repeated .google.logging.v2.LogView views = 1; */ public java.util.List getViewsBuilderList() { - return internalGetViewsFieldBuilder().getBuilderList(); + return getViewsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilder< + private com.google.protobuf.RepeatedFieldBuilderV3< com.google.logging.v2.LogView, com.google.logging.v2.LogView.Builder, com.google.logging.v2.LogViewOrBuilder> - internalGetViewsFieldBuilder() { + getViewsFieldBuilder() { if (viewsBuilder_ == null) { viewsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilder< + new com.google.protobuf.RepeatedFieldBuilderV3< com.google.logging.v2.LogView, com.google.logging.v2.LogView.Builder, com.google.logging.v2.LogViewOrBuilder>( @@ -1064,6 +1090,17 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { return this; } + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:google.logging.v2.ListViewsResponse) } 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 eeb8ae332..e92cc9bff 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 @@ -14,13 +14,11 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; -@com.google.protobuf.Generated public interface ListViewsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.ListViewsResponse) 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 d35cebaa0..173617fe0 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 @@ -14,10 +14,9 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -29,37 +28,32 @@ * * Protobuf type {@code google.logging.v2.LocationMetadata} */ -@com.google.protobuf.Generated -public final class LocationMetadata extends com.google.protobuf.GeneratedMessage +public final class LocationMetadata extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.logging.v2.LocationMetadata) LocationMetadataOrBuilder { private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 0, - /* suffix= */ "", - "LocationMetadata"); - } - // Use LocationMetadata.newBuilder() to construct. - private LocationMetadata(com.google.protobuf.GeneratedMessage.Builder builder) { + private LocationMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private LocationMetadata() {} + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new LocationMetadata(); + } + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_LocationMetadata_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_LocationMetadata_fieldAccessorTable @@ -188,38 +182,38 @@ public static com.google.logging.v2.LocationMetadata parseFrom( public static com.google.logging.v2.LocationMetadata parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.LocationMetadata parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.LocationMetadata parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.LocationMetadata parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.LocationMetadata parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.LocationMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } @@ -242,7 +236,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -256,7 +250,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder * * Protobuf type {@code google.logging.v2.LocationMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.LocationMetadata) com.google.logging.v2.LocationMetadataOrBuilder { @@ -266,7 +260,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_LocationMetadata_fieldAccessorTable @@ -278,7 +272,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.logging.v2.LocationMetadata.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @@ -328,6 +322,39 @@ private void buildPartial0(com.google.logging.v2.LocationMetadata result) { } } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.LocationMetadata) { @@ -453,6 +480,17 @@ public Builder clearLogAnalyticsEnabled() { return this; } + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:google.logging.v2.LocationMetadata) } 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 e7e612fc9..647e059da 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 @@ -14,13 +14,11 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; -@com.google.protobuf.Generated public interface LocationMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.LocationMetadata) 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 1edb2956a..9a1edfda4 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 @@ -14,10 +14,9 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -29,25 +28,14 @@ * * Protobuf type {@code google.logging.v2.LogBucket} */ -@com.google.protobuf.Generated -public final class LogBucket extends com.google.protobuf.GeneratedMessage +public final class LogBucket extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.logging.v2.LogBucket) LogBucketOrBuilder { private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 0, - /* suffix= */ "", - "LogBucket"); - } - // Use LogBucket.newBuilder() to construct. - private LogBucket(com.google.protobuf.GeneratedMessage.Builder builder) { + private LogBucket(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } @@ -59,13 +47,19 @@ private LogBucket() { indexConfigs_ = java.util.Collections.emptyList(); } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new LogBucket(); + } + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_LogBucket_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_LogBucket_fieldAccessorTable @@ -87,7 +81,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * For example: * - * `projects/my-project/locations/global/buckets/my-bucket` + * `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) @@ -123,7 +117,7 @@ public java.lang.String getName() { * * For example: * - * `projects/my-project/locations/global/buckets/my-bucket` + * `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) @@ -664,11 +658,11 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 3, description_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, description_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(4, getCreateTime()); @@ -690,7 +684,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeBool(14, analyticsEnabled_); } for (int i = 0; i < restrictedFields_.size(); i++) { - com.google.protobuf.GeneratedMessage.writeString(output, 15, restrictedFields_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString(output, 15, restrictedFields_.getRaw(i)); } for (int i = 0; i < indexConfigs_.size(); i++) { output.writeMessage(17, indexConfigs_.get(i)); @@ -707,11 +701,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(3, description_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCreateTime()); @@ -865,38 +859,38 @@ public static com.google.logging.v2.LogBucket parseFrom( public static com.google.logging.v2.LogBucket parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.LogBucket parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.LogBucket parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.LogBucket parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.LogBucket parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.LogBucket parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } @@ -919,7 +913,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -933,7 +927,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder * * Protobuf type {@code google.logging.v2.LogBucket} */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.LogBucket) com.google.logging.v2.LogBucketOrBuilder { @@ -943,7 +937,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_LogBucket_fieldAccessorTable @@ -956,17 +950,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { - internalGetCreateTimeFieldBuilder(); - internalGetUpdateTimeFieldBuilder(); - internalGetIndexConfigsFieldBuilder(); - internalGetCmekSettingsFieldBuilder(); + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getCreateTimeFieldBuilder(); + getUpdateTimeFieldBuilder(); + getIndexConfigsFieldBuilder(); + getCmekSettingsFieldBuilder(); } } @@ -1090,6 +1084,39 @@ private void buildPartial0(com.google.logging.v2.LogBucket result) { result.bitField0_ |= to_bitField0_; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.LogBucket) { @@ -1159,8 +1186,8 @@ public Builder mergeFrom(com.google.logging.v2.LogBucket other) { indexConfigs_ = other.indexConfigs_; bitField0_ = (bitField0_ & ~0x00000200); indexConfigsBuilder_ = - com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders - ? internalGetIndexConfigsFieldBuilder() + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getIndexConfigsFieldBuilder() : null; } else { indexConfigsBuilder_.addAllMessages(other.indexConfigs_); @@ -1210,15 +1237,13 @@ public Builder mergeFrom( } // case 26 case 34: { - input.readMessage( - internalGetCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 34 case 42: { - input.readMessage( - internalGetUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000008; break; } // case 42 @@ -1268,8 +1293,7 @@ public Builder mergeFrom( } // case 138 case 154: { - input.readMessage( - internalGetCmekSettingsFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage(getCmekSettingsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000400; break; } // case 154 @@ -1302,7 +1326,7 @@ public Builder mergeFrom( * * For example: * - * `projects/my-project/locations/global/buckets/my-bucket` + * `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) @@ -1337,7 +1361,7 @@ public java.lang.String getName() { * * For example: * - * `projects/my-project/locations/global/buckets/my-bucket` + * `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) @@ -1372,7 +1396,7 @@ public com.google.protobuf.ByteString getNameBytes() { * * For example: * - * `projects/my-project/locations/global/buckets/my-bucket` + * `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) @@ -1406,7 +1430,7 @@ public Builder setName(java.lang.String value) { * * For example: * - * `projects/my-project/locations/global/buckets/my-bucket` + * `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) @@ -1436,7 +1460,7 @@ public Builder clearName() { * * For example: * - * `projects/my-project/locations/global/buckets/my-bucket` + * `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) @@ -1575,7 +1599,7 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { } private com.google.protobuf.Timestamp createTime_; - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> @@ -1741,7 +1765,7 @@ public Builder clearCreateTime() { public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000004; onChanged(); - return internalGetCreateTimeFieldBuilder().getBuilder(); + return getCreateTimeFieldBuilder().getBuilder(); } /** @@ -1778,14 +1802,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; *
*/ - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> - internalGetCreateTimeFieldBuilder() { + getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilder< + new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( @@ -1796,7 +1820,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { } private com.google.protobuf.Timestamp updateTime_; - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> @@ -1955,7 +1979,7 @@ public Builder clearUpdateTime() { public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000008; onChanged(); - return internalGetUpdateTimeFieldBuilder().getBuilder(); + return getUpdateTimeFieldBuilder().getBuilder(); } /** @@ -1990,14 +2014,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; *
*/ - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> - internalGetUpdateTimeFieldBuilder() { + getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilder< + new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( @@ -2551,7 +2575,7 @@ private void ensureIndexConfigsIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilder< + private com.google.protobuf.RepeatedFieldBuilderV3< com.google.logging.v2.IndexConfig, com.google.logging.v2.IndexConfig.Builder, com.google.logging.v2.IndexConfigOrBuilder> @@ -2810,7 +2834,7 @@ public Builder removeIndexConfigs(int index) { * repeated .google.logging.v2.IndexConfig index_configs = 17; */ public com.google.logging.v2.IndexConfig.Builder getIndexConfigsBuilder(int index) { - return internalGetIndexConfigsFieldBuilder().getBuilder(index); + return getIndexConfigsFieldBuilder().getBuilder(index); } /** @@ -2858,7 +2882,7 @@ public com.google.logging.v2.IndexConfigOrBuilder getIndexConfigsOrBuilder(int i * repeated .google.logging.v2.IndexConfig index_configs = 17; */ public com.google.logging.v2.IndexConfig.Builder addIndexConfigsBuilder() { - return internalGetIndexConfigsFieldBuilder() + return getIndexConfigsFieldBuilder() .addBuilder(com.google.logging.v2.IndexConfig.getDefaultInstance()); } @@ -2872,7 +2896,7 @@ public com.google.logging.v2.IndexConfig.Builder addIndexConfigsBuilder() { * repeated .google.logging.v2.IndexConfig index_configs = 17; */ public com.google.logging.v2.IndexConfig.Builder addIndexConfigsBuilder(int index) { - return internalGetIndexConfigsFieldBuilder() + return getIndexConfigsFieldBuilder() .addBuilder(index, com.google.logging.v2.IndexConfig.getDefaultInstance()); } @@ -2886,17 +2910,17 @@ public com.google.logging.v2.IndexConfig.Builder addIndexConfigsBuilder(int inde * repeated .google.logging.v2.IndexConfig index_configs = 17; */ public java.util.List getIndexConfigsBuilderList() { - return internalGetIndexConfigsFieldBuilder().getBuilderList(); + return getIndexConfigsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilder< + private com.google.protobuf.RepeatedFieldBuilderV3< com.google.logging.v2.IndexConfig, com.google.logging.v2.IndexConfig.Builder, com.google.logging.v2.IndexConfigOrBuilder> - internalGetIndexConfigsFieldBuilder() { + getIndexConfigsFieldBuilder() { if (indexConfigsBuilder_ == null) { indexConfigsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilder< + new com.google.protobuf.RepeatedFieldBuilderV3< com.google.logging.v2.IndexConfig, com.google.logging.v2.IndexConfig.Builder, com.google.logging.v2.IndexConfigOrBuilder>( @@ -2907,7 +2931,7 @@ public java.util.List getIndexConfigs } private com.google.logging.v2.CmekSettings cmekSettings_; - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.logging.v2.CmekSettings, com.google.logging.v2.CmekSettings.Builder, com.google.logging.v2.CmekSettingsOrBuilder> @@ -3080,7 +3104,7 @@ public Builder clearCmekSettings() { public com.google.logging.v2.CmekSettings.Builder getCmekSettingsBuilder() { bitField0_ |= 0x00000400; onChanged(); - return internalGetCmekSettingsFieldBuilder().getBuilder(); + return getCmekSettingsFieldBuilder().getBuilder(); } /** @@ -3119,14 +3143,14 @@ public com.google.logging.v2.CmekSettingsOrBuilder getCmekSettingsOrBuilder() { * * .google.logging.v2.CmekSettings cmek_settings = 19; */ - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.logging.v2.CmekSettings, com.google.logging.v2.CmekSettings.Builder, com.google.logging.v2.CmekSettingsOrBuilder> - internalGetCmekSettingsFieldBuilder() { + getCmekSettingsFieldBuilder() { if (cmekSettingsBuilder_ == null) { cmekSettingsBuilder_ = - new com.google.protobuf.SingleFieldBuilder< + new com.google.protobuf.SingleFieldBuilderV3< com.google.logging.v2.CmekSettings, com.google.logging.v2.CmekSettings.Builder, com.google.logging.v2.CmekSettingsOrBuilder>( @@ -3136,6 +3160,17 @@ public com.google.logging.v2.CmekSettingsOrBuilder getCmekSettingsOrBuilder() { return cmekSettingsBuilder_; } + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:google.logging.v2.LogBucket) } 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 31cc19c1c..6928c0711 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 @@ -14,13 +14,11 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; -@com.google.protobuf.Generated public interface LogBucketOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.LogBucket) @@ -34,7 +32,7 @@ public interface LogBucketOrBuilder * * For example: * - * `projects/my-project/locations/global/buckets/my-bucket` + * `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) @@ -59,7 +57,7 @@ public interface LogBucketOrBuilder * * For example: * - * `projects/my-project/locations/global/buckets/my-bucket` + * `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) 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 3f7906397..3fc60942b 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 @@ -14,10 +14,9 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/log_entry.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -29,25 +28,14 @@ * * Protobuf type {@code google.logging.v2.LogEntry} */ -@com.google.protobuf.Generated -public final class LogEntry extends com.google.protobuf.GeneratedMessage +public final class LogEntry extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.logging.v2.LogEntry) LogEntryOrBuilder { private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 0, - /* suffix= */ "", - "LogEntry"); - } - // Use LogEntry.newBuilder() to construct. - private LogEntry(com.google.protobuf.GeneratedMessage.Builder builder) { + private LogEntry(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } @@ -59,6 +47,12 @@ private LogEntry() { spanId_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new LogEntry(); + } + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LogEntryProto .internal_static_google_logging_v2_LogEntry_descriptor; @@ -77,7 +71,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LogEntryProto .internal_static_google_logging_v2_LogEntry_fieldAccessorTable @@ -150,10 +144,10 @@ 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]"
+   *     "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`
@@ -196,10 +190,10 @@ 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]"
+   *     "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`
@@ -312,8 +306,8 @@ public com.google.api.MonitoredResourceOrBuilder getResourceOrBuilder() {
    * 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"
+   *   "type.googleapis.com/google.cloud.audit.AuditLog"
+   *   "type.googleapis.com/google.appengine.logging.v1.RequestLog"
    * 
* * .google.protobuf.Any proto_payload = 2; @@ -335,8 +329,8 @@ public boolean hasProtoPayload() { * 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" + * "type.googleapis.com/google.cloud.audit.AuditLog" + * "type.googleapis.com/google.appengine.logging.v1.RequestLog" *
* * .google.protobuf.Any proto_payload = 2; @@ -361,8 +355,8 @@ public com.google.protobuf.Any getProtoPayload() { * 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" + * "type.googleapis.com/google.cloud.audit.AuditLog" + * "type.googleapis.com/google.appengine.logging.v1.RequestLog" *
* * .google.protobuf.Any proto_payload = 2; @@ -1150,10 +1144,10 @@ public com.google.protobuf.ByteString getTraceBytes() { * * Example values: * - * - `000000000000004a` - * - `7a2190356c3fc94b` - * - `0000f00300090021` - * - `d39223e101960076` + * - `000000000000004a` + * - `7a2190356c3fc94b` + * - `0000f00300090021` + * - `d39223e101960076` *
* * string span_id = 27 [(.google.api.field_behavior) = OPTIONAL]; @@ -1203,10 +1197,10 @@ public java.lang.String getSpanId() { * * Example values: * - * - `000000000000004a` - * - `7a2190356c3fc94b` - * - `0000f00300090021` - * - `d39223e101960076` + * - `000000000000004a` + * - `7a2190356c3fc94b` + * - `0000f00300090021` + * - `d39223e101960076` *
* * string span_id = 27 [(.google.api.field_behavior) = OPTIONAL]; @@ -1383,10 +1377,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeMessage(2, (com.google.protobuf.Any) payload_); } if (payloadCase_ == 3) { - com.google.protobuf.GeneratedMessage.writeString(output, 3, payload_); + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, payload_); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(insertId_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 4, insertId_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(insertId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, insertId_); } if (payloadCase_ == 6) { output.writeMessage(6, (com.google.protobuf.Struct) payload_); @@ -1403,16 +1397,16 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (severity_ != com.google.logging.type.LogSeverity.DEFAULT.getNumber()) { output.writeEnum(10, severity_); } - com.google.protobuf.GeneratedMessage.serializeStringMapTo( + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 11); - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(logName_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 12, logName_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(logName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 12, logName_); } if (((bitField0_ & 0x00000010) != 0)) { output.writeMessage(15, getOperation()); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(trace_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 22, trace_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(trace_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 22, trace_); } if (((bitField0_ & 0x00000020) != 0)) { output.writeMessage(23, getSourceLocation()); @@ -1420,8 +1414,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(24, getReceiveTimestamp()); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(spanId_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 27, spanId_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(spanId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 27, spanId_); } if (traceSampled_ != false) { output.writeBool(30, traceSampled_); @@ -1444,10 +1438,10 @@ public int getSerializedSize() { 2, (com.google.protobuf.Any) payload_); } if (payloadCase_ == 3) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(3, payload_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, payload_); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(insertId_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(4, insertId_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(insertId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, insertId_); } if (payloadCase_ == 6) { size += @@ -1476,14 +1470,14 @@ public int getSerializedSize() { .build(); size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, labels__); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(logName_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(12, logName_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(logName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, logName_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(15, getOperation()); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(trace_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(22, trace_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(trace_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(22, trace_); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(23, getSourceLocation()); @@ -1491,8 +1485,8 @@ public int getSerializedSize() { if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(24, getReceiveTimestamp()); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(spanId_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(27, spanId_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(spanId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(27, spanId_); } if (traceSampled_ != false) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(30, traceSampled_); @@ -1676,38 +1670,38 @@ public static com.google.logging.v2.LogEntry parseFrom( public static com.google.logging.v2.LogEntry parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.LogEntry parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.LogEntry parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.LogEntry parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.LogEntry parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.LogEntry parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } @@ -1730,7 +1724,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -1744,7 +1738,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder * * Protobuf type {@code google.logging.v2.LogEntry} */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.LogEntry) com.google.logging.v2.LogEntryOrBuilder { @@ -1776,7 +1770,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LogEntryProto .internal_static_google_logging_v2_LogEntry_fieldAccessorTable @@ -1789,20 +1783,20 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { - internalGetResourceFieldBuilder(); - internalGetTimestampFieldBuilder(); - internalGetReceiveTimestampFieldBuilder(); - internalGetHttpRequestFieldBuilder(); - internalGetOperationFieldBuilder(); - internalGetSourceLocationFieldBuilder(); - internalGetSplitFieldBuilder(); + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getResourceFieldBuilder(); + getTimestampFieldBuilder(); + getReceiveTimestampFieldBuilder(); + getHttpRequestFieldBuilder(); + getOperationFieldBuilder(); + getSourceLocationFieldBuilder(); + getSplitFieldBuilder(); } } @@ -1964,6 +1958,39 @@ private void buildPartialOneofs(com.google.logging.v2.LogEntry result) { } } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.LogEntry) { @@ -2076,8 +2103,7 @@ public Builder mergeFrom( break; case 18: { - input.readMessage( - internalGetProtoPayloadFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage(getProtoPayloadFieldBuilder().getBuilder(), extensionRegistry); payloadCase_ = 2; break; } // case 18 @@ -2096,29 +2122,25 @@ public Builder mergeFrom( } // case 34 case 50: { - input.readMessage( - internalGetJsonPayloadFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage(getJsonPayloadFieldBuilder().getBuilder(), extensionRegistry); payloadCase_ = 6; break; } // case 50 case 58: { - input.readMessage( - internalGetHttpRequestFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage(getHttpRequestFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000200; break; } // case 58 case 66: { - input.readMessage( - internalGetResourceFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage(getResourceFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 66 case 74: { - input.readMessage( - internalGetTimestampFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage(getTimestampFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000020; break; } // case 74 @@ -2148,8 +2170,7 @@ public Builder mergeFrom( } // case 98 case 122: { - input.readMessage( - internalGetOperationFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage(getOperationFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000800; break; } // case 122 @@ -2161,15 +2182,14 @@ public Builder mergeFrom( } // case 178 case 186: { - input.readMessage( - internalGetSourceLocationFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage(getSourceLocationFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00008000; break; } // case 186 case 194: { input.readMessage( - internalGetReceiveTimestampFieldBuilder().getBuilder(), extensionRegistry); + getReceiveTimestampFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000040; break; } // case 194 @@ -2187,7 +2207,7 @@ public Builder mergeFrom( } // case 240 case 282: { - input.readMessage(internalGetSplitFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage(getSplitFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00010000; break; } // case 282 @@ -2232,10 +2252,10 @@ public Builder clearPayload() { *
      * 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]"
+     *     "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`
@@ -2277,10 +2297,10 @@ 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]"
+     *     "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`
@@ -2322,10 +2342,10 @@ public com.google.protobuf.ByteString getLogNameBytes() {
      * 
      * 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]"
+     *     "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`
@@ -2366,10 +2386,10 @@ public Builder setLogName(java.lang.String value) {
      * 
      * 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]"
+     *     "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`
@@ -2406,10 +2426,10 @@ public Builder clearLogName() {
      * 
      * 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]"
+     *     "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`
@@ -2446,7 +2466,7 @@ public Builder setLogNameBytes(com.google.protobuf.ByteString value) {
     }
 
     private com.google.api.MonitoredResource resource_;
-    private com.google.protobuf.SingleFieldBuilder<
+    private com.google.protobuf.SingleFieldBuilderV3<
             com.google.api.MonitoredResource,
             com.google.api.MonitoredResource.Builder,
             com.google.api.MonitoredResourceOrBuilder>
@@ -2626,7 +2646,7 @@ public Builder clearResource() {
     public com.google.api.MonitoredResource.Builder getResourceBuilder() {
       bitField0_ |= 0x00000002;
       onChanged();
-      return internalGetResourceFieldBuilder().getBuilder();
+      return getResourceFieldBuilder().getBuilder();
     }
 
     /**
@@ -2667,14 +2687,14 @@ public com.google.api.MonitoredResourceOrBuilder getResourceOrBuilder() {
      * .google.api.MonitoredResource resource = 8 [(.google.api.field_behavior) = REQUIRED];
      * 
      */
-    private com.google.protobuf.SingleFieldBuilder<
+    private com.google.protobuf.SingleFieldBuilderV3<
             com.google.api.MonitoredResource,
             com.google.api.MonitoredResource.Builder,
             com.google.api.MonitoredResourceOrBuilder>
-        internalGetResourceFieldBuilder() {
+        getResourceFieldBuilder() {
       if (resourceBuilder_ == null) {
         resourceBuilder_ =
-            new com.google.protobuf.SingleFieldBuilder<
+            new com.google.protobuf.SingleFieldBuilderV3<
                 com.google.api.MonitoredResource,
                 com.google.api.MonitoredResource.Builder,
                 com.google.api.MonitoredResourceOrBuilder>(
@@ -2684,7 +2704,7 @@ public com.google.api.MonitoredResourceOrBuilder getResourceOrBuilder() {
       return resourceBuilder_;
     }
 
-    private com.google.protobuf.SingleFieldBuilder<
+    private com.google.protobuf.SingleFieldBuilderV3<
             com.google.protobuf.Any,
             com.google.protobuf.Any.Builder,
             com.google.protobuf.AnyOrBuilder>
@@ -2700,8 +2720,8 @@ public com.google.api.MonitoredResourceOrBuilder getResourceOrBuilder() {
      * 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"
+     *   "type.googleapis.com/google.cloud.audit.AuditLog"
+     *   "type.googleapis.com/google.appengine.logging.v1.RequestLog"
      * 
* * .google.protobuf.Any proto_payload = 2; @@ -2723,8 +2743,8 @@ public boolean hasProtoPayload() { * 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" + * "type.googleapis.com/google.cloud.audit.AuditLog" + * "type.googleapis.com/google.appengine.logging.v1.RequestLog" *
* * .google.protobuf.Any proto_payload = 2; @@ -2756,8 +2776,8 @@ public com.google.protobuf.Any getProtoPayload() { * 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" + * "type.googleapis.com/google.cloud.audit.AuditLog" + * "type.googleapis.com/google.appengine.logging.v1.RequestLog" *
* * .google.protobuf.Any proto_payload = 2; @@ -2786,8 +2806,8 @@ public Builder setProtoPayload(com.google.protobuf.Any value) { * 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" + * "type.googleapis.com/google.cloud.audit.AuditLog" + * "type.googleapis.com/google.appengine.logging.v1.RequestLog" *
* * .google.protobuf.Any proto_payload = 2; @@ -2813,8 +2833,8 @@ public Builder setProtoPayload(com.google.protobuf.Any.Builder builderForValue) * 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" + * "type.googleapis.com/google.cloud.audit.AuditLog" + * "type.googleapis.com/google.appengine.logging.v1.RequestLog" *
* * .google.protobuf.Any proto_payload = 2; @@ -2851,8 +2871,8 @@ public Builder mergeProtoPayload(com.google.protobuf.Any value) { * 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" + * "type.googleapis.com/google.cloud.audit.AuditLog" + * "type.googleapis.com/google.appengine.logging.v1.RequestLog" *
* * .google.protobuf.Any proto_payload = 2; @@ -2884,14 +2904,14 @@ public Builder clearProtoPayload() { * 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" + * "type.googleapis.com/google.cloud.audit.AuditLog" + * "type.googleapis.com/google.appengine.logging.v1.RequestLog" *
* * .google.protobuf.Any proto_payload = 2; */ public com.google.protobuf.Any.Builder getProtoPayloadBuilder() { - return internalGetProtoPayloadFieldBuilder().getBuilder(); + return getProtoPayloadFieldBuilder().getBuilder(); } /** @@ -2904,8 +2924,8 @@ public com.google.protobuf.Any.Builder getProtoPayloadBuilder() { * 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" + * "type.googleapis.com/google.cloud.audit.AuditLog" + * "type.googleapis.com/google.appengine.logging.v1.RequestLog" *
* * .google.protobuf.Any proto_payload = 2; @@ -2932,23 +2952,23 @@ public com.google.protobuf.AnyOrBuilder getProtoPayloadOrBuilder() { * 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" + * "type.googleapis.com/google.cloud.audit.AuditLog" + * "type.googleapis.com/google.appengine.logging.v1.RequestLog" *
* * .google.protobuf.Any proto_payload = 2; */ - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> - internalGetProtoPayloadFieldBuilder() { + getProtoPayloadFieldBuilder() { if (protoPayloadBuilder_ == null) { if (!(payloadCase_ == 2)) { payload_ = com.google.protobuf.Any.getDefaultInstance(); } protoPayloadBuilder_ = - new com.google.protobuf.SingleFieldBuilder< + new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder>( @@ -3099,7 +3119,7 @@ public Builder setTextPayloadBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> @@ -3264,7 +3284,7 @@ public Builder clearJsonPayload() { * .google.protobuf.Struct json_payload = 6; */ public com.google.protobuf.Struct.Builder getJsonPayloadBuilder() { - return internalGetJsonPayloadFieldBuilder().getBuilder(); + return getJsonPayloadFieldBuilder().getBuilder(); } /** @@ -3299,17 +3319,17 @@ public com.google.protobuf.StructOrBuilder getJsonPayloadOrBuilder() { * * .google.protobuf.Struct json_payload = 6; */ - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> - internalGetJsonPayloadFieldBuilder() { + getJsonPayloadFieldBuilder() { if (jsonPayloadBuilder_ == null) { if (!(payloadCase_ == 6)) { payload_ = com.google.protobuf.Struct.getDefaultInstance(); } jsonPayloadBuilder_ = - new com.google.protobuf.SingleFieldBuilder< + new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>( @@ -3322,7 +3342,7 @@ public com.google.protobuf.StructOrBuilder getJsonPayloadOrBuilder() { } private com.google.protobuf.Timestamp timestamp_; - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> @@ -3549,7 +3569,7 @@ public Builder clearTimestamp() { public com.google.protobuf.Timestamp.Builder getTimestampBuilder() { bitField0_ |= 0x00000020; onChanged(); - return internalGetTimestampFieldBuilder().getBuilder(); + return getTimestampFieldBuilder().getBuilder(); } /** @@ -3602,14 +3622,14 @@ public com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder() { * .google.protobuf.Timestamp timestamp = 9 [(.google.api.field_behavior) = OPTIONAL]; * */ - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> - internalGetTimestampFieldBuilder() { + getTimestampFieldBuilder() { if (timestampBuilder_ == null) { timestampBuilder_ = - new com.google.protobuf.SingleFieldBuilder< + new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( @@ -3620,7 +3640,7 @@ public com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder() { } private com.google.protobuf.Timestamp receiveTimestamp_; - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> @@ -3779,7 +3799,7 @@ public Builder clearReceiveTimestamp() { public com.google.protobuf.Timestamp.Builder getReceiveTimestampBuilder() { bitField0_ |= 0x00000040; onChanged(); - return internalGetReceiveTimestampFieldBuilder().getBuilder(); + return getReceiveTimestampFieldBuilder().getBuilder(); } /** @@ -3814,14 +3834,14 @@ public com.google.protobuf.TimestampOrBuilder getReceiveTimestampOrBuilder() { * .google.protobuf.Timestamp receive_timestamp = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> - internalGetReceiveTimestampFieldBuilder() { + getReceiveTimestampFieldBuilder() { if (receiveTimestampBuilder_ == null) { receiveTimestampBuilder_ = - new com.google.protobuf.SingleFieldBuilder< + new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( @@ -4103,7 +4123,7 @@ public Builder setInsertIdBytes(com.google.protobuf.ByteString value) { } private com.google.logging.type.HttpRequest httpRequest_; - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.logging.type.HttpRequest, com.google.logging.type.HttpRequest.Builder, com.google.logging.type.HttpRequestOrBuilder> @@ -4269,7 +4289,7 @@ public Builder clearHttpRequest() { public com.google.logging.type.HttpRequest.Builder getHttpRequestBuilder() { bitField0_ |= 0x00000200; onChanged(); - return internalGetHttpRequestFieldBuilder().getBuilder(); + return getHttpRequestFieldBuilder().getBuilder(); } /** @@ -4306,14 +4326,14 @@ public com.google.logging.type.HttpRequestOrBuilder getHttpRequestOrBuilder() { * .google.logging.type.HttpRequest http_request = 7 [(.google.api.field_behavior) = OPTIONAL]; * */ - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.logging.type.HttpRequest, com.google.logging.type.HttpRequest.Builder, com.google.logging.type.HttpRequestOrBuilder> - internalGetHttpRequestFieldBuilder() { + getHttpRequestFieldBuilder() { if (httpRequestBuilder_ == null) { httpRequestBuilder_ = - new com.google.protobuf.SingleFieldBuilder< + new com.google.protobuf.SingleFieldBuilderV3< com.google.logging.type.HttpRequest, com.google.logging.type.HttpRequest.Builder, com.google.logging.type.HttpRequestOrBuilder>( @@ -4587,7 +4607,7 @@ public Builder putAllLabels(java.util.Map va } private com.google.logging.v2.LogEntryOperation operation_; - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.logging.v2.LogEntryOperation, com.google.logging.v2.LogEntryOperation.Builder, com.google.logging.v2.LogEntryOperationOrBuilder> @@ -4753,7 +4773,7 @@ public Builder clearOperation() { public com.google.logging.v2.LogEntryOperation.Builder getOperationBuilder() { bitField0_ |= 0x00000800; onChanged(); - return internalGetOperationFieldBuilder().getBuilder(); + return getOperationFieldBuilder().getBuilder(); } /** @@ -4790,14 +4810,14 @@ public com.google.logging.v2.LogEntryOperationOrBuilder getOperationOrBuilder() * .google.logging.v2.LogEntryOperation operation = 15 [(.google.api.field_behavior) = OPTIONAL]; * */ - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.logging.v2.LogEntryOperation, com.google.logging.v2.LogEntryOperation.Builder, com.google.logging.v2.LogEntryOperationOrBuilder> - internalGetOperationFieldBuilder() { + getOperationFieldBuilder() { if (operationBuilder_ == null) { operationBuilder_ = - new com.google.protobuf.SingleFieldBuilder< + new com.google.protobuf.SingleFieldBuilderV3< com.google.logging.v2.LogEntryOperation, com.google.logging.v2.LogEntryOperation.Builder, com.google.logging.v2.LogEntryOperationOrBuilder>( @@ -4990,10 +5010,10 @@ public Builder setTraceBytes(com.google.protobuf.ByteString value) { * * Example values: * - * - `000000000000004a` - * - `7a2190356c3fc94b` - * - `0000f00300090021` - * - `d39223e101960076` + * - `000000000000004a` + * - `7a2190356c3fc94b` + * - `0000f00300090021` + * - `d39223e101960076` *
* * string span_id = 27 [(.google.api.field_behavior) = OPTIONAL]; @@ -5042,10 +5062,10 @@ public java.lang.String getSpanId() { * * Example values: * - * - `000000000000004a` - * - `7a2190356c3fc94b` - * - `0000f00300090021` - * - `d39223e101960076` + * - `000000000000004a` + * - `7a2190356c3fc94b` + * - `0000f00300090021` + * - `d39223e101960076` *
* * string span_id = 27 [(.google.api.field_behavior) = OPTIONAL]; @@ -5094,10 +5114,10 @@ public com.google.protobuf.ByteString getSpanIdBytes() { * * Example values: * - * - `000000000000004a` - * - `7a2190356c3fc94b` - * - `0000f00300090021` - * - `d39223e101960076` + * - `000000000000004a` + * - `7a2190356c3fc94b` + * - `0000f00300090021` + * - `d39223e101960076` *
* * string span_id = 27 [(.google.api.field_behavior) = OPTIONAL]; @@ -5145,10 +5165,10 @@ public Builder setSpanId(java.lang.String value) { * * Example values: * - * - `000000000000004a` - * - `7a2190356c3fc94b` - * - `0000f00300090021` - * - `d39223e101960076` + * - `000000000000004a` + * - `7a2190356c3fc94b` + * - `0000f00300090021` + * - `d39223e101960076` *
* * string span_id = 27 [(.google.api.field_behavior) = OPTIONAL]; @@ -5192,10 +5212,10 @@ public Builder clearSpanId() { * * Example values: * - * - `000000000000004a` - * - `7a2190356c3fc94b` - * - `0000f00300090021` - * - `d39223e101960076` + * - `000000000000004a` + * - `7a2190356c3fc94b` + * - `0000f00300090021` + * - `d39223e101960076` *
* * string span_id = 27 [(.google.api.field_behavior) = OPTIONAL]; @@ -5289,7 +5309,7 @@ public Builder clearTraceSampled() { } private com.google.logging.v2.LogEntrySourceLocation sourceLocation_; - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.logging.v2.LogEntrySourceLocation, com.google.logging.v2.LogEntrySourceLocation.Builder, com.google.logging.v2.LogEntrySourceLocationOrBuilder> @@ -5457,7 +5477,7 @@ public Builder clearSourceLocation() { public com.google.logging.v2.LogEntrySourceLocation.Builder getSourceLocationBuilder() { bitField0_ |= 0x00008000; onChanged(); - return internalGetSourceLocationFieldBuilder().getBuilder(); + return getSourceLocationFieldBuilder().getBuilder(); } /** @@ -5494,14 +5514,14 @@ public com.google.logging.v2.LogEntrySourceLocationOrBuilder getSourceLocationOr * .google.logging.v2.LogEntrySourceLocation source_location = 23 [(.google.api.field_behavior) = OPTIONAL]; * */ - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.logging.v2.LogEntrySourceLocation, com.google.logging.v2.LogEntrySourceLocation.Builder, com.google.logging.v2.LogEntrySourceLocationOrBuilder> - internalGetSourceLocationFieldBuilder() { + getSourceLocationFieldBuilder() { if (sourceLocationBuilder_ == null) { sourceLocationBuilder_ = - new com.google.protobuf.SingleFieldBuilder< + new com.google.protobuf.SingleFieldBuilderV3< com.google.logging.v2.LogEntrySourceLocation, com.google.logging.v2.LogEntrySourceLocation.Builder, com.google.logging.v2.LogEntrySourceLocationOrBuilder>( @@ -5512,7 +5532,7 @@ public com.google.logging.v2.LogEntrySourceLocationOrBuilder getSourceLocationOr } private com.google.logging.v2.LogSplit split_; - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.logging.v2.LogSplit, com.google.logging.v2.LogSplit.Builder, com.google.logging.v2.LogSplitOrBuilder> @@ -5669,7 +5689,7 @@ public Builder clearSplit() { public com.google.logging.v2.LogSplit.Builder getSplitBuilder() { bitField0_ |= 0x00010000; onChanged(); - return internalGetSplitFieldBuilder().getBuilder(); + return getSplitFieldBuilder().getBuilder(); } /** @@ -5702,14 +5722,14 @@ public com.google.logging.v2.LogSplitOrBuilder getSplitOrBuilder() { * .google.logging.v2.LogSplit split = 35 [(.google.api.field_behavior) = OPTIONAL]; * */ - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.logging.v2.LogSplit, com.google.logging.v2.LogSplit.Builder, com.google.logging.v2.LogSplitOrBuilder> - internalGetSplitFieldBuilder() { + getSplitFieldBuilder() { if (splitBuilder_ == null) { splitBuilder_ = - new com.google.protobuf.SingleFieldBuilder< + new com.google.protobuf.SingleFieldBuilderV3< com.google.logging.v2.LogSplit, com.google.logging.v2.LogSplit.Builder, com.google.logging.v2.LogSplitOrBuilder>( @@ -5719,6 +5739,17 @@ public com.google.logging.v2.LogSplitOrBuilder getSplitOrBuilder() { return splitBuilder_; } + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:google.logging.v2.LogEntry) } diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOperation.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOperation.java index 8657c6a25..ccbbed3fc 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOperation.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOperation.java @@ -14,10 +14,9 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/log_entry.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -30,25 +29,14 @@ * * Protobuf type {@code google.logging.v2.LogEntryOperation} */ -@com.google.protobuf.Generated -public final class LogEntryOperation extends com.google.protobuf.GeneratedMessage +public final class LogEntryOperation extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.logging.v2.LogEntryOperation) LogEntryOperationOrBuilder { private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 0, - /* suffix= */ "", - "LogEntryOperation"); - } - // Use LogEntryOperation.newBuilder() to construct. - private LogEntryOperation(com.google.protobuf.GeneratedMessage.Builder builder) { + private LogEntryOperation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } @@ -57,13 +45,19 @@ private LogEntryOperation() { producer_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new LogEntryOperation(); + } + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LogEntryProto .internal_static_google_logging_v2_LogEntryOperation_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LogEntryProto .internal_static_google_logging_v2_LogEntryOperation_fieldAccessorTable @@ -236,11 +230,11 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(id_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, id_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(producer_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 2, producer_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(producer_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, producer_); } if (first_ != false) { output.writeBool(3, first_); @@ -257,11 +251,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(id_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, id_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(producer_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(2, producer_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(producer_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, producer_); } if (first_ != false) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, first_); @@ -349,38 +343,38 @@ public static com.google.logging.v2.LogEntryOperation parseFrom( public static com.google.logging.v2.LogEntryOperation parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.LogEntryOperation parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.LogEntryOperation parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.LogEntryOperation parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.LogEntryOperation parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.LogEntryOperation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } @@ -403,7 +397,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -418,7 +412,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder * * Protobuf type {@code google.logging.v2.LogEntryOperation} */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.LogEntryOperation) com.google.logging.v2.LogEntryOperationOrBuilder { @@ -428,7 +422,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LogEntryProto .internal_static_google_logging_v2_LogEntryOperation_fieldAccessorTable @@ -440,7 +434,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.logging.v2.LogEntryOperation.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @@ -502,6 +496,39 @@ private void buildPartial0(com.google.logging.v2.LogEntryOperation result) { } } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.LogEntryOperation) { @@ -948,6 +975,17 @@ public Builder clearLast() { return this; } + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:google.logging.v2.LogEntryOperation) } diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOperationOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOperationOrBuilder.java index cb590979d..c400824ac 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOperationOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOperationOrBuilder.java @@ -14,13 +14,11 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/log_entry.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; -@com.google.protobuf.Generated public interface LogEntryOperationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.LogEntryOperation) diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOrBuilder.java index 93e086dad..81dc37b61 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryOrBuilder.java @@ -14,13 +14,11 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/log_entry.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; -@com.google.protobuf.Generated public interface LogEntryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.LogEntry) @@ -32,10 +30,10 @@ public interface LogEntryOrBuilder *
    * 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]"
+   *     "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`
@@ -67,10 +65,10 @@ public interface LogEntryOrBuilder
    * 
    * 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]"
+   *     "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`
@@ -158,8 +156,8 @@ public interface LogEntryOrBuilder
    * 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"
+   *   "type.googleapis.com/google.cloud.audit.AuditLog"
+   *   "type.googleapis.com/google.appengine.logging.v1.RequestLog"
    * 
* * .google.protobuf.Any proto_payload = 2; @@ -178,8 +176,8 @@ public interface LogEntryOrBuilder * 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" + * "type.googleapis.com/google.cloud.audit.AuditLog" + * "type.googleapis.com/google.appengine.logging.v1.RequestLog" *
* * .google.protobuf.Any proto_payload = 2; @@ -198,8 +196,8 @@ public interface LogEntryOrBuilder * 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" + * "type.googleapis.com/google.cloud.audit.AuditLog" + * "type.googleapis.com/google.appengine.logging.v1.RequestLog" *
* * .google.protobuf.Any proto_payload = 2; @@ -769,10 +767,10 @@ java.lang.String getLabelsOrDefault( * * Example values: * - * - `000000000000004a` - * - `7a2190356c3fc94b` - * - `0000f00300090021` - * - `d39223e101960076` + * - `000000000000004a` + * - `7a2190356c3fc94b` + * - `0000f00300090021` + * - `d39223e101960076` *
* * string span_id = 27 [(.google.api.field_behavior) = OPTIONAL]; @@ -811,10 +809,10 @@ java.lang.String getLabelsOrDefault( * * Example values: * - * - `000000000000004a` - * - `7a2190356c3fc94b` - * - `0000f00300090021` - * - `d39223e101960076` + * - `000000000000004a` + * - `7a2190356c3fc94b` + * - `0000f00300090021` + * - `d39223e101960076` *
* * string span_id = 27 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryProto.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryProto.java index 90e92fd67..d163759db 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryProto.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntryProto.java @@ -14,26 +14,14 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/log_entry.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; -@com.google.protobuf.Generated -public final class LogEntryProto extends com.google.protobuf.GeneratedFile { +public final class LogEntryProto { private LogEntryProto() {} - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 0, - /* suffix= */ "", - "LogEntryProto"); - } - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { @@ -42,23 +30,23 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_LogEntry_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_logging_v2_LogEntry_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_LogEntry_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_logging_v2_LogEntry_LabelsEntry_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_LogEntryOperation_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_logging_v2_LogEntryOperation_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_LogEntrySourceLocation_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_logging_v2_LogEntrySourceLocation_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_LogSplit_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_logging_v2_LogSplit_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -143,9 +131,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.protobuf.StructProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), }); - internal_static_google_logging_v2_LogEntry_descriptor = getDescriptor().getMessageType(0); + internal_static_google_logging_v2_LogEntry_descriptor = + getDescriptor().getMessageTypes().get(0); internal_static_google_logging_v2_LogEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_logging_v2_LogEntry_descriptor, new java.lang.String[] { "LogName", @@ -168,37 +157,43 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Payload", }); internal_static_google_logging_v2_LogEntry_LabelsEntry_descriptor = - internal_static_google_logging_v2_LogEntry_descriptor.getNestedType(0); + internal_static_google_logging_v2_LogEntry_descriptor.getNestedTypes().get(0); internal_static_google_logging_v2_LogEntry_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_logging_v2_LogEntry_LabelsEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_google_logging_v2_LogEntryOperation_descriptor = - getDescriptor().getMessageType(1); + getDescriptor().getMessageTypes().get(1); internal_static_google_logging_v2_LogEntryOperation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_logging_v2_LogEntryOperation_descriptor, new java.lang.String[] { "Id", "Producer", "First", "Last", }); internal_static_google_logging_v2_LogEntrySourceLocation_descriptor = - getDescriptor().getMessageType(2); + getDescriptor().getMessageTypes().get(2); internal_static_google_logging_v2_LogEntrySourceLocation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_logging_v2_LogEntrySourceLocation_descriptor, new java.lang.String[] { "File", "Line", "Function", }); - internal_static_google_logging_v2_LogSplit_descriptor = getDescriptor().getMessageType(3); + internal_static_google_logging_v2_LogSplit_descriptor = + getDescriptor().getMessageTypes().get(3); internal_static_google_logging_v2_LogSplit_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_logging_v2_LogSplit_descriptor, new java.lang.String[] { "Uid", "Index", "TotalSplits", }); - descriptor.resolveAllFeaturesImmutable(); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.MonitoredResourceProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor(); @@ -207,12 +202,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.protobuf.AnyProto.getDescriptor(); com.google.protobuf.StructProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntrySourceLocation.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntrySourceLocation.java index 6c5144417..b24b0aad4 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntrySourceLocation.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntrySourceLocation.java @@ -14,10 +14,9 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/log_entry.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -30,25 +29,14 @@ * * Protobuf type {@code google.logging.v2.LogEntrySourceLocation} */ -@com.google.protobuf.Generated -public final class LogEntrySourceLocation extends com.google.protobuf.GeneratedMessage +public final class LogEntrySourceLocation extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.logging.v2.LogEntrySourceLocation) LogEntrySourceLocationOrBuilder { private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 0, - /* suffix= */ "", - "LogEntrySourceLocation"); - } - // Use LogEntrySourceLocation.newBuilder() to construct. - private LogEntrySourceLocation(com.google.protobuf.GeneratedMessage.Builder builder) { + private LogEntrySourceLocation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } @@ -57,13 +45,19 @@ private LogEntrySourceLocation() { function_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new LogEntrySourceLocation(); + } + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LogEntryProto .internal_static_google_logging_v2_LogEntrySourceLocation_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LogEntryProto .internal_static_google_logging_v2_LogEntrySourceLocation_fieldAccessorTable @@ -224,14 +218,14 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(file_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, file_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(file_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, file_); } if (line_ != 0L) { output.writeInt64(2, line_); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(function_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 3, function_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(function_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, function_); } getUnknownFields().writeTo(output); } @@ -242,14 +236,14 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(file_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, file_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(file_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, file_); } if (line_ != 0L) { size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, line_); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(function_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(3, function_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(function_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, function_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -329,38 +323,38 @@ public static com.google.logging.v2.LogEntrySourceLocation parseFrom( public static com.google.logging.v2.LogEntrySourceLocation parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.LogEntrySourceLocation parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.LogEntrySourceLocation parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.LogEntrySourceLocation parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.LogEntrySourceLocation parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.LogEntrySourceLocation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } @@ -383,7 +377,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -398,7 +392,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder * * Protobuf type {@code google.logging.v2.LogEntrySourceLocation} */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.LogEntrySourceLocation) com.google.logging.v2.LogEntrySourceLocationOrBuilder { @@ -408,7 +402,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LogEntryProto .internal_static_google_logging_v2_LogEntrySourceLocation_fieldAccessorTable @@ -420,7 +414,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.logging.v2.LogEntrySourceLocation.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @@ -478,6 +472,39 @@ private void buildPartial0(com.google.logging.v2.LogEntrySourceLocation result) } } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.LogEntrySourceLocation) { @@ -877,6 +904,17 @@ public Builder setFunctionBytes(com.google.protobuf.ByteString value) { return this; } + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:google.logging.v2.LogEntrySourceLocation) } diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntrySourceLocationOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntrySourceLocationOrBuilder.java index c03eca66d..a57f1f1b6 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntrySourceLocationOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntrySourceLocationOrBuilder.java @@ -14,13 +14,11 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/log_entry.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; -@com.google.protobuf.Generated public interface LogEntrySourceLocationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.LogEntrySourceLocation) diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogExclusion.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogExclusion.java index 39465ff03..22b5b95f3 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogExclusion.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogExclusion.java @@ -14,10 +14,9 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -33,25 +32,14 @@ * * Protobuf type {@code google.logging.v2.LogExclusion} */ -@com.google.protobuf.Generated -public final class LogExclusion extends com.google.protobuf.GeneratedMessage +public final class LogExclusion extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.logging.v2.LogExclusion) LogExclusionOrBuilder { private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 0, - /* suffix= */ "", - "LogExclusion"); - } - // Use LogExclusion.newBuilder() to construct. - private LogExclusion(com.google.protobuf.GeneratedMessage.Builder builder) { + private LogExclusion(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } @@ -61,13 +49,19 @@ private LogExclusion() { filter_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new LogExclusion(); + } + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_LogExclusion_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_LogExclusion_fieldAccessorTable @@ -207,7 +201,7 @@ public com.google.protobuf.ByteString getDescriptionBytes() { * For example, the following query matches 99% of low-severity log entries * from Google Cloud Storage buckets: * - * `resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)` + * `resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)` *
* * string filter = 3 [(.google.api.field_behavior) = REQUIRED]; @@ -240,7 +234,7 @@ public java.lang.String getFilter() { * For example, the following query matches 99% of low-severity log entries * from Google Cloud Storage buckets: * - * `resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)` + * `resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)` *
* * string filter = 3 [(.google.api.field_behavior) = REQUIRED]; @@ -412,14 +406,14 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 2, description_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, description_); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(filter_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 3, filter_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, filter_); } if (disabled_ != false) { output.writeBool(4, disabled_); @@ -439,14 +433,14 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(2, description_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(filter_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(3, filter_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, filter_); } if (disabled_ != false) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, disabled_); @@ -552,38 +546,38 @@ public static com.google.logging.v2.LogExclusion parseFrom( public static com.google.logging.v2.LogExclusion parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.LogExclusion parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.LogExclusion parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.LogExclusion parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.LogExclusion parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.LogExclusion parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } @@ -606,7 +600,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -624,7 +618,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder * * Protobuf type {@code google.logging.v2.LogExclusion} */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.LogExclusion) com.google.logging.v2.LogExclusionOrBuilder { @@ -634,7 +628,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_LogExclusion_fieldAccessorTable @@ -648,15 +642,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { - internalGetCreateTimeFieldBuilder(); - internalGetUpdateTimeFieldBuilder(); + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getCreateTimeFieldBuilder(); + getUpdateTimeFieldBuilder(); } } @@ -737,6 +731,39 @@ private void buildPartial0(com.google.logging.v2.LogExclusion result) { result.bitField0_ |= to_bitField0_; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.LogExclusion) { @@ -825,15 +852,13 @@ public Builder mergeFrom( } // case 32 case 42: { - input.readMessage( - internalGetCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000010; break; } // case 42 case 50: { - input.readMessage( - internalGetUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000020; break; } // case 50 @@ -1108,7 +1133,7 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { * For example, the following query matches 99% of low-severity log entries * from Google Cloud Storage buckets: * - * `resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)` + * `resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)` *
* * string filter = 3 [(.google.api.field_behavior) = REQUIRED]; @@ -1140,7 +1165,7 @@ public java.lang.String getFilter() { * For example, the following query matches 99% of low-severity log entries * from Google Cloud Storage buckets: * - * `resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)` + * `resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)` *
* * string filter = 3 [(.google.api.field_behavior) = REQUIRED]; @@ -1172,7 +1197,7 @@ public com.google.protobuf.ByteString getFilterBytes() { * For example, the following query matches 99% of low-severity log entries * from Google Cloud Storage buckets: * - * `resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)` + * `resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)` *
* * string filter = 3 [(.google.api.field_behavior) = REQUIRED]; @@ -1203,7 +1228,7 @@ public Builder setFilter(java.lang.String value) { * For example, the following query matches 99% of low-severity log entries * from Google Cloud Storage buckets: * - * `resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)` + * `resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)` *
* * string filter = 3 [(.google.api.field_behavior) = REQUIRED]; @@ -1230,7 +1255,7 @@ public Builder clearFilter() { * For example, the following query matches 99% of low-severity log entries * from Google Cloud Storage buckets: * - * `resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)` + * `resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)` *
* * string filter = 3 [(.google.api.field_behavior) = REQUIRED]; @@ -1315,7 +1340,7 @@ public Builder clearDisabled() { } private com.google.protobuf.Timestamp createTime_; - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> @@ -1488,7 +1513,7 @@ public Builder clearCreateTime() { public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000010; onChanged(); - return internalGetCreateTimeFieldBuilder().getBuilder(); + return getCreateTimeFieldBuilder().getBuilder(); } /** @@ -1527,14 +1552,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> - internalGetCreateTimeFieldBuilder() { + getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilder< + new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( @@ -1545,7 +1570,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { } private com.google.protobuf.Timestamp updateTime_; - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> @@ -1718,7 +1743,7 @@ public Builder clearUpdateTime() { public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000020; onChanged(); - return internalGetUpdateTimeFieldBuilder().getBuilder(); + return getUpdateTimeFieldBuilder().getBuilder(); } /** @@ -1757,14 +1782,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> - internalGetUpdateTimeFieldBuilder() { + getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilder< + new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( @@ -1774,6 +1799,17 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { return updateTimeBuilder_; } + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:google.logging.v2.LogExclusion) } diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogExclusionOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogExclusionOrBuilder.java index 6187f64c1..0cdc320a1 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogExclusionOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogExclusionOrBuilder.java @@ -14,13 +14,11 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; -@com.google.protobuf.Generated public interface LogExclusionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.LogExclusion) @@ -97,7 +95,7 @@ public interface LogExclusionOrBuilder * For example, the following query matches 99% of low-severity log entries * from Google Cloud Storage buckets: * - * `resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)` + * `resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)` *
* * string filter = 3 [(.google.api.field_behavior) = REQUIRED]; @@ -119,7 +117,7 @@ public interface LogExclusionOrBuilder * For example, the following query matches 99% of low-severity log entries * from Google Cloud Storage buckets: * - * `resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)` + * `resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)` *
* * string filter = 3 [(.google.api.field_behavior) = REQUIRED]; diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogMetric.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogMetric.java index 7d58cfd22..4292ee778 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogMetric.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogMetric.java @@ -14,10 +14,9 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_metrics.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -35,25 +34,14 @@ * * Protobuf type {@code google.logging.v2.LogMetric} */ -@com.google.protobuf.Generated -public final class LogMetric extends com.google.protobuf.GeneratedMessage +public final class LogMetric extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.logging.v2.LogMetric) LogMetricOrBuilder { private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 0, - /* suffix= */ "", - "LogMetric"); - } - // Use LogMetric.newBuilder() to construct. - private LogMetric(com.google.protobuf.GeneratedMessage.Builder builder) { + private LogMetric(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } @@ -66,6 +54,12 @@ private LogMetric() { version_ = 0; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new LogMetric(); + } + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingMetricsProto .internal_static_google_logging_v2_LogMetric_descriptor; @@ -84,7 +78,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingMetricsProto .internal_static_google_logging_v2_LogMetric_fieldAccessorTable @@ -125,16 +119,6 @@ public enum ApiVersion implements com.google.protobuf.ProtocolMessageEnum { UNRECOGNIZED(-1), ; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 0, - /* suffix= */ "", - "ApiVersion"); - } - /** * * @@ -213,7 +197,7 @@ public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType return getDescriptor(); } - public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.logging.v2.LogMetric.getDescriptor().getEnumTypes().get(0); } @@ -384,7 +368,7 @@ public com.google.protobuf.ByteString getDescriptionBytes() { * filter](https://cloud.google.com/logging/docs/view/advanced_filters) which * is used to match log entries. Example: * - * "resource.type=gae_app AND severity>=ERROR" + * "resource.type=gae_app AND severity>=ERROR" * * The maximum length of the filter is 20000 characters. *
@@ -414,7 +398,7 @@ public java.lang.String getFilter() { * filter](https://cloud.google.com/logging/docs/view/advanced_filters) which * is used to match log entries. Example: * - * "resource.type=gae_app AND severity>=ERROR" + * "resource.type=gae_app AND severity>=ERROR" * * The maximum length of the filter is 20000 characters. *
@@ -451,7 +435,7 @@ public com.google.protobuf.ByteString getFilterBytes() { * * For example: * - * `projects/my-project/locations/global/buckets/my-bucket` + * `projects/my-project/locations/global/buckets/my-bucket` * * If empty, then the Log Metric is considered a non-Bucket Log Metric. *
@@ -483,7 +467,7 @@ public java.lang.String getBucketName() { * * For example: * - * `projects/my-project/locations/global/buckets/my-bucket` + * `projects/my-project/locations/global/buckets/my-bucket` * * If empty, then the Log Metric is considered a non-Bucket Log Metric. *
@@ -658,14 +642,14 @@ public com.google.api.MetricDescriptorOrBuilder getMetricDescriptorOrBuilder() { * Two functions are supported for value extraction: `EXTRACT(field)` or * `REGEXP_EXTRACT(field, regex)`. The arguments are: * - * 1. field: The name of the log entry field from which the value is to be - * extracted. - * 2. regex: A regular expression using the Google RE2 syntax - * (https://github.com/google/re2/wiki/Syntax) with a single capture - * group to extract data from the specified log entry field. The value - * of the field is converted to a string before applying the regex. - * It is an error to specify a regex that does not include exactly one - * capture group. + * 1. field: The name of the log entry field from which the value is to be + * extracted. + * 2. regex: A regular expression using the Google RE2 syntax + * (https://github.com/google/re2/wiki/Syntax) with a single capture + * group to extract data from the specified log entry field. The value + * of the field is converted to a string before applying the regex. + * It is an error to specify a regex that does not include exactly one + * capture group. * * The result of the extraction must be convertible to a double type, as the * distribution always records double values. If either the extraction or @@ -701,14 +685,14 @@ public java.lang.String getValueExtractor() { * Two functions are supported for value extraction: `EXTRACT(field)` or * `REGEXP_EXTRACT(field, regex)`. The arguments are: * - * 1. field: The name of the log entry field from which the value is to be - * extracted. - * 2. regex: A regular expression using the Google RE2 syntax - * (https://github.com/google/re2/wiki/Syntax) with a single capture - * group to extract data from the specified log entry field. The value - * of the field is converted to a string before applying the regex. - * It is an error to specify a regex that does not include exactly one - * capture group. + * 1. field: The name of the log entry field from which the value is to be + * extracted. + * 2. regex: A regular expression using the Google RE2 syntax + * (https://github.com/google/re2/wiki/Syntax) with a single capture + * group to extract data from the specified log entry field. The value + * of the field is converted to a string before applying the regex. + * It is an error to specify a regex that does not include exactly one + * capture group. * * The result of the extraction must be convertible to a double type, as the * distribution always records double values. If either the extraction or @@ -1140,14 +1124,14 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 2, description_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, description_); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(filter_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 3, filter_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, filter_); } if (version_ != com.google.logging.v2.LogMetric.ApiVersion.V2.getNumber()) { output.writeEnum(4, version_); @@ -1155,10 +1139,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(5, getMetricDescriptor()); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(valueExtractor_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 6, valueExtractor_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(valueExtractor_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 6, valueExtractor_); } - com.google.protobuf.GeneratedMessage.serializeStringMapTo( + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( output, internalGetLabelExtractors(), LabelExtractorsDefaultEntryHolder.defaultEntry, 7); if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(8, getBucketOptions()); @@ -1172,8 +1156,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (disabled_ != false) { output.writeBool(12, disabled_); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(bucketName_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 13, bucketName_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bucketName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 13, bucketName_); } getUnknownFields().writeTo(output); } @@ -1184,14 +1168,14 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(2, description_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(filter_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(3, filter_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, filter_); } if (version_ != com.google.logging.v2.LogMetric.ApiVersion.V2.getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, version_); @@ -1199,8 +1183,8 @@ public int getSerializedSize() { if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getMetricDescriptor()); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(valueExtractor_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(6, valueExtractor_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(valueExtractor_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, valueExtractor_); } for (java.util.Map.Entry entry : internalGetLabelExtractors().getMap().entrySet()) { @@ -1224,8 +1208,8 @@ public int getSerializedSize() { if (disabled_ != false) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(12, disabled_); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(bucketName_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(13, bucketName_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bucketName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, bucketName_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1352,38 +1336,38 @@ public static com.google.logging.v2.LogMetric parseFrom( public static com.google.logging.v2.LogMetric parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.LogMetric parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.LogMetric parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.LogMetric parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.LogMetric parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.LogMetric parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } @@ -1406,7 +1390,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -1426,7 +1410,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder * * Protobuf type {@code google.logging.v2.LogMetric} */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.LogMetric) com.google.logging.v2.LogMetricOrBuilder { @@ -1458,7 +1442,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingMetricsProto .internal_static_google_logging_v2_LogMetric_fieldAccessorTable @@ -1471,17 +1455,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { - internalGetMetricDescriptorFieldBuilder(); - internalGetBucketOptionsFieldBuilder(); - internalGetCreateTimeFieldBuilder(); - internalGetUpdateTimeFieldBuilder(); + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getMetricDescriptorFieldBuilder(); + getBucketOptionsFieldBuilder(); + getCreateTimeFieldBuilder(); + getUpdateTimeFieldBuilder(); } } @@ -1599,6 +1583,39 @@ private void buildPartial0(com.google.logging.v2.LogMetric result) { result.bitField0_ |= to_bitField0_; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.LogMetric) { @@ -1709,7 +1726,7 @@ public Builder mergeFrom( case 42: { input.readMessage( - internalGetMetricDescriptorFieldBuilder().getBuilder(), extensionRegistry); + getMetricDescriptorFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000020; break; } // case 42 @@ -1733,22 +1750,19 @@ public Builder mergeFrom( } // case 58 case 66: { - input.readMessage( - internalGetBucketOptionsFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage(getBucketOptionsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000100; break; } // case 66 case 74: { - input.readMessage( - internalGetCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000200; break; } // case 74 case 82: { - input.readMessage( - internalGetUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000400; break; } // case 82 @@ -2080,7 +2094,7 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { * filter](https://cloud.google.com/logging/docs/view/advanced_filters) which * is used to match log entries. Example: * - * "resource.type=gae_app AND severity>=ERROR" + * "resource.type=gae_app AND severity>=ERROR" * * The maximum length of the filter is 20000 characters. *
@@ -2109,7 +2123,7 @@ public java.lang.String getFilter() { * filter](https://cloud.google.com/logging/docs/view/advanced_filters) which * is used to match log entries. Example: * - * "resource.type=gae_app AND severity>=ERROR" + * "resource.type=gae_app AND severity>=ERROR" * * The maximum length of the filter is 20000 characters. *
@@ -2138,7 +2152,7 @@ public com.google.protobuf.ByteString getFilterBytes() { * filter](https://cloud.google.com/logging/docs/view/advanced_filters) which * is used to match log entries. Example: * - * "resource.type=gae_app AND severity>=ERROR" + * "resource.type=gae_app AND severity>=ERROR" * * The maximum length of the filter is 20000 characters. *
@@ -2166,7 +2180,7 @@ public Builder setFilter(java.lang.String value) { * filter](https://cloud.google.com/logging/docs/view/advanced_filters) which * is used to match log entries. Example: * - * "resource.type=gae_app AND severity>=ERROR" + * "resource.type=gae_app AND severity>=ERROR" * * The maximum length of the filter is 20000 characters. *
@@ -2190,7 +2204,7 @@ public Builder clearFilter() { * filter](https://cloud.google.com/logging/docs/view/advanced_filters) which * is used to match log entries. Example: * - * "resource.type=gae_app AND severity>=ERROR" + * "resource.type=gae_app AND severity>=ERROR" * * The maximum length of the filter is 20000 characters. *
@@ -2223,7 +2237,7 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { * * For example: * - * `projects/my-project/locations/global/buckets/my-bucket` + * `projects/my-project/locations/global/buckets/my-bucket` * * If empty, then the Log Metric is considered a non-Bucket Log Metric. *
@@ -2254,7 +2268,7 @@ public java.lang.String getBucketName() { * * For example: * - * `projects/my-project/locations/global/buckets/my-bucket` + * `projects/my-project/locations/global/buckets/my-bucket` * * If empty, then the Log Metric is considered a non-Bucket Log Metric. *
@@ -2285,7 +2299,7 @@ public com.google.protobuf.ByteString getBucketNameBytes() { * * For example: * - * `projects/my-project/locations/global/buckets/my-bucket` + * `projects/my-project/locations/global/buckets/my-bucket` * * If empty, then the Log Metric is considered a non-Bucket Log Metric. * @@ -2315,7 +2329,7 @@ public Builder setBucketName(java.lang.String value) { * * For example: * - * `projects/my-project/locations/global/buckets/my-bucket` + * `projects/my-project/locations/global/buckets/my-bucket` * * If empty, then the Log Metric is considered a non-Bucket Log Metric. * @@ -2341,7 +2355,7 @@ public Builder clearBucketName() { * * For example: * - * `projects/my-project/locations/global/buckets/my-bucket` + * `projects/my-project/locations/global/buckets/my-bucket` * * If empty, then the Log Metric is considered a non-Bucket Log Metric. * @@ -2422,7 +2436,7 @@ public Builder clearDisabled() { } private com.google.api.MetricDescriptor metricDescriptor_; - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.api.MetricDescriptor, com.google.api.MetricDescriptor.Builder, com.google.api.MetricDescriptorOrBuilder> @@ -2721,7 +2735,7 @@ public Builder clearMetricDescriptor() { public com.google.api.MetricDescriptor.Builder getMetricDescriptorBuilder() { bitField0_ |= 0x00000020; onChanged(); - return internalGetMetricDescriptorFieldBuilder().getBuilder(); + return getMetricDescriptorFieldBuilder().getBuilder(); } /** @@ -2796,14 +2810,14 @@ public com.google.api.MetricDescriptorOrBuilder getMetricDescriptorOrBuilder() { * .google.api.MetricDescriptor metric_descriptor = 5 [(.google.api.field_behavior) = OPTIONAL]; *
*/ - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.api.MetricDescriptor, com.google.api.MetricDescriptor.Builder, com.google.api.MetricDescriptorOrBuilder> - internalGetMetricDescriptorFieldBuilder() { + getMetricDescriptorFieldBuilder() { if (metricDescriptorBuilder_ == null) { metricDescriptorBuilder_ = - new com.google.protobuf.SingleFieldBuilder< + new com.google.protobuf.SingleFieldBuilderV3< com.google.api.MetricDescriptor, com.google.api.MetricDescriptor.Builder, com.google.api.MetricDescriptorOrBuilder>( @@ -2824,14 +2838,14 @@ public com.google.api.MetricDescriptorOrBuilder getMetricDescriptorOrBuilder() { * Two functions are supported for value extraction: `EXTRACT(field)` or * `REGEXP_EXTRACT(field, regex)`. The arguments are: * - * 1. field: The name of the log entry field from which the value is to be - * extracted. - * 2. regex: A regular expression using the Google RE2 syntax - * (https://github.com/google/re2/wiki/Syntax) with a single capture - * group to extract data from the specified log entry field. The value - * of the field is converted to a string before applying the regex. - * It is an error to specify a regex that does not include exactly one - * capture group. + * 1. field: The name of the log entry field from which the value is to be + * extracted. + * 2. regex: A regular expression using the Google RE2 syntax + * (https://github.com/google/re2/wiki/Syntax) with a single capture + * group to extract data from the specified log entry field. The value + * of the field is converted to a string before applying the regex. + * It is an error to specify a regex that does not include exactly one + * capture group. * * The result of the extraction must be convertible to a double type, as the * distribution always records double values. If either the extraction or @@ -2866,14 +2880,14 @@ public java.lang.String getValueExtractor() { * Two functions are supported for value extraction: `EXTRACT(field)` or * `REGEXP_EXTRACT(field, regex)`. The arguments are: * - * 1. field: The name of the log entry field from which the value is to be - * extracted. - * 2. regex: A regular expression using the Google RE2 syntax - * (https://github.com/google/re2/wiki/Syntax) with a single capture - * group to extract data from the specified log entry field. The value - * of the field is converted to a string before applying the regex. - * It is an error to specify a regex that does not include exactly one - * capture group. + * 1. field: The name of the log entry field from which the value is to be + * extracted. + * 2. regex: A regular expression using the Google RE2 syntax + * (https://github.com/google/re2/wiki/Syntax) with a single capture + * group to extract data from the specified log entry field. The value + * of the field is converted to a string before applying the regex. + * It is an error to specify a regex that does not include exactly one + * capture group. * * The result of the extraction must be convertible to a double type, as the * distribution always records double values. If either the extraction or @@ -2908,14 +2922,14 @@ public com.google.protobuf.ByteString getValueExtractorBytes() { * Two functions are supported for value extraction: `EXTRACT(field)` or * `REGEXP_EXTRACT(field, regex)`. The arguments are: * - * 1. field: The name of the log entry field from which the value is to be - * extracted. - * 2. regex: A regular expression using the Google RE2 syntax - * (https://github.com/google/re2/wiki/Syntax) with a single capture - * group to extract data from the specified log entry field. The value - * of the field is converted to a string before applying the regex. - * It is an error to specify a regex that does not include exactly one - * capture group. + * 1. field: The name of the log entry field from which the value is to be + * extracted. + * 2. regex: A regular expression using the Google RE2 syntax + * (https://github.com/google/re2/wiki/Syntax) with a single capture + * group to extract data from the specified log entry field. The value + * of the field is converted to a string before applying the regex. + * It is an error to specify a regex that does not include exactly one + * capture group. * * The result of the extraction must be convertible to a double type, as the * distribution always records double values. If either the extraction or @@ -2949,14 +2963,14 @@ public Builder setValueExtractor(java.lang.String value) { * Two functions are supported for value extraction: `EXTRACT(field)` or * `REGEXP_EXTRACT(field, regex)`. The arguments are: * - * 1. field: The name of the log entry field from which the value is to be - * extracted. - * 2. regex: A regular expression using the Google RE2 syntax - * (https://github.com/google/re2/wiki/Syntax) with a single capture - * group to extract data from the specified log entry field. The value - * of the field is converted to a string before applying the regex. - * It is an error to specify a regex that does not include exactly one - * capture group. + * 1. field: The name of the log entry field from which the value is to be + * extracted. + * 2. regex: A regular expression using the Google RE2 syntax + * (https://github.com/google/re2/wiki/Syntax) with a single capture + * group to extract data from the specified log entry field. The value + * of the field is converted to a string before applying the regex. + * It is an error to specify a regex that does not include exactly one + * capture group. * * The result of the extraction must be convertible to a double type, as the * distribution always records double values. If either the extraction or @@ -2986,14 +3000,14 @@ public Builder clearValueExtractor() { * Two functions are supported for value extraction: `EXTRACT(field)` or * `REGEXP_EXTRACT(field, regex)`. The arguments are: * - * 1. field: The name of the log entry field from which the value is to be - * extracted. - * 2. regex: A regular expression using the Google RE2 syntax - * (https://github.com/google/re2/wiki/Syntax) with a single capture - * group to extract data from the specified log entry field. The value - * of the field is converted to a string before applying the regex. - * It is an error to specify a regex that does not include exactly one - * capture group. + * 1. field: The name of the log entry field from which the value is to be + * extracted. + * 2. regex: A regular expression using the Google RE2 syntax + * (https://github.com/google/re2/wiki/Syntax) with a single capture + * group to extract data from the specified log entry field. The value + * of the field is converted to a string before applying the regex. + * It is an error to specify a regex that does not include exactly one + * capture group. * * The result of the extraction must be convertible to a double type, as the * distribution always records double values. If either the extraction or @@ -3301,7 +3315,7 @@ public Builder putAllLabelExtractors(java.util.Map @@ -3475,7 +3489,7 @@ public Builder clearBucketOptions() { public com.google.api.Distribution.BucketOptions.Builder getBucketOptionsBuilder() { bitField0_ |= 0x00000100; onChanged(); - return internalGetBucketOptionsFieldBuilder().getBuilder(); + return getBucketOptionsFieldBuilder().getBuilder(); } /** @@ -3514,14 +3528,14 @@ public com.google.api.Distribution.BucketOptionsOrBuilder getBucketOptionsOrBuil * .google.api.Distribution.BucketOptions bucket_options = 8 [(.google.api.field_behavior) = OPTIONAL]; * */ - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.api.Distribution.BucketOptions, com.google.api.Distribution.BucketOptions.Builder, com.google.api.Distribution.BucketOptionsOrBuilder> - internalGetBucketOptionsFieldBuilder() { + getBucketOptionsFieldBuilder() { if (bucketOptionsBuilder_ == null) { bucketOptionsBuilder_ = - new com.google.protobuf.SingleFieldBuilder< + new com.google.protobuf.SingleFieldBuilderV3< com.google.api.Distribution.BucketOptions, com.google.api.Distribution.BucketOptions.Builder, com.google.api.Distribution.BucketOptionsOrBuilder>( @@ -3532,7 +3546,7 @@ public com.google.api.Distribution.BucketOptionsOrBuilder getBucketOptionsOrBuil } private com.google.protobuf.Timestamp createTime_; - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> @@ -3705,7 +3719,7 @@ public Builder clearCreateTime() { public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000200; onChanged(); - return internalGetCreateTimeFieldBuilder().getBuilder(); + return getCreateTimeFieldBuilder().getBuilder(); } /** @@ -3744,14 +3758,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> - internalGetCreateTimeFieldBuilder() { + getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilder< + new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( @@ -3762,7 +3776,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { } private com.google.protobuf.Timestamp updateTime_; - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> @@ -3935,7 +3949,7 @@ public Builder clearUpdateTime() { public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000400; onChanged(); - return internalGetUpdateTimeFieldBuilder().getBuilder(); + return getUpdateTimeFieldBuilder().getBuilder(); } /** @@ -3974,14 +3988,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> - internalGetUpdateTimeFieldBuilder() { + getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilder< + new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( @@ -4106,6 +4120,17 @@ public Builder clearVersion() { return this; } + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:google.logging.v2.LogMetric) } diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogMetricOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogMetricOrBuilder.java index d015e1625..f995c2e6b 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogMetricOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogMetricOrBuilder.java @@ -14,13 +14,11 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_metrics.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; -@com.google.protobuf.Generated public interface LogMetricOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.LogMetric) @@ -112,7 +110,7 @@ public interface LogMetricOrBuilder * filter](https://cloud.google.com/logging/docs/view/advanced_filters) which * is used to match log entries. Example: * - * "resource.type=gae_app AND severity>=ERROR" + * "resource.type=gae_app AND severity>=ERROR" * * The maximum length of the filter is 20000 characters. * @@ -131,7 +129,7 @@ public interface LogMetricOrBuilder * filter](https://cloud.google.com/logging/docs/view/advanced_filters) which * is used to match log entries. Example: * - * "resource.type=gae_app AND severity>=ERROR" + * "resource.type=gae_app AND severity>=ERROR" * * The maximum length of the filter is 20000 characters. * @@ -152,7 +150,7 @@ public interface LogMetricOrBuilder * * For example: * - * `projects/my-project/locations/global/buckets/my-bucket` + * `projects/my-project/locations/global/buckets/my-bucket` * * If empty, then the Log Metric is considered a non-Bucket Log Metric. * @@ -173,7 +171,7 @@ public interface LogMetricOrBuilder * * For example: * - * `projects/my-project/locations/global/buckets/my-bucket` + * `projects/my-project/locations/global/buckets/my-bucket` * * If empty, then the Log Metric is considered a non-Bucket Log Metric. * @@ -310,14 +308,14 @@ public interface LogMetricOrBuilder * Two functions are supported for value extraction: `EXTRACT(field)` or * `REGEXP_EXTRACT(field, regex)`. The arguments are: * - * 1. field: The name of the log entry field from which the value is to be - * extracted. - * 2. regex: A regular expression using the Google RE2 syntax - * (https://github.com/google/re2/wiki/Syntax) with a single capture - * group to extract data from the specified log entry field. The value - * of the field is converted to a string before applying the regex. - * It is an error to specify a regex that does not include exactly one - * capture group. + * 1. field: The name of the log entry field from which the value is to be + * extracted. + * 2. regex: A regular expression using the Google RE2 syntax + * (https://github.com/google/re2/wiki/Syntax) with a single capture + * group to extract data from the specified log entry field. The value + * of the field is converted to a string before applying the regex. + * It is an error to specify a regex that does not include exactly one + * capture group. * * The result of the extraction must be convertible to a double type, as the * distribution always records double values. If either the extraction or @@ -342,14 +340,14 @@ public interface LogMetricOrBuilder * Two functions are supported for value extraction: `EXTRACT(field)` or * `REGEXP_EXTRACT(field, regex)`. The arguments are: * - * 1. field: The name of the log entry field from which the value is to be - * extracted. - * 2. regex: A regular expression using the Google RE2 syntax - * (https://github.com/google/re2/wiki/Syntax) with a single capture - * group to extract data from the specified log entry field. The value - * of the field is converted to a string before applying the regex. - * It is an error to specify a regex that does not include exactly one - * capture group. + * 1. field: The name of the log entry field from which the value is to be + * extracted. + * 2. regex: A regular expression using the Google RE2 syntax + * (https://github.com/google/re2/wiki/Syntax) with a single capture + * group to extract data from the specified log entry field. The value + * of the field is converted to a string before applying the regex. + * It is an error to specify a regex that does not include exactly one + * capture group. * * The result of the extraction must be convertible to a double type, as the * distribution always records double values. If either the extraction or diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSink.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSink.java index 973832997..beac5d5a3 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSink.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSink.java @@ -14,10 +14,9 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -33,25 +32,14 @@ * * Protobuf type {@code google.logging.v2.LogSink} */ -@com.google.protobuf.Generated -public final class LogSink extends com.google.protobuf.GeneratedMessage +public final class LogSink extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.logging.v2.LogSink) LogSinkOrBuilder { private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 0, - /* suffix= */ "", - "LogSink"); - } - // Use LogSink.newBuilder() to construct. - private LogSink(com.google.protobuf.GeneratedMessage.Builder builder) { + private LogSink(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } @@ -65,13 +53,19 @@ private LogSink() { writerIdentity_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new LogSink(); + } + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_LogSink_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_LogSink_fieldAccessorTable @@ -122,16 +116,6 @@ public enum VersionFormat implements com.google.protobuf.ProtocolMessageEnum { UNRECOGNIZED(-1), ; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 0, - /* suffix= */ "", - "VersionFormat"); - } - /** * * @@ -223,7 +207,7 @@ public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType return getDescriptor(); } - public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.logging.v2.LogSink.getDescriptor().getEnumTypes().get(0); } @@ -370,9 +354,9 @@ public com.google.protobuf.ByteString getNameBytes() { *
    * Required. The export destination:
    *
-   * "storage.googleapis.com/[GCS_BUCKET]"
-   * "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"
-   * "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]"
+   *     "storage.googleapis.com/[GCS_BUCKET]"
+   *     "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"
+   *     "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]"
    *
    * The sink's `writer_identity`, set when the sink is created, must have
    * permission to write to the destination or else the log entries are not
@@ -406,9 +390,9 @@ public java.lang.String getDestination() {
    * 
    * Required. The export destination:
    *
-   * "storage.googleapis.com/[GCS_BUCKET]"
-   * "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"
-   * "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]"
+   *     "storage.googleapis.com/[GCS_BUCKET]"
+   *     "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"
+   *     "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]"
    *
    * The sink's `writer_identity`, set when the sink is created, must have
    * permission to write to the destination or else the log entries are not
@@ -452,7 +436,7 @@ public com.google.protobuf.ByteString getDestinationBytes() {
    *
    * For example:
    *
-   * `logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR`
+   *   `logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR`
    * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -483,7 +467,7 @@ public java.lang.String getFilter() { * * For example: * - * `logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR` + * `logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR` *
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -840,8 +824,8 @@ public com.google.protobuf.ByteString getWriterIdentityBytes() { * To only export entries from certain child projects, filter on the project * part of the log name: * - * logName:("projects/test-project1/" OR "projects/test-project2/") AND - * resource.type=gce_instance + * logName:("projects/test-project1/" OR "projects/test-project2/") AND + * resource.type=gce_instance * * * bool include_children = 9 [(.google.api.field_behavior) = OPTIONAL]; @@ -1043,21 +1027,21 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(destination_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 3, destination_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(destination_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, destination_); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(filter_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 5, filter_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, filter_); } if (outputVersionFormat_ != com.google.logging.v2.LogSink.VersionFormat.VERSION_FORMAT_UNSPECIFIED.getNumber()) { output.writeEnum(6, outputVersionFormat_); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(writerIdentity_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 8, writerIdentity_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(writerIdentity_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 8, writerIdentity_); } if (includeChildren_ != false) { output.writeBool(9, includeChildren_); @@ -1074,8 +1058,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < exclusions_.size(); i++) { output.writeMessage(16, exclusions_.get(i)); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 18, description_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 18, description_); } if (disabled_ != false) { output.writeBool(19, disabled_); @@ -1089,21 +1073,21 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(destination_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(3, destination_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(destination_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, destination_); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(filter_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(5, filter_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, filter_); } if (outputVersionFormat_ != com.google.logging.v2.LogSink.VersionFormat.VERSION_FORMAT_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, outputVersionFormat_); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(writerIdentity_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(8, writerIdentity_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(writerIdentity_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, writerIdentity_); } if (includeChildren_ != false) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(9, includeChildren_); @@ -1122,8 +1106,8 @@ public int getSerializedSize() { for (int i = 0; i < exclusions_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(16, exclusions_.get(i)); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(18, description_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, description_); } if (disabled_ != false) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(19, disabled_); @@ -1256,38 +1240,38 @@ public static com.google.logging.v2.LogSink parseFrom( public static com.google.logging.v2.LogSink parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.LogSink parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.LogSink parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.LogSink parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.LogSink parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.LogSink parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } @@ -1310,7 +1294,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -1328,7 +1312,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder * * Protobuf type {@code google.logging.v2.LogSink} */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.LogSink) com.google.logging.v2.LogSinkOrBuilder { @@ -1338,7 +1322,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_LogSink_fieldAccessorTable @@ -1351,16 +1335,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { - internalGetExclusionsFieldBuilder(); - internalGetCreateTimeFieldBuilder(); - internalGetUpdateTimeFieldBuilder(); + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getExclusionsFieldBuilder(); + getCreateTimeFieldBuilder(); + getUpdateTimeFieldBuilder(); } } @@ -1491,6 +1475,39 @@ private void buildPartialOneofs(com.google.logging.v2.LogSink result) { } } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.LogSink) { @@ -1545,8 +1562,8 @@ public Builder mergeFrom(com.google.logging.v2.LogSink other) { exclusions_ = other.exclusions_; bitField0_ = (bitField0_ & ~0x00000020); exclusionsBuilder_ = - com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders - ? internalGetExclusionsFieldBuilder() + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getExclusionsFieldBuilder() : null; } else { exclusionsBuilder_.addAllMessages(other.exclusions_); @@ -1645,22 +1662,19 @@ public Builder mergeFrom( } // case 72 case 98: { - input.readMessage( - internalGetBigqueryOptionsFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage(getBigqueryOptionsFieldBuilder().getBuilder(), extensionRegistry); optionsCase_ = 12; break; } // case 98 case 106: { - input.readMessage( - internalGetCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000400; break; } // case 106 case 114: { - input.readMessage( - internalGetUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000800; break; } // case 114 @@ -1866,9 +1880,9 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { *
      * Required. The export destination:
      *
-     * "storage.googleapis.com/[GCS_BUCKET]"
-     * "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"
-     * "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]"
+     *     "storage.googleapis.com/[GCS_BUCKET]"
+     *     "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"
+     *     "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]"
      *
      * The sink's `writer_identity`, set when the sink is created, must have
      * permission to write to the destination or else the log entries are not
@@ -1901,9 +1915,9 @@ public java.lang.String getDestination() {
      * 
      * Required. The export destination:
      *
-     * "storage.googleapis.com/[GCS_BUCKET]"
-     * "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"
-     * "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]"
+     *     "storage.googleapis.com/[GCS_BUCKET]"
+     *     "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"
+     *     "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]"
      *
      * The sink's `writer_identity`, set when the sink is created, must have
      * permission to write to the destination or else the log entries are not
@@ -1936,9 +1950,9 @@ public com.google.protobuf.ByteString getDestinationBytes() {
      * 
      * Required. The export destination:
      *
-     * "storage.googleapis.com/[GCS_BUCKET]"
-     * "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"
-     * "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]"
+     *     "storage.googleapis.com/[GCS_BUCKET]"
+     *     "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"
+     *     "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]"
      *
      * The sink's `writer_identity`, set when the sink is created, must have
      * permission to write to the destination or else the log entries are not
@@ -1970,9 +1984,9 @@ public Builder setDestination(java.lang.String value) {
      * 
      * Required. The export destination:
      *
-     * "storage.googleapis.com/[GCS_BUCKET]"
-     * "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"
-     * "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]"
+     *     "storage.googleapis.com/[GCS_BUCKET]"
+     *     "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"
+     *     "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]"
      *
      * The sink's `writer_identity`, set when the sink is created, must have
      * permission to write to the destination or else the log entries are not
@@ -2000,9 +2014,9 @@ public Builder clearDestination() {
      * 
      * Required. The export destination:
      *
-     * "storage.googleapis.com/[GCS_BUCKET]"
-     * "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"
-     * "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]"
+     *     "storage.googleapis.com/[GCS_BUCKET]"
+     *     "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"
+     *     "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]"
      *
      * The sink's `writer_identity`, set when the sink is created, must have
      * permission to write to the destination or else the log entries are not
@@ -2042,7 +2056,7 @@ public Builder setDestinationBytes(com.google.protobuf.ByteString value) {
      *
      * For example:
      *
-     * `logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR`
+     *   `logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR`
      * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -2072,7 +2086,7 @@ public java.lang.String getFilter() { * * For example: * - * `logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR` + * `logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR` *
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -2102,7 +2116,7 @@ public com.google.protobuf.ByteString getFilterBytes() { * * For example: * - * `logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR` + * `logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR` *
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -2131,7 +2145,7 @@ public Builder setFilter(java.lang.String value) { * * For example: * - * `logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR` + * `logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR` *
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -2156,7 +2170,7 @@ public Builder clearFilter() { * * For example: * - * `logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR` + * `logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR` *
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -2365,7 +2379,7 @@ private void ensureExclusionsIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilder< + private com.google.protobuf.RepeatedFieldBuilderV3< com.google.logging.v2.LogExclusion, com.google.logging.v2.LogExclusion.Builder, com.google.logging.v2.LogExclusionOrBuilder> @@ -2702,7 +2716,7 @@ public Builder removeExclusions(int index) { * */ public com.google.logging.v2.LogExclusion.Builder getExclusionsBuilder(int index) { - return internalGetExclusionsFieldBuilder().getBuilder(index); + return getExclusionsFieldBuilder().getBuilder(index); } /** @@ -2768,7 +2782,7 @@ public com.google.logging.v2.LogExclusionOrBuilder getExclusionsOrBuilder(int in * */ public com.google.logging.v2.LogExclusion.Builder addExclusionsBuilder() { - return internalGetExclusionsFieldBuilder() + return getExclusionsFieldBuilder() .addBuilder(com.google.logging.v2.LogExclusion.getDefaultInstance()); } @@ -2788,7 +2802,7 @@ public com.google.logging.v2.LogExclusion.Builder addExclusionsBuilder() { * */ public com.google.logging.v2.LogExclusion.Builder addExclusionsBuilder(int index) { - return internalGetExclusionsFieldBuilder() + return getExclusionsFieldBuilder() .addBuilder(index, com.google.logging.v2.LogExclusion.getDefaultInstance()); } @@ -2808,17 +2822,17 @@ public com.google.logging.v2.LogExclusion.Builder addExclusionsBuilder(int index * */ public java.util.List getExclusionsBuilderList() { - return internalGetExclusionsFieldBuilder().getBuilderList(); + return getExclusionsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilder< + private com.google.protobuf.RepeatedFieldBuilderV3< com.google.logging.v2.LogExclusion, com.google.logging.v2.LogExclusion.Builder, com.google.logging.v2.LogExclusionOrBuilder> - internalGetExclusionsFieldBuilder() { + getExclusionsFieldBuilder() { if (exclusionsBuilder_ == null) { exclusionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilder< + new com.google.protobuf.RepeatedFieldBuilderV3< com.google.logging.v2.LogExclusion, com.google.logging.v2.LogExclusion.Builder, com.google.logging.v2.LogExclusionOrBuilder>( @@ -3160,8 +3174,8 @@ public Builder setWriterIdentityBytes(com.google.protobuf.ByteString value) { * To only export entries from certain child projects, filter on the project * part of the log name: * - * logName:("projects/test-project1/" OR "projects/test-project2/") AND - * resource.type=gce_instance + * logName:("projects/test-project1/" OR "projects/test-project2/") AND + * resource.type=gce_instance * * * bool include_children = 9 [(.google.api.field_behavior) = OPTIONAL]; @@ -3192,8 +3206,8 @@ public boolean getIncludeChildren() { * To only export entries from certain child projects, filter on the project * part of the log name: * - * logName:("projects/test-project1/" OR "projects/test-project2/") AND - * resource.type=gce_instance + * logName:("projects/test-project1/" OR "projects/test-project2/") AND + * resource.type=gce_instance * * * bool include_children = 9 [(.google.api.field_behavior) = OPTIONAL]; @@ -3228,8 +3242,8 @@ public Builder setIncludeChildren(boolean value) { * To only export entries from certain child projects, filter on the project * part of the log name: * - * logName:("projects/test-project1/" OR "projects/test-project2/") AND - * resource.type=gce_instance + * logName:("projects/test-project1/" OR "projects/test-project2/") AND + * resource.type=gce_instance * * * bool include_children = 9 [(.google.api.field_behavior) = OPTIONAL]; @@ -3243,7 +3257,7 @@ public Builder clearIncludeChildren() { return this; } - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.logging.v2.BigQueryOptions, com.google.logging.v2.BigQueryOptions.Builder, com.google.logging.v2.BigQueryOptionsOrBuilder> @@ -3418,7 +3432,7 @@ public Builder clearBigqueryOptions() { * */ public com.google.logging.v2.BigQueryOptions.Builder getBigqueryOptionsBuilder() { - return internalGetBigqueryOptionsFieldBuilder().getBuilder(); + return getBigqueryOptionsFieldBuilder().getBuilder(); } /** @@ -3455,17 +3469,17 @@ public com.google.logging.v2.BigQueryOptionsOrBuilder getBigqueryOptionsOrBuilde * .google.logging.v2.BigQueryOptions bigquery_options = 12 [(.google.api.field_behavior) = OPTIONAL]; * */ - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.logging.v2.BigQueryOptions, com.google.logging.v2.BigQueryOptions.Builder, com.google.logging.v2.BigQueryOptionsOrBuilder> - internalGetBigqueryOptionsFieldBuilder() { + getBigqueryOptionsFieldBuilder() { if (bigqueryOptionsBuilder_ == null) { if (!(optionsCase_ == 12)) { options_ = com.google.logging.v2.BigQueryOptions.getDefaultInstance(); } bigqueryOptionsBuilder_ = - new com.google.protobuf.SingleFieldBuilder< + new com.google.protobuf.SingleFieldBuilderV3< com.google.logging.v2.BigQueryOptions, com.google.logging.v2.BigQueryOptions.Builder, com.google.logging.v2.BigQueryOptionsOrBuilder>( @@ -3480,7 +3494,7 @@ public com.google.logging.v2.BigQueryOptionsOrBuilder getBigqueryOptionsOrBuilde } private com.google.protobuf.Timestamp createTime_; - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> @@ -3653,7 +3667,7 @@ public Builder clearCreateTime() { public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000400; onChanged(); - return internalGetCreateTimeFieldBuilder().getBuilder(); + return getCreateTimeFieldBuilder().getBuilder(); } /** @@ -3692,14 +3706,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> - internalGetCreateTimeFieldBuilder() { + getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilder< + new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( @@ -3710,7 +3724,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { } private com.google.protobuf.Timestamp updateTime_; - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> @@ -3883,7 +3897,7 @@ public Builder clearUpdateTime() { public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000800; onChanged(); - return internalGetUpdateTimeFieldBuilder().getBuilder(); + return getUpdateTimeFieldBuilder().getBuilder(); } /** @@ -3922,14 +3936,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> - internalGetUpdateTimeFieldBuilder() { + getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilder< + new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( @@ -3939,6 +3953,17 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { return updateTimeBuilder_; } + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:google.logging.v2.LogSink) } diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSinkOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSinkOrBuilder.java index 01e2f6ad3..e9cd2c7f9 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSinkOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSinkOrBuilder.java @@ -14,13 +14,11 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; -@com.google.protobuf.Generated public interface LogSinkOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.LogSink) @@ -68,9 +66,9 @@ public interface LogSinkOrBuilder *
    * Required. The export destination:
    *
-   * "storage.googleapis.com/[GCS_BUCKET]"
-   * "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"
-   * "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]"
+   *     "storage.googleapis.com/[GCS_BUCKET]"
+   *     "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"
+   *     "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]"
    *
    * The sink's `writer_identity`, set when the sink is created, must have
    * permission to write to the destination or else the log entries are not
@@ -93,9 +91,9 @@ public interface LogSinkOrBuilder
    * 
    * Required. The export destination:
    *
-   * "storage.googleapis.com/[GCS_BUCKET]"
-   * "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"
-   * "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]"
+   *     "storage.googleapis.com/[GCS_BUCKET]"
+   *     "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"
+   *     "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]"
    *
    * The sink's `writer_identity`, set when the sink is created, must have
    * permission to write to the destination or else the log entries are not
@@ -123,7 +121,7 @@ public interface LogSinkOrBuilder
    *
    * For example:
    *
-   * `logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR`
+   *   `logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR`
    * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -143,7 +141,7 @@ public interface LogSinkOrBuilder * * For example: * - * `logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR` + * `logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR` *
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; @@ -395,8 +393,8 @@ public interface LogSinkOrBuilder * To only export entries from certain child projects, filter on the project * part of the log name: * - * logName:("projects/test-project1/" OR "projects/test-project2/") AND - * resource.type=gce_instance + * logName:("projects/test-project1/" OR "projects/test-project2/") AND + * resource.type=gce_instance * * * bool include_children = 9 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSplit.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSplit.java index 9f62d77fc..c95f94fcd 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSplit.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSplit.java @@ -14,10 +14,9 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/log_entry.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -31,25 +30,14 @@ * * Protobuf type {@code google.logging.v2.LogSplit} */ -@com.google.protobuf.Generated -public final class LogSplit extends com.google.protobuf.GeneratedMessage +public final class LogSplit extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.logging.v2.LogSplit) LogSplitOrBuilder { private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 0, - /* suffix= */ "", - "LogSplit"); - } - // Use LogSplit.newBuilder() to construct. - private LogSplit(com.google.protobuf.GeneratedMessage.Builder builder) { + private LogSplit(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } @@ -57,13 +45,19 @@ private LogSplit() { uid_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new LogSplit(); + } + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LogEntryProto .internal_static_google_logging_v2_LogSplit_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LogEntryProto .internal_static_google_logging_v2_LogSplit_fieldAccessorTable @@ -182,8 +176,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(uid_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, uid_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uid_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uid_); } if (index_ != 0) { output.writeInt32(2, index_); @@ -200,8 +194,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(uid_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, uid_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uid_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, uid_); } if (index_ != 0) { size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, index_); @@ -285,38 +279,38 @@ public static com.google.logging.v2.LogSplit parseFrom( public static com.google.logging.v2.LogSplit parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.LogSplit parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.LogSplit parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.LogSplit parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.LogSplit parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.LogSplit parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } @@ -339,7 +333,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -355,7 +349,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder * * Protobuf type {@code google.logging.v2.LogSplit} */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.LogSplit) com.google.logging.v2.LogSplitOrBuilder { @@ -365,7 +359,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LogEntryProto .internal_static_google_logging_v2_LogSplit_fieldAccessorTable @@ -376,7 +370,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.logging.v2.LogSplit.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @@ -433,6 +427,39 @@ private void buildPartial0(com.google.logging.v2.LogSplit result) { } } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.LogSplit) { @@ -758,6 +785,17 @@ public Builder clearTotalSplits() { return this; } + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:google.logging.v2.LogSplit) } diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSplitOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSplitOrBuilder.java index bf3b5cf8b..5e20c6839 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSplitOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogSplitOrBuilder.java @@ -14,13 +14,11 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/log_entry.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; -@com.google.protobuf.Generated public interface LogSplitOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.LogSplit) diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogView.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogView.java index 12d221dcf..4605e3d9c 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogView.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogView.java @@ -14,10 +14,9 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -29,25 +28,14 @@ * * Protobuf type {@code google.logging.v2.LogView} */ -@com.google.protobuf.Generated -public final class LogView extends com.google.protobuf.GeneratedMessage +public final class LogView extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.logging.v2.LogView) LogViewOrBuilder { private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 0, - /* suffix= */ "", - "LogView"); - } - // Use LogView.newBuilder() to construct. - private LogView(com.google.protobuf.GeneratedMessage.Builder builder) { + private LogView(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } @@ -57,13 +45,19 @@ private LogView() { filter_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new LogView(); + } + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_LogView_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_LogView_fieldAccessorTable @@ -85,7 +79,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * For example: * - * `projects/my-project/locations/global/buckets/my-bucket/views/my-view` + * `projects/my-project/locations/global/buckets/my-bucket/views/my-view` * * * string name = 1; @@ -113,7 +107,7 @@ public java.lang.String getName() { * * For example: * - * `projects/my-project/locations/global/buckets/my-bucket/views/my-view` + * `projects/my-project/locations/global/buckets/my-bucket/views/my-view` * * * string name = 1; @@ -305,14 +299,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * Filters are restricted to be a logical AND of ==/!= of any of the * following: * - * - originating project/folder/organization/billing account. - * - resource type - * - log id + * - originating project/folder/organization/billing account. + * - resource type + * - log id * * For example: * - * SOURCE("projects/myproject") AND resource.type = "gce_instance" - * AND LOG_ID("stdout") + * SOURCE("projects/myproject") AND resource.type = "gce_instance" + * AND LOG_ID("stdout") * * * string filter = 7; @@ -342,14 +336,14 @@ public java.lang.String getFilter() { * Filters are restricted to be a logical AND of ==/!= of any of the * following: * - * - originating project/folder/organization/billing account. - * - resource type - * - log id + * - originating project/folder/organization/billing account. + * - resource type + * - log id * * For example: * - * SOURCE("projects/myproject") AND resource.type = "gce_instance" - * AND LOG_ID("stdout") + * SOURCE("projects/myproject") AND resource.type = "gce_instance" + * AND LOG_ID("stdout") * * * string filter = 7; @@ -383,11 +377,11 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 3, description_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, description_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(4, getCreateTime()); @@ -395,8 +389,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(5, getUpdateTime()); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(filter_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 7, filter_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 7, filter_); } getUnknownFields().writeTo(output); } @@ -407,11 +401,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(3, description_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCreateTime()); @@ -419,8 +413,8 @@ public int getSerializedSize() { if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getUpdateTime()); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(filter_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(7, filter_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, filter_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -514,38 +508,38 @@ public static com.google.logging.v2.LogView parseFrom( public static com.google.logging.v2.LogView parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.LogView parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.LogView parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.LogView parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.LogView parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.LogView parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } @@ -568,7 +562,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -582,7 +576,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder * * Protobuf type {@code google.logging.v2.LogView} */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.LogView) com.google.logging.v2.LogViewOrBuilder { @@ -592,7 +586,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_LogView_fieldAccessorTable @@ -605,15 +599,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { - internalGetCreateTimeFieldBuilder(); - internalGetUpdateTimeFieldBuilder(); + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getCreateTimeFieldBuilder(); + getUpdateTimeFieldBuilder(); } } @@ -690,6 +684,39 @@ private void buildPartial0(com.google.logging.v2.LogView result) { result.bitField0_ |= to_bitField0_; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.LogView) { @@ -763,15 +790,13 @@ public Builder mergeFrom( } // case 26 case 34: { - input.readMessage( - internalGetCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 34 case 42: { - input.readMessage( - internalGetUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000008; break; } // case 42 @@ -810,7 +835,7 @@ public Builder mergeFrom( * * For example: * - * `projects/my-project/locations/global/buckets/my-bucket/views/my-view` + * `projects/my-project/locations/global/buckets/my-bucket/views/my-view` * * * string name = 1; @@ -837,7 +862,7 @@ public java.lang.String getName() { * * For example: * - * `projects/my-project/locations/global/buckets/my-bucket/views/my-view` + * `projects/my-project/locations/global/buckets/my-bucket/views/my-view` * * * string name = 1; @@ -864,7 +889,7 @@ public com.google.protobuf.ByteString getNameBytes() { * * For example: * - * `projects/my-project/locations/global/buckets/my-bucket/views/my-view` + * `projects/my-project/locations/global/buckets/my-bucket/views/my-view` * * * string name = 1; @@ -890,7 +915,7 @@ public Builder setName(java.lang.String value) { * * For example: * - * `projects/my-project/locations/global/buckets/my-bucket/views/my-view` + * `projects/my-project/locations/global/buckets/my-bucket/views/my-view` * * * string name = 1; @@ -912,7 +937,7 @@ public Builder clearName() { * * For example: * - * `projects/my-project/locations/global/buckets/my-bucket/views/my-view` + * `projects/my-project/locations/global/buckets/my-bucket/views/my-view` * * * string name = 1; @@ -1043,7 +1068,7 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { } private com.google.protobuf.Timestamp createTime_; - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> @@ -1202,7 +1227,7 @@ public Builder clearCreateTime() { public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000004; onChanged(); - return internalGetCreateTimeFieldBuilder().getBuilder(); + return getCreateTimeFieldBuilder().getBuilder(); } /** @@ -1237,14 +1262,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> - internalGetCreateTimeFieldBuilder() { + getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilder< + new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( @@ -1255,7 +1280,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { } private com.google.protobuf.Timestamp updateTime_; - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> @@ -1414,7 +1439,7 @@ public Builder clearUpdateTime() { public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { bitField0_ |= 0x00000008; onChanged(); - return internalGetUpdateTimeFieldBuilder().getBuilder(); + return getUpdateTimeFieldBuilder().getBuilder(); } /** @@ -1449,14 +1474,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> - internalGetUpdateTimeFieldBuilder() { + getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { updateTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilder< + new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( @@ -1478,14 +1503,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * Filters are restricted to be a logical AND of ==/!= of any of the * following: * - * - originating project/folder/organization/billing account. - * - resource type - * - log id + * - originating project/folder/organization/billing account. + * - resource type + * - log id * * For example: * - * SOURCE("projects/myproject") AND resource.type = "gce_instance" - * AND LOG_ID("stdout") + * SOURCE("projects/myproject") AND resource.type = "gce_instance" + * AND LOG_ID("stdout") * * * string filter = 7; @@ -1514,14 +1539,14 @@ public java.lang.String getFilter() { * Filters are restricted to be a logical AND of ==/!= of any of the * following: * - * - originating project/folder/organization/billing account. - * - resource type - * - log id + * - originating project/folder/organization/billing account. + * - resource type + * - log id * * For example: * - * SOURCE("projects/myproject") AND resource.type = "gce_instance" - * AND LOG_ID("stdout") + * SOURCE("projects/myproject") AND resource.type = "gce_instance" + * AND LOG_ID("stdout") * * * string filter = 7; @@ -1550,14 +1575,14 @@ public com.google.protobuf.ByteString getFilterBytes() { * Filters are restricted to be a logical AND of ==/!= of any of the * following: * - * - originating project/folder/organization/billing account. - * - resource type - * - log id + * - originating project/folder/organization/billing account. + * - resource type + * - log id * * For example: * - * SOURCE("projects/myproject") AND resource.type = "gce_instance" - * AND LOG_ID("stdout") + * SOURCE("projects/myproject") AND resource.type = "gce_instance" + * AND LOG_ID("stdout") * * * string filter = 7; @@ -1585,14 +1610,14 @@ public Builder setFilter(java.lang.String value) { * Filters are restricted to be a logical AND of ==/!= of any of the * following: * - * - originating project/folder/organization/billing account. - * - resource type - * - log id + * - originating project/folder/organization/billing account. + * - resource type + * - log id * * For example: * - * SOURCE("projects/myproject") AND resource.type = "gce_instance" - * AND LOG_ID("stdout") + * SOURCE("projects/myproject") AND resource.type = "gce_instance" + * AND LOG_ID("stdout") * * * string filter = 7; @@ -1616,14 +1641,14 @@ public Builder clearFilter() { * Filters are restricted to be a logical AND of ==/!= of any of the * following: * - * - originating project/folder/organization/billing account. - * - resource type - * - log id + * - originating project/folder/organization/billing account. + * - resource type + * - log id * * For example: * - * SOURCE("projects/myproject") AND resource.type = "gce_instance" - * AND LOG_ID("stdout") + * SOURCE("projects/myproject") AND resource.type = "gce_instance" + * AND LOG_ID("stdout") * * * string filter = 7; @@ -1642,6 +1667,17 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { return this; } + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:google.logging.v2.LogView) } diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogViewOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogViewOrBuilder.java index db1b2130c..9d033b09c 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogViewOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogViewOrBuilder.java @@ -14,13 +14,11 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; -@com.google.protobuf.Generated public interface LogViewOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.LogView) @@ -34,7 +32,7 @@ public interface LogViewOrBuilder * * For example: * - * `projects/my-project/locations/global/buckets/my-bucket/views/my-view` + * `projects/my-project/locations/global/buckets/my-bucket/views/my-view` * * * string name = 1; @@ -51,7 +49,7 @@ public interface LogViewOrBuilder * * For example: * - * `projects/my-project/locations/global/buckets/my-bucket/views/my-view` + * `projects/my-project/locations/global/buckets/my-bucket/views/my-view` * * * string name = 1; @@ -176,14 +174,14 @@ public interface LogViewOrBuilder * Filters are restricted to be a logical AND of ==/!= of any of the * following: * - * - originating project/folder/organization/billing account. - * - resource type - * - log id + * - originating project/folder/organization/billing account. + * - resource type + * - log id * * For example: * - * SOURCE("projects/myproject") AND resource.type = "gce_instance" - * AND LOG_ID("stdout") + * SOURCE("projects/myproject") AND resource.type = "gce_instance" + * AND LOG_ID("stdout") * * * string filter = 7; @@ -202,14 +200,14 @@ public interface LogViewOrBuilder * Filters are restricted to be a logical AND of ==/!= of any of the * following: * - * - originating project/folder/organization/billing account. - * - resource type - * - log id + * - originating project/folder/organization/billing account. + * - resource type + * - log id * * For example: * - * SOURCE("projects/myproject") AND resource.type = "gce_instance" - * AND LOG_ID("stdout") + * SOURCE("projects/myproject") AND resource.type = "gce_instance" + * AND LOG_ID("stdout") * * * string filter = 7; diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingConfigProto.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingConfigProto.java index 462d80d22..2857b4051 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingConfigProto.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingConfigProto.java @@ -14,26 +14,14 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; -@com.google.protobuf.Generated -public final class LoggingConfigProto extends com.google.protobuf.GeneratedFile { +public final class LoggingConfigProto { private LoggingConfigProto() {} - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 0, - /* suffix= */ "", - "LoggingConfigProto"); - } - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { @@ -42,203 +30,203 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_IndexConfig_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_logging_v2_IndexConfig_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_LogBucket_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_logging_v2_LogBucket_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_LogView_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_logging_v2_LogView_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_LogSink_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_logging_v2_LogSink_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_BigQueryDataset_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_logging_v2_BigQueryDataset_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_Link_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_logging_v2_Link_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_BigQueryOptions_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_logging_v2_BigQueryOptions_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_ListBucketsRequest_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_logging_v2_ListBucketsRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_ListBucketsResponse_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_logging_v2_ListBucketsResponse_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_CreateBucketRequest_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_logging_v2_CreateBucketRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_UpdateBucketRequest_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_logging_v2_UpdateBucketRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_GetBucketRequest_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_logging_v2_GetBucketRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_DeleteBucketRequest_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_logging_v2_DeleteBucketRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_UndeleteBucketRequest_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_logging_v2_UndeleteBucketRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_ListViewsRequest_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_logging_v2_ListViewsRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_ListViewsResponse_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_logging_v2_ListViewsResponse_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_CreateViewRequest_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_logging_v2_CreateViewRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_UpdateViewRequest_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_logging_v2_UpdateViewRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_GetViewRequest_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_logging_v2_GetViewRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_DeleteViewRequest_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_logging_v2_DeleteViewRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_ListSinksRequest_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_logging_v2_ListSinksRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_ListSinksResponse_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_logging_v2_ListSinksResponse_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_GetSinkRequest_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_logging_v2_GetSinkRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_CreateSinkRequest_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_logging_v2_CreateSinkRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_UpdateSinkRequest_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_logging_v2_UpdateSinkRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_DeleteSinkRequest_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_logging_v2_DeleteSinkRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_CreateLinkRequest_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_logging_v2_CreateLinkRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_DeleteLinkRequest_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_logging_v2_DeleteLinkRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_ListLinksRequest_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_logging_v2_ListLinksRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_ListLinksResponse_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_logging_v2_ListLinksResponse_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_GetLinkRequest_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_logging_v2_GetLinkRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_LogExclusion_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_logging_v2_LogExclusion_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_ListExclusionsRequest_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_logging_v2_ListExclusionsRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_ListExclusionsResponse_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_logging_v2_ListExclusionsResponse_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_GetExclusionRequest_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_logging_v2_GetExclusionRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_CreateExclusionRequest_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_logging_v2_CreateExclusionRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_UpdateExclusionRequest_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_logging_v2_UpdateExclusionRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_DeleteExclusionRequest_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_logging_v2_DeleteExclusionRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_GetCmekSettingsRequest_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_logging_v2_GetCmekSettingsRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_UpdateCmekSettingsRequest_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_logging_v2_UpdateCmekSettingsRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_CmekSettings_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_logging_v2_CmekSettings_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_GetSettingsRequest_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_logging_v2_GetSettingsRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_UpdateSettingsRequest_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_logging_v2_UpdateSettingsRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_Settings_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_logging_v2_Settings_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_CopyLogEntriesRequest_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_logging_v2_CopyLogEntriesRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_CopyLogEntriesMetadata_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_logging_v2_CopyLogEntriesMetadata_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_CopyLogEntriesResponse_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_logging_v2_CopyLogEntriesResponse_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_BucketMetadata_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_logging_v2_BucketMetadata_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_LinkMetadata_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_logging_v2_LinkMetadata_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_LocationMetadata_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_logging_v2_LocationMetadata_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -826,16 +814,18 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.protobuf.FieldMaskProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), }); - internal_static_google_logging_v2_IndexConfig_descriptor = getDescriptor().getMessageType(0); + internal_static_google_logging_v2_IndexConfig_descriptor = + getDescriptor().getMessageTypes().get(0); internal_static_google_logging_v2_IndexConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_logging_v2_IndexConfig_descriptor, new java.lang.String[] { "FieldPath", "Type", "CreateTime", }); - internal_static_google_logging_v2_LogBucket_descriptor = getDescriptor().getMessageType(1); + internal_static_google_logging_v2_LogBucket_descriptor = + getDescriptor().getMessageTypes().get(1); internal_static_google_logging_v2_LogBucket_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_logging_v2_LogBucket_descriptor, new java.lang.String[] { "Name", @@ -850,16 +840,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "IndexConfigs", "CmekSettings", }); - internal_static_google_logging_v2_LogView_descriptor = getDescriptor().getMessageType(2); + internal_static_google_logging_v2_LogView_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_google_logging_v2_LogView_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_logging_v2_LogView_descriptor, new java.lang.String[] { "Name", "Description", "CreateTime", "UpdateTime", "Filter", }); - internal_static_google_logging_v2_LogSink_descriptor = getDescriptor().getMessageType(3); + internal_static_google_logging_v2_LogSink_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_google_logging_v2_LogSink_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_logging_v2_LogSink_descriptor, new java.lang.String[] { "Name", @@ -877,333 +867,336 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Options", }); internal_static_google_logging_v2_BigQueryDataset_descriptor = - getDescriptor().getMessageType(4); + getDescriptor().getMessageTypes().get(4); internal_static_google_logging_v2_BigQueryDataset_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_logging_v2_BigQueryDataset_descriptor, new java.lang.String[] { "DatasetId", }); - internal_static_google_logging_v2_Link_descriptor = getDescriptor().getMessageType(5); + internal_static_google_logging_v2_Link_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_google_logging_v2_Link_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_logging_v2_Link_descriptor, new java.lang.String[] { "Name", "Description", "CreateTime", "LifecycleState", "BigqueryDataset", }); internal_static_google_logging_v2_BigQueryOptions_descriptor = - getDescriptor().getMessageType(6); + getDescriptor().getMessageTypes().get(6); internal_static_google_logging_v2_BigQueryOptions_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_logging_v2_BigQueryOptions_descriptor, new java.lang.String[] { "UsePartitionedTables", "UsesTimestampColumnPartitioning", }); internal_static_google_logging_v2_ListBucketsRequest_descriptor = - getDescriptor().getMessageType(7); + getDescriptor().getMessageTypes().get(7); internal_static_google_logging_v2_ListBucketsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_logging_v2_ListBucketsRequest_descriptor, new java.lang.String[] { "Parent", "PageToken", "PageSize", }); internal_static_google_logging_v2_ListBucketsResponse_descriptor = - getDescriptor().getMessageType(8); + getDescriptor().getMessageTypes().get(8); internal_static_google_logging_v2_ListBucketsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_logging_v2_ListBucketsResponse_descriptor, new java.lang.String[] { "Buckets", "NextPageToken", }); internal_static_google_logging_v2_CreateBucketRequest_descriptor = - getDescriptor().getMessageType(9); + getDescriptor().getMessageTypes().get(9); internal_static_google_logging_v2_CreateBucketRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_logging_v2_CreateBucketRequest_descriptor, new java.lang.String[] { "Parent", "BucketId", "Bucket", }); internal_static_google_logging_v2_UpdateBucketRequest_descriptor = - getDescriptor().getMessageType(10); + getDescriptor().getMessageTypes().get(10); internal_static_google_logging_v2_UpdateBucketRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_logging_v2_UpdateBucketRequest_descriptor, new java.lang.String[] { "Name", "Bucket", "UpdateMask", }); internal_static_google_logging_v2_GetBucketRequest_descriptor = - getDescriptor().getMessageType(11); + getDescriptor().getMessageTypes().get(11); internal_static_google_logging_v2_GetBucketRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_logging_v2_GetBucketRequest_descriptor, new java.lang.String[] { "Name", }); internal_static_google_logging_v2_DeleteBucketRequest_descriptor = - getDescriptor().getMessageType(12); + getDescriptor().getMessageTypes().get(12); internal_static_google_logging_v2_DeleteBucketRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_logging_v2_DeleteBucketRequest_descriptor, new java.lang.String[] { "Name", }); internal_static_google_logging_v2_UndeleteBucketRequest_descriptor = - getDescriptor().getMessageType(13); + getDescriptor().getMessageTypes().get(13); internal_static_google_logging_v2_UndeleteBucketRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_logging_v2_UndeleteBucketRequest_descriptor, new java.lang.String[] { "Name", }); internal_static_google_logging_v2_ListViewsRequest_descriptor = - getDescriptor().getMessageType(14); + getDescriptor().getMessageTypes().get(14); internal_static_google_logging_v2_ListViewsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_logging_v2_ListViewsRequest_descriptor, new java.lang.String[] { "Parent", "PageToken", "PageSize", }); internal_static_google_logging_v2_ListViewsResponse_descriptor = - getDescriptor().getMessageType(15); + getDescriptor().getMessageTypes().get(15); internal_static_google_logging_v2_ListViewsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_logging_v2_ListViewsResponse_descriptor, new java.lang.String[] { "Views", "NextPageToken", }); internal_static_google_logging_v2_CreateViewRequest_descriptor = - getDescriptor().getMessageType(16); + getDescriptor().getMessageTypes().get(16); internal_static_google_logging_v2_CreateViewRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_logging_v2_CreateViewRequest_descriptor, new java.lang.String[] { "Parent", "ViewId", "View", }); internal_static_google_logging_v2_UpdateViewRequest_descriptor = - getDescriptor().getMessageType(17); + getDescriptor().getMessageTypes().get(17); internal_static_google_logging_v2_UpdateViewRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_logging_v2_UpdateViewRequest_descriptor, new java.lang.String[] { "Name", "View", "UpdateMask", }); internal_static_google_logging_v2_GetViewRequest_descriptor = - getDescriptor().getMessageType(18); + getDescriptor().getMessageTypes().get(18); internal_static_google_logging_v2_GetViewRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_logging_v2_GetViewRequest_descriptor, new java.lang.String[] { "Name", }); internal_static_google_logging_v2_DeleteViewRequest_descriptor = - getDescriptor().getMessageType(19); + getDescriptor().getMessageTypes().get(19); internal_static_google_logging_v2_DeleteViewRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_logging_v2_DeleteViewRequest_descriptor, new java.lang.String[] { "Name", }); internal_static_google_logging_v2_ListSinksRequest_descriptor = - getDescriptor().getMessageType(20); + getDescriptor().getMessageTypes().get(20); internal_static_google_logging_v2_ListSinksRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_logging_v2_ListSinksRequest_descriptor, new java.lang.String[] { "Parent", "PageToken", "PageSize", }); internal_static_google_logging_v2_ListSinksResponse_descriptor = - getDescriptor().getMessageType(21); + getDescriptor().getMessageTypes().get(21); internal_static_google_logging_v2_ListSinksResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_logging_v2_ListSinksResponse_descriptor, new java.lang.String[] { "Sinks", "NextPageToken", }); internal_static_google_logging_v2_GetSinkRequest_descriptor = - getDescriptor().getMessageType(22); + getDescriptor().getMessageTypes().get(22); internal_static_google_logging_v2_GetSinkRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_logging_v2_GetSinkRequest_descriptor, new java.lang.String[] { "SinkName", }); internal_static_google_logging_v2_CreateSinkRequest_descriptor = - getDescriptor().getMessageType(23); + getDescriptor().getMessageTypes().get(23); internal_static_google_logging_v2_CreateSinkRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_logging_v2_CreateSinkRequest_descriptor, new java.lang.String[] { "Parent", "Sink", "UniqueWriterIdentity", }); internal_static_google_logging_v2_UpdateSinkRequest_descriptor = - getDescriptor().getMessageType(24); + getDescriptor().getMessageTypes().get(24); internal_static_google_logging_v2_UpdateSinkRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_logging_v2_UpdateSinkRequest_descriptor, new java.lang.String[] { "SinkName", "Sink", "UniqueWriterIdentity", "UpdateMask", }); internal_static_google_logging_v2_DeleteSinkRequest_descriptor = - getDescriptor().getMessageType(25); + getDescriptor().getMessageTypes().get(25); internal_static_google_logging_v2_DeleteSinkRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_logging_v2_DeleteSinkRequest_descriptor, new java.lang.String[] { "SinkName", }); internal_static_google_logging_v2_CreateLinkRequest_descriptor = - getDescriptor().getMessageType(26); + getDescriptor().getMessageTypes().get(26); internal_static_google_logging_v2_CreateLinkRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_logging_v2_CreateLinkRequest_descriptor, new java.lang.String[] { "Parent", "Link", "LinkId", }); internal_static_google_logging_v2_DeleteLinkRequest_descriptor = - getDescriptor().getMessageType(27); + getDescriptor().getMessageTypes().get(27); internal_static_google_logging_v2_DeleteLinkRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_logging_v2_DeleteLinkRequest_descriptor, new java.lang.String[] { "Name", }); internal_static_google_logging_v2_ListLinksRequest_descriptor = - getDescriptor().getMessageType(28); + getDescriptor().getMessageTypes().get(28); internal_static_google_logging_v2_ListLinksRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_logging_v2_ListLinksRequest_descriptor, new java.lang.String[] { "Parent", "PageToken", "PageSize", }); internal_static_google_logging_v2_ListLinksResponse_descriptor = - getDescriptor().getMessageType(29); + getDescriptor().getMessageTypes().get(29); internal_static_google_logging_v2_ListLinksResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_logging_v2_ListLinksResponse_descriptor, new java.lang.String[] { "Links", "NextPageToken", }); internal_static_google_logging_v2_GetLinkRequest_descriptor = - getDescriptor().getMessageType(30); + getDescriptor().getMessageTypes().get(30); internal_static_google_logging_v2_GetLinkRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_logging_v2_GetLinkRequest_descriptor, new java.lang.String[] { "Name", }); - internal_static_google_logging_v2_LogExclusion_descriptor = getDescriptor().getMessageType(31); + internal_static_google_logging_v2_LogExclusion_descriptor = + getDescriptor().getMessageTypes().get(31); internal_static_google_logging_v2_LogExclusion_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_logging_v2_LogExclusion_descriptor, new java.lang.String[] { "Name", "Description", "Filter", "Disabled", "CreateTime", "UpdateTime", }); internal_static_google_logging_v2_ListExclusionsRequest_descriptor = - getDescriptor().getMessageType(32); + getDescriptor().getMessageTypes().get(32); internal_static_google_logging_v2_ListExclusionsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_logging_v2_ListExclusionsRequest_descriptor, new java.lang.String[] { "Parent", "PageToken", "PageSize", }); internal_static_google_logging_v2_ListExclusionsResponse_descriptor = - getDescriptor().getMessageType(33); + getDescriptor().getMessageTypes().get(33); internal_static_google_logging_v2_ListExclusionsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_logging_v2_ListExclusionsResponse_descriptor, new java.lang.String[] { "Exclusions", "NextPageToken", }); internal_static_google_logging_v2_GetExclusionRequest_descriptor = - getDescriptor().getMessageType(34); + getDescriptor().getMessageTypes().get(34); internal_static_google_logging_v2_GetExclusionRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_logging_v2_GetExclusionRequest_descriptor, new java.lang.String[] { "Name", }); internal_static_google_logging_v2_CreateExclusionRequest_descriptor = - getDescriptor().getMessageType(35); + getDescriptor().getMessageTypes().get(35); internal_static_google_logging_v2_CreateExclusionRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_logging_v2_CreateExclusionRequest_descriptor, new java.lang.String[] { "Parent", "Exclusion", }); internal_static_google_logging_v2_UpdateExclusionRequest_descriptor = - getDescriptor().getMessageType(36); + getDescriptor().getMessageTypes().get(36); internal_static_google_logging_v2_UpdateExclusionRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_logging_v2_UpdateExclusionRequest_descriptor, new java.lang.String[] { "Name", "Exclusion", "UpdateMask", }); internal_static_google_logging_v2_DeleteExclusionRequest_descriptor = - getDescriptor().getMessageType(37); + getDescriptor().getMessageTypes().get(37); internal_static_google_logging_v2_DeleteExclusionRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_logging_v2_DeleteExclusionRequest_descriptor, new java.lang.String[] { "Name", }); internal_static_google_logging_v2_GetCmekSettingsRequest_descriptor = - getDescriptor().getMessageType(38); + getDescriptor().getMessageTypes().get(38); internal_static_google_logging_v2_GetCmekSettingsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_logging_v2_GetCmekSettingsRequest_descriptor, new java.lang.String[] { "Name", }); internal_static_google_logging_v2_UpdateCmekSettingsRequest_descriptor = - getDescriptor().getMessageType(39); + getDescriptor().getMessageTypes().get(39); internal_static_google_logging_v2_UpdateCmekSettingsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_logging_v2_UpdateCmekSettingsRequest_descriptor, new java.lang.String[] { "Name", "CmekSettings", "UpdateMask", }); - internal_static_google_logging_v2_CmekSettings_descriptor = getDescriptor().getMessageType(40); + internal_static_google_logging_v2_CmekSettings_descriptor = + getDescriptor().getMessageTypes().get(40); internal_static_google_logging_v2_CmekSettings_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_logging_v2_CmekSettings_descriptor, new java.lang.String[] { "Name", "KmsKeyName", "KmsKeyVersionName", "ServiceAccountId", }); internal_static_google_logging_v2_GetSettingsRequest_descriptor = - getDescriptor().getMessageType(41); + getDescriptor().getMessageTypes().get(41); internal_static_google_logging_v2_GetSettingsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_logging_v2_GetSettingsRequest_descriptor, new java.lang.String[] { "Name", }); internal_static_google_logging_v2_UpdateSettingsRequest_descriptor = - getDescriptor().getMessageType(42); + getDescriptor().getMessageTypes().get(42); internal_static_google_logging_v2_UpdateSettingsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_logging_v2_UpdateSettingsRequest_descriptor, new java.lang.String[] { "Name", "Settings", "UpdateMask", }); - internal_static_google_logging_v2_Settings_descriptor = getDescriptor().getMessageType(43); + internal_static_google_logging_v2_Settings_descriptor = + getDescriptor().getMessageTypes().get(43); internal_static_google_logging_v2_Settings_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_logging_v2_Settings_descriptor, new java.lang.String[] { "Name", "KmsKeyName", "KmsServiceAccountId", "StorageLocation", "DisableDefaultSink", }); internal_static_google_logging_v2_CopyLogEntriesRequest_descriptor = - getDescriptor().getMessageType(44); + getDescriptor().getMessageTypes().get(44); internal_static_google_logging_v2_CopyLogEntriesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_logging_v2_CopyLogEntriesRequest_descriptor, new java.lang.String[] { "Name", "Filter", "Destination", }); internal_static_google_logging_v2_CopyLogEntriesMetadata_descriptor = - getDescriptor().getMessageType(45); + getDescriptor().getMessageTypes().get(45); internal_static_google_logging_v2_CopyLogEntriesMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_logging_v2_CopyLogEntriesMetadata_descriptor, new java.lang.String[] { "StartTime", @@ -1215,17 +1208,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "WriterIdentity", }); internal_static_google_logging_v2_CopyLogEntriesResponse_descriptor = - getDescriptor().getMessageType(46); + getDescriptor().getMessageTypes().get(46); internal_static_google_logging_v2_CopyLogEntriesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_logging_v2_CopyLogEntriesResponse_descriptor, new java.lang.String[] { "LogEntriesCopiedCount", }); internal_static_google_logging_v2_BucketMetadata_descriptor = - getDescriptor().getMessageType(47); + getDescriptor().getMessageTypes().get(47); internal_static_google_logging_v2_BucketMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_logging_v2_BucketMetadata_descriptor, new java.lang.String[] { "StartTime", @@ -1235,30 +1228,22 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "UpdateBucketRequest", "Request", }); - internal_static_google_logging_v2_LinkMetadata_descriptor = getDescriptor().getMessageType(48); + internal_static_google_logging_v2_LinkMetadata_descriptor = + getDescriptor().getMessageTypes().get(48); internal_static_google_logging_v2_LinkMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_logging_v2_LinkMetadata_descriptor, new java.lang.String[] { "StartTime", "EndTime", "State", "CreateLinkRequest", "DeleteLinkRequest", "Request", }); internal_static_google_logging_v2_LocationMetadata_descriptor = - getDescriptor().getMessageType(49); + getDescriptor().getMessageTypes().get(49); internal_static_google_logging_v2_LocationMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_logging_v2_LocationMetadata_descriptor, new java.lang.String[] { "LogAnalyticsEnabled", }); - descriptor.resolveAllFeaturesImmutable(); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.api.ClientProto.defaultHost); @@ -1272,6 +1257,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { registry.add(com.google.longrunning.OperationsProto.operationInfo); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingMetricsProto.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingMetricsProto.java index 768966a2a..8fcc26dfa 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingMetricsProto.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingMetricsProto.java @@ -14,26 +14,14 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_metrics.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; -@com.google.protobuf.Generated -public final class LoggingMetricsProto extends com.google.protobuf.GeneratedFile { +public final class LoggingMetricsProto { private LoggingMetricsProto() {} - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 0, - /* suffix= */ "", - "LoggingMetricsProto"); - } - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { @@ -42,35 +30,35 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_LogMetric_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_logging_v2_LogMetric_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_LogMetric_LabelExtractorsEntry_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_logging_v2_LogMetric_LabelExtractorsEntry_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_ListLogMetricsRequest_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_logging_v2_ListLogMetricsRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_ListLogMetricsResponse_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_logging_v2_ListLogMetricsResponse_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_GetLogMetricRequest_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_logging_v2_GetLogMetricRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_CreateLogMetricRequest_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_logging_v2_CreateLogMetricRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_UpdateLogMetricRequest_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_logging_v2_UpdateLogMetricRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_DeleteLogMetricRequest_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_logging_v2_DeleteLogMetricRequest_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -178,9 +166,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.protobuf.EmptyProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), }); - internal_static_google_logging_v2_LogMetric_descriptor = getDescriptor().getMessageType(0); + internal_static_google_logging_v2_LogMetric_descriptor = + getDescriptor().getMessageTypes().get(0); internal_static_google_logging_v2_LogMetric_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_logging_v2_LogMetric_descriptor, new java.lang.String[] { "Name", @@ -197,70 +186,61 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Version", }); internal_static_google_logging_v2_LogMetric_LabelExtractorsEntry_descriptor = - internal_static_google_logging_v2_LogMetric_descriptor.getNestedType(0); + internal_static_google_logging_v2_LogMetric_descriptor.getNestedTypes().get(0); internal_static_google_logging_v2_LogMetric_LabelExtractorsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_logging_v2_LogMetric_LabelExtractorsEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_google_logging_v2_ListLogMetricsRequest_descriptor = - getDescriptor().getMessageType(1); + getDescriptor().getMessageTypes().get(1); internal_static_google_logging_v2_ListLogMetricsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_logging_v2_ListLogMetricsRequest_descriptor, new java.lang.String[] { "Parent", "PageToken", "PageSize", }); internal_static_google_logging_v2_ListLogMetricsResponse_descriptor = - getDescriptor().getMessageType(2); + getDescriptor().getMessageTypes().get(2); internal_static_google_logging_v2_ListLogMetricsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_logging_v2_ListLogMetricsResponse_descriptor, new java.lang.String[] { "Metrics", "NextPageToken", }); internal_static_google_logging_v2_GetLogMetricRequest_descriptor = - getDescriptor().getMessageType(3); + getDescriptor().getMessageTypes().get(3); internal_static_google_logging_v2_GetLogMetricRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_logging_v2_GetLogMetricRequest_descriptor, new java.lang.String[] { "MetricName", }); internal_static_google_logging_v2_CreateLogMetricRequest_descriptor = - getDescriptor().getMessageType(4); + getDescriptor().getMessageTypes().get(4); internal_static_google_logging_v2_CreateLogMetricRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_logging_v2_CreateLogMetricRequest_descriptor, new java.lang.String[] { "Parent", "Metric", }); internal_static_google_logging_v2_UpdateLogMetricRequest_descriptor = - getDescriptor().getMessageType(5); + getDescriptor().getMessageTypes().get(5); internal_static_google_logging_v2_UpdateLogMetricRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_logging_v2_UpdateLogMetricRequest_descriptor, new java.lang.String[] { "MetricName", "Metric", }); internal_static_google_logging_v2_DeleteLogMetricRequest_descriptor = - getDescriptor().getMessageType(6); + getDescriptor().getMessageTypes().get(6); internal_static_google_logging_v2_DeleteLogMetricRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_logging_v2_DeleteLogMetricRequest_descriptor, new java.lang.String[] { "MetricName", }); - descriptor.resolveAllFeaturesImmutable(); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.DistributionProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.MetricProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.api.ClientProto.defaultHost); @@ -272,6 +252,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { registry.add(com.google.api.ResourceProto.resourceReference); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.DistributionProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.MetricProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingProto.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingProto.java index 6ac84a772..9d1b286df 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingProto.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingProto.java @@ -14,26 +14,14 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; -@com.google.protobuf.Generated -public final class LoggingProto extends com.google.protobuf.GeneratedFile { +public final class LoggingProto { private LoggingProto() {} - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 0, - /* suffix= */ "", - "LoggingProto"); - } - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { @@ -42,63 +30,63 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_DeleteLogRequest_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_logging_v2_DeleteLogRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_WriteLogEntriesRequest_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_logging_v2_WriteLogEntriesRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_WriteLogEntriesRequest_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_logging_v2_WriteLogEntriesRequest_LabelsEntry_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_WriteLogEntriesResponse_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_logging_v2_WriteLogEntriesResponse_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_WriteLogEntriesPartialErrors_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_logging_v2_WriteLogEntriesPartialErrors_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_WriteLogEntriesPartialErrors_LogEntryErrorsEntry_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_logging_v2_WriteLogEntriesPartialErrors_LogEntryErrorsEntry_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_ListLogEntriesRequest_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_logging_v2_ListLogEntriesRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_ListLogEntriesResponse_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_logging_v2_ListLogEntriesResponse_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_ListMonitoredResourceDescriptorsRequest_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_logging_v2_ListMonitoredResourceDescriptorsRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_ListMonitoredResourceDescriptorsResponse_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_logging_v2_ListMonitoredResourceDescriptorsResponse_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_ListLogsRequest_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_logging_v2_ListLogsRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_ListLogsResponse_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_logging_v2_ListLogsResponse_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_TailLogEntriesRequest_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_logging_v2_TailLogEntriesRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_TailLogEntriesResponse_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_logging_v2_TailLogEntriesResponse_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_logging_v2_TailLogEntriesResponse_SuppressionInfo_descriptor; - static final com.google.protobuf.GeneratedMessage.FieldAccessorTable + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_logging_v2_TailLogEntriesResponse_SuppressionInfo_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -237,133 +225,125 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.rpc.StatusProto.getDescriptor(), }); internal_static_google_logging_v2_DeleteLogRequest_descriptor = - getDescriptor().getMessageType(0); + getDescriptor().getMessageTypes().get(0); internal_static_google_logging_v2_DeleteLogRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_logging_v2_DeleteLogRequest_descriptor, new java.lang.String[] { "LogName", }); internal_static_google_logging_v2_WriteLogEntriesRequest_descriptor = - getDescriptor().getMessageType(1); + getDescriptor().getMessageTypes().get(1); internal_static_google_logging_v2_WriteLogEntriesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_logging_v2_WriteLogEntriesRequest_descriptor, new java.lang.String[] { "LogName", "Resource", "Labels", "Entries", "PartialSuccess", "DryRun", }); internal_static_google_logging_v2_WriteLogEntriesRequest_LabelsEntry_descriptor = - internal_static_google_logging_v2_WriteLogEntriesRequest_descriptor.getNestedType(0); + internal_static_google_logging_v2_WriteLogEntriesRequest_descriptor.getNestedTypes().get(0); internal_static_google_logging_v2_WriteLogEntriesRequest_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_logging_v2_WriteLogEntriesRequest_LabelsEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_google_logging_v2_WriteLogEntriesResponse_descriptor = - getDescriptor().getMessageType(2); + getDescriptor().getMessageTypes().get(2); internal_static_google_logging_v2_WriteLogEntriesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_logging_v2_WriteLogEntriesResponse_descriptor, new java.lang.String[] {}); internal_static_google_logging_v2_WriteLogEntriesPartialErrors_descriptor = - getDescriptor().getMessageType(3); + getDescriptor().getMessageTypes().get(3); internal_static_google_logging_v2_WriteLogEntriesPartialErrors_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_logging_v2_WriteLogEntriesPartialErrors_descriptor, new java.lang.String[] { "LogEntryErrors", }); internal_static_google_logging_v2_WriteLogEntriesPartialErrors_LogEntryErrorsEntry_descriptor = - internal_static_google_logging_v2_WriteLogEntriesPartialErrors_descriptor.getNestedType(0); + internal_static_google_logging_v2_WriteLogEntriesPartialErrors_descriptor + .getNestedTypes() + .get(0); internal_static_google_logging_v2_WriteLogEntriesPartialErrors_LogEntryErrorsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_logging_v2_WriteLogEntriesPartialErrors_LogEntryErrorsEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_google_logging_v2_ListLogEntriesRequest_descriptor = - getDescriptor().getMessageType(4); + getDescriptor().getMessageTypes().get(4); internal_static_google_logging_v2_ListLogEntriesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_logging_v2_ListLogEntriesRequest_descriptor, new java.lang.String[] { "ResourceNames", "Filter", "OrderBy", "PageSize", "PageToken", }); internal_static_google_logging_v2_ListLogEntriesResponse_descriptor = - getDescriptor().getMessageType(5); + getDescriptor().getMessageTypes().get(5); internal_static_google_logging_v2_ListLogEntriesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_logging_v2_ListLogEntriesResponse_descriptor, new java.lang.String[] { "Entries", "NextPageToken", }); internal_static_google_logging_v2_ListMonitoredResourceDescriptorsRequest_descriptor = - getDescriptor().getMessageType(6); + getDescriptor().getMessageTypes().get(6); internal_static_google_logging_v2_ListMonitoredResourceDescriptorsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_logging_v2_ListMonitoredResourceDescriptorsRequest_descriptor, new java.lang.String[] { "PageSize", "PageToken", }); internal_static_google_logging_v2_ListMonitoredResourceDescriptorsResponse_descriptor = - getDescriptor().getMessageType(7); + getDescriptor().getMessageTypes().get(7); internal_static_google_logging_v2_ListMonitoredResourceDescriptorsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_logging_v2_ListMonitoredResourceDescriptorsResponse_descriptor, new java.lang.String[] { "ResourceDescriptors", "NextPageToken", }); internal_static_google_logging_v2_ListLogsRequest_descriptor = - getDescriptor().getMessageType(8); + getDescriptor().getMessageTypes().get(8); internal_static_google_logging_v2_ListLogsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_logging_v2_ListLogsRequest_descriptor, new java.lang.String[] { "Parent", "ResourceNames", "PageSize", "PageToken", }); internal_static_google_logging_v2_ListLogsResponse_descriptor = - getDescriptor().getMessageType(9); + getDescriptor().getMessageTypes().get(9); internal_static_google_logging_v2_ListLogsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_logging_v2_ListLogsResponse_descriptor, new java.lang.String[] { "LogNames", "NextPageToken", }); internal_static_google_logging_v2_TailLogEntriesRequest_descriptor = - getDescriptor().getMessageType(10); + getDescriptor().getMessageTypes().get(10); internal_static_google_logging_v2_TailLogEntriesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_logging_v2_TailLogEntriesRequest_descriptor, new java.lang.String[] { "ResourceNames", "Filter", "BufferWindow", }); internal_static_google_logging_v2_TailLogEntriesResponse_descriptor = - getDescriptor().getMessageType(11); + getDescriptor().getMessageTypes().get(11); internal_static_google_logging_v2_TailLogEntriesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_logging_v2_TailLogEntriesResponse_descriptor, new java.lang.String[] { "Entries", "SuppressionInfo", }); internal_static_google_logging_v2_TailLogEntriesResponse_SuppressionInfo_descriptor = - internal_static_google_logging_v2_TailLogEntriesResponse_descriptor.getNestedType(0); + internal_static_google_logging_v2_TailLogEntriesResponse_descriptor.getNestedTypes().get(0); internal_static_google_logging_v2_TailLogEntriesResponse_SuppressionInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessage.FieldAccessorTable( + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_logging_v2_TailLogEntriesResponse_SuppressionInfo_descriptor, new java.lang.String[] { "Reason", "SuppressedCount", }); - descriptor.resolveAllFeaturesImmutable(); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.MonitoredResourceProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.logging.v2.LogEntryProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.api.ClientProto.defaultHost); @@ -374,6 +354,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { registry.add(com.google.api.ResourceProto.resourceReference); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.MonitoredResourceProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.logging.v2.LogEntryProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/OperationState.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/OperationState.java index a27ab70c0..6e09d616d 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/OperationState.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/OperationState.java @@ -14,10 +14,9 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -33,7 +32,6 @@ * * Protobuf enum {@code google.logging.v2.OperationState} */ -@com.google.protobuf.Generated public enum OperationState implements com.google.protobuf.ProtocolMessageEnum { /** * @@ -108,16 +106,6 @@ public enum OperationState implements com.google.protobuf.ProtocolMessageEnum { UNRECOGNIZED(-1), ; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 0, - /* suffix= */ "", - "OperationState"); - } - /** * * @@ -261,7 +249,7 @@ public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType return getDescriptor(); } - public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto.getDescriptor().getEnumTypes().get(0); } diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/Settings.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/Settings.java index e250a746f..8055d7416 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/Settings.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/Settings.java @@ -14,10 +14,9 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -30,25 +29,14 @@ * * Protobuf type {@code google.logging.v2.Settings} */ -@com.google.protobuf.Generated -public final class Settings extends com.google.protobuf.GeneratedMessage +public final class Settings extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.logging.v2.Settings) SettingsOrBuilder { private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 0, - /* suffix= */ "", - "Settings"); - } - // Use Settings.newBuilder() to construct. - private Settings(com.google.protobuf.GeneratedMessage.Builder builder) { + private Settings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } @@ -59,13 +47,19 @@ private Settings() { storageLocation_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new Settings(); + } + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_Settings_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_Settings_fieldAccessorTable @@ -139,11 +133,11 @@ public com.google.protobuf.ByteString getNameBytes() { * * KMS key name format: * - * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" + * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" * * For example: * - * `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"` + * `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"` * * * @@ -189,11 +183,11 @@ public java.lang.String getKmsKeyName() { * * KMS key name format: * - * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" + * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" * * For example: * - * `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"` + * `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"` * * * @@ -399,17 +393,17 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(kmsKeyName_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 2, kmsKeyName_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, kmsKeyName_); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(kmsServiceAccountId_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 3, kmsServiceAccountId_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsServiceAccountId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, kmsServiceAccountId_); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(storageLocation_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 4, storageLocation_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(storageLocation_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, storageLocation_); } if (disableDefaultSink_ != false) { output.writeBool(5, disableDefaultSink_); @@ -423,17 +417,17 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(kmsKeyName_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(2, kmsKeyName_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, kmsKeyName_); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(kmsServiceAccountId_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(3, kmsServiceAccountId_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsServiceAccountId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, kmsServiceAccountId_); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(storageLocation_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(4, storageLocation_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(storageLocation_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, storageLocation_); } if (disableDefaultSink_ != false) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, disableDefaultSink_); @@ -520,38 +514,38 @@ public static com.google.logging.v2.Settings parseFrom( public static com.google.logging.v2.Settings parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.Settings parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.Settings parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.Settings parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.Settings parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.Settings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } @@ -574,7 +568,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -589,7 +583,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder * * Protobuf type {@code google.logging.v2.Settings} */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.Settings) com.google.logging.v2.SettingsOrBuilder { @@ -599,7 +593,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_Settings_fieldAccessorTable @@ -610,7 +604,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.logging.v2.Settings.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @@ -675,6 +669,39 @@ private void buildPartial0(com.google.logging.v2.Settings result) { } } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.Settings) { @@ -906,11 +933,11 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * KMS key name format: * - * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" + * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" * * For example: * - * `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"` + * `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"` * * * @@ -955,11 +982,11 @@ public java.lang.String getKmsKeyName() { * * KMS key name format: * - * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" + * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" * * For example: * - * `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"` + * `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"` * * * @@ -1004,11 +1031,11 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() { * * KMS key name format: * - * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" + * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" * * For example: * - * `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"` + * `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"` * * * @@ -1052,11 +1079,11 @@ public Builder setKmsKeyName(java.lang.String value) { * * KMS key name format: * - * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" + * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" * * For example: * - * `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"` + * `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"` * * * @@ -1096,11 +1123,11 @@ public Builder clearKmsKeyName() { * * KMS key name format: * - * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" + * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" * * For example: * - * `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"` + * `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"` * * * @@ -1489,6 +1516,17 @@ public Builder clearDisableDefaultSink() { return this; } + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:google.logging.v2.Settings) } diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/SettingsOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/SettingsOrBuilder.java index ce289d8dd..8e5deb4dd 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/SettingsOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/SettingsOrBuilder.java @@ -14,13 +14,11 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; -@com.google.protobuf.Generated public interface SettingsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.Settings) @@ -60,11 +58,11 @@ public interface SettingsOrBuilder * * KMS key name format: * - * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" + * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" * * For example: * - * `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"` + * `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"` * * * @@ -99,11 +97,11 @@ public interface SettingsOrBuilder * * KMS key name format: * - * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" + * "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]" * * For example: * - * `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"` + * `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"` * * * diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/TailLogEntriesRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/TailLogEntriesRequest.java index a464f6cbc..972de71c8 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/TailLogEntriesRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/TailLogEntriesRequest.java @@ -14,10 +14,9 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -29,25 +28,14 @@ * * Protobuf type {@code google.logging.v2.TailLogEntriesRequest} */ -@com.google.protobuf.Generated -public final class TailLogEntriesRequest extends com.google.protobuf.GeneratedMessage +public final class TailLogEntriesRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.logging.v2.TailLogEntriesRequest) TailLogEntriesRequestOrBuilder { private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 0, - /* suffix= */ "", - "TailLogEntriesRequest"); - } - // Use TailLogEntriesRequest.newBuilder() to construct. - private TailLogEntriesRequest(com.google.protobuf.GeneratedMessage.Builder builder) { + private TailLogEntriesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } @@ -56,13 +44,19 @@ private TailLogEntriesRequest() { filter_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new TailLogEntriesRequest(); + } + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingProto .internal_static_google_logging_v2_TailLogEntriesRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingProto .internal_static_google_logging_v2_TailLogEntriesRequest_fieldAccessorTable @@ -91,10 +85,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * 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/[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]` * * * repeated string resource_names = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -118,10 +112,10 @@ public com.google.protobuf.ProtocolStringList getResourceNamesList() { * * 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/[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]` * * * repeated string resource_names = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -145,10 +139,10 @@ public int getResourceNamesCount() { * * 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/[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]` * * * repeated string resource_names = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -173,10 +167,10 @@ public java.lang.String getResourceNames(int index) { * * 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/[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]` * * * repeated string resource_names = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -329,10 +323,10 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < resourceNames_.size(); i++) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, resourceNames_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, resourceNames_.getRaw(i)); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(filter_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 2, filter_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, filter_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(3, getBufferWindow()); @@ -354,8 +348,8 @@ public int getSerializedSize() { size += dataSize; size += 1 * getResourceNamesList().size(); } - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(filter_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(2, filter_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filter_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getBufferWindow()); @@ -445,38 +439,38 @@ public static com.google.logging.v2.TailLogEntriesRequest parseFrom( public static com.google.logging.v2.TailLogEntriesRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.TailLogEntriesRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.TailLogEntriesRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.TailLogEntriesRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.TailLogEntriesRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.TailLogEntriesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } @@ -499,7 +493,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -513,7 +507,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder * * Protobuf type {@code google.logging.v2.TailLogEntriesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.TailLogEntriesRequest) com.google.logging.v2.TailLogEntriesRequestOrBuilder { @@ -523,7 +517,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingProto .internal_static_google_logging_v2_TailLogEntriesRequest_fieldAccessorTable @@ -537,14 +531,14 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { - internalGetBufferWindowFieldBuilder(); + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getBufferWindowFieldBuilder(); } } @@ -611,6 +605,39 @@ private void buildPartial0(com.google.logging.v2.TailLogEntriesRequest result) { result.bitField0_ |= to_bitField0_; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.TailLogEntriesRequest) { @@ -682,8 +709,7 @@ public Builder mergeFrom( } // case 18 case 26: { - input.readMessage( - internalGetBufferWindowFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage(getBufferWindowFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 26 @@ -729,10 +755,10 @@ private void ensureResourceNamesIsMutable() { * * 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/[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]` * * * repeated string resource_names = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -757,10 +783,10 @@ public com.google.protobuf.ProtocolStringList getResourceNamesList() { * * 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/[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]` * * * repeated string resource_names = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -784,10 +810,10 @@ public int getResourceNamesCount() { * * 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/[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]` * * * repeated string resource_names = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -812,10 +838,10 @@ public java.lang.String getResourceNames(int index) { * * 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/[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]` * * * repeated string resource_names = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -840,10 +866,10 @@ public com.google.protobuf.ByteString getResourceNamesBytes(int index) { * * 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/[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]` * * * repeated string resource_names = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -876,10 +902,10 @@ public Builder setResourceNames(int index, java.lang.String value) { * * 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/[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]` * * * repeated string resource_names = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -911,10 +937,10 @@ public Builder addResourceNames(java.lang.String value) { * * 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/[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]` * * * repeated string resource_names = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -943,10 +969,10 @@ public Builder addAllResourceNames(java.lang.Iterable values) * * 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/[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]` * * * repeated string resource_names = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -974,10 +1000,10 @@ public Builder clearResourceNames() { * * 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/[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]` * * * repeated string resource_names = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -1129,7 +1155,7 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { } private com.google.protobuf.Duration bufferWindow_; - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> @@ -1302,7 +1328,7 @@ public Builder clearBufferWindow() { public com.google.protobuf.Duration.Builder getBufferWindowBuilder() { bitField0_ |= 0x00000004; onChanged(); - return internalGetBufferWindowFieldBuilder().getBuilder(); + return getBufferWindowFieldBuilder().getBuilder(); } /** @@ -1341,14 +1367,14 @@ public com.google.protobuf.DurationOrBuilder getBufferWindowOrBuilder() { * .google.protobuf.Duration buffer_window = 3 [(.google.api.field_behavior) = OPTIONAL]; * */ - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> - internalGetBufferWindowFieldBuilder() { + getBufferWindowFieldBuilder() { if (bufferWindowBuilder_ == null) { bufferWindowBuilder_ = - new com.google.protobuf.SingleFieldBuilder< + new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( @@ -1358,6 +1384,17 @@ public com.google.protobuf.DurationOrBuilder getBufferWindowOrBuilder() { return bufferWindowBuilder_; } + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:google.logging.v2.TailLogEntriesRequest) } diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/TailLogEntriesRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/TailLogEntriesRequestOrBuilder.java index 7c018844c..620d8d385 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/TailLogEntriesRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/TailLogEntriesRequestOrBuilder.java @@ -14,13 +14,11 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; -@com.google.protobuf.Generated public interface TailLogEntriesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.TailLogEntriesRequest) @@ -39,10 +37,10 @@ public interface TailLogEntriesRequestOrBuilder * * 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/[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]` * * * repeated string resource_names = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -64,10 +62,10 @@ public interface TailLogEntriesRequestOrBuilder * * 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/[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]` * * * repeated string resource_names = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -89,10 +87,10 @@ public interface TailLogEntriesRequestOrBuilder * * 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/[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]` * * * repeated string resource_names = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -115,10 +113,10 @@ public interface TailLogEntriesRequestOrBuilder * * 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/[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]` * * * repeated string resource_names = 1 [(.google.api.field_behavior) = REQUIRED]; diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/TailLogEntriesResponse.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/TailLogEntriesResponse.java index 27e7febb6..9bf39bd93 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/TailLogEntriesResponse.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/TailLogEntriesResponse.java @@ -14,10 +14,9 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -29,25 +28,14 @@ * * Protobuf type {@code google.logging.v2.TailLogEntriesResponse} */ -@com.google.protobuf.Generated -public final class TailLogEntriesResponse extends com.google.protobuf.GeneratedMessage +public final class TailLogEntriesResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.logging.v2.TailLogEntriesResponse) TailLogEntriesResponseOrBuilder { private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 0, - /* suffix= */ "", - "TailLogEntriesResponse"); - } - // Use TailLogEntriesResponse.newBuilder() to construct. - private TailLogEntriesResponse(com.google.protobuf.GeneratedMessage.Builder builder) { + private TailLogEntriesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } @@ -56,13 +44,19 @@ private TailLogEntriesResponse() { suppressionInfo_ = java.util.Collections.emptyList(); } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new TailLogEntriesResponse(); + } + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingProto .internal_static_google_logging_v2_TailLogEntriesResponse_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingProto .internal_static_google_logging_v2_TailLogEntriesResponse_fieldAccessorTable @@ -125,24 +119,14 @@ public interface SuppressionInfoOrBuilder * * Protobuf type {@code google.logging.v2.TailLogEntriesResponse.SuppressionInfo} */ - public static final class SuppressionInfo extends com.google.protobuf.GeneratedMessage + public static final class SuppressionInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.logging.v2.TailLogEntriesResponse.SuppressionInfo) SuppressionInfoOrBuilder { private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 0, - /* suffix= */ "", - "SuppressionInfo"); - } - // Use SuppressionInfo.newBuilder() to construct. - private SuppressionInfo(com.google.protobuf.GeneratedMessage.Builder builder) { + private SuppressionInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } @@ -150,13 +134,19 @@ private SuppressionInfo() { reason_ = 0; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new SuppressionInfo(); + } + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingProto .internal_static_google_logging_v2_TailLogEntriesResponse_SuppressionInfo_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingProto .internal_static_google_logging_v2_TailLogEntriesResponse_SuppressionInfo_fieldAccessorTable @@ -212,16 +202,6 @@ public enum Reason implements com.google.protobuf.ProtocolMessageEnum { UNRECOGNIZED(-1), ; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 0, - /* suffix= */ "", - "Reason"); - } - /** * * @@ -317,7 +297,7 @@ public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType return getDescriptor(); } - public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo.getDescriptor() .getEnumTypes() .get(0); @@ -516,38 +496,38 @@ public static com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo parse public static com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo parseFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } @@ -571,7 +551,8 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -585,7 +566,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder * * Protobuf type {@code google.logging.v2.TailLogEntriesResponse.SuppressionInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.TailLogEntriesResponse.SuppressionInfo) com.google.logging.v2.TailLogEntriesResponse.SuppressionInfoOrBuilder { @@ -595,7 +577,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingProto .internal_static_google_logging_v2_TailLogEntriesResponse_SuppressionInfo_fieldAccessorTable @@ -607,7 +589,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @@ -663,6 +645,41 @@ private void buildPartial0( } } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, + java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo) { @@ -894,6 +911,18 @@ public Builder clearSuppressedCount() { return this; } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:google.logging.v2.TailLogEntriesResponse.SuppressionInfo) } @@ -1255,38 +1284,38 @@ public static com.google.logging.v2.TailLogEntriesResponse parseFrom( public static com.google.logging.v2.TailLogEntriesResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.TailLogEntriesResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.TailLogEntriesResponse parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.TailLogEntriesResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.TailLogEntriesResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.TailLogEntriesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } @@ -1309,7 +1338,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -1323,7 +1352,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder * * Protobuf type {@code google.logging.v2.TailLogEntriesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.TailLogEntriesResponse) com.google.logging.v2.TailLogEntriesResponseOrBuilder { @@ -1333,7 +1362,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingProto .internal_static_google_logging_v2_TailLogEntriesResponse_fieldAccessorTable @@ -1345,7 +1374,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.logging.v2.TailLogEntriesResponse.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @@ -1427,6 +1456,39 @@ private void buildPartial0(com.google.logging.v2.TailLogEntriesResponse result) int from_bitField0_ = bitField0_; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.TailLogEntriesResponse) { @@ -1458,8 +1520,8 @@ public Builder mergeFrom(com.google.logging.v2.TailLogEntriesResponse other) { entries_ = other.entries_; bitField0_ = (bitField0_ & ~0x00000001); entriesBuilder_ = - com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders - ? internalGetEntriesFieldBuilder() + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getEntriesFieldBuilder() : null; } else { entriesBuilder_.addAllMessages(other.entries_); @@ -1485,8 +1547,8 @@ public Builder mergeFrom(com.google.logging.v2.TailLogEntriesResponse other) { suppressionInfo_ = other.suppressionInfo_; bitField0_ = (bitField0_ & ~0x00000002); suppressionInfoBuilder_ = - com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders - ? internalGetSuppressionInfoFieldBuilder() + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getSuppressionInfoFieldBuilder() : null; } else { suppressionInfoBuilder_.addAllMessages(other.suppressionInfo_); @@ -1574,7 +1636,7 @@ private void ensureEntriesIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilder< + private com.google.protobuf.RepeatedFieldBuilderV3< com.google.logging.v2.LogEntry, com.google.logging.v2.LogEntry.Builder, com.google.logging.v2.LogEntryOrBuilder> @@ -1857,7 +1919,7 @@ public Builder removeEntries(int index) { * repeated .google.logging.v2.LogEntry entries = 1; */ public com.google.logging.v2.LogEntry.Builder getEntriesBuilder(int index) { - return internalGetEntriesFieldBuilder().getBuilder(index); + return getEntriesFieldBuilder().getBuilder(index); } /** @@ -1911,7 +1973,7 @@ public com.google.logging.v2.LogEntryOrBuilder getEntriesOrBuilder(int index) { * repeated .google.logging.v2.LogEntry entries = 1; */ public com.google.logging.v2.LogEntry.Builder addEntriesBuilder() { - return internalGetEntriesFieldBuilder() + return getEntriesFieldBuilder() .addBuilder(com.google.logging.v2.LogEntry.getDefaultInstance()); } @@ -1927,7 +1989,7 @@ public com.google.logging.v2.LogEntry.Builder addEntriesBuilder() { * repeated .google.logging.v2.LogEntry entries = 1; */ public com.google.logging.v2.LogEntry.Builder addEntriesBuilder(int index) { - return internalGetEntriesFieldBuilder() + return getEntriesFieldBuilder() .addBuilder(index, com.google.logging.v2.LogEntry.getDefaultInstance()); } @@ -1943,17 +2005,17 @@ public com.google.logging.v2.LogEntry.Builder addEntriesBuilder(int index) { * repeated .google.logging.v2.LogEntry entries = 1; */ public java.util.List getEntriesBuilderList() { - return internalGetEntriesFieldBuilder().getBuilderList(); + return getEntriesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilder< + private com.google.protobuf.RepeatedFieldBuilderV3< com.google.logging.v2.LogEntry, com.google.logging.v2.LogEntry.Builder, com.google.logging.v2.LogEntryOrBuilder> - internalGetEntriesFieldBuilder() { + getEntriesFieldBuilder() { if (entriesBuilder_ == null) { entriesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilder< + new com.google.protobuf.RepeatedFieldBuilderV3< com.google.logging.v2.LogEntry, com.google.logging.v2.LogEntry.Builder, com.google.logging.v2.LogEntryOrBuilder>( @@ -1975,7 +2037,7 @@ private void ensureSuppressionInfoIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilder< + private com.google.protobuf.RepeatedFieldBuilderV3< com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo, com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo.Builder, com.google.logging.v2.TailLogEntriesResponse.SuppressionInfoOrBuilder> @@ -2322,7 +2384,7 @@ public Builder removeSuppressionInfo(int index) { */ public com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo.Builder getSuppressionInfoBuilder(int index) { - return internalGetSuppressionInfoFieldBuilder().getBuilder(index); + return getSuppressionInfoFieldBuilder().getBuilder(index); } /** @@ -2391,7 +2453,7 @@ public Builder removeSuppressionInfo(int index) { */ public com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo.Builder addSuppressionInfoBuilder() { - return internalGetSuppressionInfoFieldBuilder() + return getSuppressionInfoFieldBuilder() .addBuilder( com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo.getDefaultInstance()); } @@ -2413,7 +2475,7 @@ public Builder removeSuppressionInfo(int index) { */ public com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo.Builder addSuppressionInfoBuilder(int index) { - return internalGetSuppressionInfoFieldBuilder() + return getSuppressionInfoFieldBuilder() .addBuilder( index, com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo.getDefaultInstance()); @@ -2436,17 +2498,17 @@ public Builder removeSuppressionInfo(int index) { */ public java.util.List getSuppressionInfoBuilderList() { - return internalGetSuppressionInfoFieldBuilder().getBuilderList(); + return getSuppressionInfoFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilder< + private com.google.protobuf.RepeatedFieldBuilderV3< com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo, com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo.Builder, com.google.logging.v2.TailLogEntriesResponse.SuppressionInfoOrBuilder> - internalGetSuppressionInfoFieldBuilder() { + getSuppressionInfoFieldBuilder() { if (suppressionInfoBuilder_ == null) { suppressionInfoBuilder_ = - new com.google.protobuf.RepeatedFieldBuilder< + new com.google.protobuf.RepeatedFieldBuilderV3< com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo, com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo.Builder, com.google.logging.v2.TailLogEntriesResponse.SuppressionInfoOrBuilder>( @@ -2459,6 +2521,17 @@ public Builder removeSuppressionInfo(int index) { return suppressionInfoBuilder_; } + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:google.logging.v2.TailLogEntriesResponse) } diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/TailLogEntriesResponseOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/TailLogEntriesResponseOrBuilder.java index b547f7c77..454503a5d 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/TailLogEntriesResponseOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/TailLogEntriesResponseOrBuilder.java @@ -14,13 +14,11 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; -@com.google.protobuf.Generated public interface TailLogEntriesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.TailLogEntriesResponse) diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UndeleteBucketRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UndeleteBucketRequest.java index dccb026e1..aa660f806 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UndeleteBucketRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UndeleteBucketRequest.java @@ -14,10 +14,9 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -29,25 +28,14 @@ * * Protobuf type {@code google.logging.v2.UndeleteBucketRequest} */ -@com.google.protobuf.Generated -public final class UndeleteBucketRequest extends com.google.protobuf.GeneratedMessage +public final class UndeleteBucketRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.logging.v2.UndeleteBucketRequest) UndeleteBucketRequestOrBuilder { private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 0, - /* suffix= */ "", - "UndeleteBucketRequest"); - } - // Use UndeleteBucketRequest.newBuilder() to construct. - private UndeleteBucketRequest(com.google.protobuf.GeneratedMessage.Builder builder) { + private UndeleteBucketRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } @@ -55,13 +43,19 @@ private UndeleteBucketRequest() { name_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new UndeleteBucketRequest(); + } + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_UndeleteBucketRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_UndeleteBucketRequest_fieldAccessorTable @@ -81,14 +75,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { *
    * Required. The full resource name of the bucket to undelete.
    *
-   * "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]"
+   *     "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"`
+   *   `"projects/my-project/locations/global/buckets/my-bucket"`
    * 
* * @@ -116,14 +110,14 @@ public java.lang.String getName() { *
    * Required. The full resource name of the bucket to undelete.
    *
-   * "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]"
+   *     "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"`
+   *   `"projects/my-project/locations/global/buckets/my-bucket"`
    * 
* * @@ -159,8 +153,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } getUnknownFields().writeTo(output); } @@ -171,8 +165,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -246,38 +240,38 @@ public static com.google.logging.v2.UndeleteBucketRequest parseFrom( public static com.google.logging.v2.UndeleteBucketRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.UndeleteBucketRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.UndeleteBucketRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.UndeleteBucketRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.UndeleteBucketRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.UndeleteBucketRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } @@ -300,7 +294,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -314,7 +308,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder * * Protobuf type {@code google.logging.v2.UndeleteBucketRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.UndeleteBucketRequest) com.google.logging.v2.UndeleteBucketRequestOrBuilder { @@ -324,7 +318,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_UndeleteBucketRequest_fieldAccessorTable @@ -336,7 +330,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.logging.v2.UndeleteBucketRequest.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @@ -386,6 +380,39 @@ private void buildPartial0(com.google.logging.v2.UndeleteBucketRequest result) { } } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.UndeleteBucketRequest) { @@ -462,14 +489,14 @@ public Builder mergeFrom( *
      * Required. The full resource name of the bucket to undelete.
      *
-     * "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]"
+     *     "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"`
+     *   `"projects/my-project/locations/global/buckets/my-bucket"`
      * 
* * @@ -496,14 +523,14 @@ public java.lang.String getName() { *
      * Required. The full resource name of the bucket to undelete.
      *
-     * "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]"
+     *     "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"`
+     *   `"projects/my-project/locations/global/buckets/my-bucket"`
      * 
* * @@ -530,14 +557,14 @@ public com.google.protobuf.ByteString getNameBytes() { *
      * Required. The full resource name of the bucket to undelete.
      *
-     * "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]"
+     *     "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"`
+     *   `"projects/my-project/locations/global/buckets/my-bucket"`
      * 
* * @@ -563,14 +590,14 @@ public Builder setName(java.lang.String value) { *
      * Required. The full resource name of the bucket to undelete.
      *
-     * "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]"
+     *     "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"`
+     *   `"projects/my-project/locations/global/buckets/my-bucket"`
      * 
* * @@ -592,14 +619,14 @@ public Builder clearName() { *
      * Required. The full resource name of the bucket to undelete.
      *
-     * "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]"
+     *     "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"`
+     *   `"projects/my-project/locations/global/buckets/my-bucket"`
      * 
* * @@ -620,6 +647,17 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { return this; } + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:google.logging.v2.UndeleteBucketRequest) } diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UndeleteBucketRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UndeleteBucketRequestOrBuilder.java index 2a752e640..b4cb111fc 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UndeleteBucketRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UndeleteBucketRequestOrBuilder.java @@ -14,13 +14,11 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; -@com.google.protobuf.Generated public interface UndeleteBucketRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.UndeleteBucketRequest) @@ -32,14 +30,14 @@ public interface UndeleteBucketRequestOrBuilder *
    * Required. The full resource name of the bucket to undelete.
    *
-   * "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]"
+   *     "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"`
+   *   `"projects/my-project/locations/global/buckets/my-bucket"`
    * 
* * @@ -56,14 +54,14 @@ public interface UndeleteBucketRequestOrBuilder *
    * Required. The full resource name of the bucket to undelete.
    *
-   * "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]"
+   *     "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"`
+   *   `"projects/my-project/locations/global/buckets/my-bucket"`
    * 
* * diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateBucketRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateBucketRequest.java index 4499c034f..3a23bca8b 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateBucketRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateBucketRequest.java @@ -14,10 +14,9 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -29,25 +28,14 @@ * * Protobuf type {@code google.logging.v2.UpdateBucketRequest} */ -@com.google.protobuf.Generated -public final class UpdateBucketRequest extends com.google.protobuf.GeneratedMessage +public final class UpdateBucketRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.logging.v2.UpdateBucketRequest) UpdateBucketRequestOrBuilder { private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 0, - /* suffix= */ "", - "UpdateBucketRequest"); - } - // Use UpdateBucketRequest.newBuilder() to construct. - private UpdateBucketRequest(com.google.protobuf.GeneratedMessage.Builder builder) { + private UpdateBucketRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } @@ -55,13 +43,19 @@ private UpdateBucketRequest() { name_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new UpdateBucketRequest(); + } + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_UpdateBucketRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_UpdateBucketRequest_fieldAccessorTable @@ -82,14 +76,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { *
    * Required. The full resource name of the bucket to update.
    *
-   * "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]"
+   *     "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"`
+   *   `"projects/my-project/locations/global/buckets/my-bucket"`
    * 
* * @@ -117,14 +111,14 @@ public java.lang.String getName() { *
    * Required. The full resource name of the bucket to update.
    *
-   * "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]"
+   *     "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"`
+   *   `"projects/my-project/locations/global/buckets/my-bucket"`
    * 
* * @@ -282,8 +276,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getBucket()); @@ -300,8 +294,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getBucket()); @@ -397,38 +391,38 @@ public static com.google.logging.v2.UpdateBucketRequest parseFrom( public static com.google.logging.v2.UpdateBucketRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.UpdateBucketRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.UpdateBucketRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.UpdateBucketRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.UpdateBucketRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.UpdateBucketRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } @@ -451,7 +445,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -465,7 +459,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder * * Protobuf type {@code google.logging.v2.UpdateBucketRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.UpdateBucketRequest) com.google.logging.v2.UpdateBucketRequestOrBuilder { @@ -475,7 +469,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_UpdateBucketRequest_fieldAccessorTable @@ -489,15 +483,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { - internalGetBucketFieldBuilder(); - internalGetUpdateMaskFieldBuilder(); + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getBucketFieldBuilder(); + getUpdateMaskFieldBuilder(); } } @@ -567,6 +561,39 @@ private void buildPartial0(com.google.logging.v2.UpdateBucketRequest result) { result.bitField0_ |= to_bitField0_; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.UpdateBucketRequest) { @@ -624,14 +651,13 @@ public Builder mergeFrom( } // case 10 case 18: { - input.readMessage(internalGetBucketFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage(getBucketFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 18 case 34: { - input.readMessage( - internalGetUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 34 @@ -662,14 +688,14 @@ public Builder mergeFrom( *
      * Required. The full resource name of the bucket to update.
      *
-     * "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]"
+     *     "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"`
+     *   `"projects/my-project/locations/global/buckets/my-bucket"`
      * 
* * @@ -696,14 +722,14 @@ public java.lang.String getName() { *
      * Required. The full resource name of the bucket to update.
      *
-     * "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]"
+     *     "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"`
+     *   `"projects/my-project/locations/global/buckets/my-bucket"`
      * 
* * @@ -730,14 +756,14 @@ public com.google.protobuf.ByteString getNameBytes() { *
      * Required. The full resource name of the bucket to update.
      *
-     * "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]"
+     *     "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"`
+     *   `"projects/my-project/locations/global/buckets/my-bucket"`
      * 
* * @@ -763,14 +789,14 @@ public Builder setName(java.lang.String value) { *
      * Required. The full resource name of the bucket to update.
      *
-     * "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]"
+     *     "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"`
+     *   `"projects/my-project/locations/global/buckets/my-bucket"`
      * 
* * @@ -792,14 +818,14 @@ public Builder clearName() { *
      * Required. The full resource name of the bucket to update.
      *
-     * "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]"
+     *     "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"`
+     *   `"projects/my-project/locations/global/buckets/my-bucket"`
      * 
* * @@ -821,7 +847,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { } private com.google.logging.v2.LogBucket bucket_; - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.logging.v2.LogBucket, com.google.logging.v2.LogBucket.Builder, com.google.logging.v2.LogBucketOrBuilder> @@ -971,7 +997,7 @@ public Builder clearBucket() { public com.google.logging.v2.LogBucket.Builder getBucketBuilder() { bitField0_ |= 0x00000002; onChanged(); - return internalGetBucketFieldBuilder().getBuilder(); + return getBucketFieldBuilder().getBuilder(); } /** @@ -1002,14 +1028,14 @@ public com.google.logging.v2.LogBucketOrBuilder getBucketOrBuilder() { * .google.logging.v2.LogBucket bucket = 2 [(.google.api.field_behavior) = REQUIRED]; * */ - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.logging.v2.LogBucket, com.google.logging.v2.LogBucket.Builder, com.google.logging.v2.LogBucketOrBuilder> - internalGetBucketFieldBuilder() { + getBucketFieldBuilder() { if (bucketBuilder_ == null) { bucketBuilder_ = - new com.google.protobuf.SingleFieldBuilder< + new com.google.protobuf.SingleFieldBuilderV3< com.google.logging.v2.LogBucket, com.google.logging.v2.LogBucket.Builder, com.google.logging.v2.LogBucketOrBuilder>( @@ -1020,7 +1046,7 @@ public com.google.logging.v2.LogBucketOrBuilder getBucketOrBuilder() { } private com.google.protobuf.FieldMask updateMask_; - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> @@ -1221,7 +1247,7 @@ public Builder clearUpdateMask() { public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000004; onChanged(); - return internalGetUpdateMaskFieldBuilder().getBuilder(); + return getUpdateMaskFieldBuilder().getBuilder(); } /** @@ -1268,14 +1294,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = REQUIRED]; * */ - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> - internalGetUpdateMaskFieldBuilder() { + getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilder< + new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( @@ -1285,6 +1311,17 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { return updateMaskBuilder_; } + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:google.logging.v2.UpdateBucketRequest) } diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateBucketRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateBucketRequestOrBuilder.java index bc82cea56..5665e7927 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateBucketRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateBucketRequestOrBuilder.java @@ -14,13 +14,11 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; -@com.google.protobuf.Generated public interface UpdateBucketRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.UpdateBucketRequest) @@ -32,14 +30,14 @@ public interface UpdateBucketRequestOrBuilder *
    * Required. The full resource name of the bucket to update.
    *
-   * "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]"
+   *     "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"`
+   *   `"projects/my-project/locations/global/buckets/my-bucket"`
    * 
* * @@ -56,14 +54,14 @@ public interface UpdateBucketRequestOrBuilder *
    * Required. The full resource name of the bucket to update.
    *
-   * "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]"
+   *     "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"`
+   *   `"projects/my-project/locations/global/buckets/my-bucket"`
    * 
* * diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateCmekSettingsRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateCmekSettingsRequest.java index d45acaa35..045d05791 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateCmekSettingsRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateCmekSettingsRequest.java @@ -14,10 +14,9 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -34,25 +33,14 @@ * * Protobuf type {@code google.logging.v2.UpdateCmekSettingsRequest} */ -@com.google.protobuf.Generated -public final class UpdateCmekSettingsRequest extends com.google.protobuf.GeneratedMessage +public final class UpdateCmekSettingsRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.logging.v2.UpdateCmekSettingsRequest) UpdateCmekSettingsRequestOrBuilder { private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 0, - /* suffix= */ "", - "UpdateCmekSettingsRequest"); - } - // Use UpdateCmekSettingsRequest.newBuilder() to construct. - private UpdateCmekSettingsRequest(com.google.protobuf.GeneratedMessage.Builder builder) { + private UpdateCmekSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } @@ -60,13 +48,19 @@ private UpdateCmekSettingsRequest() { name_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new UpdateCmekSettingsRequest(); + } + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_UpdateCmekSettingsRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_UpdateCmekSettingsRequest_fieldAccessorTable @@ -87,14 +81,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { *
    * Required. The resource name for the CMEK settings to update.
    *
-   * "projects/[PROJECT_ID]/cmekSettings"
-   * "organizations/[ORGANIZATION_ID]/cmekSettings"
-   * "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
-   * "folders/[FOLDER_ID]/cmekSettings"
+   *     "projects/[PROJECT_ID]/cmekSettings"
+   *     "organizations/[ORGANIZATION_ID]/cmekSettings"
+   *     "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
+   *     "folders/[FOLDER_ID]/cmekSettings"
    *
    * For example:
    *
-   * `"organizations/12345/cmekSettings"`
+   *   `"organizations/12345/cmekSettings"`
    *
    * Note: CMEK for the Log Router can currently only be configured for Google
    * Cloud organizations. Once configured, it applies to all projects and
@@ -124,14 +118,14 @@ public java.lang.String getName() {
    * 
    * Required. The resource name for the CMEK settings to update.
    *
-   * "projects/[PROJECT_ID]/cmekSettings"
-   * "organizations/[ORGANIZATION_ID]/cmekSettings"
-   * "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
-   * "folders/[FOLDER_ID]/cmekSettings"
+   *     "projects/[PROJECT_ID]/cmekSettings"
+   *     "organizations/[ORGANIZATION_ID]/cmekSettings"
+   *     "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
+   *     "folders/[FOLDER_ID]/cmekSettings"
    *
    * For example:
    *
-   * `"organizations/12345/cmekSettings"`
+   *   `"organizations/12345/cmekSettings"`
    *
    * Note: CMEK for the Log Router can currently only be configured for Google
    * Cloud organizations. Once configured, it applies to all projects and
@@ -310,8 +304,8 @@ public final boolean isInitialized() {
 
   @java.lang.Override
   public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
-    if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) {
-      com.google.protobuf.GeneratedMessage.writeString(output, 1, name_);
+    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
+      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
     if (((bitField0_ & 0x00000001) != 0)) {
       output.writeMessage(2, getCmekSettings());
@@ -328,8 +322,8 @@ public int getSerializedSize() {
     if (size != -1) return size;
 
     size = 0;
-    if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) {
-      size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_);
+    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
+      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
     }
     if (((bitField0_ & 0x00000001) != 0)) {
       size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCmekSettings());
@@ -425,38 +419,38 @@ public static com.google.logging.v2.UpdateCmekSettingsRequest parseFrom(
 
   public static com.google.logging.v2.UpdateCmekSettingsRequest parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
 
   public static com.google.logging.v2.UpdateCmekSettingsRequest parseFrom(
       java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessage.parseWithIOException(
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
         PARSER, input, extensionRegistry);
   }
 
   public static com.google.logging.v2.UpdateCmekSettingsRequest parseDelimitedFrom(
       java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.logging.v2.UpdateCmekSettingsRequest parseDelimitedFrom(
       java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
         PARSER, input, extensionRegistry);
   }
 
   public static com.google.logging.v2.UpdateCmekSettingsRequest parseFrom(
       com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
 
   public static com.google.logging.v2.UpdateCmekSettingsRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessage.parseWithIOException(
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
         PARSER, input, extensionRegistry);
   }
 
@@ -479,7 +473,7 @@ public Builder toBuilder() {
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
@@ -498,7 +492,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder
    *
    * Protobuf type {@code google.logging.v2.UpdateCmekSettingsRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
       implements
       // @@protoc_insertion_point(builder_implements:google.logging.v2.UpdateCmekSettingsRequest)
       com.google.logging.v2.UpdateCmekSettingsRequestOrBuilder {
@@ -508,7 +502,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     }
 
     @java.lang.Override
-    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
       return com.google.logging.v2.LoggingConfigProto
           .internal_static_google_logging_v2_UpdateCmekSettingsRequest_fieldAccessorTable
@@ -522,15 +516,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
 
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
-        internalGetCmekSettingsFieldBuilder();
-        internalGetUpdateMaskFieldBuilder();
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+        getCmekSettingsFieldBuilder();
+        getUpdateMaskFieldBuilder();
       }
     }
 
@@ -601,6 +595,39 @@ private void buildPartial0(com.google.logging.v2.UpdateCmekSettingsRequest resul
       result.bitField0_ |= to_bitField0_;
     }
 
+    @java.lang.Override
+    public Builder clone() {
+      return super.clone();
+    }
+
+    @java.lang.Override
+    public Builder setField(
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+      return super.setField(field, value);
+    }
+
+    @java.lang.Override
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      return super.clearField(field);
+    }
+
+    @java.lang.Override
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      return super.clearOneof(oneof);
+    }
+
+    @java.lang.Override
+    public Builder setRepeatedField(
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+      return super.setRepeatedField(field, index, value);
+    }
+
+    @java.lang.Override
+    public Builder addRepeatedField(
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+      return super.addRepeatedField(field, value);
+    }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.logging.v2.UpdateCmekSettingsRequest) {
@@ -659,15 +686,13 @@ public Builder mergeFrom(
               } // case 10
             case 18:
               {
-                input.readMessage(
-                    internalGetCmekSettingsFieldBuilder().getBuilder(), extensionRegistry);
+                input.readMessage(getCmekSettingsFieldBuilder().getBuilder(), extensionRegistry);
                 bitField0_ |= 0x00000002;
                 break;
               } // case 18
             case 26:
               {
-                input.readMessage(
-                    internalGetUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
+                input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
                 bitField0_ |= 0x00000004;
                 break;
               } // case 26
@@ -698,14 +723,14 @@ public Builder mergeFrom(
      * 
      * Required. The resource name for the CMEK settings to update.
      *
-     * "projects/[PROJECT_ID]/cmekSettings"
-     * "organizations/[ORGANIZATION_ID]/cmekSettings"
-     * "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
-     * "folders/[FOLDER_ID]/cmekSettings"
+     *     "projects/[PROJECT_ID]/cmekSettings"
+     *     "organizations/[ORGANIZATION_ID]/cmekSettings"
+     *     "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
+     *     "folders/[FOLDER_ID]/cmekSettings"
      *
      * For example:
      *
-     * `"organizations/12345/cmekSettings"`
+     *   `"organizations/12345/cmekSettings"`
      *
      * Note: CMEK for the Log Router can currently only be configured for Google
      * Cloud organizations. Once configured, it applies to all projects and
@@ -734,14 +759,14 @@ public java.lang.String getName() {
      * 
      * Required. The resource name for the CMEK settings to update.
      *
-     * "projects/[PROJECT_ID]/cmekSettings"
-     * "organizations/[ORGANIZATION_ID]/cmekSettings"
-     * "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
-     * "folders/[FOLDER_ID]/cmekSettings"
+     *     "projects/[PROJECT_ID]/cmekSettings"
+     *     "organizations/[ORGANIZATION_ID]/cmekSettings"
+     *     "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
+     *     "folders/[FOLDER_ID]/cmekSettings"
      *
      * For example:
      *
-     * `"organizations/12345/cmekSettings"`
+     *   `"organizations/12345/cmekSettings"`
      *
      * Note: CMEK for the Log Router can currently only be configured for Google
      * Cloud organizations. Once configured, it applies to all projects and
@@ -770,14 +795,14 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
      * Required. The resource name for the CMEK settings to update.
      *
-     * "projects/[PROJECT_ID]/cmekSettings"
-     * "organizations/[ORGANIZATION_ID]/cmekSettings"
-     * "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
-     * "folders/[FOLDER_ID]/cmekSettings"
+     *     "projects/[PROJECT_ID]/cmekSettings"
+     *     "organizations/[ORGANIZATION_ID]/cmekSettings"
+     *     "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
+     *     "folders/[FOLDER_ID]/cmekSettings"
      *
      * For example:
      *
-     * `"organizations/12345/cmekSettings"`
+     *   `"organizations/12345/cmekSettings"`
      *
      * Note: CMEK for the Log Router can currently only be configured for Google
      * Cloud organizations. Once configured, it applies to all projects and
@@ -805,14 +830,14 @@ public Builder setName(java.lang.String value) {
      * 
      * Required. The resource name for the CMEK settings to update.
      *
-     * "projects/[PROJECT_ID]/cmekSettings"
-     * "organizations/[ORGANIZATION_ID]/cmekSettings"
-     * "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
-     * "folders/[FOLDER_ID]/cmekSettings"
+     *     "projects/[PROJECT_ID]/cmekSettings"
+     *     "organizations/[ORGANIZATION_ID]/cmekSettings"
+     *     "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
+     *     "folders/[FOLDER_ID]/cmekSettings"
      *
      * For example:
      *
-     * `"organizations/12345/cmekSettings"`
+     *   `"organizations/12345/cmekSettings"`
      *
      * Note: CMEK for the Log Router can currently only be configured for Google
      * Cloud organizations. Once configured, it applies to all projects and
@@ -836,14 +861,14 @@ public Builder clearName() {
      * 
      * Required. The resource name for the CMEK settings to update.
      *
-     * "projects/[PROJECT_ID]/cmekSettings"
-     * "organizations/[ORGANIZATION_ID]/cmekSettings"
-     * "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
-     * "folders/[FOLDER_ID]/cmekSettings"
+     *     "projects/[PROJECT_ID]/cmekSettings"
+     *     "organizations/[ORGANIZATION_ID]/cmekSettings"
+     *     "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
+     *     "folders/[FOLDER_ID]/cmekSettings"
      *
      * For example:
      *
-     * `"organizations/12345/cmekSettings"`
+     *   `"organizations/12345/cmekSettings"`
      *
      * Note: CMEK for the Log Router can currently only be configured for Google
      * Cloud organizations. Once configured, it applies to all projects and
@@ -867,7 +892,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
     }
 
     private com.google.logging.v2.CmekSettings cmekSettings_;
-    private com.google.protobuf.SingleFieldBuilder<
+    private com.google.protobuf.SingleFieldBuilderV3<
             com.google.logging.v2.CmekSettings,
             com.google.logging.v2.CmekSettings.Builder,
             com.google.logging.v2.CmekSettingsOrBuilder>
@@ -1054,7 +1079,7 @@ public Builder clearCmekSettings() {
     public com.google.logging.v2.CmekSettings.Builder getCmekSettingsBuilder() {
       bitField0_ |= 0x00000002;
       onChanged();
-      return internalGetCmekSettingsFieldBuilder().getBuilder();
+      return getCmekSettingsFieldBuilder().getBuilder();
     }
 
     /**
@@ -1097,14 +1122,14 @@ public com.google.logging.v2.CmekSettingsOrBuilder getCmekSettingsOrBuilder() {
      * .google.logging.v2.CmekSettings cmek_settings = 2 [(.google.api.field_behavior) = REQUIRED];
      * 
      */
-    private com.google.protobuf.SingleFieldBuilder<
+    private com.google.protobuf.SingleFieldBuilderV3<
             com.google.logging.v2.CmekSettings,
             com.google.logging.v2.CmekSettings.Builder,
             com.google.logging.v2.CmekSettingsOrBuilder>
-        internalGetCmekSettingsFieldBuilder() {
+        getCmekSettingsFieldBuilder() {
       if (cmekSettingsBuilder_ == null) {
         cmekSettingsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilder<
+            new com.google.protobuf.SingleFieldBuilderV3<
                 com.google.logging.v2.CmekSettings,
                 com.google.logging.v2.CmekSettings.Builder,
                 com.google.logging.v2.CmekSettingsOrBuilder>(
@@ -1115,7 +1140,7 @@ public com.google.logging.v2.CmekSettingsOrBuilder getCmekSettingsOrBuilder() {
     }
 
     private com.google.protobuf.FieldMask updateMask_;
-    private com.google.protobuf.SingleFieldBuilder<
+    private com.google.protobuf.SingleFieldBuilderV3<
             com.google.protobuf.FieldMask,
             com.google.protobuf.FieldMask.Builder,
             com.google.protobuf.FieldMaskOrBuilder>
@@ -1309,7 +1334,7 @@ public Builder clearUpdateMask() {
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
       bitField0_ |= 0x00000004;
       onChanged();
-      return internalGetUpdateMaskFieldBuilder().getBuilder();
+      return getUpdateMaskFieldBuilder().getBuilder();
     }
 
     /**
@@ -1354,14 +1379,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL];
      * 
      */
-    private com.google.protobuf.SingleFieldBuilder<
+    private com.google.protobuf.SingleFieldBuilderV3<
             com.google.protobuf.FieldMask,
             com.google.protobuf.FieldMask.Builder,
             com.google.protobuf.FieldMaskOrBuilder>
-        internalGetUpdateMaskFieldBuilder() {
+        getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
         updateMaskBuilder_ =
-            new com.google.protobuf.SingleFieldBuilder<
+            new com.google.protobuf.SingleFieldBuilderV3<
                 com.google.protobuf.FieldMask,
                 com.google.protobuf.FieldMask.Builder,
                 com.google.protobuf.FieldMaskOrBuilder>(
@@ -1371,6 +1396,17 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       return updateMaskBuilder_;
     }
 
+    @java.lang.Override
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+      return super.setUnknownFields(unknownFields);
+    }
+
+    @java.lang.Override
+    public final Builder mergeUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
+      return super.mergeUnknownFields(unknownFields);
+    }
+
     // @@protoc_insertion_point(builder_scope:google.logging.v2.UpdateCmekSettingsRequest)
   }
 
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateCmekSettingsRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateCmekSettingsRequestOrBuilder.java
index 2ca281ac5..2fe17f9a0 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateCmekSettingsRequestOrBuilder.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateCmekSettingsRequestOrBuilder.java
@@ -14,13 +14,11 @@
  * limitations under the License.
  */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
-// NO CHECKED-IN PROTOBUF GENCODE
 // source: google/logging/v2/logging_config.proto
-// Protobuf Java Version: 4.33.0
 
+// Protobuf Java Version: 3.25.8
 package com.google.logging.v2;
 
-@com.google.protobuf.Generated
 public interface UpdateCmekSettingsRequestOrBuilder
     extends
     // @@protoc_insertion_point(interface_extends:google.logging.v2.UpdateCmekSettingsRequest)
@@ -32,14 +30,14 @@ public interface UpdateCmekSettingsRequestOrBuilder
    * 
    * Required. The resource name for the CMEK settings to update.
    *
-   * "projects/[PROJECT_ID]/cmekSettings"
-   * "organizations/[ORGANIZATION_ID]/cmekSettings"
-   * "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
-   * "folders/[FOLDER_ID]/cmekSettings"
+   *     "projects/[PROJECT_ID]/cmekSettings"
+   *     "organizations/[ORGANIZATION_ID]/cmekSettings"
+   *     "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
+   *     "folders/[FOLDER_ID]/cmekSettings"
    *
    * For example:
    *
-   * `"organizations/12345/cmekSettings"`
+   *   `"organizations/12345/cmekSettings"`
    *
    * Note: CMEK for the Log Router can currently only be configured for Google
    * Cloud organizations. Once configured, it applies to all projects and
@@ -58,14 +56,14 @@ public interface UpdateCmekSettingsRequestOrBuilder
    * 
    * Required. The resource name for the CMEK settings to update.
    *
-   * "projects/[PROJECT_ID]/cmekSettings"
-   * "organizations/[ORGANIZATION_ID]/cmekSettings"
-   * "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
-   * "folders/[FOLDER_ID]/cmekSettings"
+   *     "projects/[PROJECT_ID]/cmekSettings"
+   *     "organizations/[ORGANIZATION_ID]/cmekSettings"
+   *     "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
+   *     "folders/[FOLDER_ID]/cmekSettings"
    *
    * For example:
    *
-   * `"organizations/12345/cmekSettings"`
+   *   `"organizations/12345/cmekSettings"`
    *
    * Note: CMEK for the Log Router can currently only be configured for Google
    * Cloud organizations. Once configured, it applies to all projects and
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateExclusionRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateExclusionRequest.java
index e8a4a6ebd..18782742d 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateExclusionRequest.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateExclusionRequest.java
@@ -14,10 +14,9 @@
  * limitations under the License.
  */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
-// NO CHECKED-IN PROTOBUF GENCODE
 // source: google/logging/v2/logging_config.proto
-// Protobuf Java Version: 4.33.0
 
+// Protobuf Java Version: 3.25.8
 package com.google.logging.v2;
 
 /**
@@ -29,25 +28,14 @@
  *
  * Protobuf type {@code google.logging.v2.UpdateExclusionRequest}
  */
-@com.google.protobuf.Generated
-public final class UpdateExclusionRequest extends com.google.protobuf.GeneratedMessage
+public final class UpdateExclusionRequest extends com.google.protobuf.GeneratedMessageV3
     implements
     // @@protoc_insertion_point(message_implements:google.logging.v2.UpdateExclusionRequest)
     UpdateExclusionRequestOrBuilder {
   private static final long serialVersionUID = 0L;
 
-  static {
-    com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
-        com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
-        /* major= */ 4,
-        /* minor= */ 33,
-        /* patch= */ 0,
-        /* suffix= */ "",
-        "UpdateExclusionRequest");
-  }
-
   // Use UpdateExclusionRequest.newBuilder() to construct.
-  private UpdateExclusionRequest(com.google.protobuf.GeneratedMessage.Builder builder) {
+  private UpdateExclusionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
 
@@ -55,13 +43,19 @@ private UpdateExclusionRequest() {
     name_ = "";
   }
 
+  @java.lang.Override
+  @SuppressWarnings({"unused"})
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    return new UpdateExclusionRequest();
+  }
+
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.logging.v2.LoggingConfigProto
         .internal_static_google_logging_v2_UpdateExclusionRequest_descriptor;
   }
 
   @java.lang.Override
-  protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
     return com.google.logging.v2.LoggingConfigProto
         .internal_static_google_logging_v2_UpdateExclusionRequest_fieldAccessorTable
@@ -82,14 +76,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
    * Required. The resource name of the exclusion to update:
    *
-   * "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]"
+   *     "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"`
+   *   `"projects/my-project/exclusions/my-exclusion"`
    * 
* * @@ -117,14 +111,14 @@ public java.lang.String getName() { *
    * Required. The resource name of the exclusion to update:
    *
-   * "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]"
+   *     "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"`
+   *   `"projects/my-project/exclusions/my-exclusion"`
    * 
* * @@ -292,8 +286,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getExclusion()); @@ -310,8 +304,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getExclusion()); @@ -407,38 +401,38 @@ public static com.google.logging.v2.UpdateExclusionRequest parseFrom( public static com.google.logging.v2.UpdateExclusionRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.UpdateExclusionRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.UpdateExclusionRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.UpdateExclusionRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.UpdateExclusionRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.UpdateExclusionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } @@ -461,7 +455,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -475,7 +469,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder * * Protobuf type {@code google.logging.v2.UpdateExclusionRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.UpdateExclusionRequest) com.google.logging.v2.UpdateExclusionRequestOrBuilder { @@ -485,7 +479,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_UpdateExclusionRequest_fieldAccessorTable @@ -499,15 +493,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { - internalGetExclusionFieldBuilder(); - internalGetUpdateMaskFieldBuilder(); + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getExclusionFieldBuilder(); + getUpdateMaskFieldBuilder(); } } @@ -577,6 +571,39 @@ private void buildPartial0(com.google.logging.v2.UpdateExclusionRequest result) result.bitField0_ |= to_bitField0_; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.UpdateExclusionRequest) { @@ -634,15 +661,13 @@ public Builder mergeFrom( } // case 10 case 18: { - input.readMessage( - internalGetExclusionFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage(getExclusionFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 18 case 26: { - input.readMessage( - internalGetUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 26 @@ -673,14 +698,14 @@ public Builder mergeFrom( *
      * Required. The resource name of the exclusion to update:
      *
-     * "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]"
+     *     "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"`
+     *   `"projects/my-project/exclusions/my-exclusion"`
      * 
* * @@ -707,14 +732,14 @@ public java.lang.String getName() { *
      * Required. The resource name of the exclusion to update:
      *
-     * "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]"
+     *     "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"`
+     *   `"projects/my-project/exclusions/my-exclusion"`
      * 
* * @@ -741,14 +766,14 @@ public com.google.protobuf.ByteString getNameBytes() { *
      * Required. The resource name of the exclusion to update:
      *
-     * "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]"
+     *     "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"`
+     *   `"projects/my-project/exclusions/my-exclusion"`
      * 
* * @@ -774,14 +799,14 @@ public Builder setName(java.lang.String value) { *
      * Required. The resource name of the exclusion to update:
      *
-     * "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]"
+     *     "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"`
+     *   `"projects/my-project/exclusions/my-exclusion"`
      * 
* * @@ -803,14 +828,14 @@ public Builder clearName() { *
      * Required. The resource name of the exclusion to update:
      *
-     * "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]"
+     *     "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"`
+     *   `"projects/my-project/exclusions/my-exclusion"`
      * 
* * @@ -832,7 +857,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { } private com.google.logging.v2.LogExclusion exclusion_; - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.logging.v2.LogExclusion, com.google.logging.v2.LogExclusion.Builder, com.google.logging.v2.LogExclusionOrBuilder> @@ -998,7 +1023,7 @@ public Builder clearExclusion() { public com.google.logging.v2.LogExclusion.Builder getExclusionBuilder() { bitField0_ |= 0x00000002; onChanged(); - return internalGetExclusionFieldBuilder().getBuilder(); + return getExclusionFieldBuilder().getBuilder(); } /** @@ -1035,14 +1060,14 @@ public com.google.logging.v2.LogExclusionOrBuilder getExclusionOrBuilder() { * .google.logging.v2.LogExclusion exclusion = 2 [(.google.api.field_behavior) = REQUIRED]; * */ - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.logging.v2.LogExclusion, com.google.logging.v2.LogExclusion.Builder, com.google.logging.v2.LogExclusionOrBuilder> - internalGetExclusionFieldBuilder() { + getExclusionFieldBuilder() { if (exclusionBuilder_ == null) { exclusionBuilder_ = - new com.google.protobuf.SingleFieldBuilder< + new com.google.protobuf.SingleFieldBuilderV3< com.google.logging.v2.LogExclusion, com.google.logging.v2.LogExclusion.Builder, com.google.logging.v2.LogExclusionOrBuilder>( @@ -1053,7 +1078,7 @@ public com.google.logging.v2.LogExclusionOrBuilder getExclusionOrBuilder() { } private com.google.protobuf.FieldMask updateMask_; - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> @@ -1254,7 +1279,7 @@ public Builder clearUpdateMask() { public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000004; onChanged(); - return internalGetUpdateMaskFieldBuilder().getBuilder(); + return getUpdateMaskFieldBuilder().getBuilder(); } /** @@ -1301,14 +1326,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED]; * */ - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> - internalGetUpdateMaskFieldBuilder() { + getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilder< + new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( @@ -1318,6 +1343,17 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { return updateMaskBuilder_; } + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:google.logging.v2.UpdateExclusionRequest) } diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateExclusionRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateExclusionRequestOrBuilder.java index ff83998ec..1186d4bad 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateExclusionRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateExclusionRequestOrBuilder.java @@ -14,13 +14,11 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; -@com.google.protobuf.Generated public interface UpdateExclusionRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.UpdateExclusionRequest) @@ -32,14 +30,14 @@ public interface UpdateExclusionRequestOrBuilder *
    * Required. The resource name of the exclusion to update:
    *
-   * "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]"
+   *     "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"`
+   *   `"projects/my-project/exclusions/my-exclusion"`
    * 
* * @@ -56,14 +54,14 @@ public interface UpdateExclusionRequestOrBuilder *
    * Required. The resource name of the exclusion to update:
    *
-   * "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]"
+   *     "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"`
+   *   `"projects/my-project/exclusions/my-exclusion"`
    * 
* * diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateLogMetricRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateLogMetricRequest.java index 7f05a8be3..79830d1fc 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateLogMetricRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateLogMetricRequest.java @@ -14,10 +14,9 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_metrics.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -29,25 +28,14 @@ * * Protobuf type {@code google.logging.v2.UpdateLogMetricRequest} */ -@com.google.protobuf.Generated -public final class UpdateLogMetricRequest extends com.google.protobuf.GeneratedMessage +public final class UpdateLogMetricRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.logging.v2.UpdateLogMetricRequest) UpdateLogMetricRequestOrBuilder { private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 0, - /* suffix= */ "", - "UpdateLogMetricRequest"); - } - // Use UpdateLogMetricRequest.newBuilder() to construct. - private UpdateLogMetricRequest(com.google.protobuf.GeneratedMessage.Builder builder) { + private UpdateLogMetricRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } @@ -55,13 +43,19 @@ private UpdateLogMetricRequest() { metricName_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new UpdateLogMetricRequest(); + } + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingMetricsProto .internal_static_google_logging_v2_UpdateLogMetricRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingMetricsProto .internal_static_google_logging_v2_UpdateLogMetricRequest_fieldAccessorTable @@ -82,7 +76,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { *
    * Required. The resource name of the metric to update:
    *
-   * "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
+   *     "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
    *
    * The updated metric must be provided in the request and it's
    * `name` field must be the same as `[METRIC_ID]` If the metric
@@ -114,7 +108,7 @@ public java.lang.String getMetricName() {
    * 
    * Required. The resource name of the metric to update:
    *
-   * "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
+   *     "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
    *
    * The updated metric must be provided in the request and it's
    * `name` field must be the same as `[METRIC_ID]` If the metric
@@ -203,8 +197,8 @@ public final boolean isInitialized() {
 
   @java.lang.Override
   public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
-    if (!com.google.protobuf.GeneratedMessage.isStringEmpty(metricName_)) {
-      com.google.protobuf.GeneratedMessage.writeString(output, 1, metricName_);
+    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(metricName_)) {
+      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, metricName_);
     }
     if (((bitField0_ & 0x00000001) != 0)) {
       output.writeMessage(2, getMetric());
@@ -218,8 +212,8 @@ public int getSerializedSize() {
     if (size != -1) return size;
 
     size = 0;
-    if (!com.google.protobuf.GeneratedMessage.isStringEmpty(metricName_)) {
-      size += com.google.protobuf.GeneratedMessage.computeStringSize(1, metricName_);
+    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(metricName_)) {
+      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, metricName_);
     }
     if (((bitField0_ & 0x00000001) != 0)) {
       size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getMetric());
@@ -304,38 +298,38 @@ public static com.google.logging.v2.UpdateLogMetricRequest parseFrom(
 
   public static com.google.logging.v2.UpdateLogMetricRequest parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
 
   public static com.google.logging.v2.UpdateLogMetricRequest parseFrom(
       java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessage.parseWithIOException(
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
         PARSER, input, extensionRegistry);
   }
 
   public static com.google.logging.v2.UpdateLogMetricRequest parseDelimitedFrom(
       java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.logging.v2.UpdateLogMetricRequest parseDelimitedFrom(
       java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
         PARSER, input, extensionRegistry);
   }
 
   public static com.google.logging.v2.UpdateLogMetricRequest parseFrom(
       com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
 
   public static com.google.logging.v2.UpdateLogMetricRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessage.parseWithIOException(
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
         PARSER, input, extensionRegistry);
   }
 
@@ -358,7 +352,7 @@ public Builder toBuilder() {
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
@@ -372,7 +366,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder
    *
    * Protobuf type {@code google.logging.v2.UpdateLogMetricRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
       implements
       // @@protoc_insertion_point(builder_implements:google.logging.v2.UpdateLogMetricRequest)
       com.google.logging.v2.UpdateLogMetricRequestOrBuilder {
@@ -382,7 +376,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     }
 
     @java.lang.Override
-    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
       return com.google.logging.v2.LoggingMetricsProto
           .internal_static_google_logging_v2_UpdateLogMetricRequest_fieldAccessorTable
@@ -396,14 +390,14 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
 
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
-        internalGetMetricFieldBuilder();
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+        getMetricFieldBuilder();
       }
     }
 
@@ -464,6 +458,39 @@ private void buildPartial0(com.google.logging.v2.UpdateLogMetricRequest result)
       result.bitField0_ |= to_bitField0_;
     }
 
+    @java.lang.Override
+    public Builder clone() {
+      return super.clone();
+    }
+
+    @java.lang.Override
+    public Builder setField(
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+      return super.setField(field, value);
+    }
+
+    @java.lang.Override
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      return super.clearField(field);
+    }
+
+    @java.lang.Override
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      return super.clearOneof(oneof);
+    }
+
+    @java.lang.Override
+    public Builder setRepeatedField(
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+      return super.setRepeatedField(field, index, value);
+    }
+
+    @java.lang.Override
+    public Builder addRepeatedField(
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+      return super.addRepeatedField(field, value);
+    }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.logging.v2.UpdateLogMetricRequest) {
@@ -518,7 +545,7 @@ public Builder mergeFrom(
               } // case 10
             case 18:
               {
-                input.readMessage(internalGetMetricFieldBuilder().getBuilder(), extensionRegistry);
+                input.readMessage(getMetricFieldBuilder().getBuilder(), extensionRegistry);
                 bitField0_ |= 0x00000002;
                 break;
               } // case 18
@@ -549,7 +576,7 @@ public Builder mergeFrom(
      * 
      * Required. The resource name of the metric to update:
      *
-     * "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
+     *     "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
      *
      * The updated metric must be provided in the request and it's
      * `name` field must be the same as `[METRIC_ID]` If the metric
@@ -580,7 +607,7 @@ public java.lang.String getMetricName() {
      * 
      * Required. The resource name of the metric to update:
      *
-     * "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
+     *     "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
      *
      * The updated metric must be provided in the request and it's
      * `name` field must be the same as `[METRIC_ID]` If the metric
@@ -611,7 +638,7 @@ public com.google.protobuf.ByteString getMetricNameBytes() {
      * 
      * Required. The resource name of the metric to update:
      *
-     * "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
+     *     "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
      *
      * The updated metric must be provided in the request and it's
      * `name` field must be the same as `[METRIC_ID]` If the metric
@@ -641,7 +668,7 @@ public Builder setMetricName(java.lang.String value) {
      * 
      * Required. The resource name of the metric to update:
      *
-     * "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
+     *     "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
      *
      * The updated metric must be provided in the request and it's
      * `name` field must be the same as `[METRIC_ID]` If the metric
@@ -667,7 +694,7 @@ public Builder clearMetricName() {
      * 
      * Required. The resource name of the metric to update:
      *
-     * "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
+     *     "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
      *
      * The updated metric must be provided in the request and it's
      * `name` field must be the same as `[METRIC_ID]` If the metric
@@ -693,7 +720,7 @@ public Builder setMetricNameBytes(com.google.protobuf.ByteString value) {
     }
 
     private com.google.logging.v2.LogMetric metric_;
-    private com.google.protobuf.SingleFieldBuilder<
+    private com.google.protobuf.SingleFieldBuilderV3<
             com.google.logging.v2.LogMetric,
             com.google.logging.v2.LogMetric.Builder,
             com.google.logging.v2.LogMetricOrBuilder>
@@ -843,7 +870,7 @@ public Builder clearMetric() {
     public com.google.logging.v2.LogMetric.Builder getMetricBuilder() {
       bitField0_ |= 0x00000002;
       onChanged();
-      return internalGetMetricFieldBuilder().getBuilder();
+      return getMetricFieldBuilder().getBuilder();
     }
 
     /**
@@ -874,14 +901,14 @@ public com.google.logging.v2.LogMetricOrBuilder getMetricOrBuilder() {
      * .google.logging.v2.LogMetric metric = 2 [(.google.api.field_behavior) = REQUIRED];
      * 
      */
-    private com.google.protobuf.SingleFieldBuilder<
+    private com.google.protobuf.SingleFieldBuilderV3<
             com.google.logging.v2.LogMetric,
             com.google.logging.v2.LogMetric.Builder,
             com.google.logging.v2.LogMetricOrBuilder>
-        internalGetMetricFieldBuilder() {
+        getMetricFieldBuilder() {
       if (metricBuilder_ == null) {
         metricBuilder_ =
-            new com.google.protobuf.SingleFieldBuilder<
+            new com.google.protobuf.SingleFieldBuilderV3<
                 com.google.logging.v2.LogMetric,
                 com.google.logging.v2.LogMetric.Builder,
                 com.google.logging.v2.LogMetricOrBuilder>(
@@ -891,6 +918,17 @@ public com.google.logging.v2.LogMetricOrBuilder getMetricOrBuilder() {
       return metricBuilder_;
     }
 
+    @java.lang.Override
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+      return super.setUnknownFields(unknownFields);
+    }
+
+    @java.lang.Override
+    public final Builder mergeUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
+      return super.mergeUnknownFields(unknownFields);
+    }
+
     // @@protoc_insertion_point(builder_scope:google.logging.v2.UpdateLogMetricRequest)
   }
 
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateLogMetricRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateLogMetricRequestOrBuilder.java
index 5c04f8b2a..0f31c10a7 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateLogMetricRequestOrBuilder.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateLogMetricRequestOrBuilder.java
@@ -14,13 +14,11 @@
  * limitations under the License.
  */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
-// NO CHECKED-IN PROTOBUF GENCODE
 // source: google/logging/v2/logging_metrics.proto
-// Protobuf Java Version: 4.33.0
 
+// Protobuf Java Version: 3.25.8
 package com.google.logging.v2;
 
-@com.google.protobuf.Generated
 public interface UpdateLogMetricRequestOrBuilder
     extends
     // @@protoc_insertion_point(interface_extends:google.logging.v2.UpdateLogMetricRequest)
@@ -32,7 +30,7 @@ public interface UpdateLogMetricRequestOrBuilder
    * 
    * Required. The resource name of the metric to update:
    *
-   * "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
+   *     "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
    *
    * The updated metric must be provided in the request and it's
    * `name` field must be the same as `[METRIC_ID]` If the metric
@@ -53,7 +51,7 @@ public interface UpdateLogMetricRequestOrBuilder
    * 
    * Required. The resource name of the metric to update:
    *
-   * "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
+   *     "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
    *
    * The updated metric must be provided in the request and it's
    * `name` field must be the same as `[METRIC_ID]` If the metric
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSettingsRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSettingsRequest.java
index 76250ae92..3691f5742 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSettingsRequest.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSettingsRequest.java
@@ -14,10 +14,9 @@
  * limitations under the License.
  */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
-// NO CHECKED-IN PROTOBUF GENCODE
 // source: google/logging/v2/logging_config.proto
-// Protobuf Java Version: 4.33.0
 
+// Protobuf Java Version: 3.25.8
 package com.google.logging.v2;
 
 /**
@@ -34,25 +33,14 @@
  *
  * Protobuf type {@code google.logging.v2.UpdateSettingsRequest}
  */
-@com.google.protobuf.Generated
-public final class UpdateSettingsRequest extends com.google.protobuf.GeneratedMessage
+public final class UpdateSettingsRequest extends com.google.protobuf.GeneratedMessageV3
     implements
     // @@protoc_insertion_point(message_implements:google.logging.v2.UpdateSettingsRequest)
     UpdateSettingsRequestOrBuilder {
   private static final long serialVersionUID = 0L;
 
-  static {
-    com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
-        com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
-        /* major= */ 4,
-        /* minor= */ 33,
-        /* patch= */ 0,
-        /* suffix= */ "",
-        "UpdateSettingsRequest");
-  }
-
   // Use UpdateSettingsRequest.newBuilder() to construct.
-  private UpdateSettingsRequest(com.google.protobuf.GeneratedMessage.Builder builder) {
+  private UpdateSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
 
@@ -60,13 +48,19 @@ private UpdateSettingsRequest() {
     name_ = "";
   }
 
+  @java.lang.Override
+  @SuppressWarnings({"unused"})
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    return new UpdateSettingsRequest();
+  }
+
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.logging.v2.LoggingConfigProto
         .internal_static_google_logging_v2_UpdateSettingsRequest_descriptor;
   }
 
   @java.lang.Override
-  protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
     return com.google.logging.v2.LoggingConfigProto
         .internal_static_google_logging_v2_UpdateSettingsRequest_fieldAccessorTable
@@ -87,11 +81,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
    * Required. The resource name for the settings to update.
    *
-   * "organizations/[ORGANIZATION_ID]/settings"
+   *     "organizations/[ORGANIZATION_ID]/settings"
    *
    * For example:
    *
-   * `"organizations/12345/settings"`
+   *   `"organizations/12345/settings"`
    *
    * Note: Settings for the Log Router can currently only be configured for
    * Google Cloud organizations. Once configured, it applies to all projects and
@@ -121,11 +115,11 @@ public java.lang.String getName() {
    * 
    * Required. The resource name for the settings to update.
    *
-   * "organizations/[ORGANIZATION_ID]/settings"
+   *     "organizations/[ORGANIZATION_ID]/settings"
    *
    * For example:
    *
-   * `"organizations/12345/settings"`
+   *   `"organizations/12345/settings"`
    *
    * Note: Settings for the Log Router can currently only be configured for
    * Google Cloud organizations. Once configured, it applies to all projects and
@@ -297,8 +291,8 @@ public final boolean isInitialized() {
 
   @java.lang.Override
   public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
-    if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) {
-      com.google.protobuf.GeneratedMessage.writeString(output, 1, name_);
+    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
+      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
     if (((bitField0_ & 0x00000001) != 0)) {
       output.writeMessage(2, getSettings());
@@ -315,8 +309,8 @@ public int getSerializedSize() {
     if (size != -1) return size;
 
     size = 0;
-    if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) {
-      size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_);
+    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
+      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
     }
     if (((bitField0_ & 0x00000001) != 0)) {
       size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getSettings());
@@ -412,38 +406,38 @@ public static com.google.logging.v2.UpdateSettingsRequest parseFrom(
 
   public static com.google.logging.v2.UpdateSettingsRequest parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
 
   public static com.google.logging.v2.UpdateSettingsRequest parseFrom(
       java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessage.parseWithIOException(
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
         PARSER, input, extensionRegistry);
   }
 
   public static com.google.logging.v2.UpdateSettingsRequest parseDelimitedFrom(
       java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.logging.v2.UpdateSettingsRequest parseDelimitedFrom(
       java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
         PARSER, input, extensionRegistry);
   }
 
   public static com.google.logging.v2.UpdateSettingsRequest parseFrom(
       com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
 
   public static com.google.logging.v2.UpdateSettingsRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessage.parseWithIOException(
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
         PARSER, input, extensionRegistry);
   }
 
@@ -466,7 +460,7 @@ public Builder toBuilder() {
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
@@ -485,7 +479,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder
    *
    * Protobuf type {@code google.logging.v2.UpdateSettingsRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
       implements
       // @@protoc_insertion_point(builder_implements:google.logging.v2.UpdateSettingsRequest)
       com.google.logging.v2.UpdateSettingsRequestOrBuilder {
@@ -495,7 +489,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     }
 
     @java.lang.Override
-    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
       return com.google.logging.v2.LoggingConfigProto
           .internal_static_google_logging_v2_UpdateSettingsRequest_fieldAccessorTable
@@ -509,15 +503,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
 
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
-        internalGetSettingsFieldBuilder();
-        internalGetUpdateMaskFieldBuilder();
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+        getSettingsFieldBuilder();
+        getUpdateMaskFieldBuilder();
       }
     }
 
@@ -587,6 +581,39 @@ private void buildPartial0(com.google.logging.v2.UpdateSettingsRequest result) {
       result.bitField0_ |= to_bitField0_;
     }
 
+    @java.lang.Override
+    public Builder clone() {
+      return super.clone();
+    }
+
+    @java.lang.Override
+    public Builder setField(
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+      return super.setField(field, value);
+    }
+
+    @java.lang.Override
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      return super.clearField(field);
+    }
+
+    @java.lang.Override
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      return super.clearOneof(oneof);
+    }
+
+    @java.lang.Override
+    public Builder setRepeatedField(
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+      return super.setRepeatedField(field, index, value);
+    }
+
+    @java.lang.Override
+    public Builder addRepeatedField(
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+      return super.addRepeatedField(field, value);
+    }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.logging.v2.UpdateSettingsRequest) {
@@ -644,15 +671,13 @@ public Builder mergeFrom(
               } // case 10
             case 18:
               {
-                input.readMessage(
-                    internalGetSettingsFieldBuilder().getBuilder(), extensionRegistry);
+                input.readMessage(getSettingsFieldBuilder().getBuilder(), extensionRegistry);
                 bitField0_ |= 0x00000002;
                 break;
               } // case 18
             case 26:
               {
-                input.readMessage(
-                    internalGetUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
+                input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
                 bitField0_ |= 0x00000004;
                 break;
               } // case 26
@@ -683,11 +708,11 @@ public Builder mergeFrom(
      * 
      * Required. The resource name for the settings to update.
      *
-     * "organizations/[ORGANIZATION_ID]/settings"
+     *     "organizations/[ORGANIZATION_ID]/settings"
      *
      * For example:
      *
-     * `"organizations/12345/settings"`
+     *   `"organizations/12345/settings"`
      *
      * Note: Settings for the Log Router can currently only be configured for
      * Google Cloud organizations. Once configured, it applies to all projects and
@@ -716,11 +741,11 @@ public java.lang.String getName() {
      * 
      * Required. The resource name for the settings to update.
      *
-     * "organizations/[ORGANIZATION_ID]/settings"
+     *     "organizations/[ORGANIZATION_ID]/settings"
      *
      * For example:
      *
-     * `"organizations/12345/settings"`
+     *   `"organizations/12345/settings"`
      *
      * Note: Settings for the Log Router can currently only be configured for
      * Google Cloud organizations. Once configured, it applies to all projects and
@@ -749,11 +774,11 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
      * Required. The resource name for the settings to update.
      *
-     * "organizations/[ORGANIZATION_ID]/settings"
+     *     "organizations/[ORGANIZATION_ID]/settings"
      *
      * For example:
      *
-     * `"organizations/12345/settings"`
+     *   `"organizations/12345/settings"`
      *
      * Note: Settings for the Log Router can currently only be configured for
      * Google Cloud organizations. Once configured, it applies to all projects and
@@ -781,11 +806,11 @@ public Builder setName(java.lang.String value) {
      * 
      * Required. The resource name for the settings to update.
      *
-     * "organizations/[ORGANIZATION_ID]/settings"
+     *     "organizations/[ORGANIZATION_ID]/settings"
      *
      * For example:
      *
-     * `"organizations/12345/settings"`
+     *   `"organizations/12345/settings"`
      *
      * Note: Settings for the Log Router can currently only be configured for
      * Google Cloud organizations. Once configured, it applies to all projects and
@@ -809,11 +834,11 @@ public Builder clearName() {
      * 
      * Required. The resource name for the settings to update.
      *
-     * "organizations/[ORGANIZATION_ID]/settings"
+     *     "organizations/[ORGANIZATION_ID]/settings"
      *
      * For example:
      *
-     * `"organizations/12345/settings"`
+     *   `"organizations/12345/settings"`
      *
      * Note: Settings for the Log Router can currently only be configured for
      * Google Cloud organizations. Once configured, it applies to all projects and
@@ -837,7 +862,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
     }
 
     private com.google.logging.v2.Settings settings_;
-    private com.google.protobuf.SingleFieldBuilder<
+    private com.google.protobuf.SingleFieldBuilderV3<
             com.google.logging.v2.Settings,
             com.google.logging.v2.Settings.Builder,
             com.google.logging.v2.SettingsOrBuilder>
@@ -1015,7 +1040,7 @@ public Builder clearSettings() {
     public com.google.logging.v2.Settings.Builder getSettingsBuilder() {
       bitField0_ |= 0x00000002;
       onChanged();
-      return internalGetSettingsFieldBuilder().getBuilder();
+      return getSettingsFieldBuilder().getBuilder();
     }
 
     /**
@@ -1054,14 +1079,14 @@ public com.google.logging.v2.SettingsOrBuilder getSettingsOrBuilder() {
      * .google.logging.v2.Settings settings = 2 [(.google.api.field_behavior) = REQUIRED];
      * 
      */
-    private com.google.protobuf.SingleFieldBuilder<
+    private com.google.protobuf.SingleFieldBuilderV3<
             com.google.logging.v2.Settings,
             com.google.logging.v2.Settings.Builder,
             com.google.logging.v2.SettingsOrBuilder>
-        internalGetSettingsFieldBuilder() {
+        getSettingsFieldBuilder() {
       if (settingsBuilder_ == null) {
         settingsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilder<
+            new com.google.protobuf.SingleFieldBuilderV3<
                 com.google.logging.v2.Settings,
                 com.google.logging.v2.Settings.Builder,
                 com.google.logging.v2.SettingsOrBuilder>(
@@ -1072,7 +1097,7 @@ public com.google.logging.v2.SettingsOrBuilder getSettingsOrBuilder() {
     }
 
     private com.google.protobuf.FieldMask updateMask_;
-    private com.google.protobuf.SingleFieldBuilder<
+    private com.google.protobuf.SingleFieldBuilderV3<
             com.google.protobuf.FieldMask,
             com.google.protobuf.FieldMask.Builder,
             com.google.protobuf.FieldMaskOrBuilder>
@@ -1266,7 +1291,7 @@ public Builder clearUpdateMask() {
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
       bitField0_ |= 0x00000004;
       onChanged();
-      return internalGetUpdateMaskFieldBuilder().getBuilder();
+      return getUpdateMaskFieldBuilder().getBuilder();
     }
 
     /**
@@ -1311,14 +1336,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL];
      * 
      */
-    private com.google.protobuf.SingleFieldBuilder<
+    private com.google.protobuf.SingleFieldBuilderV3<
             com.google.protobuf.FieldMask,
             com.google.protobuf.FieldMask.Builder,
             com.google.protobuf.FieldMaskOrBuilder>
-        internalGetUpdateMaskFieldBuilder() {
+        getUpdateMaskFieldBuilder() {
       if (updateMaskBuilder_ == null) {
         updateMaskBuilder_ =
-            new com.google.protobuf.SingleFieldBuilder<
+            new com.google.protobuf.SingleFieldBuilderV3<
                 com.google.protobuf.FieldMask,
                 com.google.protobuf.FieldMask.Builder,
                 com.google.protobuf.FieldMaskOrBuilder>(
@@ -1328,6 +1353,17 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
       return updateMaskBuilder_;
     }
 
+    @java.lang.Override
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+      return super.setUnknownFields(unknownFields);
+    }
+
+    @java.lang.Override
+    public final Builder mergeUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
+      return super.mergeUnknownFields(unknownFields);
+    }
+
     // @@protoc_insertion_point(builder_scope:google.logging.v2.UpdateSettingsRequest)
   }
 
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSettingsRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSettingsRequestOrBuilder.java
index ad77cd20f..ec696b0c5 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSettingsRequestOrBuilder.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSettingsRequestOrBuilder.java
@@ -14,13 +14,11 @@
  * limitations under the License.
  */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
-// NO CHECKED-IN PROTOBUF GENCODE
 // source: google/logging/v2/logging_config.proto
-// Protobuf Java Version: 4.33.0
 
+// Protobuf Java Version: 3.25.8
 package com.google.logging.v2;
 
-@com.google.protobuf.Generated
 public interface UpdateSettingsRequestOrBuilder
     extends
     // @@protoc_insertion_point(interface_extends:google.logging.v2.UpdateSettingsRequest)
@@ -32,11 +30,11 @@ public interface UpdateSettingsRequestOrBuilder
    * 
    * Required. The resource name for the settings to update.
    *
-   * "organizations/[ORGANIZATION_ID]/settings"
+   *     "organizations/[ORGANIZATION_ID]/settings"
    *
    * For example:
    *
-   * `"organizations/12345/settings"`
+   *   `"organizations/12345/settings"`
    *
    * Note: Settings for the Log Router can currently only be configured for
    * Google Cloud organizations. Once configured, it applies to all projects and
@@ -55,11 +53,11 @@ public interface UpdateSettingsRequestOrBuilder
    * 
    * Required. The resource name for the settings to update.
    *
-   * "organizations/[ORGANIZATION_ID]/settings"
+   *     "organizations/[ORGANIZATION_ID]/settings"
    *
    * For example:
    *
-   * `"organizations/12345/settings"`
+   *   `"organizations/12345/settings"`
    *
    * Note: Settings for the Log Router can currently only be configured for
    * Google Cloud organizations. Once configured, it applies to all projects and
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSinkRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSinkRequest.java
index 15e78311b..99ec38298 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSinkRequest.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSinkRequest.java
@@ -14,10 +14,9 @@
  * limitations under the License.
  */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
-// NO CHECKED-IN PROTOBUF GENCODE
 // source: google/logging/v2/logging_config.proto
-// Protobuf Java Version: 4.33.0
 
+// Protobuf Java Version: 3.25.8
 package com.google.logging.v2;
 
 /**
@@ -29,25 +28,14 @@
  *
  * Protobuf type {@code google.logging.v2.UpdateSinkRequest}
  */
-@com.google.protobuf.Generated
-public final class UpdateSinkRequest extends com.google.protobuf.GeneratedMessage
+public final class UpdateSinkRequest extends com.google.protobuf.GeneratedMessageV3
     implements
     // @@protoc_insertion_point(message_implements:google.logging.v2.UpdateSinkRequest)
     UpdateSinkRequestOrBuilder {
   private static final long serialVersionUID = 0L;
 
-  static {
-    com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
-        com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
-        /* major= */ 4,
-        /* minor= */ 33,
-        /* patch= */ 0,
-        /* suffix= */ "",
-        "UpdateSinkRequest");
-  }
-
   // Use UpdateSinkRequest.newBuilder() to construct.
-  private UpdateSinkRequest(com.google.protobuf.GeneratedMessage.Builder builder) {
+  private UpdateSinkRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
 
@@ -55,13 +43,19 @@ private UpdateSinkRequest() {
     sinkName_ = "";
   }
 
+  @java.lang.Override
+  @SuppressWarnings({"unused"})
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    return new UpdateSinkRequest();
+  }
+
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.logging.v2.LoggingConfigProto
         .internal_static_google_logging_v2_UpdateSinkRequest_descriptor;
   }
 
   @java.lang.Override
-  protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
     return com.google.logging.v2.LoggingConfigProto
         .internal_static_google_logging_v2_UpdateSinkRequest_fieldAccessorTable
@@ -83,14 +77,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * Required. The full resource name of the sink to update, 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]"
+   *     "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"`
+   *   `"projects/my-project/sinks/my-sink"`
    * 
* * @@ -119,14 +113,14 @@ public java.lang.String getSinkName() { * Required. The full resource name of the sink to update, 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]" + * "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"` + * `"projects/my-project/sinks/my-sink"` *
* * @@ -213,11 +207,11 @@ public com.google.logging.v2.LogSinkOrBuilder getSinkOrBuilder() { * the old and new values of this field: * * + If the old and new values of this field are both false or both true, - * then there is no change to the sink's `writer_identity`. + * then there is no change to the sink's `writer_identity`. * + If the old value is false and the new value is true, then - * `writer_identity` is changed to a unique service account. + * `writer_identity` is changed to a unique service account. * + It is an error if the old value is true and the new value is - * set to false or defaulted to false. + * set to false or defaulted to false. *
* * bool unique_writer_identity = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -243,7 +237,7 @@ public boolean getUniqueWriterIdentity() { * An empty `updateMask` is temporarily treated as using the following mask * for backwards compatibility purposes: * - * `destination,filter,includeChildren` + * `destination,filter,includeChildren` * * At some point in the future, behavior will be removed and specifying an * empty `updateMask` will be an error. @@ -275,7 +269,7 @@ public boolean hasUpdateMask() { * An empty `updateMask` is temporarily treated as using the following mask * for backwards compatibility purposes: * - * `destination,filter,includeChildren` + * `destination,filter,includeChildren` * * At some point in the future, behavior will be removed and specifying an * empty `updateMask` will be an error. @@ -307,7 +301,7 @@ public com.google.protobuf.FieldMask getUpdateMask() { * An empty `updateMask` is temporarily treated as using the following mask * for backwards compatibility purposes: * - * `destination,filter,includeChildren` + * `destination,filter,includeChildren` * * At some point in the future, behavior will be removed and specifying an * empty `updateMask` will be an error. @@ -340,8 +334,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(sinkName_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, sinkName_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sinkName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sinkName_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getSink()); @@ -361,8 +355,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(sinkName_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, sinkName_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sinkName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, sinkName_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getSink()); @@ -463,38 +457,38 @@ public static com.google.logging.v2.UpdateSinkRequest parseFrom( public static com.google.logging.v2.UpdateSinkRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.UpdateSinkRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.UpdateSinkRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.UpdateSinkRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.UpdateSinkRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.UpdateSinkRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } @@ -517,7 +511,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -531,7 +525,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder * * Protobuf type {@code google.logging.v2.UpdateSinkRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.UpdateSinkRequest) com.google.logging.v2.UpdateSinkRequestOrBuilder { @@ -541,7 +535,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_UpdateSinkRequest_fieldAccessorTable @@ -555,15 +549,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { - internalGetSinkFieldBuilder(); - internalGetUpdateMaskFieldBuilder(); + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getSinkFieldBuilder(); + getUpdateMaskFieldBuilder(); } } @@ -637,6 +631,39 @@ private void buildPartial0(com.google.logging.v2.UpdateSinkRequest result) { result.bitField0_ |= to_bitField0_; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.UpdateSinkRequest) { @@ -697,7 +724,7 @@ public Builder mergeFrom( } // case 10 case 18: { - input.readMessage(internalGetSinkFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage(getSinkFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 18 @@ -709,8 +736,7 @@ public Builder mergeFrom( } // case 24 case 34: { - input.readMessage( - internalGetUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000008; break; } // case 34 @@ -742,14 +768,14 @@ public Builder mergeFrom( * Required. The full resource name of the sink to update, 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]" + * "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"` + * `"projects/my-project/sinks/my-sink"` *
* * @@ -777,14 +803,14 @@ public java.lang.String getSinkName() { * Required. The full resource name of the sink to update, 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]" + * "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"` + * `"projects/my-project/sinks/my-sink"` *
* * @@ -812,14 +838,14 @@ public com.google.protobuf.ByteString getSinkNameBytes() { * Required. The full resource name of the sink to update, 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]" + * "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"` + * `"projects/my-project/sinks/my-sink"` *
* * @@ -846,14 +872,14 @@ public Builder setSinkName(java.lang.String value) { * Required. The full resource name of the sink to update, 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]" + * "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"` + * `"projects/my-project/sinks/my-sink"` *
* * @@ -876,14 +902,14 @@ public Builder clearSinkName() { * Required. The full resource name of the sink to update, 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]" + * "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"` + * `"projects/my-project/sinks/my-sink"` *
* * @@ -905,7 +931,7 @@ public Builder setSinkNameBytes(com.google.protobuf.ByteString value) { } private com.google.logging.v2.LogSink sink_; - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.logging.v2.LogSink, com.google.logging.v2.LogSink.Builder, com.google.logging.v2.LogSinkOrBuilder> @@ -1055,7 +1081,7 @@ public Builder clearSink() { public com.google.logging.v2.LogSink.Builder getSinkBuilder() { bitField0_ |= 0x00000002; onChanged(); - return internalGetSinkFieldBuilder().getBuilder(); + return getSinkFieldBuilder().getBuilder(); } /** @@ -1086,14 +1112,14 @@ public com.google.logging.v2.LogSinkOrBuilder getSinkOrBuilder() { * * .google.logging.v2.LogSink sink = 2 [(.google.api.field_behavior) = REQUIRED]; */ - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.logging.v2.LogSink, com.google.logging.v2.LogSink.Builder, com.google.logging.v2.LogSinkOrBuilder> - internalGetSinkFieldBuilder() { + getSinkFieldBuilder() { if (sinkBuilder_ == null) { sinkBuilder_ = - new com.google.protobuf.SingleFieldBuilder< + new com.google.protobuf.SingleFieldBuilderV3< com.google.logging.v2.LogSink, com.google.logging.v2.LogSink.Builder, com.google.logging.v2.LogSinkOrBuilder>( @@ -1115,11 +1141,11 @@ public com.google.logging.v2.LogSinkOrBuilder getSinkOrBuilder() { * the old and new values of this field: * * + If the old and new values of this field are both false or both true, - * then there is no change to the sink's `writer_identity`. + * then there is no change to the sink's `writer_identity`. * + If the old value is false and the new value is true, then - * `writer_identity` is changed to a unique service account. + * `writer_identity` is changed to a unique service account. * + It is an error if the old value is true and the new value is - * set to false or defaulted to false. + * set to false or defaulted to false. *
* * bool unique_writer_identity = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1141,11 +1167,11 @@ public boolean getUniqueWriterIdentity() { * the old and new values of this field: * * + If the old and new values of this field are both false or both true, - * then there is no change to the sink's `writer_identity`. + * then there is no change to the sink's `writer_identity`. * + If the old value is false and the new value is true, then - * `writer_identity` is changed to a unique service account. + * `writer_identity` is changed to a unique service account. * + It is an error if the old value is true and the new value is - * set to false or defaulted to false. + * set to false or defaulted to false. *
* * bool unique_writer_identity = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1171,11 +1197,11 @@ public Builder setUniqueWriterIdentity(boolean value) { * the old and new values of this field: * * + If the old and new values of this field are both false or both true, - * then there is no change to the sink's `writer_identity`. + * then there is no change to the sink's `writer_identity`. * + If the old value is false and the new value is true, then - * `writer_identity` is changed to a unique service account. + * `writer_identity` is changed to a unique service account. * + It is an error if the old value is true and the new value is - * set to false or defaulted to false. + * set to false or defaulted to false. *
* * bool unique_writer_identity = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -1190,7 +1216,7 @@ public Builder clearUniqueWriterIdentity() { } private com.google.protobuf.FieldMask updateMask_; - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> @@ -1207,7 +1233,7 @@ public Builder clearUniqueWriterIdentity() { * An empty `updateMask` is temporarily treated as using the following mask * for backwards compatibility purposes: * - * `destination,filter,includeChildren` + * `destination,filter,includeChildren` * * At some point in the future, behavior will be removed and specifying an * empty `updateMask` will be an error. @@ -1238,7 +1264,7 @@ public boolean hasUpdateMask() { * An empty `updateMask` is temporarily treated as using the following mask * for backwards compatibility purposes: * - * `destination,filter,includeChildren` + * `destination,filter,includeChildren` * * At some point in the future, behavior will be removed and specifying an * empty `updateMask` will be an error. @@ -1275,7 +1301,7 @@ public com.google.protobuf.FieldMask getUpdateMask() { * An empty `updateMask` is temporarily treated as using the following mask * for backwards compatibility purposes: * - * `destination,filter,includeChildren` + * `destination,filter,includeChildren` * * At some point in the future, behavior will be removed and specifying an * empty `updateMask` will be an error. @@ -1314,7 +1340,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { * An empty `updateMask` is temporarily treated as using the following mask * for backwards compatibility purposes: * - * `destination,filter,includeChildren` + * `destination,filter,includeChildren` * * At some point in the future, behavior will be removed and specifying an * empty `updateMask` will be an error. @@ -1350,7 +1376,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal * An empty `updateMask` is temporarily treated as using the following mask * for backwards compatibility purposes: * - * `destination,filter,includeChildren` + * `destination,filter,includeChildren` * * At some point in the future, behavior will be removed and specifying an * empty `updateMask` will be an error. @@ -1394,7 +1420,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { * An empty `updateMask` is temporarily treated as using the following mask * for backwards compatibility purposes: * - * `destination,filter,includeChildren` + * `destination,filter,includeChildren` * * At some point in the future, behavior will be removed and specifying an * empty `updateMask` will be an error. @@ -1430,7 +1456,7 @@ public Builder clearUpdateMask() { * An empty `updateMask` is temporarily treated as using the following mask * for backwards compatibility purposes: * - * `destination,filter,includeChildren` + * `destination,filter,includeChildren` * * At some point in the future, behavior will be removed and specifying an * empty `updateMask` will be an error. @@ -1447,7 +1473,7 @@ public Builder clearUpdateMask() { public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000008; onChanged(); - return internalGetUpdateMaskFieldBuilder().getBuilder(); + return getUpdateMaskFieldBuilder().getBuilder(); } /** @@ -1461,7 +1487,7 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { * An empty `updateMask` is temporarily treated as using the following mask * for backwards compatibility purposes: * - * `destination,filter,includeChildren` + * `destination,filter,includeChildren` * * At some point in the future, behavior will be removed and specifying an * empty `updateMask` will be an error. @@ -1496,7 +1522,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * An empty `updateMask` is temporarily treated as using the following mask * for backwards compatibility purposes: * - * `destination,filter,includeChildren` + * `destination,filter,includeChildren` * * At some point in the future, behavior will be removed and specifying an * empty `updateMask` will be an error. @@ -1510,14 +1536,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = OPTIONAL]; * */ - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> - internalGetUpdateMaskFieldBuilder() { + getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilder< + new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( @@ -1527,6 +1553,17 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { return updateMaskBuilder_; } + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:google.logging.v2.UpdateSinkRequest) } diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSinkRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSinkRequestOrBuilder.java index fbcac8982..8321105d4 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSinkRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateSinkRequestOrBuilder.java @@ -14,13 +14,11 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; -@com.google.protobuf.Generated public interface UpdateSinkRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.UpdateSinkRequest) @@ -33,14 +31,14 @@ public interface UpdateSinkRequestOrBuilder * Required. The full resource name of the sink to update, 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]" + * "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"` + * `"projects/my-project/sinks/my-sink"` *
* * @@ -58,14 +56,14 @@ public interface UpdateSinkRequestOrBuilder * Required. The full resource name of the sink to update, 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]" + * "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"` + * `"projects/my-project/sinks/my-sink"` *
* * @@ -126,11 +124,11 @@ public interface UpdateSinkRequestOrBuilder * the old and new values of this field: * * + If the old and new values of this field are both false or both true, - * then there is no change to the sink's `writer_identity`. + * then there is no change to the sink's `writer_identity`. * + If the old value is false and the new value is true, then - * `writer_identity` is changed to a unique service account. + * `writer_identity` is changed to a unique service account. * + It is an error if the old value is true and the new value is - * set to false or defaulted to false. + * set to false or defaulted to false. *
* * bool unique_writer_identity = 3 [(.google.api.field_behavior) = OPTIONAL]; @@ -150,7 +148,7 @@ public interface UpdateSinkRequestOrBuilder * An empty `updateMask` is temporarily treated as using the following mask * for backwards compatibility purposes: * - * `destination,filter,includeChildren` + * `destination,filter,includeChildren` * * At some point in the future, behavior will be removed and specifying an * empty `updateMask` will be an error. @@ -179,7 +177,7 @@ public interface UpdateSinkRequestOrBuilder * An empty `updateMask` is temporarily treated as using the following mask * for backwards compatibility purposes: * - * `destination,filter,includeChildren` + * `destination,filter,includeChildren` * * At some point in the future, behavior will be removed and specifying an * empty `updateMask` will be an error. @@ -208,7 +206,7 @@ public interface UpdateSinkRequestOrBuilder * An empty `updateMask` is temporarily treated as using the following mask * for backwards compatibility purposes: * - * `destination,filter,includeChildren` + * `destination,filter,includeChildren` * * At some point in the future, behavior will be removed and specifying an * empty `updateMask` will be an error. diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateViewRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateViewRequest.java index 309be59fd..f55f5a170 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateViewRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateViewRequest.java @@ -14,10 +14,9 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -29,25 +28,14 @@ * * Protobuf type {@code google.logging.v2.UpdateViewRequest} */ -@com.google.protobuf.Generated -public final class UpdateViewRequest extends com.google.protobuf.GeneratedMessage +public final class UpdateViewRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.logging.v2.UpdateViewRequest) UpdateViewRequestOrBuilder { private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 0, - /* suffix= */ "", - "UpdateViewRequest"); - } - // Use UpdateViewRequest.newBuilder() to construct. - private UpdateViewRequest(com.google.protobuf.GeneratedMessage.Builder builder) { + private UpdateViewRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } @@ -55,13 +43,19 @@ private UpdateViewRequest() { name_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new UpdateViewRequest(); + } + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_UpdateViewRequest_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_UpdateViewRequest_fieldAccessorTable @@ -82,11 +76,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { *
    * Required. The full resource name of the view to update
    *
-   * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
+   *     "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"`
+   *   `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -112,11 +106,11 @@ public java.lang.String getName() { *
    * Required. The full resource name of the view to update
    *
-   * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
+   *     "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"`
+   *   `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -272,8 +266,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, name_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getView()); @@ -290,8 +284,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getView()); @@ -386,38 +380,38 @@ public static com.google.logging.v2.UpdateViewRequest parseFrom( public static com.google.logging.v2.UpdateViewRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.UpdateViewRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.UpdateViewRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.UpdateViewRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.UpdateViewRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.UpdateViewRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } @@ -440,7 +434,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -454,7 +448,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder * * Protobuf type {@code google.logging.v2.UpdateViewRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.UpdateViewRequest) com.google.logging.v2.UpdateViewRequestOrBuilder { @@ -464,7 +458,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingConfigProto .internal_static_google_logging_v2_UpdateViewRequest_fieldAccessorTable @@ -478,15 +472,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { - internalGetViewFieldBuilder(); - internalGetUpdateMaskFieldBuilder(); + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getViewFieldBuilder(); + getUpdateMaskFieldBuilder(); } } @@ -556,6 +550,39 @@ private void buildPartial0(com.google.logging.v2.UpdateViewRequest result) { result.bitField0_ |= to_bitField0_; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.UpdateViewRequest) { @@ -613,14 +640,13 @@ public Builder mergeFrom( } // case 10 case 18: { - input.readMessage(internalGetViewFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage(getViewFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 18 case 34: { - input.readMessage( - internalGetUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 34 @@ -651,11 +677,11 @@ public Builder mergeFrom( *
      * Required. The full resource name of the view to update
      *
-     * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
+     *     "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"`
+     *   `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -680,11 +706,11 @@ public java.lang.String getName() { *
      * Required. The full resource name of the view to update
      *
-     * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
+     *     "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"`
+     *   `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -709,11 +735,11 @@ public com.google.protobuf.ByteString getNameBytes() { *
      * Required. The full resource name of the view to update
      *
-     * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
+     *     "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"`
+     *   `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -737,11 +763,11 @@ public Builder setName(java.lang.String value) { *
      * Required. The full resource name of the view to update
      *
-     * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
+     *     "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"`
+     *   `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -761,11 +787,11 @@ public Builder clearName() { *
      * Required. The full resource name of the view to update
      *
-     * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
+     *     "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"`
+     *   `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -785,7 +811,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { } private com.google.logging.v2.LogView view_; - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.logging.v2.LogView, com.google.logging.v2.LogView.Builder, com.google.logging.v2.LogViewOrBuilder> @@ -928,7 +954,7 @@ public Builder clearView() { public com.google.logging.v2.LogView.Builder getViewBuilder() { bitField0_ |= 0x00000002; onChanged(); - return internalGetViewFieldBuilder().getBuilder(); + return getViewFieldBuilder().getBuilder(); } /** @@ -957,14 +983,14 @@ public com.google.logging.v2.LogViewOrBuilder getViewOrBuilder() { * * .google.logging.v2.LogView view = 2 [(.google.api.field_behavior) = REQUIRED]; */ - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.logging.v2.LogView, com.google.logging.v2.LogView.Builder, com.google.logging.v2.LogViewOrBuilder> - internalGetViewFieldBuilder() { + getViewFieldBuilder() { if (viewBuilder_ == null) { viewBuilder_ = - new com.google.protobuf.SingleFieldBuilder< + new com.google.protobuf.SingleFieldBuilderV3< com.google.logging.v2.LogView, com.google.logging.v2.LogView.Builder, com.google.logging.v2.LogViewOrBuilder>( @@ -975,7 +1001,7 @@ public com.google.logging.v2.LogViewOrBuilder getViewOrBuilder() { } private com.google.protobuf.FieldMask updateMask_; - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> @@ -1176,7 +1202,7 @@ public Builder clearUpdateMask() { public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000004; onChanged(); - return internalGetUpdateMaskFieldBuilder().getBuilder(); + return getUpdateMaskFieldBuilder().getBuilder(); } /** @@ -1223,14 +1249,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = OPTIONAL]; * */ - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> - internalGetUpdateMaskFieldBuilder() { + getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilder< + new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( @@ -1240,6 +1266,17 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { return updateMaskBuilder_; } + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:google.logging.v2.UpdateViewRequest) } diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateViewRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateViewRequestOrBuilder.java index 963a0a923..4a2164cbc 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateViewRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/UpdateViewRequestOrBuilder.java @@ -14,13 +14,11 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging_config.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; -@com.google.protobuf.Generated public interface UpdateViewRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.UpdateViewRequest) @@ -32,11 +30,11 @@ public interface UpdateViewRequestOrBuilder *
    * Required. The full resource name of the view to update
    *
-   * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
+   *     "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"`
+   *   `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -51,11 +49,11 @@ public interface UpdateViewRequestOrBuilder *
    * Required. The full resource name of the view to update
    *
-   * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
+   *     "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"`
+   *   `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesPartialErrors.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesPartialErrors.java index d107fbdad..5179c1e07 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesPartialErrors.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesPartialErrors.java @@ -14,10 +14,9 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -29,30 +28,25 @@ * * Protobuf type {@code google.logging.v2.WriteLogEntriesPartialErrors} */ -@com.google.protobuf.Generated -public final class WriteLogEntriesPartialErrors extends com.google.protobuf.GeneratedMessage +public final class WriteLogEntriesPartialErrors extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.logging.v2.WriteLogEntriesPartialErrors) WriteLogEntriesPartialErrorsOrBuilder { private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 0, - /* suffix= */ "", - "WriteLogEntriesPartialErrors"); - } - // Use WriteLogEntriesPartialErrors.newBuilder() to construct. - private WriteLogEntriesPartialErrors(com.google.protobuf.GeneratedMessage.Builder builder) { + private WriteLogEntriesPartialErrors(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private WriteLogEntriesPartialErrors() {} + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new WriteLogEntriesPartialErrors(); + } + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingProto .internal_static_google_logging_v2_WriteLogEntriesPartialErrors_descriptor; @@ -71,7 +65,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingProto .internal_static_google_logging_v2_WriteLogEntriesPartialErrors_fieldAccessorTable @@ -221,7 +215,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - com.google.protobuf.GeneratedMessage.serializeIntegerMapTo( + com.google.protobuf.GeneratedMessageV3.serializeIntegerMapTo( output, internalGetLogEntryErrors(), LogEntryErrorsDefaultEntryHolder.defaultEntry, 1); getUnknownFields().writeTo(output); } @@ -316,38 +310,38 @@ public static com.google.logging.v2.WriteLogEntriesPartialErrors parseFrom( public static com.google.logging.v2.WriteLogEntriesPartialErrors parseFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.WriteLogEntriesPartialErrors parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.WriteLogEntriesPartialErrors parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.WriteLogEntriesPartialErrors parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.WriteLogEntriesPartialErrors parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.WriteLogEntriesPartialErrors parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } @@ -370,7 +364,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -384,7 +378,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder * * Protobuf type {@code google.logging.v2.WriteLogEntriesPartialErrors} */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.WriteLogEntriesPartialErrors) com.google.logging.v2.WriteLogEntriesPartialErrorsOrBuilder { @@ -416,7 +410,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingProto .internal_static_google_logging_v2_WriteLogEntriesPartialErrors_fieldAccessorTable @@ -428,7 +422,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi // Construct using com.google.logging.v2.WriteLogEntriesPartialErrors.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @@ -479,6 +473,39 @@ private void buildPartial0(com.google.logging.v2.WriteLogEntriesPartialErrors re } } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.WriteLogEntriesPartialErrors) { @@ -818,6 +845,17 @@ public com.google.rpc.Status.Builder putLogEntryErrorsBuilderIfAbsent(int key) { return (com.google.rpc.Status.Builder) entry; } + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:google.logging.v2.WriteLogEntriesPartialErrors) } diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesPartialErrorsOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesPartialErrorsOrBuilder.java index 09be47f2b..22d355a08 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesPartialErrorsOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesPartialErrorsOrBuilder.java @@ -14,13 +14,11 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; -@com.google.protobuf.Generated public interface WriteLogEntriesPartialErrorsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.WriteLogEntriesPartialErrors) diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesRequest.java index 36e70a001..cd0a35e1e 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesRequest.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesRequest.java @@ -14,10 +14,9 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -29,25 +28,14 @@ * * Protobuf type {@code google.logging.v2.WriteLogEntriesRequest} */ -@com.google.protobuf.Generated -public final class WriteLogEntriesRequest extends com.google.protobuf.GeneratedMessage +public final class WriteLogEntriesRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.logging.v2.WriteLogEntriesRequest) WriteLogEntriesRequestOrBuilder { private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 0, - /* suffix= */ "", - "WriteLogEntriesRequest"); - } - // Use WriteLogEntriesRequest.newBuilder() to construct. - private WriteLogEntriesRequest(com.google.protobuf.GeneratedMessage.Builder builder) { + private WriteLogEntriesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } @@ -56,6 +44,12 @@ private WriteLogEntriesRequest() { entries_ = java.util.Collections.emptyList(); } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new WriteLogEntriesRequest(); + } + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingProto .internal_static_google_logging_v2_WriteLogEntriesRequest_descriptor; @@ -74,7 +68,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingProto .internal_static_google_logging_v2_WriteLogEntriesRequest_fieldAccessorTable @@ -103,8 +97,8 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl * * `[LOG_ID]` must be URL-encoded. For example: * - * "projects/my-project-id/logs/syslog" - * "organizations/123/logs/cloudaudit.googleapis.com%2Factivity" + * "projects/my-project-id/logs/syslog" + * "organizations/123/logs/cloudaudit.googleapis.com%2Factivity" * * The permission `logging.logEntries.create` is needed on each project, * organization, billing account, or folder that is receiving new log @@ -145,8 +139,8 @@ public java.lang.String getLogName() { * * `[LOG_ID]` must be URL-encoded. For example: * - * "projects/my-project-id/logs/syslog" - * "organizations/123/logs/cloudaudit.googleapis.com%2Factivity" + * "projects/my-project-id/logs/syslog" + * "organizations/123/logs/cloudaudit.googleapis.com%2Factivity" * * The permission `logging.logEntries.create` is needed on each project, * organization, billing account, or folder that is receiving new log @@ -183,9 +177,9 @@ public com.google.protobuf.ByteString getLogNameBytes() { * Optional. A default monitored resource object that is assigned to all log * entries in `entries` that do not specify a value for `resource`. Example: * - * { "type": "gce_instance", - * "labels": { - * "zone": "us-central1-a", "instance_id": "00000000000000000000" }} + * { "type": "gce_instance", + * "labels": { + * "zone": "us-central1-a", "instance_id": "00000000000000000000" }} * * See [LogEntry][google.logging.v2.LogEntry]. *
@@ -207,9 +201,9 @@ public boolean hasResource() { * Optional. A default monitored resource object that is assigned to all log * entries in `entries` that do not specify a value for `resource`. Example: * - * { "type": "gce_instance", - * "labels": { - * "zone": "us-central1-a", "instance_id": "00000000000000000000" }} + * { "type": "gce_instance", + * "labels": { + * "zone": "us-central1-a", "instance_id": "00000000000000000000" }} * * See [LogEntry][google.logging.v2.LogEntry]. *
@@ -231,9 +225,9 @@ public com.google.api.MonitoredResource getResource() { * Optional. A default monitored resource object that is assigned to all log * entries in `entries` that do not specify a value for `resource`. Example: * - * { "type": "gce_instance", - * "labels": { - * "zone": "us-central1-a", "instance_id": "00000000000000000000" }} + * { "type": "gce_instance", + * "labels": { + * "zone": "us-central1-a", "instance_id": "00000000000000000000" }} * * See [LogEntry][google.logging.v2.LogEntry]. *
@@ -626,13 +620,13 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(logName_)) { - com.google.protobuf.GeneratedMessage.writeString(output, 1, logName_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(logName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, logName_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getResource()); } - com.google.protobuf.GeneratedMessage.serializeStringMapTo( + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 3); for (int i = 0; i < entries_.size(); i++) { output.writeMessage(4, entries_.get(i)); @@ -652,8 +646,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!com.google.protobuf.GeneratedMessage.isStringEmpty(logName_)) { - size += com.google.protobuf.GeneratedMessage.computeStringSize(1, logName_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(logName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, logName_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getResource()); @@ -773,38 +767,38 @@ public static com.google.logging.v2.WriteLogEntriesRequest parseFrom( public static com.google.logging.v2.WriteLogEntriesRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.WriteLogEntriesRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.WriteLogEntriesRequest parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.WriteLogEntriesRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.WriteLogEntriesRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.WriteLogEntriesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } @@ -827,7 +821,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -841,7 +835,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder * * Protobuf type {@code google.logging.v2.WriteLogEntriesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.WriteLogEntriesRequest) com.google.logging.v2.WriteLogEntriesRequestOrBuilder { @@ -873,7 +867,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingProto .internal_static_google_logging_v2_WriteLogEntriesRequest_fieldAccessorTable @@ -887,15 +881,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { - internalGetResourceFieldBuilder(); - internalGetEntriesFieldBuilder(); + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getResourceFieldBuilder(); + getEntriesFieldBuilder(); } } @@ -989,6 +983,39 @@ private void buildPartial0(com.google.logging.v2.WriteLogEntriesRequest result) result.bitField0_ |= to_bitField0_; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.WriteLogEntriesRequest) { @@ -1030,8 +1057,8 @@ public Builder mergeFrom(com.google.logging.v2.WriteLogEntriesRequest other) { entries_ = other.entries_; bitField0_ = (bitField0_ & ~0x00000008); entriesBuilder_ = - com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders - ? internalGetEntriesFieldBuilder() + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getEntriesFieldBuilder() : null; } else { entriesBuilder_.addAllMessages(other.entries_); @@ -1078,8 +1105,7 @@ public Builder mergeFrom( } // case 10 case 18: { - input.readMessage( - internalGetResourceFieldBuilder().getBuilder(), extensionRegistry); + input.readMessage(getResourceFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 18 @@ -1154,8 +1180,8 @@ public Builder mergeFrom( * * `[LOG_ID]` must be URL-encoded. For example: * - * "projects/my-project-id/logs/syslog" - * "organizations/123/logs/cloudaudit.googleapis.com%2Factivity" + * "projects/my-project-id/logs/syslog" + * "organizations/123/logs/cloudaudit.googleapis.com%2Factivity" * * The permission `logging.logEntries.create` is needed on each project, * organization, billing account, or folder that is receiving new log @@ -1195,8 +1221,8 @@ public java.lang.String getLogName() { * * `[LOG_ID]` must be URL-encoded. For example: * - * "projects/my-project-id/logs/syslog" - * "organizations/123/logs/cloudaudit.googleapis.com%2Factivity" + * "projects/my-project-id/logs/syslog" + * "organizations/123/logs/cloudaudit.googleapis.com%2Factivity" * * The permission `logging.logEntries.create` is needed on each project, * organization, billing account, or folder that is receiving new log @@ -1236,8 +1262,8 @@ public com.google.protobuf.ByteString getLogNameBytes() { * * `[LOG_ID]` must be URL-encoded. For example: * - * "projects/my-project-id/logs/syslog" - * "organizations/123/logs/cloudaudit.googleapis.com%2Factivity" + * "projects/my-project-id/logs/syslog" + * "organizations/123/logs/cloudaudit.googleapis.com%2Factivity" * * The permission `logging.logEntries.create` is needed on each project, * organization, billing account, or folder that is receiving new log @@ -1276,8 +1302,8 @@ public Builder setLogName(java.lang.String value) { * * `[LOG_ID]` must be URL-encoded. For example: * - * "projects/my-project-id/logs/syslog" - * "organizations/123/logs/cloudaudit.googleapis.com%2Factivity" + * "projects/my-project-id/logs/syslog" + * "organizations/123/logs/cloudaudit.googleapis.com%2Factivity" * * The permission `logging.logEntries.create` is needed on each project, * organization, billing account, or folder that is receiving new log @@ -1312,8 +1338,8 @@ public Builder clearLogName() { * * `[LOG_ID]` must be URL-encoded. For example: * - * "projects/my-project-id/logs/syslog" - * "organizations/123/logs/cloudaudit.googleapis.com%2Factivity" + * "projects/my-project-id/logs/syslog" + * "organizations/123/logs/cloudaudit.googleapis.com%2Factivity" * * The permission `logging.logEntries.create` is needed on each project, * organization, billing account, or folder that is receiving new log @@ -1340,7 +1366,7 @@ public Builder setLogNameBytes(com.google.protobuf.ByteString value) { } private com.google.api.MonitoredResource resource_; - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.api.MonitoredResource, com.google.api.MonitoredResource.Builder, com.google.api.MonitoredResourceOrBuilder> @@ -1353,9 +1379,9 @@ public Builder setLogNameBytes(com.google.protobuf.ByteString value) { * Optional. A default monitored resource object that is assigned to all log * entries in `entries` that do not specify a value for `resource`. Example: * - * { "type": "gce_instance", - * "labels": { - * "zone": "us-central1-a", "instance_id": "00000000000000000000" }} + * { "type": "gce_instance", + * "labels": { + * "zone": "us-central1-a", "instance_id": "00000000000000000000" }} * * See [LogEntry][google.logging.v2.LogEntry]. *
@@ -1376,9 +1402,9 @@ public boolean hasResource() { * Optional. A default monitored resource object that is assigned to all log * entries in `entries` that do not specify a value for `resource`. Example: * - * { "type": "gce_instance", - * "labels": { - * "zone": "us-central1-a", "instance_id": "00000000000000000000" }} + * { "type": "gce_instance", + * "labels": { + * "zone": "us-central1-a", "instance_id": "00000000000000000000" }} * * See [LogEntry][google.logging.v2.LogEntry]. *
@@ -1405,9 +1431,9 @@ public com.google.api.MonitoredResource getResource() { * Optional. A default monitored resource object that is assigned to all log * entries in `entries` that do not specify a value for `resource`. Example: * - * { "type": "gce_instance", - * "labels": { - * "zone": "us-central1-a", "instance_id": "00000000000000000000" }} + * { "type": "gce_instance", + * "labels": { + * "zone": "us-central1-a", "instance_id": "00000000000000000000" }} * * See [LogEntry][google.logging.v2.LogEntry]. *
@@ -1436,9 +1462,9 @@ public Builder setResource(com.google.api.MonitoredResource value) { * Optional. A default monitored resource object that is assigned to all log * entries in `entries` that do not specify a value for `resource`. Example: * - * { "type": "gce_instance", - * "labels": { - * "zone": "us-central1-a", "instance_id": "00000000000000000000" }} + * { "type": "gce_instance", + * "labels": { + * "zone": "us-central1-a", "instance_id": "00000000000000000000" }} * * See [LogEntry][google.logging.v2.LogEntry]. *
@@ -1464,9 +1490,9 @@ public Builder setResource(com.google.api.MonitoredResource.Builder builderForVa * Optional. A default monitored resource object that is assigned to all log * entries in `entries` that do not specify a value for `resource`. Example: * - * { "type": "gce_instance", - * "labels": { - * "zone": "us-central1-a", "instance_id": "00000000000000000000" }} + * { "type": "gce_instance", + * "labels": { + * "zone": "us-central1-a", "instance_id": "00000000000000000000" }} * * See [LogEntry][google.logging.v2.LogEntry]. *
@@ -1500,9 +1526,9 @@ public Builder mergeResource(com.google.api.MonitoredResource value) { * Optional. A default monitored resource object that is assigned to all log * entries in `entries` that do not specify a value for `resource`. Example: * - * { "type": "gce_instance", - * "labels": { - * "zone": "us-central1-a", "instance_id": "00000000000000000000" }} + * { "type": "gce_instance", + * "labels": { + * "zone": "us-central1-a", "instance_id": "00000000000000000000" }} * * See [LogEntry][google.logging.v2.LogEntry]. *
@@ -1528,9 +1554,9 @@ public Builder clearResource() { * Optional. A default monitored resource object that is assigned to all log * entries in `entries` that do not specify a value for `resource`. Example: * - * { "type": "gce_instance", - * "labels": { - * "zone": "us-central1-a", "instance_id": "00000000000000000000" }} + * { "type": "gce_instance", + * "labels": { + * "zone": "us-central1-a", "instance_id": "00000000000000000000" }} * * See [LogEntry][google.logging.v2.LogEntry]. *
@@ -1541,7 +1567,7 @@ public Builder clearResource() { public com.google.api.MonitoredResource.Builder getResourceBuilder() { bitField0_ |= 0x00000002; onChanged(); - return internalGetResourceFieldBuilder().getBuilder(); + return getResourceFieldBuilder().getBuilder(); } /** @@ -1551,9 +1577,9 @@ public com.google.api.MonitoredResource.Builder getResourceBuilder() { * Optional. A default monitored resource object that is assigned to all log * entries in `entries` that do not specify a value for `resource`. Example: * - * { "type": "gce_instance", - * "labels": { - * "zone": "us-central1-a", "instance_id": "00000000000000000000" }} + * { "type": "gce_instance", + * "labels": { + * "zone": "us-central1-a", "instance_id": "00000000000000000000" }} * * See [LogEntry][google.logging.v2.LogEntry]. *
@@ -1578,9 +1604,9 @@ public com.google.api.MonitoredResourceOrBuilder getResourceOrBuilder() { * Optional. A default monitored resource object that is assigned to all log * entries in `entries` that do not specify a value for `resource`. Example: * - * { "type": "gce_instance", - * "labels": { - * "zone": "us-central1-a", "instance_id": "00000000000000000000" }} + * { "type": "gce_instance", + * "labels": { + * "zone": "us-central1-a", "instance_id": "00000000000000000000" }} * * See [LogEntry][google.logging.v2.LogEntry]. *
@@ -1588,14 +1614,14 @@ public com.google.api.MonitoredResourceOrBuilder getResourceOrBuilder() { * .google.api.MonitoredResource resource = 2 [(.google.api.field_behavior) = OPTIONAL]; * */ - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< com.google.api.MonitoredResource, com.google.api.MonitoredResource.Builder, com.google.api.MonitoredResourceOrBuilder> - internalGetResourceFieldBuilder() { + getResourceFieldBuilder() { if (resourceBuilder_ == null) { resourceBuilder_ = - new com.google.protobuf.SingleFieldBuilder< + new com.google.protobuf.SingleFieldBuilderV3< com.google.api.MonitoredResource, com.google.api.MonitoredResource.Builder, com.google.api.MonitoredResourceOrBuilder>( @@ -1808,7 +1834,7 @@ private void ensureEntriesIsMutable() { } } - private com.google.protobuf.RepeatedFieldBuilder< + private com.google.protobuf.RepeatedFieldBuilderV3< com.google.logging.v2.LogEntry, com.google.logging.v2.LogEntry.Builder, com.google.logging.v2.LogEntryOrBuilder> @@ -2390,7 +2416,7 @@ public Builder removeEntries(int index) { * */ public com.google.logging.v2.LogEntry.Builder getEntriesBuilder(int index) { - return internalGetEntriesFieldBuilder().getBuilder(index); + return getEntriesFieldBuilder().getBuilder(index); } /** @@ -2513,7 +2539,7 @@ public com.google.logging.v2.LogEntryOrBuilder getEntriesOrBuilder(int index) { * */ public com.google.logging.v2.LogEntry.Builder addEntriesBuilder() { - return internalGetEntriesFieldBuilder() + return getEntriesFieldBuilder() .addBuilder(com.google.logging.v2.LogEntry.getDefaultInstance()); } @@ -2552,7 +2578,7 @@ public com.google.logging.v2.LogEntry.Builder addEntriesBuilder() { * */ public com.google.logging.v2.LogEntry.Builder addEntriesBuilder(int index) { - return internalGetEntriesFieldBuilder() + return getEntriesFieldBuilder() .addBuilder(index, com.google.logging.v2.LogEntry.getDefaultInstance()); } @@ -2591,17 +2617,17 @@ public com.google.logging.v2.LogEntry.Builder addEntriesBuilder(int index) { * */ public java.util.List getEntriesBuilderList() { - return internalGetEntriesFieldBuilder().getBuilderList(); + return getEntriesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilder< + private com.google.protobuf.RepeatedFieldBuilderV3< com.google.logging.v2.LogEntry, com.google.logging.v2.LogEntry.Builder, com.google.logging.v2.LogEntryOrBuilder> - internalGetEntriesFieldBuilder() { + getEntriesFieldBuilder() { if (entriesBuilder_ == null) { entriesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilder< + new com.google.protobuf.RepeatedFieldBuilderV3< com.google.logging.v2.LogEntry, com.google.logging.v2.LogEntry.Builder, com.google.logging.v2.LogEntryOrBuilder>( @@ -2747,6 +2773,17 @@ public Builder clearDryRun() { return this; } + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:google.logging.v2.WriteLogEntriesRequest) } diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesRequestOrBuilder.java index c2f8faa22..705b39cb5 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesRequestOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesRequestOrBuilder.java @@ -14,13 +14,11 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; -@com.google.protobuf.Generated public interface WriteLogEntriesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.WriteLogEntriesRequest) @@ -40,8 +38,8 @@ public interface WriteLogEntriesRequestOrBuilder * * `[LOG_ID]` must be URL-encoded. For example: * - * "projects/my-project-id/logs/syslog" - * "organizations/123/logs/cloudaudit.googleapis.com%2Factivity" + * "projects/my-project-id/logs/syslog" + * "organizations/123/logs/cloudaudit.googleapis.com%2Factivity" * * The permission `logging.logEntries.create` is needed on each project, * organization, billing account, or folder that is receiving new log @@ -71,8 +69,8 @@ public interface WriteLogEntriesRequestOrBuilder * * `[LOG_ID]` must be URL-encoded. For example: * - * "projects/my-project-id/logs/syslog" - * "organizations/123/logs/cloudaudit.googleapis.com%2Factivity" + * "projects/my-project-id/logs/syslog" + * "organizations/123/logs/cloudaudit.googleapis.com%2Factivity" * * The permission `logging.logEntries.create` is needed on each project, * organization, billing account, or folder that is receiving new log @@ -95,9 +93,9 @@ public interface WriteLogEntriesRequestOrBuilder * Optional. A default monitored resource object that is assigned to all log * entries in `entries` that do not specify a value for `resource`. Example: * - * { "type": "gce_instance", - * "labels": { - * "zone": "us-central1-a", "instance_id": "00000000000000000000" }} + * { "type": "gce_instance", + * "labels": { + * "zone": "us-central1-a", "instance_id": "00000000000000000000" }} * * See [LogEntry][google.logging.v2.LogEntry]. *
@@ -116,9 +114,9 @@ public interface WriteLogEntriesRequestOrBuilder * Optional. A default monitored resource object that is assigned to all log * entries in `entries` that do not specify a value for `resource`. Example: * - * { "type": "gce_instance", - * "labels": { - * "zone": "us-central1-a", "instance_id": "00000000000000000000" }} + * { "type": "gce_instance", + * "labels": { + * "zone": "us-central1-a", "instance_id": "00000000000000000000" }} * * See [LogEntry][google.logging.v2.LogEntry]. * @@ -137,9 +135,9 @@ public interface WriteLogEntriesRequestOrBuilder * Optional. A default monitored resource object that is assigned to all log * entries in `entries` that do not specify a value for `resource`. Example: * - * { "type": "gce_instance", - * "labels": { - * "zone": "us-central1-a", "instance_id": "00000000000000000000" }} + * { "type": "gce_instance", + * "labels": { + * "zone": "us-central1-a", "instance_id": "00000000000000000000" }} * * See [LogEntry][google.logging.v2.LogEntry]. * diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesResponse.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesResponse.java index 15caa3337..8f5f61f37 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesResponse.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesResponse.java @@ -14,10 +14,9 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; /** @@ -29,37 +28,32 @@ * * Protobuf type {@code google.logging.v2.WriteLogEntriesResponse} */ -@com.google.protobuf.Generated -public final class WriteLogEntriesResponse extends com.google.protobuf.GeneratedMessage +public final class WriteLogEntriesResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.logging.v2.WriteLogEntriesResponse) WriteLogEntriesResponseOrBuilder { private static final long serialVersionUID = 0L; - static { - com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion( - com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC, - /* major= */ 4, - /* minor= */ 33, - /* patch= */ 0, - /* suffix= */ "", - "WriteLogEntriesResponse"); - } - // Use WriteLogEntriesResponse.newBuilder() to construct. - private WriteLogEntriesResponse(com.google.protobuf.GeneratedMessage.Builder builder) { + private WriteLogEntriesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private WriteLogEntriesResponse() {} + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new WriteLogEntriesResponse(); + } + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.logging.v2.LoggingProto .internal_static_google_logging_v2_WriteLogEntriesResponse_descriptor; } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingProto .internal_static_google_logging_v2_WriteLogEntriesResponse_fieldAccessorTable @@ -160,38 +154,38 @@ public static com.google.logging.v2.WriteLogEntriesResponse parseFrom( public static com.google.logging.v2.WriteLogEntriesResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.WriteLogEntriesResponse parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.WriteLogEntriesResponse parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.logging.v2.WriteLogEntriesResponse parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( PARSER, input, extensionRegistry); } public static com.google.logging.v2.WriteLogEntriesResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } public static com.google.logging.v2.WriteLogEntriesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessage.parseWithIOException( + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( PARSER, input, extensionRegistry); } @@ -214,7 +208,7 @@ public Builder toBuilder() { } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } @@ -228,7 +222,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder * * Protobuf type {@code google.logging.v2.WriteLogEntriesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.logging.v2.WriteLogEntriesResponse) com.google.logging.v2.WriteLogEntriesResponseOrBuilder { @@ -238,7 +232,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @java.lang.Override - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.logging.v2.LoggingProto .internal_static_google_logging_v2_WriteLogEntriesResponse_fieldAccessorTable @@ -250,7 +244,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { // Construct using com.google.logging.v2.WriteLogEntriesResponse.newBuilder() private Builder() {} - private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @@ -288,6 +282,39 @@ public com.google.logging.v2.WriteLogEntriesResponse buildPartial() { return result; } + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.logging.v2.WriteLogEntriesResponse) { @@ -343,6 +370,17 @@ public Builder mergeFrom( return this; } + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + // @@protoc_insertion_point(builder_scope:google.logging.v2.WriteLogEntriesResponse) } diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesResponseOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesResponseOrBuilder.java index 66840f72d..83b0681a8 100644 --- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesResponseOrBuilder.java +++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/WriteLogEntriesResponseOrBuilder.java @@ -14,13 +14,11 @@ * limitations under the License. */ // Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE // source: google/logging/v2/logging.proto -// Protobuf Java Version: 4.33.0 +// Protobuf Java Version: 3.25.8 package com.google.logging.v2; -@com.google.protobuf.Generated public interface WriteLogEntriesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.logging.v2.WriteLogEntriesResponse) From 107dcf2b884c18b27dd0e577433f2a9873d84f54 Mon Sep 17 00:00:00 2001 From: cloud-java-bot Date: Thu, 15 Jan 2026 02:36:10 +0000 Subject: [PATCH 26/26] chore: Update generation configuration at Thu Jan 15 02:36:04 UTC 2026 --- generation_config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generation_config.yaml b/generation_config.yaml index 56ab0d3a1..545b167ae 100644 --- a/generation_config.yaml +++ b/generation_config.yaml @@ -1,5 +1,5 @@ gapic_generator_version: 2.65.1 -googleapis_commitish: e006e1c8b69c0594e6f872316a3543b3b37ad81b +googleapis_commitish: 415914bd49d41beaae8a9adb348ee2587c93aa70 libraries_bom_version: 26.74.0-rc2 libraries: - api_shortname: logging