diff --git a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/SchemaServiceClient.java b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/SchemaServiceClient.java index 02b4aef14..ae7ee1af2 100644 --- a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/SchemaServiceClient.java +++ b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/SchemaServiceClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/SchemaServiceSettings.java b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/SchemaServiceSettings.java index 67d08bb63..152cb4fb9 100644 --- a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/SchemaServiceSettings.java +++ b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/SchemaServiceSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -207,7 +207,6 @@ public static TransportChannelProvider defaultTransportChannelProvider() { return SchemaServiceStubSettings.defaultTransportChannelProvider(); } - @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { return SchemaServiceStubSettings.defaultApiClientHeaderProviderBuilder(); } diff --git a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/SubscriptionAdminClient.java b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/SubscriptionAdminClient.java index 7eca1a773..8f2323217 100644 --- a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/SubscriptionAdminClient.java +++ b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/SubscriptionAdminClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/SubscriptionAdminSettings.java b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/SubscriptionAdminSettings.java index 7f50be718..a306bf2b9 100644 --- a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/SubscriptionAdminSettings.java +++ b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/SubscriptionAdminSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -246,7 +246,6 @@ public static TransportChannelProvider defaultTransportChannelProvider() { return SubscriberStubSettings.defaultTransportChannelProvider(); } - @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { return SubscriberStubSettings.defaultApiClientHeaderProviderBuilder(); } diff --git a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/TopicAdminClient.java b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/TopicAdminClient.java index a80ed29ec..6449c2f8c 100644 --- a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/TopicAdminClient.java +++ b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/TopicAdminClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/TopicAdminSettings.java b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/TopicAdminSettings.java index 9dd62bda3..c4db6a8d5 100644 --- a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/TopicAdminSettings.java +++ b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/TopicAdminSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -206,7 +206,6 @@ public static TransportChannelProvider defaultTransportChannelProvider() { return PublisherStubSettings.defaultTransportChannelProvider(); } - @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { return PublisherStubSettings.defaultApiClientHeaderProviderBuilder(); } diff --git a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/package-info.java b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/package-info.java index 5e73e3a64..70eed8c36 100644 --- a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/package-info.java +++ b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcPublisherCallableFactory.java b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcPublisherCallableFactory.java index 60af80164..0ca66bdc8 100644 --- a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcPublisherCallableFactory.java +++ b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcPublisherCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcPublisherStub.java b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcPublisherStub.java index d4c26515d..3ea32264e 100644 --- a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcPublisherStub.java +++ b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcPublisherStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcSchemaServiceCallableFactory.java b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcSchemaServiceCallableFactory.java index b7ad8cab4..e2728094e 100644 --- a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcSchemaServiceCallableFactory.java +++ b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcSchemaServiceCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcSchemaServiceStub.java b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcSchemaServiceStub.java index cbaf6a608..d3fbc1d67 100644 --- a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcSchemaServiceStub.java +++ b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcSchemaServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcSubscriberCallableFactory.java b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcSubscriberCallableFactory.java index 27f99f671..8b12c81c0 100644 --- a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcSubscriberCallableFactory.java +++ b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcSubscriberCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcSubscriberStub.java b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcSubscriberStub.java index b3651167c..b3c3e671b 100644 --- a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcSubscriberStub.java +++ b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/GrpcSubscriberStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/HttpJsonPublisherCallableFactory.java b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/HttpJsonPublisherCallableFactory.java index cd5b6e6f2..bf26ec9df 100644 --- a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/HttpJsonPublisherCallableFactory.java +++ b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/HttpJsonPublisherCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/HttpJsonPublisherStub.java b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/HttpJsonPublisherStub.java index 5ae0dfc9e..cc52e0132 100644 --- a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/HttpJsonPublisherStub.java +++ b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/HttpJsonPublisherStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/HttpJsonSchemaServiceCallableFactory.java b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/HttpJsonSchemaServiceCallableFactory.java index c1db412c1..049e3978e 100644 --- a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/HttpJsonSchemaServiceCallableFactory.java +++ b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/HttpJsonSchemaServiceCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/HttpJsonSchemaServiceStub.java b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/HttpJsonSchemaServiceStub.java index 186405096..0d63ad825 100644 --- a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/HttpJsonSchemaServiceStub.java +++ b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/HttpJsonSchemaServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/HttpJsonSubscriberCallableFactory.java b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/HttpJsonSubscriberCallableFactory.java index 7acbff90f..6ed7053d5 100644 --- a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/HttpJsonSubscriberCallableFactory.java +++ b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/HttpJsonSubscriberCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/HttpJsonSubscriberStub.java b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/HttpJsonSubscriberStub.java index 010a08bac..ea305a938 100644 --- a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/HttpJsonSubscriberStub.java +++ b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/HttpJsonSubscriberStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/PublisherStub.java b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/PublisherStub.java index 5b8ed6112..011ad51e2 100644 --- a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/PublisherStub.java +++ b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/PublisherStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/PublisherStubSettings.java b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/PublisherStubSettings.java index 262a09205..11c0eadd7 100644 --- a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/PublisherStubSettings.java +++ b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/PublisherStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -539,7 +539,6 @@ public static TransportChannelProvider defaultTransportChannelProvider() { return defaultGrpcTransportProviderBuilder().build(); } - @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") public static ApiClientHeaderProvider.Builder defaultGrpcApiClientHeaderProviderBuilder() { return ApiClientHeaderProvider.newBuilder() .setGeneratedLibToken("gapic", GaxProperties.getLibraryVersion(PublisherStubSettings.class)) @@ -547,7 +546,6 @@ public static ApiClientHeaderProvider.Builder defaultGrpcApiClientHeaderProvider GaxGrpcProperties.getGrpcTokenName(), GaxGrpcProperties.getGrpcVersion()); } - @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") public static ApiClientHeaderProvider.Builder defaultHttpJsonApiClientHeaderProviderBuilder() { return ApiClientHeaderProvider.newBuilder() .setGeneratedLibToken("gapic", GaxProperties.getLibraryVersion(PublisherStubSettings.class)) diff --git a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/SchemaServiceStub.java b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/SchemaServiceStub.java index ab5200375..b36f779af 100644 --- a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/SchemaServiceStub.java +++ b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/SchemaServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/SchemaServiceStubSettings.java b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/SchemaServiceStubSettings.java index bb5e127d3..e63ac6d7c 100644 --- a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/SchemaServiceStubSettings.java +++ b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/SchemaServiceStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -399,7 +399,6 @@ public static TransportChannelProvider defaultTransportChannelProvider() { return defaultGrpcTransportProviderBuilder().build(); } - @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") public static ApiClientHeaderProvider.Builder defaultGrpcApiClientHeaderProviderBuilder() { return ApiClientHeaderProvider.newBuilder() .setGeneratedLibToken( @@ -408,7 +407,6 @@ public static ApiClientHeaderProvider.Builder defaultGrpcApiClientHeaderProvider GaxGrpcProperties.getGrpcTokenName(), GaxGrpcProperties.getGrpcVersion()); } - @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") public static ApiClientHeaderProvider.Builder defaultHttpJsonApiClientHeaderProviderBuilder() { return ApiClientHeaderProvider.newBuilder() .setGeneratedLibToken( diff --git a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/SubscriberStub.java b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/SubscriberStub.java index f04f4acd5..94b56c5a1 100644 --- a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/SubscriberStub.java +++ b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/SubscriberStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/SubscriberStubSettings.java b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/SubscriberStubSettings.java index 93122a831..85c2a53d7 100644 --- a/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/SubscriberStubSettings.java +++ b/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/stub/SubscriberStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -443,7 +443,6 @@ public static TransportChannelProvider defaultTransportChannelProvider() { return defaultGrpcTransportProviderBuilder().build(); } - @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") public static ApiClientHeaderProvider.Builder defaultGrpcApiClientHeaderProviderBuilder() { return ApiClientHeaderProvider.newBuilder() .setGeneratedLibToken( @@ -452,7 +451,6 @@ public static ApiClientHeaderProvider.Builder defaultGrpcApiClientHeaderProvider GaxGrpcProperties.getGrpcTokenName(), GaxGrpcProperties.getGrpcVersion()); } - @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") public static ApiClientHeaderProvider.Builder defaultHttpJsonApiClientHeaderProviderBuilder() { return ApiClientHeaderProvider.newBuilder() .setGeneratedLibToken( diff --git a/google-cloud-pubsub/src/main/resources/META-INF/native-image/com.google.cloud.pubsub.v1/reflect-config.json b/google-cloud-pubsub/src/main/resources/META-INF/native-image/com.google.cloud.pubsub.v1/reflect-config.json index 441c326d2..de5e1f2be 100644 --- a/google-cloud-pubsub/src/main/resources/META-INF/native-image/com.google.cloud.pubsub.v1/reflect-config.json +++ b/google-cloud-pubsub/src/main/resources/META-INF/native-image/com.google.cloud.pubsub.v1/reflect-config.json @@ -674,6 +674,15 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.protobuf.DescriptorProtos$Edition", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.protobuf.DescriptorProtos$EnumDescriptorProto", "queryAllDeclaredConstructors": true, @@ -809,6 +818,114 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$EnumType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$FieldPresence", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$JsonFormat", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$MessageEncoding", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$RepeatedFieldEncoding", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$Utf8Validation", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSetDefaults", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSetDefaults$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSetDefaults$FeatureSetEditionDefault", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSetDefaults$FeatureSetEditionDefault$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.protobuf.DescriptorProtos$FieldDescriptorProto", "queryAllDeclaredConstructors": true, @@ -872,6 +989,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions$EditionDefault", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions$EditionDefault$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.protobuf.DescriptorProtos$FieldOptions$JSType", "queryAllDeclaredConstructors": true, diff --git a/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockIAMPolicy.java b/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockIAMPolicy.java index c17e00ad2..9b682f478 100644 --- a/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockIAMPolicy.java +++ b/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockIAMPolicy.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockIAMPolicyImpl.java b/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockIAMPolicyImpl.java index e18c2a7bc..f65568ec0 100644 --- a/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockIAMPolicyImpl.java +++ b/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockIAMPolicyImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockPublisher.java b/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockPublisher.java index 2a26cd59a..adb60419d 100644 --- a/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockPublisher.java +++ b/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockPublisher.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockPublisherImpl.java b/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockPublisherImpl.java index 47cf6f416..75c254dc5 100644 --- a/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockPublisherImpl.java +++ b/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockPublisherImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockSchemaService.java b/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockSchemaService.java index 29559fa86..2073458cc 100644 --- a/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockSchemaService.java +++ b/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockSchemaService.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockSchemaServiceImpl.java b/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockSchemaServiceImpl.java index 8510e1b77..f49e2cc45 100644 --- a/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockSchemaServiceImpl.java +++ b/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockSchemaServiceImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockSubscriber.java b/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockSubscriber.java index 13b54dd7a..33c80a111 100644 --- a/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockSubscriber.java +++ b/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockSubscriber.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockSubscriberImpl.java b/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockSubscriberImpl.java index 389fc6561..d2d892031 100644 --- a/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockSubscriberImpl.java +++ b/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/MockSubscriberImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/SchemaServiceClientHttpJsonTest.java b/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/SchemaServiceClientHttpJsonTest.java index 964b25a6e..06df1993b 100644 --- a/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/SchemaServiceClientHttpJsonTest.java +++ b/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/SchemaServiceClientHttpJsonTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/SchemaServiceClientTest.java b/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/SchemaServiceClientTest.java index 7d216444b..a33b9c5bd 100644 --- a/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/SchemaServiceClientTest.java +++ b/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/SchemaServiceClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/SubscriptionAdminClientHttpJsonTest.java b/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/SubscriptionAdminClientHttpJsonTest.java index 433d1aa6c..1943554ac 100644 --- a/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/SubscriptionAdminClientHttpJsonTest.java +++ b/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/SubscriptionAdminClientHttpJsonTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/SubscriptionAdminClientTest.java b/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/SubscriptionAdminClientTest.java index c636cdcd3..470a26334 100644 --- a/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/SubscriptionAdminClientTest.java +++ b/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/SubscriptionAdminClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/TopicAdminClientHttpJsonTest.java b/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/TopicAdminClientHttpJsonTest.java index 2dc4d6e09..821411d6d 100644 --- a/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/TopicAdminClientHttpJsonTest.java +++ b/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/TopicAdminClientHttpJsonTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/TopicAdminClientTest.java b/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/TopicAdminClientTest.java index 44a9c11c5..fa7e7bd06 100644 --- a/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/TopicAdminClientTest.java +++ b/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub/v1/TopicAdminClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/AcknowledgeRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/AcknowledgeRequest.java index f118acddd..7d02c1dae 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/AcknowledgeRequest.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/AcknowledgeRequest.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; /** diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/AcknowledgeRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/AcknowledgeRequestOrBuilder.java index ef4ff0f2c..47b7ef171 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/AcknowledgeRequestOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/AcknowledgeRequestOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; public interface AcknowledgeRequestOrBuilder diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/BigQueryConfig.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/BigQueryConfig.java index 8bc70c28b..4ada79896 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/BigQueryConfig.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/BigQueryConfig.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; /** diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/BigQueryConfigOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/BigQueryConfigOrBuilder.java index 2742cc001..1162f9931 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/BigQueryConfigOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/BigQueryConfigOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; public interface BigQueryConfigOrBuilder diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CloudStorageConfig.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CloudStorageConfig.java index b44f9b427..def2b0461 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CloudStorageConfig.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CloudStorageConfig.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; /** @@ -1262,6 +1263,7 @@ public com.google.pubsub.v1.CloudStorageConfig.AvroConfig getDefaultInstanceForT } } + private int bitField0_; private int outputFormatCase_ = 0; @SuppressWarnings("serial") @@ -1614,7 +1616,7 @@ public com.google.pubsub.v1.CloudStorageConfig.AvroConfigOrBuilder getAvroConfig */ @java.lang.Override public boolean hasMaxDuration() { - return maxDuration_ != null; + return ((bitField0_ & 0x00000001) != 0); } /** * @@ -1741,7 +1743,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (outputFormatCase_ == 5) { output.writeMessage(5, (com.google.pubsub.v1.CloudStorageConfig.AvroConfig) outputFormat_); } - if (maxDuration_ != null) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(6, getMaxDuration()); } if (maxBytes_ != 0L) { @@ -1778,7 +1780,7 @@ public int getSerializedSize() { com.google.protobuf.CodedOutputStream.computeMessageSize( 5, (com.google.pubsub.v1.CloudStorageConfig.AvroConfig) outputFormat_); } - if (maxDuration_ != null) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getMaxDuration()); } if (maxBytes_ != 0L) { @@ -1988,10 +1990,19 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } // Construct using com.google.pubsub.v1.CloudStorageConfig.newBuilder() - private Builder() {} + private Builder() { + maybeForceBuilderInitialization(); + } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getMaxDurationFieldBuilder(); + } } @java.lang.Override @@ -2062,9 +2073,11 @@ private void buildPartial0(com.google.pubsub.v1.CloudStorageConfig result) { if (((from_bitField0_ & 0x00000004) != 0)) { result.filenameSuffix_ = filenameSuffix_; } + int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000020) != 0)) { result.maxDuration_ = maxDurationBuilder_ == null ? maxDuration_ : maxDurationBuilder_.build(); + to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000040) != 0)) { result.maxBytes_ = maxBytes_; @@ -2072,6 +2085,7 @@ private void buildPartial0(com.google.pubsub.v1.CloudStorageConfig result) { if (((from_bitField0_ & 0x00000080) != 0)) { result.state_ = state_; } + result.bitField0_ |= to_bitField0_; } private void buildPartialOneofs(com.google.pubsub.v1.CloudStorageConfig result) { @@ -3216,8 +3230,10 @@ public Builder mergeMaxDuration(com.google.protobuf.Duration value) { } else { maxDurationBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000020; - onChanged(); + if (maxDuration_ != null) { + bitField0_ |= 0x00000020; + onChanged(); + } return this; } /** diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CloudStorageConfigOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CloudStorageConfigOrBuilder.java index 780c0ea61..8b561caf3 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CloudStorageConfigOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CloudStorageConfigOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; public interface CloudStorageConfigOrBuilder diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CommitSchemaRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CommitSchemaRequest.java index 2c1c5b2dd..b0cd68691 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CommitSchemaRequest.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CommitSchemaRequest.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/schema.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; /** @@ -62,6 +63,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.pubsub.v1.CommitSchemaRequest.Builder.class); } + private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") @@ -134,7 +136,7 @@ public com.google.protobuf.ByteString getNameBytes() { */ @java.lang.Override public boolean hasSchema() { - return schema_ != null; + return ((bitField0_ & 0x00000001) != 0); } /** * @@ -182,7 +184,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (schema_ != null) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getSchema()); } getUnknownFields().writeTo(output); @@ -197,7 +199,7 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (schema_ != null) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getSchema()); } size += getUnknownFields().getSerializedSize(); @@ -366,10 +368,19 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } // Construct using com.google.pubsub.v1.CommitSchemaRequest.newBuilder() - private Builder() {} + private Builder() { + maybeForceBuilderInitialization(); + } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getSchemaFieldBuilder(); + } } @java.lang.Override @@ -421,9 +432,12 @@ private void buildPartial0(com.google.pubsub.v1.CommitSchemaRequest result) { if (((from_bitField0_ & 0x00000001) != 0)) { result.name_ = name_; } + int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { result.schema_ = schemaBuilder_ == null ? schema_ : schemaBuilder_.build(); + to_bitField0_ |= 0x00000001; } + result.bitField0_ |= to_bitField0_; } @java.lang.Override @@ -757,8 +771,10 @@ public Builder mergeSchema(com.google.pubsub.v1.Schema value) { } else { schemaBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000002; - onChanged(); + if (schema_ != null) { + bitField0_ |= 0x00000002; + onChanged(); + } return this; } /** diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CommitSchemaRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CommitSchemaRequestOrBuilder.java index 3bdf1c9bf..638f15d98 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CommitSchemaRequestOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CommitSchemaRequestOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/schema.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; public interface CommitSchemaRequestOrBuilder diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CreateSchemaRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CreateSchemaRequest.java index c53c7f0ab..ab23cc3db 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CreateSchemaRequest.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CreateSchemaRequest.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/schema.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; /** @@ -63,6 +64,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.pubsub.v1.CreateSchemaRequest.Builder.class); } + private int bitField0_; public static final int PARENT_FIELD_NUMBER = 1; @SuppressWarnings("serial") @@ -139,7 +141,7 @@ public com.google.protobuf.ByteString getParentBytes() { */ @java.lang.Override public boolean hasSchema() { - return schema_ != null; + return ((bitField0_ & 0x00000001) != 0); } /** * @@ -254,7 +256,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } - if (schema_ != null) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getSchema()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schemaId_)) { @@ -272,7 +274,7 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } - if (schema_ != null) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getSchema()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schemaId_)) { @@ -447,10 +449,19 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } // Construct using com.google.pubsub.v1.CreateSchemaRequest.newBuilder() - private Builder() {} + private Builder() { + maybeForceBuilderInitialization(); + } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getSchemaFieldBuilder(); + } } @java.lang.Override @@ -503,12 +514,15 @@ private void buildPartial0(com.google.pubsub.v1.CreateSchemaRequest result) { if (((from_bitField0_ & 0x00000001) != 0)) { result.parent_ = parent_; } + int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { result.schema_ = schemaBuilder_ == null ? schema_ : schemaBuilder_.build(); + to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { result.schemaId_ = schemaId_; } + result.bitField0_ |= to_bitField0_; } @java.lang.Override @@ -873,8 +887,10 @@ public Builder mergeSchema(com.google.pubsub.v1.Schema value) { } else { schemaBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000002; - onChanged(); + if (schema_ != null) { + bitField0_ |= 0x00000002; + onChanged(); + } return this; } /** diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CreateSchemaRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CreateSchemaRequestOrBuilder.java index 4d7883850..b72efe40c 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CreateSchemaRequestOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CreateSchemaRequestOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/schema.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; public interface CreateSchemaRequestOrBuilder diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CreateSnapshotRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CreateSnapshotRequest.java index 5cd0670a2..48f0131c2 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CreateSnapshotRequest.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CreateSnapshotRequest.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; /** @@ -55,7 +56,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { switch (number) { case 3: return internalGetLabels(); @@ -520,7 +522,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { switch (number) { case 3: return internalGetLabels(); @@ -530,7 +533,8 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField(int number) { + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection( + int number) { switch (number) { case 3: return internalGetMutableLabels(); diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CreateSnapshotRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CreateSnapshotRequestOrBuilder.java index ae5776a89..ecd2d5d2f 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CreateSnapshotRequestOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CreateSnapshotRequestOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; public interface CreateSnapshotRequestOrBuilder diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeadLetterPolicy.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeadLetterPolicy.java index 04e61da32..a5b1e0132 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeadLetterPolicy.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeadLetterPolicy.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; /** diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeadLetterPolicyOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeadLetterPolicyOrBuilder.java index 8782315f6..ef589a2a7 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeadLetterPolicyOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeadLetterPolicyOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; public interface DeadLetterPolicyOrBuilder diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSchemaRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSchemaRequest.java index f2b94a760..d6b1e3c58 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSchemaRequest.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSchemaRequest.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/schema.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; /** diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSchemaRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSchemaRequestOrBuilder.java index a40fb98aa..9faabb2bc 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSchemaRequestOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSchemaRequestOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/schema.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; public interface DeleteSchemaRequestOrBuilder diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSchemaRevisionRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSchemaRevisionRequest.java index 3f0288302..5d17ea9f2 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSchemaRevisionRequest.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSchemaRevisionRequest.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/schema.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; /** diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSchemaRevisionRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSchemaRevisionRequestOrBuilder.java index 5b6bb574f..c795a1e1d 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSchemaRevisionRequestOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSchemaRevisionRequestOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/schema.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; public interface DeleteSchemaRevisionRequestOrBuilder diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSnapshotRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSnapshotRequest.java index a8429c3de..6ce385f7e 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSnapshotRequest.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSnapshotRequest.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; /** diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSnapshotRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSnapshotRequestOrBuilder.java index 49328a977..fa454e735 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSnapshotRequestOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSnapshotRequestOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; public interface DeleteSnapshotRequestOrBuilder diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSubscriptionRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSubscriptionRequest.java index 28aecaadd..6dd193063 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSubscriptionRequest.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSubscriptionRequest.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; /** diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSubscriptionRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSubscriptionRequestOrBuilder.java index 793cb2a16..22525f2bd 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSubscriptionRequestOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteSubscriptionRequestOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; public interface DeleteSubscriptionRequestOrBuilder diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteTopicRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteTopicRequest.java index df449fac8..6691a8e02 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteTopicRequest.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteTopicRequest.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; /** diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteTopicRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteTopicRequestOrBuilder.java index 00b6fa902..236ae63cc 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteTopicRequestOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DeleteTopicRequestOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; public interface DeleteTopicRequestOrBuilder diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DetachSubscriptionRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DetachSubscriptionRequest.java index b563d3d38..ed63937e3 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DetachSubscriptionRequest.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DetachSubscriptionRequest.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; /** diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DetachSubscriptionRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DetachSubscriptionRequestOrBuilder.java index 50b968b41..0fa26b570 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DetachSubscriptionRequestOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DetachSubscriptionRequestOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; public interface DetachSubscriptionRequestOrBuilder diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DetachSubscriptionResponse.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DetachSubscriptionResponse.java index a0c910e2c..8974d658a 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DetachSubscriptionResponse.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DetachSubscriptionResponse.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; /** diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DetachSubscriptionResponseOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DetachSubscriptionResponseOrBuilder.java index e667c16ef..0d50e273c 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DetachSubscriptionResponseOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/DetachSubscriptionResponseOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; public interface DetachSubscriptionResponseOrBuilder diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Encoding.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Encoding.java index 883df5b84..5fa8f2e58 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Encoding.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Encoding.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/schema.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; /** diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ExpirationPolicy.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ExpirationPolicy.java index a64bf1fec..cf5dfe323 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ExpirationPolicy.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ExpirationPolicy.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; /** @@ -61,6 +62,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.pubsub.v1.ExpirationPolicy.Builder.class); } + private int bitField0_; public static final int TTL_FIELD_NUMBER = 1; private com.google.protobuf.Duration ttl_; /** @@ -81,7 +83,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { */ @java.lang.Override public boolean hasTtl() { - return ttl_ != null; + return ((bitField0_ & 0x00000001) != 0); } /** * @@ -136,7 +138,7 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (ttl_ != null) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getTtl()); } getUnknownFields().writeTo(output); @@ -148,7 +150,7 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (ttl_ != null) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTtl()); } size += getUnknownFields().getSerializedSize(); @@ -314,10 +316,19 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } // Construct using com.google.pubsub.v1.ExpirationPolicy.newBuilder() - private Builder() {} + private Builder() { + maybeForceBuilderInitialization(); + } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getTtlFieldBuilder(); + } } @java.lang.Override @@ -365,9 +376,12 @@ public com.google.pubsub.v1.ExpirationPolicy buildPartial() { private void buildPartial0(com.google.pubsub.v1.ExpirationPolicy result) { int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.ttl_ = ttlBuilder_ == null ? ttl_ : ttlBuilder_.build(); + to_bitField0_ |= 0x00000001; } + result.bitField0_ |= to_bitField0_; } @java.lang.Override @@ -594,8 +608,10 @@ public Builder mergeTtl(com.google.protobuf.Duration value) { } else { ttlBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000001; - onChanged(); + if (ttl_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } return this; } /** diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ExpirationPolicyOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ExpirationPolicyOrBuilder.java index c46d53a5f..39d5d21b7 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ExpirationPolicyOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ExpirationPolicyOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; public interface ExpirationPolicyOrBuilder diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetSchemaRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetSchemaRequest.java index 9d6a6bd87..a849d24bc 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetSchemaRequest.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetSchemaRequest.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/schema.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; /** diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetSchemaRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetSchemaRequestOrBuilder.java index 81fa8291f..09647ffce 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetSchemaRequestOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetSchemaRequestOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/schema.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; public interface GetSchemaRequestOrBuilder diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetSnapshotRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetSnapshotRequest.java index 54051d611..5e453d1f7 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetSnapshotRequest.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetSnapshotRequest.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; /** diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetSnapshotRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetSnapshotRequestOrBuilder.java index 2c195ca68..24afcaa92 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetSnapshotRequestOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetSnapshotRequestOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; public interface GetSnapshotRequestOrBuilder diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetSubscriptionRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetSubscriptionRequest.java index f2bfee161..b46914346 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetSubscriptionRequest.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetSubscriptionRequest.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; /** diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetSubscriptionRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetSubscriptionRequestOrBuilder.java index a61e7e84f..b9fd18e9c 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetSubscriptionRequestOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetSubscriptionRequestOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; public interface GetSubscriptionRequestOrBuilder diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetTopicRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetTopicRequest.java index 2b801c10a..237a22107 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetTopicRequest.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetTopicRequest.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; /** diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetTopicRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetTopicRequestOrBuilder.java index 3e38266a3..423d0053c 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetTopicRequestOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/GetTopicRequestOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; public interface GetTopicRequestOrBuilder diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/IngestionDataSourceSettings.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/IngestionDataSourceSettings.java index 04c354d8b..1e2f25b46 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/IngestionDataSourceSettings.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/IngestionDataSourceSettings.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; /** @@ -260,7 +261,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
- * Possible states for managed ingestion from Amazon Kinesis Data Streams. + * Possible states for ingestion from Amazon Kinesis Data Streams. ** * Protobuf enum {@code google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis.State} diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/IngestionDataSourceSettingsOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/IngestionDataSourceSettingsOrBuilder.java index a343777ad..7191edd93 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/IngestionDataSourceSettingsOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/IngestionDataSourceSettingsOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; public interface IngestionDataSourceSettingsOrBuilder diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemaRevisionsRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemaRevisionsRequest.java index 2831126cf..3c3ae0b53 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemaRevisionsRequest.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemaRevisionsRequest.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/schema.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; /** diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemaRevisionsRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemaRevisionsRequestOrBuilder.java index dbe66052f..9fc4c6771 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemaRevisionsRequestOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemaRevisionsRequestOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/schema.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; public interface ListSchemaRevisionsRequestOrBuilder diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemaRevisionsResponse.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemaRevisionsResponse.java index 924db9436..f48aabaef 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemaRevisionsResponse.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemaRevisionsResponse.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/schema.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; /** diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemaRevisionsResponseOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemaRevisionsResponseOrBuilder.java index 062f6c84b..03a233f0b 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemaRevisionsResponseOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemaRevisionsResponseOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/schema.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; public interface ListSchemaRevisionsResponseOrBuilder diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemasRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemasRequest.java index 557437614..cea16a7e6 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemasRequest.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemasRequest.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/schema.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; /** diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemasRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemasRequestOrBuilder.java index d8728e999..0b8eb8c94 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemasRequestOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemasRequestOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/schema.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; public interface ListSchemasRequestOrBuilder diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemasResponse.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemasResponse.java index 44683e3f5..eb6b7c8cd 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemasResponse.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemasResponse.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/schema.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; /** diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemasResponseOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemasResponseOrBuilder.java index bbdfbc82d..4a7c6da09 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemasResponseOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemasResponseOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/schema.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; public interface ListSchemasResponseOrBuilder diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSnapshotsRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSnapshotsRequest.java index 79ec013a9..e375b2312 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSnapshotsRequest.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSnapshotsRequest.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; /** diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSnapshotsRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSnapshotsRequestOrBuilder.java index 05f0505ad..6add8724c 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSnapshotsRequestOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSnapshotsRequestOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; public interface ListSnapshotsRequestOrBuilder diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSnapshotsResponse.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSnapshotsResponse.java index 1c9846664..5fa3caa84 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSnapshotsResponse.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSnapshotsResponse.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; /** diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSnapshotsResponseOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSnapshotsResponseOrBuilder.java index 0c3fc0c72..3a0fc2f18 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSnapshotsResponseOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSnapshotsResponseOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; public interface ListSnapshotsResponseOrBuilder diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSubscriptionsRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSubscriptionsRequest.java index 9097f6578..0d1033830 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSubscriptionsRequest.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSubscriptionsRequest.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; /** diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSubscriptionsRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSubscriptionsRequestOrBuilder.java index d557e4be4..cf0a23a85 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSubscriptionsRequestOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSubscriptionsRequestOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; public interface ListSubscriptionsRequestOrBuilder diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSubscriptionsResponse.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSubscriptionsResponse.java index 98d425317..38bcdaa7b 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSubscriptionsResponse.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSubscriptionsResponse.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; /** diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSubscriptionsResponseOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSubscriptionsResponseOrBuilder.java index 74d60d6a7..9702ee6a8 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSubscriptionsResponseOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSubscriptionsResponseOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; public interface ListSubscriptionsResponseOrBuilder diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSnapshotsRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSnapshotsRequest.java index b3418a718..04d59ac07 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSnapshotsRequest.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSnapshotsRequest.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; /** diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSnapshotsRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSnapshotsRequestOrBuilder.java index 505e00fe2..ed7e3b6ba 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSnapshotsRequestOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSnapshotsRequestOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; public interface ListTopicSnapshotsRequestOrBuilder diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSnapshotsResponse.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSnapshotsResponse.java index 2b6561aa6..9e0ddfe5a 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSnapshotsResponse.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSnapshotsResponse.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; /** diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSnapshotsResponseOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSnapshotsResponseOrBuilder.java index abbe62fa5..d8fa52928 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSnapshotsResponseOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSnapshotsResponseOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; public interface ListTopicSnapshotsResponseOrBuilder diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSubscriptionsRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSubscriptionsRequest.java index 01ba987d2..1cd0ec4d9 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSubscriptionsRequest.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSubscriptionsRequest.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; /** diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSubscriptionsRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSubscriptionsRequestOrBuilder.java index bf8a6cd5a..f566e81cf 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSubscriptionsRequestOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSubscriptionsRequestOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; public interface ListTopicSubscriptionsRequestOrBuilder diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSubscriptionsResponse.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSubscriptionsResponse.java index e139fec30..3b1394a94 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSubscriptionsResponse.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSubscriptionsResponse.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; /** diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSubscriptionsResponseOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSubscriptionsResponseOrBuilder.java index 942228db7..b1d983699 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSubscriptionsResponseOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSubscriptionsResponseOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; public interface ListTopicSubscriptionsResponseOrBuilder diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicsRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicsRequest.java index 0bb992da2..49f2b04d7 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicsRequest.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicsRequest.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; /** diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicsRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicsRequestOrBuilder.java index 8abf06b96..2207da516 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicsRequestOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicsRequestOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; public interface ListTopicsRequestOrBuilder diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicsResponse.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicsResponse.java index d4541e1a5..1ddab4ffe 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicsResponse.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicsResponse.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; /** diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicsResponseOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicsResponseOrBuilder.java index 42d7bcb44..fa0fc598b 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicsResponseOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicsResponseOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; public interface ListTopicsResponseOrBuilder diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/MessageStoragePolicy.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/MessageStoragePolicy.java index eb2f9ffbf..8b59c4383 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/MessageStoragePolicy.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/MessageStoragePolicy.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; /** diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/MessageStoragePolicyOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/MessageStoragePolicyOrBuilder.java index bc798cf5b..50763bc80 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/MessageStoragePolicyOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/MessageStoragePolicyOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; public interface MessageStoragePolicyOrBuilder diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyAckDeadlineRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyAckDeadlineRequest.java index 0e876c7b5..58c76b3cb 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyAckDeadlineRequest.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyAckDeadlineRequest.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; /** diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyAckDeadlineRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyAckDeadlineRequestOrBuilder.java index ebc7adb12..3286db14c 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyAckDeadlineRequestOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyAckDeadlineRequestOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; public interface ModifyAckDeadlineRequestOrBuilder diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyPushConfigRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyPushConfigRequest.java index 149b4c6b7..8cb3d6f3b 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyPushConfigRequest.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyPushConfigRequest.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; /** @@ -62,6 +63,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.pubsub.v1.ModifyPushConfigRequest.Builder.class); } + private int bitField0_; public static final int SUBSCRIPTION_FIELD_NUMBER = 1; @SuppressWarnings("serial") @@ -140,7 +142,7 @@ public com.google.protobuf.ByteString getSubscriptionBytes() { */ @java.lang.Override public boolean hasPushConfig() { - return pushConfig_ != null; + return ((bitField0_ & 0x00000001) != 0); } /** * @@ -200,7 +202,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subscription_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, subscription_); } - if (pushConfig_ != null) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getPushConfig()); } getUnknownFields().writeTo(output); @@ -215,7 +217,7 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subscription_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, subscription_); } - if (pushConfig_ != null) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getPushConfig()); } size += getUnknownFields().getSerializedSize(); @@ -385,10 +387,19 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } // Construct using com.google.pubsub.v1.ModifyPushConfigRequest.newBuilder() - private Builder() {} + private Builder() { + maybeForceBuilderInitialization(); + } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getPushConfigFieldBuilder(); + } } @java.lang.Override @@ -440,9 +451,12 @@ private void buildPartial0(com.google.pubsub.v1.ModifyPushConfigRequest result) if (((from_bitField0_ & 0x00000001) != 0)) { result.subscription_ = subscription_; } + int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { result.pushConfig_ = pushConfigBuilder_ == null ? pushConfig_ : pushConfigBuilder_.build(); + to_bitField0_ |= 0x00000001; } + result.bitField0_ |= to_bitField0_; } @java.lang.Override @@ -808,8 +822,10 @@ public Builder mergePushConfig(com.google.pubsub.v1.PushConfig value) { } else { pushConfigBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000002; - onChanged(); + if (pushConfig_ != null) { + bitField0_ |= 0x00000002; + onChanged(); + } return this; } /** diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyPushConfigRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyPushConfigRequestOrBuilder.java index 070e63226..15f80a19b 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyPushConfigRequestOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyPushConfigRequestOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; public interface ModifyPushConfigRequestOrBuilder diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ProjectName.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ProjectName.java index d04475ab0..64195e3fc 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ProjectName.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ProjectName.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PublishRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PublishRequest.java index 69e13fab3..0c0b2828a 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PublishRequest.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PublishRequest.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; /** diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PublishRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PublishRequestOrBuilder.java index c4309802a..46faa9c93 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PublishRequestOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PublishRequestOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; public interface PublishRequestOrBuilder diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PublishResponse.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PublishResponse.java index dcc525d03..2d8fc0182 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PublishResponse.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PublishResponse.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; /** diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PublishResponseOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PublishResponseOrBuilder.java index a657c199d..1d7365285 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PublishResponseOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PublishResponseOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; public interface PublishResponseOrBuilder diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PubsubMessage.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PubsubMessage.java index 8f310f54c..493f01cce 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PubsubMessage.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PubsubMessage.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; /** @@ -63,7 +64,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { switch (number) { case 2: return internalGetAttributes(); @@ -82,6 +84,7 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { com.google.pubsub.v1.PubsubMessage.Builder.class); } + private int bitField0_; public static final int DATA_FIELD_NUMBER = 1; private com.google.protobuf.ByteString data_ = com.google.protobuf.ByteString.EMPTY; /** @@ -289,7 +292,7 @@ public com.google.protobuf.ByteString getMessageIdBytes() { */ @java.lang.Override public boolean hasPublishTime() { - return publishTime_ != null; + return ((bitField0_ & 0x00000001) != 0); } /** * @@ -411,7 +414,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(messageId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, messageId_); } - if (publishTime_ != null) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(4, getPublishTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderingKey_)) { @@ -442,7 +445,7 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(messageId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, messageId_); } - if (publishTime_ != null) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getPublishTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderingKey_)) { @@ -621,7 +624,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { switch (number) { case 2: return internalGetAttributes(); @@ -631,7 +635,8 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField(int number) { + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection( + int number) { switch (number) { case 2: return internalGetMutableAttributes(); @@ -651,10 +656,19 @@ protected com.google.protobuf.MapField internalGetMutableMapField(int number) { } // Construct using com.google.pubsub.v1.PubsubMessage.newBuilder() - private Builder() {} + private Builder() { + maybeForceBuilderInitialization(); + } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getPublishTimeFieldBuilder(); + } } @java.lang.Override @@ -715,13 +729,16 @@ private void buildPartial0(com.google.pubsub.v1.PubsubMessage result) { if (((from_bitField0_ & 0x00000004) != 0)) { result.messageId_ = messageId_; } + int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000008) != 0)) { result.publishTime_ = publishTimeBuilder_ == null ? publishTime_ : publishTimeBuilder_.build(); + to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000010) != 0)) { result.orderingKey_ = orderingKey_; } + result.bitField0_ |= to_bitField0_; } @java.lang.Override @@ -1346,8 +1363,10 @@ public Builder mergePublishTime(com.google.protobuf.Timestamp value) { } else { publishTimeBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000008; - onChanged(); + if (publishTime_ != null) { + bitField0_ |= 0x00000008; + onChanged(); + } return this; } /** diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PubsubMessageOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PubsubMessageOrBuilder.java index 2736aca97..1509232e7 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PubsubMessageOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PubsubMessageOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; public interface PubsubMessageOrBuilder diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PubsubProto.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PubsubProto.java index 971dec18f..687428395 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PubsubProto.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PubsubProto.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; public final class PubsubProto { @@ -292,366 +293,362 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ogle/protobuf/empty.proto\032 google/protob" + "uf/field_mask.proto\032\037google/protobuf/tim" + "estamp.proto\032\035google/pubsub/v1/schema.pr" - + "oto\"c\n\024MessageStoragePolicy\022)\n\033allowed_p" - + "ersistence_regions\030\001 \003(\tB\004\342A\001\001\022 \n\022enforc" - + "e_in_transit\030\002 \001(\010B\004\342A\001\001\"\274\001\n\016SchemaSetti" - + "ngs\0225\n\006schema\030\001 \001(\tB%\342A\001\002\372A\036\n\034pubsub.goo" - + "gleapis.com/Schema\0222\n\010encoding\030\002 \001(\0162\032.g" - + "oogle.pubsub.v1.EncodingB\004\342A\001\001\022\037\n\021first_" - + "revision_id\030\003 \001(\tB\004\342A\001\001\022\036\n\020last_revision" - + "_id\030\004 \001(\tB\004\342A\001\001\"\360\003\n\033IngestionDataSourceS" - + "ettings\022U\n\013aws_kinesis\030\001 \001(\01328.google.pu" - + "bsub.v1.IngestionDataSourceSettings.AwsK" - + "inesisB\004\342A\001\001H\000\032\357\002\n\nAwsKinesis\022S\n\005state\030\001" - + " \001(\0162>.google.pubsub.v1.IngestionDataSou" - + "rceSettings.AwsKinesis.StateB\004\342A\001\003\022\030\n\nst" - + "ream_arn\030\002 \001(\tB\004\342A\001\002\022\032\n\014consumer_arn\030\003 \001" - + "(\tB\004\342A\001\002\022\032\n\014aws_role_arn\030\004 \001(\tB\004\342A\001\002\022!\n\023" - + "gcp_service_account\030\005 \001(\tB\004\342A\001\002\"\226\001\n\005Stat" - + "e\022\025\n\021STATE_UNSPECIFIED\020\000\022\n\n\006ACTIVE\020\001\022\035\n\031" - + "KINESIS_PERMISSION_DENIED\020\002\022\035\n\031PUBLISH_P" - + "ERMISSION_DENIED\020\003\022\024\n\020STREAM_NOT_FOUND\020\004" - + "\022\026\n\022CONSUMER_NOT_FOUND\020\005B\010\n\006source\"\303\005\n\005T" - + "opic\022\022\n\004name\030\001 \001(\tB\004\342A\001\002\0229\n\006labels\030\002 \003(\013" - + "2#.google.pubsub.v1.Topic.LabelsEntryB\004\342" - + "A\001\001\022L\n\026message_storage_policy\030\003 \001(\0132&.go" - + "ogle.pubsub.v1.MessageStoragePolicyB\004\342A\001" - + "\001\022\032\n\014kms_key_name\030\005 \001(\tB\004\342A\001\001\022?\n\017schema_" - + "settings\030\006 \001(\0132 .google.pubsub.v1.Schema" - + "SettingsB\004\342A\001\001\022\033\n\rsatisfies_pzs\030\007 \001(\010B\004\342" - + "A\001\001\022C\n\032message_retention_duration\030\010 \001(\0132" - + "\031.google.protobuf.DurationB\004\342A\001\001\0222\n\005stat" - + "e\030\t \001(\0162\035.google.pubsub.v1.Topic.StateB\004" - + "\342A\001\003\022[\n\036ingestion_data_source_settings\030\n" - + " \001(\0132-.google.pubsub.v1.IngestionDataSou" - + "rceSettingsB\004\342A\001\001\032-\n\013LabelsEntry\022\013\n\003key\030" - + "\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"H\n\005State\022\025\n\021STA" - + "TE_UNSPECIFIED\020\000\022\n\n\006ACTIVE\020\001\022\034\n\030INGESTIO" - + "N_RESOURCE_ERROR\020\002:T\352AQ\n\033pubsub.googleap" - + "is.com/Topic\022!projects/{project}/topics/" - + "{topic}\022\017_deleted-topic_\"\203\002\n\rPubsubMessa" - + "ge\022\022\n\004data\030\001 \001(\014B\004\342A\001\001\022I\n\nattributes\030\002 \003" - + "(\0132/.google.pubsub.v1.PubsubMessage.Attr" - + "ibutesEntryB\004\342A\001\001\022\022\n\nmessage_id\030\003 \001(\t\0220\n" - + "\014publish_time\030\004 \001(\0132\032.google.protobuf.Ti" - + "mestamp\022\032\n\014ordering_key\030\005 \001(\tB\004\342A\001\001\0321\n\017A" - + "ttributesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001" - + "(\t:\0028\001\"F\n\017GetTopicRequest\0223\n\005topic\030\001 \001(\t" - + "B$\342A\001\002\372A\035\n\033pubsub.googleapis.com/Topic\"y" - + "\n\022UpdateTopicRequest\022,\n\005topic\030\001 \001(\0132\027.go" - + "ogle.pubsub.v1.TopicB\004\342A\001\002\0225\n\013update_mas" - + "k\030\002 \001(\0132\032.google.protobuf.FieldMaskB\004\342A\001" - + "\002\"~\n\016PublishRequest\0223\n\005topic\030\001 \001(\tB$\342A\001\002" - + "\372A\035\n\033pubsub.googleapis.com/Topic\0227\n\010mess" - + "ages\030\002 \003(\0132\037.google.pubsub.v1.PubsubMess" - + "ageB\004\342A\001\002\",\n\017PublishResponse\022\031\n\013message_" - + "ids\030\001 \003(\tB\004\342A\001\001\"\215\001\n\021ListTopicsRequest\022E\n" - + "\007project\030\001 \001(\tB4\342A\001\002\372A-\n+cloudresourcema" - + "nager.googleapis.com/Project\022\027\n\tpage_siz" - + "e\030\002 \001(\005B\004\342A\001\001\022\030\n\npage_token\030\003 \001(\tB\004\342A\001\001\"" - + "b\n\022ListTopicsResponse\022-\n\006topics\030\001 \003(\0132\027." - + "google.pubsub.v1.TopicB\004\342A\001\001\022\035\n\017next_pag" - + "e_token\030\002 \001(\tB\004\342A\001\001\"\207\001\n\035ListTopicSubscri" - + "ptionsRequest\0223\n\005topic\030\001 \001(\tB$\342A\001\002\372A\035\n\033p" - + "ubsub.googleapis.com/Topic\022\027\n\tpage_size\030" - + "\002 \001(\005B\004\342A\001\001\022\030\n\npage_token\030\003 \001(\tB\004\342A\001\001\"\203\001" - + "\n\036ListTopicSubscriptionsResponse\022B\n\rsubs" - + "criptions\030\001 \003(\tB+\342A\001\001\372A$\n\"pubsub.googlea" - + "pis.com/Subscription\022\035\n\017next_page_token\030" - + "\002 \001(\tB\004\342A\001\001\"\203\001\n\031ListTopicSnapshotsReques" - + "t\0223\n\005topic\030\001 \001(\tB$\342A\001\002\372A\035\n\033pubsub.google" - + "apis.com/Topic\022\027\n\tpage_size\030\002 \001(\005B\004\342A\001\001\022" - + "\030\n\npage_token\030\003 \001(\tB\004\342A\001\001\"T\n\032ListTopicSn" - + "apshotsResponse\022\027\n\tsnapshots\030\001 \003(\tB\004\342A\001\001" - + "\022\035\n\017next_page_token\030\002 \001(\tB\004\342A\001\001\"I\n\022Delet" - + "eTopicRequest\0223\n\005topic\030\001 \001(\tB$\342A\001\002\372A\035\n\033p" - + "ubsub.googleapis.com/Topic\"^\n\031DetachSubs" - + "criptionRequest\022A\n\014subscription\030\001 \001(\tB+\342" - + "A\001\002\372A$\n\"pubsub.googleapis.com/Subscripti" - + "on\"\034\n\032DetachSubscriptionResponse\"\201\t\n\014Sub" - + "scription\022\022\n\004name\030\001 \001(\tB\004\342A\001\002\0223\n\005topic\030\002" - + " \001(\tB$\342A\001\002\372A\035\n\033pubsub.googleapis.com/Top" - + "ic\0227\n\013push_config\030\004 \001(\0132\034.google.pubsub." - + "v1.PushConfigB\004\342A\001\001\022?\n\017bigquery_config\030\022" - + " \001(\0132 .google.pubsub.v1.BigQueryConfigB\004" - + "\342A\001\001\022H\n\024cloud_storage_config\030\026 \001(\0132$.goo" - + "gle.pubsub.v1.CloudStorageConfigB\004\342A\001\001\022\"" - + "\n\024ack_deadline_seconds\030\005 \001(\005B\004\342A\001\001\022#\n\025re" - + "tain_acked_messages\030\007 \001(\010B\004\342A\001\001\022C\n\032messa" - + "ge_retention_duration\030\010 \001(\0132\031.google.pro" - + "tobuf.DurationB\004\342A\001\001\022@\n\006labels\030\t \003(\0132*.g" - + "oogle.pubsub.v1.Subscription.LabelsEntry" - + "B\004\342A\001\001\022%\n\027enable_message_ordering\030\n \001(\010B" - + "\004\342A\001\001\022C\n\021expiration_policy\030\013 \001(\0132\".googl" - + "e.pubsub.v1.ExpirationPolicyB\004\342A\001\001\022\024\n\006fi" - + "lter\030\014 \001(\tB\004\342A\001\001\022D\n\022dead_letter_policy\030\r" - + " \001(\0132\".google.pubsub.v1.DeadLetterPolicy" - + "B\004\342A\001\001\0229\n\014retry_policy\030\016 \001(\0132\035.google.pu" - + "bsub.v1.RetryPolicyB\004\342A\001\001\022\026\n\010detached\030\017 " - + "\001(\010B\004\342A\001\001\022*\n\034enable_exactly_once_deliver" - + "y\030\020 \001(\010B\004\342A\001\001\022I\n topic_message_retention" - + "_duration\030\021 \001(\0132\031.google.protobuf.Durati" - + "onB\004\342A\001\003\0229\n\005state\030\023 \001(\0162$.google.pubsub." - + "v1.Subscription.StateB\004\342A\001\003\032-\n\013LabelsEnt" - + "ry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\">\n\005St" - + "ate\022\025\n\021STATE_UNSPECIFIED\020\000\022\n\n\006ACTIVE\020\001\022\022" - + "\n\016RESOURCE_ERROR\020\002:X\352AU\n\"pubsub.googleap" - + "is.com/Subscription\022/projects/{project}/" - + "subscriptions/{subscription}\"\201\001\n\013RetryPo" - + "licy\0228\n\017minimum_backoff\030\001 \001(\0132\031.google.p" - + "rotobuf.DurationB\004\342A\001\001\0228\n\017maximum_backof" - + "f\030\002 \001(\0132\031.google.protobuf.DurationB\004\342A\001\001" - + "\"X\n\020DeadLetterPolicy\022\037\n\021dead_letter_topi" - + "c\030\001 \001(\tB\004\342A\001\001\022#\n\025max_delivery_attempts\030\002" - + " \001(\005B\004\342A\001\001\"@\n\020ExpirationPolicy\022,\n\003ttl\030\001 " - + "\001(\0132\031.google.protobuf.DurationB\004\342A\001\001\"\242\004\n" - + "\nPushConfig\022\033\n\rpush_endpoint\030\001 \001(\tB\004\342A\001\001" - + "\022F\n\nattributes\030\002 \003(\0132,.google.pubsub.v1." - + "PushConfig.AttributesEntryB\004\342A\001\001\022B\n\noidc" - + "_token\030\003 \001(\0132&.google.pubsub.v1.PushConf" - + "ig.OidcTokenB\004\342A\001\001H\000\022J\n\016pubsub_wrapper\030\004" - + " \001(\0132*.google.pubsub.v1.PushConfig.Pubsu" - + "bWrapperB\004\342A\001\001H\001\022B\n\nno_wrapper\030\005 \001(\0132&.g" - + "oogle.pubsub.v1.PushConfig.NoWrapperB\004\342A" - + "\001\001H\001\032H\n\tOidcToken\022#\n\025service_account_ema" - + "il\030\001 \001(\tB\004\342A\001\001\022\026\n\010audience\030\002 \001(\tB\004\342A\001\001\032\017" - + "\n\rPubsubWrapper\032)\n\tNoWrapper\022\034\n\016write_me" - + "tadata\030\001 \001(\010B\004\342A\001\001\0321\n\017AttributesEntry\022\013\n" - + "\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001B\027\n\025authent" - + "ication_methodB\t\n\007wrapper\"\360\002\n\016BigQueryCo" - + "nfig\022\023\n\005table\030\001 \001(\tB\004\342A\001\001\022\036\n\020use_topic_s" - + "chema\030\002 \001(\010B\004\342A\001\001\022\034\n\016write_metadata\030\003 \001(" - + "\010B\004\342A\001\001\022!\n\023drop_unknown_fields\030\004 \001(\010B\004\342A" - + "\001\001\022;\n\005state\030\005 \001(\0162&.google.pubsub.v1.Big" - + "QueryConfig.StateB\004\342A\001\003\022\036\n\020use_table_sch" - + "ema\030\006 \001(\010B\004\342A\001\001\"\212\001\n\005State\022\025\n\021STATE_UNSPE" - + "CIFIED\020\000\022\n\n\006ACTIVE\020\001\022\025\n\021PERMISSION_DENIE" - + "D\020\002\022\r\n\tNOT_FOUND\020\003\022\023\n\017SCHEMA_MISMATCH\020\004\022" - + "#\n\037IN_TRANSIT_LOCATION_RESTRICTION\020\005\"\327\004\n" - + "\022CloudStorageConfig\022\024\n\006bucket\030\001 \001(\tB\004\342A\001" - + "\002\022\035\n\017filename_prefix\030\002 \001(\tB\004\342A\001\001\022\035\n\017file" - + "name_suffix\030\003 \001(\tB\004\342A\001\001\022L\n\013text_config\030\004" - + " \001(\0132/.google.pubsub.v1.CloudStorageConf" - + "ig.TextConfigB\004\342A\001\001H\000\022L\n\013avro_config\030\005 \001" - + "(\0132/.google.pubsub.v1.CloudStorageConfig" - + ".AvroConfigB\004\342A\001\001H\000\0225\n\014max_duration\030\006 \001(" - + "\0132\031.google.protobuf.DurationB\004\342A\001\001\022\027\n\tma" - + "x_bytes\030\007 \001(\003B\004\342A\001\001\022?\n\005state\030\t \001(\0162*.goo" - + "gle.pubsub.v1.CloudStorageConfig.StateB\004" - + "\342A\001\003\032\014\n\nTextConfig\032*\n\nAvroConfig\022\034\n\016writ" - + "e_metadata\030\001 \001(\010B\004\342A\001\001\"u\n\005State\022\025\n\021STATE" - + "_UNSPECIFIED\020\000\022\n\n\006ACTIVE\020\001\022\025\n\021PERMISSION" - + "_DENIED\020\002\022\r\n\tNOT_FOUND\020\003\022#\n\037IN_TRANSIT_L" - + "OCATION_RESTRICTION\020\004B\017\n\routput_format\"\177" - + "\n\017ReceivedMessage\022\024\n\006ack_id\030\001 \001(\tB\004\342A\001\001\022" - + "6\n\007message\030\002 \001(\0132\037.google.pubsub.v1.Pubs" - + "ubMessageB\004\342A\001\001\022\036\n\020delivery_attempt\030\003 \001(" - + "\005B\004\342A\001\001\"[\n\026GetSubscriptionRequest\022A\n\014sub" - + "scription\030\001 \001(\tB+\342A\001\002\372A$\n\"pubsub.googlea" - + "pis.com/Subscription\"\216\001\n\031UpdateSubscript" - + "ionRequest\022:\n\014subscription\030\001 \001(\0132\036.googl" - + "e.pubsub.v1.SubscriptionB\004\342A\001\002\0225\n\013update" - + "_mask\030\002 \001(\0132\032.google.protobuf.FieldMaskB" - + "\004\342A\001\002\"\224\001\n\030ListSubscriptionsRequest\022E\n\007pr" - + "oject\030\001 \001(\tB4\342A\001\002\372A-\n+cloudresourcemanag" - + "er.googleapis.com/Project\022\027\n\tpage_size\030\002" - + " \001(\005B\004\342A\001\001\022\030\n\npage_token\030\003 \001(\tB\004\342A\001\001\"w\n\031" - + "ListSubscriptionsResponse\022;\n\rsubscriptio" - + "ns\030\001 \003(\0132\036.google.pubsub.v1.Subscription" - + "B\004\342A\001\001\022\035\n\017next_page_token\030\002 \001(\tB\004\342A\001\001\"^\n" - + "\031DeleteSubscriptionRequest\022A\n\014subscripti" - + "on\030\001 \001(\tB+\342A\001\002\372A$\n\"pubsub.googleapis.com" - + "/Subscription\"\225\001\n\027ModifyPushConfigReques" - + "t\022A\n\014subscription\030\001 \001(\tB+\342A\001\002\372A$\n\"pubsub" - + ".googleapis.com/Subscription\0227\n\013push_con" - + "fig\030\002 \001(\0132\034.google.pubsub.v1.PushConfigB" - + "\004\342A\001\002\"\220\001\n\013PullRequest\022A\n\014subscription\030\001 " - + "\001(\tB+\342A\001\002\372A$\n\"pubsub.googleapis.com/Subs" - + "cription\022\"\n\022return_immediately\030\002 \001(\010B\006\030\001" - + "\342A\001\001\022\032\n\014max_messages\030\003 \001(\005B\004\342A\001\002\"R\n\014Pull" - + "Response\022B\n\021received_messages\030\001 \003(\0132!.go" - + "ogle.pubsub.v1.ReceivedMessageB\004\342A\001\001\"\230\001\n" - + "\030ModifyAckDeadlineRequest\022A\n\014subscriptio" - + "n\030\001 \001(\tB+\342A\001\002\372A$\n\"pubsub.googleapis.com/" - + "Subscription\022\025\n\007ack_ids\030\004 \003(\tB\004\342A\001\002\022\"\n\024a" - + "ck_deadline_seconds\030\003 \001(\005B\004\342A\001\002\"n\n\022Ackno" - + "wledgeRequest\022A\n\014subscription\030\001 \001(\tB+\342A\001" - + "\002\372A$\n\"pubsub.googleapis.com/Subscription" - + "\022\025\n\007ack_ids\030\002 \003(\tB\004\342A\001\002\"\317\002\n\024StreamingPul" - + "lRequest\022A\n\014subscription\030\001 \001(\tB+\342A\001\002\372A$\n" - + "\"pubsub.googleapis.com/Subscription\022\025\n\007a" - + "ck_ids\030\002 \003(\tB\004\342A\001\001\022%\n\027modify_deadline_se" - + "conds\030\003 \003(\005B\004\342A\001\001\022%\n\027modify_deadline_ack" - + "_ids\030\004 \003(\tB\004\342A\001\001\022)\n\033stream_ack_deadline_" - + "seconds\030\005 \001(\005B\004\342A\001\002\022\027\n\tclient_id\030\006 \001(\tB\004" - + "\342A\001\001\022&\n\030max_outstanding_messages\030\007 \001(\003B\004" - + "\342A\001\001\022#\n\025max_outstanding_bytes\030\010 \001(\003B\004\342A\001" - + "\001\"\253\006\n\025StreamingPullResponse\022B\n\021received_" - + "messages\030\001 \003(\0132!.google.pubsub.v1.Receiv" - + "edMessageB\004\342A\001\001\022g\n\030acknowledge_confirmat" - + "ion\030\005 \001(\0132?.google.pubsub.v1.StreamingPu" - + "llResponse.AcknowledgeConfirmationB\004\342A\001\001" - + "\022u\n modify_ack_deadline_confirmation\030\003 \001" - + "(\0132E.google.pubsub.v1.StreamingPullRespo" - + "nse.ModifyAckDeadlineConfirmationB\004\342A\001\001\022" - + "e\n\027subscription_properties\030\004 \001(\0132>.googl" - + "e.pubsub.v1.StreamingPullResponse.Subscr" - + "iptionPropertiesB\004\342A\001\001\032\230\001\n\027AcknowledgeCo" - + "nfirmation\022\025\n\007ack_ids\030\001 \003(\tB\004\342A\001\001\022\035\n\017inv" - + "alid_ack_ids\030\002 \003(\tB\004\342A\001\001\022\037\n\021unordered_ac" - + "k_ids\030\003 \003(\tB\004\342A\001\001\022&\n\030temporary_failed_ac" - + "k_ids\030\004 \003(\tB\004\342A\001\001\032}\n\035ModifyAckDeadlineCo" - + "nfirmation\022\025\n\007ack_ids\030\001 \003(\tB\004\342A\001\001\022\035\n\017inv" - + "alid_ack_ids\030\002 \003(\tB\004\342A\001\001\022&\n\030temporary_fa" - + "iled_ack_ids\030\003 \003(\tB\004\342A\001\001\032m\n\026Subscription" - + "Properties\022+\n\035exactly_once_delivery_enab" - + "led\030\001 \001(\010B\004\342A\001\001\022&\n\030message_ordering_enab" - + "led\030\002 \001(\010B\004\342A\001\001\"\213\002\n\025CreateSnapshotReques" - + "t\0225\n\004name\030\001 \001(\tB\'\342A\001\002\372A \n\036pubsub.googlea" - + "pis.com/Snapshot\022A\n\014subscription\030\002 \001(\tB+" - + "\342A\001\002\372A$\n\"pubsub.googleapis.com/Subscript" - + "ion\022I\n\006labels\030\003 \003(\01323.google.pubsub.v1.C" - + "reateSnapshotRequest.LabelsEntryB\004\342A\001\001\032-" - + "\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(" - + "\t:\0028\001\"\202\001\n\025UpdateSnapshotRequest\0222\n\010snaps" - + "hot\030\001 \001(\0132\032.google.pubsub.v1.SnapshotB\004\342" - + "A\001\002\0225\n\013update_mask\030\002 \001(\0132\032.google.protob" - + "uf.FieldMaskB\004\342A\001\002\"\305\002\n\010Snapshot\022\022\n\004name\030" - + "\001 \001(\tB\004\342A\001\001\0223\n\005topic\030\002 \001(\tB$\342A\001\001\372A\035\n\033pub" - + "sub.googleapis.com/Topic\0225\n\013expire_time\030" - + "\003 \001(\0132\032.google.protobuf.TimestampB\004\342A\001\001\022" - + "<\n\006labels\030\004 \003(\0132&.google.pubsub.v1.Snaps" - + "hot.LabelsEntryB\004\342A\001\001\032-\n\013LabelsEntry\022\013\n\003" - + "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:L\352AI\n\036pubsu" - + "b.googleapis.com/Snapshot\022\'projects/{pro" - + "ject}/snapshots/{snapshot}\"O\n\022GetSnapsho" - + "tRequest\0229\n\010snapshot\030\001 \001(\tB\'\342A\001\002\372A \n\036pub" - + "sub.googleapis.com/Snapshot\"\220\001\n\024ListSnap" - + "shotsRequest\022E\n\007project\030\001 \001(\tB4\342A\001\002\372A-\n+" - + "cloudresourcemanager.googleapis.com/Proj" - + "ect\022\027\n\tpage_size\030\002 \001(\005B\004\342A\001\001\022\030\n\npage_tok" - + "en\030\003 \001(\tB\004\342A\001\001\"k\n\025ListSnapshotsResponse\022" - + "3\n\tsnapshots\030\001 \003(\0132\032.google.pubsub.v1.Sn" - + "apshotB\004\342A\001\001\022\035\n\017next_page_token\030\002 \001(\tB\004\342" - + "A\001\001\"R\n\025DeleteSnapshotRequest\0229\n\010snapshot" - + "\030\001 \001(\tB\'\342A\001\002\372A \n\036pubsub.googleapis.com/S" - + "napshot\"\311\001\n\013SeekRequest\022A\n\014subscription\030" - + "\001 \001(\tB+\342A\001\002\372A$\n\"pubsub.googleapis.com/Su" - + "bscription\0220\n\004time\030\002 \001(\0132\032.google.protob" - + "uf.TimestampB\004\342A\001\001H\000\022;\n\010snapshot\030\003 \001(\tB\'" - + "\342A\001\001\372A \n\036pubsub.googleapis.com/SnapshotH" - + "\000B\010\n\006target\"\016\n\014SeekResponse2\270\013\n\tPublishe" - + "r\022q\n\013CreateTopic\022\027.google.pubsub.v1.Topi" - + "c\032\027.google.pubsub.v1.Topic\"0\332A\004name\202\323\344\223\002" - + "#\032\036/v1/{name=projects/*/topics/*}:\001*\022\221\001\n" - + "\013UpdateTopic\022$.google.pubsub.v1.UpdateTo" - + "picRequest\032\027.google.pubsub.v1.Topic\"C\332A\021" - + "topic,update_mask\202\323\344\223\002)2$/v1/{topic.name" - + "=projects/*/topics/*}:\001*\022\223\001\n\007Publish\022 .g" - + "oogle.pubsub.v1.PublishRequest\032!.google." - + "pubsub.v1.PublishResponse\"C\332A\016topic,mess" - + "ages\202\323\344\223\002,\"\'/v1/{topic=projects/*/topics" - + "/*}:publish:\001*\022w\n\010GetTopic\022!.google.pubs" - + "ub.v1.GetTopicRequest\032\027.google.pubsub.v1" - + ".Topic\"/\332A\005topic\202\323\344\223\002!\022\037/v1/{topic=proje" - + "cts/*/topics/*}\022\212\001\n\nListTopics\022#.google." - + "pubsub.v1.ListTopicsRequest\032$.google.pub" - + "sub.v1.ListTopicsResponse\"1\332A\007project\202\323\344" - + "\223\002!\022\037/v1/{project=projects/*}/topics\022\272\001\n" - + "\026ListTopicSubscriptions\022/.google.pubsub." - + "v1.ListTopicSubscriptionsRequest\0320.googl" - + "e.pubsub.v1.ListTopicSubscriptionsRespon" - + "se\"=\332A\005topic\202\323\344\223\002/\022-/v1/{topic=projects/" - + "*/topics/*}/subscriptions\022\252\001\n\022ListTopicS" - + "napshots\022+.google.pubsub.v1.ListTopicSna" - + "pshotsRequest\032,.google.pubsub.v1.ListTop" - + "icSnapshotsResponse\"9\332A\005topic\202\323\344\223\002+\022)/v1" - + "/{topic=projects/*/topics/*}/snapshots\022|" - + "\n\013DeleteTopic\022$.google.pubsub.v1.DeleteT" - + "opicRequest\032\026.google.protobuf.Empty\"/\332A\005" - + "topic\202\323\344\223\002!*\037/v1/{topic=projects/*/topic" - + "s/*}\022\255\001\n\022DetachSubscription\022+.google.pub" - + "sub.v1.DetachSubscriptionRequest\032,.googl" - + "e.pubsub.v1.DetachSubscriptionResponse\"<" - + "\202\323\344\223\0026\"4/v1/{subscription=projects/*/sub" - + "scriptions/*}:detach\032p\312A\025pubsub.googleap" - + "is.com\322AUhttps://www.googleapis.com/auth" - + "/cloud-platform,https://www.googleapis.c" - + "om/auth/pubsub2\322\025\n\nSubscriber\022\264\001\n\022Create" - + "Subscription\022\036.google.pubsub.v1.Subscrip" - + "tion\032\036.google.pubsub.v1.Subscription\"^\332A" - + "+name,topic,push_config,ack_deadline_sec" - + "onds\202\323\344\223\002*\032%/v1/{name=projects/*/subscri" - + "ptions/*}:\001*\022\241\001\n\017GetSubscription\022(.googl" - + "e.pubsub.v1.GetSubscriptionRequest\032\036.goo" - + "gle.pubsub.v1.Subscription\"D\332A\014subscript" - + "ion\202\323\344\223\002/\022-/v1/{subscription=projects/*/" - + "subscriptions/*}\022\273\001\n\022UpdateSubscription\022" - + "+.google.pubsub.v1.UpdateSubscriptionReq" - + "uest\032\036.google.pubsub.v1.Subscription\"X\332A" - + "\030subscription,update_mask\202\323\344\223\002722/v1/{su" - + "bscription.name=projects/*/subscriptions" - + "/*}:\001*\022\246\001\n\021ListSubscriptions\022*.google.pu" - + "bsub.v1.ListSubscriptionsRequest\032+.googl" - + "e.pubsub.v1.ListSubscriptionsResponse\"8\332" - + "A\007project\202\323\344\223\002(\022&/v1/{project=projects/*" - + "}/subscriptions\022\237\001\n\022DeleteSubscription\022+" - + ".google.pubsub.v1.DeleteSubscriptionRequ" - + "est\032\026.google.protobuf.Empty\"D\332A\014subscrip" - + "tion\202\323\344\223\002/*-/v1/{subscription=projects/*" - + "/subscriptions/*}\022\317\001\n\021ModifyAckDeadline\022" - + "*.google.pubsub.v1.ModifyAckDeadlineRequ" - + "est\032\026.google.protobuf.Empty\"v\332A)subscrip" - + "tion,ack_ids,ack_deadline_seconds\202\323\344\223\002D\"" - + "?/v1/{subscription=projects/*/subscripti" - + "ons/*}:modifyAckDeadline:\001*\022\250\001\n\013Acknowle" - + "dge\022$.google.pubsub.v1.AcknowledgeReques" - + "t\032\026.google.protobuf.Empty\"[\332A\024subscripti" - + "on,ack_ids\202\323\344\223\002>\"9/v1/{subscription=proj" - + "ects/*/subscriptions/*}:acknowledge:\001*\022\320" - + "\001\n\004Pull\022\035.google.pubsub.v1.PullRequest\032\036" - + ".google.pubsub.v1.PullResponse\"\210\001\332A,subs" - + "cription,return_immediately,max_messages" - + "\332A\031subscription,max_messages\202\323\344\223\0027\"2/v1/" - + "{subscription=projects/*/subscriptions/*" - + "}:pull:\001*\022f\n\rStreamingPull\022&.google.pubs" - + "ub.v1.StreamingPullRequest\032\'.google.pubs" - + "ub.v1.StreamingPullResponse\"\000(\0010\001\022\273\001\n\020Mo" - + "difyPushConfig\022).google.pubsub.v1.Modify" - + "PushConfigRequest\032\026.google.protobuf.Empt" - + "y\"d\332A\030subscription,push_config\202\323\344\223\002C\">/v" - + "1/{subscription=projects/*/subscriptions" - + "/*}:modifyPushConfig:\001*\022\211\001\n\013GetSnapshot\022" - + "$.google.pubsub.v1.GetSnapshotRequest\032\032." - + "google.pubsub.v1.Snapshot\"8\332A\010snapshot\202\323" - + "\344\223\002\'\022%/v1/{snapshot=projects/*/snapshots" - + "/*}\022\226\001\n\rListSnapshots\022&.google.pubsub.v1" - + ".ListSnapshotsRequest\032\'.google.pubsub.v1" - + ".ListSnapshotsResponse\"4\332A\007project\202\323\344\223\002$" - + "\022\"/v1/{project=projects/*}/snapshots\022\227\001\n" - + "\016CreateSnapshot\022\'.google.pubsub.v1.Creat" - + "eSnapshotRequest\032\032.google.pubsub.v1.Snap" - + "shot\"@\332A\021name,subscription\202\323\344\223\002&\032!/v1/{n" - + "ame=projects/*/snapshots/*}:\001*\022\243\001\n\016Updat" - + "eSnapshot\022\'.google.pubsub.v1.UpdateSnaps" - + "hotRequest\032\032.google.pubsub.v1.Snapshot\"L" - + "\332A\024snapshot,update_mask\202\323\344\223\002/2*/v1/{snap" - + "shot.name=projects/*/snapshots/*}:\001*\022\213\001\n" - + "\016DeleteSnapshot\022\'.google.pubsub.v1.Delet" - + "eSnapshotRequest\032\026.google.protobuf.Empty" - + "\"8\332A\010snapshot\202\323\344\223\002\'*%/v1/{snapshot=proje" - + "cts/*/snapshots/*}\022\204\001\n\004Seek\022\035.google.pub" - + "sub.v1.SeekRequest\032\036.google.pubsub.v1.Se" - + "ekResponse\"=\202\323\344\223\0027\"2/v1/{subscription=pr" - + "ojects/*/subscriptions/*}:seek:\001*\032p\312A\025pu" - + "bsub.googleapis.com\322AUhttps://www.google" - + "apis.com/auth/cloud-platform,https://www" - + ".googleapis.com/auth/pubsubB\252\001\n\024com.goog" - + "le.pubsub.v1B\013PubsubProtoP\001Z2cloud.googl" - + "e.com/go/pubsub/apiv1/pubsubpb;pubsubpb\370" - + "\001\001\252\002\026Google.Cloud.PubSub.V1\312\002\026Google\\Clo" - + "ud\\PubSub\\V1\352\002\031Google::Cloud::PubSub::V1" - + "b\006proto3" + + "oto\"a\n\024MessageStoragePolicy\022(\n\033allowed_p" + + "ersistence_regions\030\001 \003(\tB\003\340A\001\022\037\n\022enforce" + + "_in_transit\030\002 \001(\010B\003\340A\001\"\270\001\n\016SchemaSetting" + + "s\0224\n\006schema\030\001 \001(\tB$\340A\002\372A\036\n\034pubsub.google" + + "apis.com/Schema\0221\n\010encoding\030\002 \001(\0162\032.goog" + + "le.pubsub.v1.EncodingB\003\340A\001\022\036\n\021first_revi" + + "sion_id\030\003 \001(\tB\003\340A\001\022\035\n\020last_revision_id\030\004" + + " \001(\tB\003\340A\001\"\352\003\n\033IngestionDataSourceSetting" + + "s\022T\n\013aws_kinesis\030\001 \001(\01328.google.pubsub.v" + + "1.IngestionDataSourceSettings.AwsKinesis" + + "B\003\340A\001H\000\032\352\002\n\nAwsKinesis\022R\n\005state\030\001 \001(\0162>." + + "google.pubsub.v1.IngestionDataSourceSett" + + "ings.AwsKinesis.StateB\003\340A\003\022\027\n\nstream_arn" + + "\030\002 \001(\tB\003\340A\002\022\031\n\014consumer_arn\030\003 \001(\tB\003\340A\002\022\031" + + "\n\014aws_role_arn\030\004 \001(\tB\003\340A\002\022 \n\023gcp_service" + + "_account\030\005 \001(\tB\003\340A\002\"\226\001\n\005State\022\025\n\021STATE_U" + + "NSPECIFIED\020\000\022\n\n\006ACTIVE\020\001\022\035\n\031KINESIS_PERM" + + "ISSION_DENIED\020\002\022\035\n\031PUBLISH_PERMISSION_DE" + + "NIED\020\003\022\024\n\020STREAM_NOT_FOUND\020\004\022\026\n\022CONSUMER" + + "_NOT_FOUND\020\005B\010\n\006source\"\272\005\n\005Topic\022\021\n\004name" + + "\030\001 \001(\tB\003\340A\002\0228\n\006labels\030\002 \003(\0132#.google.pub" + + "sub.v1.Topic.LabelsEntryB\003\340A\001\022K\n\026message" + + "_storage_policy\030\003 \001(\0132&.google.pubsub.v1" + + ".MessageStoragePolicyB\003\340A\001\022\031\n\014kms_key_na" + + "me\030\005 \001(\tB\003\340A\001\022>\n\017schema_settings\030\006 \001(\0132 " + + ".google.pubsub.v1.SchemaSettingsB\003\340A\001\022\032\n" + + "\rsatisfies_pzs\030\007 \001(\010B\003\340A\001\022B\n\032message_ret" + + "ention_duration\030\010 \001(\0132\031.google.protobuf." + + "DurationB\003\340A\001\0221\n\005state\030\t \001(\0162\035.google.pu" + + "bsub.v1.Topic.StateB\003\340A\003\022Z\n\036ingestion_da" + + "ta_source_settings\030\n \001(\0132-.google.pubsub" + + ".v1.IngestionDataSourceSettingsB\003\340A\001\032-\n\013" + + "LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:" + + "\0028\001\"H\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\n\n\006A" + + "CTIVE\020\001\022\034\n\030INGESTION_RESOURCE_ERROR\020\002:T\352" + + "AQ\n\033pubsub.googleapis.com/Topic\022!project" + + "s/{project}/topics/{topic}\022\017_deleted-top" + + "ic_\"\200\002\n\rPubsubMessage\022\021\n\004data\030\001 \001(\014B\003\340A\001" + + "\022H\n\nattributes\030\002 \003(\0132/.google.pubsub.v1." + + "PubsubMessage.AttributesEntryB\003\340A\001\022\022\n\nme" + + "ssage_id\030\003 \001(\t\0220\n\014publish_time\030\004 \001(\0132\032.g" + + "oogle.protobuf.Timestamp\022\031\n\014ordering_key" + + "\030\005 \001(\tB\003\340A\001\0321\n\017AttributesEntry\022\013\n\003key\030\001 " + + "\001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"E\n\017GetTopicReques" + + "t\0222\n\005topic\030\001 \001(\tB#\340A\002\372A\035\n\033pubsub.googlea" + + "pis.com/Topic\"w\n\022UpdateTopicRequest\022+\n\005t" + + "opic\030\001 \001(\0132\027.google.pubsub.v1.TopicB\003\340A\002" + + "\0224\n\013update_mask\030\002 \001(\0132\032.google.protobuf." + + "FieldMaskB\003\340A\002\"|\n\016PublishRequest\0222\n\005topi" + + "c\030\001 \001(\tB#\340A\002\372A\035\n\033pubsub.googleapis.com/T" + + "opic\0226\n\010messages\030\002 \003(\0132\037.google.pubsub.v" + + "1.PubsubMessageB\003\340A\002\"+\n\017PublishResponse\022" + + "\030\n\013message_ids\030\001 \003(\tB\003\340A\001\"\212\001\n\021ListTopics" + + "Request\022D\n\007project\030\001 \001(\tB3\340A\002\372A-\n+cloudr" + + "esourcemanager.googleapis.com/Project\022\026\n" + + "\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(" + + "\tB\003\340A\001\"`\n\022ListTopicsResponse\022,\n\006topics\030\001" + + " \003(\0132\027.google.pubsub.v1.TopicB\003\340A\001\022\034\n\017ne" + + "xt_page_token\030\002 \001(\tB\003\340A\001\"\204\001\n\035ListTopicSu" + + "bscriptionsRequest\0222\n\005topic\030\001 \001(\tB#\340A\002\372A" + + "\035\n\033pubsub.googleapis.com/Topic\022\026\n\tpage_s" + + "ize\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(\tB\003\340A\001\"" + + "\201\001\n\036ListTopicSubscriptionsResponse\022A\n\rsu" + + "bscriptions\030\001 \003(\tB*\340A\001\372A$\n\"pubsub.google" + + "apis.com/Subscription\022\034\n\017next_page_token" + + "\030\002 \001(\tB\003\340A\001\"\200\001\n\031ListTopicSnapshotsReques" + + "t\0222\n\005topic\030\001 \001(\tB#\340A\002\372A\035\n\033pubsub.googlea" + + "pis.com/Topic\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n" + + "\npage_token\030\003 \001(\tB\003\340A\001\"R\n\032ListTopicSnaps" + + "hotsResponse\022\026\n\tsnapshots\030\001 \003(\tB\003\340A\001\022\034\n\017" + + "next_page_token\030\002 \001(\tB\003\340A\001\"H\n\022DeleteTopi" + + "cRequest\0222\n\005topic\030\001 \001(\tB#\340A\002\372A\035\n\033pubsub." + + "googleapis.com/Topic\"]\n\031DetachSubscripti" + + "onRequest\022@\n\014subscription\030\001 \001(\tB*\340A\002\372A$\n" + + "\"pubsub.googleapis.com/Subscription\"\034\n\032D" + + "etachSubscriptionResponse\"\357\010\n\014Subscripti" + + "on\022\021\n\004name\030\001 \001(\tB\003\340A\002\0222\n\005topic\030\002 \001(\tB#\340A" + + "\002\372A\035\n\033pubsub.googleapis.com/Topic\0226\n\013pus" + + "h_config\030\004 \001(\0132\034.google.pubsub.v1.PushCo" + + "nfigB\003\340A\001\022>\n\017bigquery_config\030\022 \001(\0132 .goo" + + "gle.pubsub.v1.BigQueryConfigB\003\340A\001\022G\n\024clo" + + "ud_storage_config\030\026 \001(\0132$.google.pubsub." + + "v1.CloudStorageConfigB\003\340A\001\022!\n\024ack_deadli" + + "ne_seconds\030\005 \001(\005B\003\340A\001\022\"\n\025retain_acked_me" + + "ssages\030\007 \001(\010B\003\340A\001\022B\n\032message_retention_d" + + "uration\030\010 \001(\0132\031.google.protobuf.Duration" + + "B\003\340A\001\022?\n\006labels\030\t \003(\0132*.google.pubsub.v1" + + ".Subscription.LabelsEntryB\003\340A\001\022$\n\027enable" + + "_message_ordering\030\n \001(\010B\003\340A\001\022B\n\021expirati" + + "on_policy\030\013 \001(\0132\".google.pubsub.v1.Expir" + + "ationPolicyB\003\340A\001\022\023\n\006filter\030\014 \001(\tB\003\340A\001\022C\n" + + "\022dead_letter_policy\030\r \001(\0132\".google.pubsu" + + "b.v1.DeadLetterPolicyB\003\340A\001\0228\n\014retry_poli" + + "cy\030\016 \001(\0132\035.google.pubsub.v1.RetryPolicyB" + + "\003\340A\001\022\025\n\010detached\030\017 \001(\010B\003\340A\001\022)\n\034enable_ex" + + "actly_once_delivery\030\020 \001(\010B\003\340A\001\022H\n topic_" + + "message_retention_duration\030\021 \001(\0132\031.googl" + + "e.protobuf.DurationB\003\340A\003\0228\n\005state\030\023 \001(\0162" + + "$.google.pubsub.v1.Subscription.StateB\003\340" + + "A\003\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030" + + "\002 \001(\t:\0028\001\">\n\005State\022\025\n\021STATE_UNSPECIFIED\020" + + "\000\022\n\n\006ACTIVE\020\001\022\022\n\016RESOURCE_ERROR\020\002:X\352AU\n\"" + + "pubsub.googleapis.com/Subscription\022/proj" + + "ects/{project}/subscriptions/{subscripti" + + "on}\"\177\n\013RetryPolicy\0227\n\017minimum_backoff\030\001 " + + "\001(\0132\031.google.protobuf.DurationB\003\340A\001\0227\n\017m" + + "aximum_backoff\030\002 \001(\0132\031.google.protobuf.D" + + "urationB\003\340A\001\"V\n\020DeadLetterPolicy\022\036\n\021dead" + + "_letter_topic\030\001 \001(\tB\003\340A\001\022\"\n\025max_delivery" + + "_attempts\030\002 \001(\005B\003\340A\001\"?\n\020ExpirationPolicy" + + "\022+\n\003ttl\030\001 \001(\0132\031.google.protobuf.Duration" + + "B\003\340A\001\"\232\004\n\nPushConfig\022\032\n\rpush_endpoint\030\001 " + + "\001(\tB\003\340A\001\022E\n\nattributes\030\002 \003(\0132,.google.pu" + + "bsub.v1.PushConfig.AttributesEntryB\003\340A\001\022" + + "A\n\noidc_token\030\003 \001(\0132&.google.pubsub.v1.P" + + "ushConfig.OidcTokenB\003\340A\001H\000\022I\n\016pubsub_wra" + + "pper\030\004 \001(\0132*.google.pubsub.v1.PushConfig" + + ".PubsubWrapperB\003\340A\001H\001\022A\n\nno_wrapper\030\005 \001(" + + "\0132&.google.pubsub.v1.PushConfig.NoWrappe" + + "rB\003\340A\001H\001\032F\n\tOidcToken\022\"\n\025service_account" + + "_email\030\001 \001(\tB\003\340A\001\022\025\n\010audience\030\002 \001(\tB\003\340A\001" + + "\032\017\n\rPubsubWrapper\032(\n\tNoWrapper\022\033\n\016write_" + + "metadata\030\001 \001(\010B\003\340A\001\0321\n\017AttributesEntry\022\013" + + "\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001B\027\n\025authen" + + "tication_methodB\t\n\007wrapper\"\352\002\n\016BigQueryC" + + "onfig\022\022\n\005table\030\001 \001(\tB\003\340A\001\022\035\n\020use_topic_s" + + "chema\030\002 \001(\010B\003\340A\001\022\033\n\016write_metadata\030\003 \001(\010" + + "B\003\340A\001\022 \n\023drop_unknown_fields\030\004 \001(\010B\003\340A\001\022" + + ":\n\005state\030\005 \001(\0162&.google.pubsub.v1.BigQue" + + "ryConfig.StateB\003\340A\003\022\035\n\020use_table_schema\030" + + "\006 \001(\010B\003\340A\001\"\212\001\n\005State\022\025\n\021STATE_UNSPECIFIE" + + "D\020\000\022\n\n\006ACTIVE\020\001\022\025\n\021PERMISSION_DENIED\020\002\022\r" + + "\n\tNOT_FOUND\020\003\022\023\n\017SCHEMA_MISMATCH\020\004\022#\n\037IN" + + "_TRANSIT_LOCATION_RESTRICTION\020\005\"\316\004\n\022Clou" + + "dStorageConfig\022\023\n\006bucket\030\001 \001(\tB\003\340A\002\022\034\n\017f" + + "ilename_prefix\030\002 \001(\tB\003\340A\001\022\034\n\017filename_su" + + "ffix\030\003 \001(\tB\003\340A\001\022K\n\013text_config\030\004 \001(\0132/.g" + + "oogle.pubsub.v1.CloudStorageConfig.TextC" + + "onfigB\003\340A\001H\000\022K\n\013avro_config\030\005 \001(\0132/.goog" + + "le.pubsub.v1.CloudStorageConfig.AvroConf" + + "igB\003\340A\001H\000\0224\n\014max_duration\030\006 \001(\0132\031.google" + + ".protobuf.DurationB\003\340A\001\022\026\n\tmax_bytes\030\007 \001" + + "(\003B\003\340A\001\022>\n\005state\030\t \001(\0162*.google.pubsub.v" + + "1.CloudStorageConfig.StateB\003\340A\003\032\014\n\nTextC" + + "onfig\032)\n\nAvroConfig\022\033\n\016write_metadata\030\001 " + + "\001(\010B\003\340A\001\"u\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000" + + "\022\n\n\006ACTIVE\020\001\022\025\n\021PERMISSION_DENIED\020\002\022\r\n\tN" + + "OT_FOUND\020\003\022#\n\037IN_TRANSIT_LOCATION_RESTRI" + + "CTION\020\004B\017\n\routput_format\"|\n\017ReceivedMess" + + "age\022\023\n\006ack_id\030\001 \001(\tB\003\340A\001\0225\n\007message\030\002 \001(" + + "\0132\037.google.pubsub.v1.PubsubMessageB\003\340A\001\022" + + "\035\n\020delivery_attempt\030\003 \001(\005B\003\340A\001\"Z\n\026GetSub" + + "scriptionRequest\022@\n\014subscription\030\001 \001(\tB*" + + "\340A\002\372A$\n\"pubsub.googleapis.com/Subscripti" + + "on\"\214\001\n\031UpdateSubscriptionRequest\0229\n\014subs" + + "cription\030\001 \001(\0132\036.google.pubsub.v1.Subscr" + + "iptionB\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.googl" + + "e.protobuf.FieldMaskB\003\340A\002\"\221\001\n\030ListSubscr" + + "iptionsRequest\022D\n\007project\030\001 \001(\tB3\340A\002\372A-\n" + + "+cloudresourcemanager.googleapis.com/Pro" + + "ject\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_tok" + + "en\030\003 \001(\tB\003\340A\001\"u\n\031ListSubscriptionsRespon" + + "se\022:\n\rsubscriptions\030\001 \003(\0132\036.google.pubsu" + + "b.v1.SubscriptionB\003\340A\001\022\034\n\017next_page_toke" + + "n\030\002 \001(\tB\003\340A\001\"]\n\031DeleteSubscriptionReques" + + "t\022@\n\014subscription\030\001 \001(\tB*\340A\002\372A$\n\"pubsub." + + "googleapis.com/Subscription\"\223\001\n\027ModifyPu" + + "shConfigRequest\022@\n\014subscription\030\001 \001(\tB*\340" + + "A\002\372A$\n\"pubsub.googleapis.com/Subscriptio" + + "n\0226\n\013push_config\030\002 \001(\0132\034.google.pubsub.v" + + "1.PushConfigB\003\340A\002\"\215\001\n\013PullRequest\022@\n\014sub" + + "scription\030\001 \001(\tB*\340A\002\372A$\n\"pubsub.googleap" + + "is.com/Subscription\022!\n\022return_immediatel" + + "y\030\002 \001(\010B\005\030\001\340A\001\022\031\n\014max_messages\030\003 \001(\005B\003\340A" + + "\002\"Q\n\014PullResponse\022A\n\021received_messages\030\001" + + " \003(\0132!.google.pubsub.v1.ReceivedMessageB" + + "\003\340A\001\"\225\001\n\030ModifyAckDeadlineRequest\022@\n\014sub" + + "scription\030\001 \001(\tB*\340A\002\372A$\n\"pubsub.googleap" + + "is.com/Subscription\022\024\n\007ack_ids\030\004 \003(\tB\003\340A" + + "\002\022!\n\024ack_deadline_seconds\030\003 \001(\005B\003\340A\002\"l\n\022" + + "AcknowledgeRequest\022@\n\014subscription\030\001 \001(\t" + + "B*\340A\002\372A$\n\"pubsub.googleapis.com/Subscrip" + + "tion\022\024\n\007ack_ids\030\002 \003(\tB\003\340A\002\"\307\002\n\024Streaming" + + "PullRequest\022@\n\014subscription\030\001 \001(\tB*\340A\002\372A" + + "$\n\"pubsub.googleapis.com/Subscription\022\024\n" + + "\007ack_ids\030\002 \003(\tB\003\340A\001\022$\n\027modify_deadline_s" + + "econds\030\003 \003(\005B\003\340A\001\022$\n\027modify_deadline_ack" + + "_ids\030\004 \003(\tB\003\340A\001\022(\n\033stream_ack_deadline_s" + + "econds\030\005 \001(\005B\003\340A\002\022\026\n\tclient_id\030\006 \001(\tB\003\340A" + + "\001\022%\n\030max_outstanding_messages\030\007 \001(\003B\003\340A\001" + + "\022\"\n\025max_outstanding_bytes\030\010 \001(\003B\003\340A\001\"\236\006\n" + + "\025StreamingPullResponse\022A\n\021received_messa" + + "ges\030\001 \003(\0132!.google.pubsub.v1.ReceivedMes" + + "sageB\003\340A\001\022f\n\030acknowledge_confirmation\030\005 " + + "\001(\0132?.google.pubsub.v1.StreamingPullResp" + + "onse.AcknowledgeConfirmationB\003\340A\001\022t\n mod" + + "ify_ack_deadline_confirmation\030\003 \001(\0132E.go" + + "ogle.pubsub.v1.StreamingPullResponse.Mod" + + "ifyAckDeadlineConfirmationB\003\340A\001\022d\n\027subsc" + + "ription_properties\030\004 \001(\0132>.google.pubsub" + + ".v1.StreamingPullResponse.SubscriptionPr" + + "opertiesB\003\340A\001\032\224\001\n\027AcknowledgeConfirmatio" + + "n\022\024\n\007ack_ids\030\001 \003(\tB\003\340A\001\022\034\n\017invalid_ack_i" + + "ds\030\002 \003(\tB\003\340A\001\022\036\n\021unordered_ack_ids\030\003 \003(\t" + + "B\003\340A\001\022%\n\030temporary_failed_ack_ids\030\004 \003(\tB" + + "\003\340A\001\032z\n\035ModifyAckDeadlineConfirmation\022\024\n" + + "\007ack_ids\030\001 \003(\tB\003\340A\001\022\034\n\017invalid_ack_ids\030\002" + + " \003(\tB\003\340A\001\022%\n\030temporary_failed_ack_ids\030\003 " + + "\003(\tB\003\340A\001\032k\n\026SubscriptionProperties\022*\n\035ex" + + "actly_once_delivery_enabled\030\001 \001(\010B\003\340A\001\022%" + + "\n\030message_ordering_enabled\030\002 \001(\010B\003\340A\001\"\210\002" + + "\n\025CreateSnapshotRequest\0224\n\004name\030\001 \001(\tB&\340" + + "A\002\372A \n\036pubsub.googleapis.com/Snapshot\022@\n" + + "\014subscription\030\002 \001(\tB*\340A\002\372A$\n\"pubsub.goog" + + "leapis.com/Subscription\022H\n\006labels\030\003 \003(\0132" + + "3.google.pubsub.v1.CreateSnapshotRequest" + + ".LabelsEntryB\003\340A\001\032-\n\013LabelsEntry\022\013\n\003key\030" + + "\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\200\001\n\025UpdateSnaps" + + "hotRequest\0221\n\010snapshot\030\001 \001(\0132\032.google.pu" + + "bsub.v1.SnapshotB\003\340A\002\0224\n\013update_mask\030\002 \001" + + "(\0132\032.google.protobuf.FieldMaskB\003\340A\002\"\301\002\n\010" + + "Snapshot\022\021\n\004name\030\001 \001(\tB\003\340A\001\0222\n\005topic\030\002 \001" + + "(\tB#\340A\001\372A\035\n\033pubsub.googleapis.com/Topic\022" + + "4\n\013expire_time\030\003 \001(\0132\032.google.protobuf.T" + + "imestampB\003\340A\001\022;\n\006labels\030\004 \003(\0132&.google.p" + + "ubsub.v1.Snapshot.LabelsEntryB\003\340A\001\032-\n\013La" + + "belsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028" + + "\001:L\352AI\n\036pubsub.googleapis.com/Snapshot\022\'" + + "projects/{project}/snapshots/{snapshot}\"" + + "N\n\022GetSnapshotRequest\0228\n\010snapshot\030\001 \001(\tB" + + "&\340A\002\372A \n\036pubsub.googleapis.com/Snapshot\"" + + "\215\001\n\024ListSnapshotsRequest\022D\n\007project\030\001 \001(" + + "\tB3\340A\002\372A-\n+cloudresourcemanager.googleap" + + "is.com/Project\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027" + + "\n\npage_token\030\003 \001(\tB\003\340A\001\"i\n\025ListSnapshots" + + "Response\0222\n\tsnapshots\030\001 \003(\0132\032.google.pub" + + "sub.v1.SnapshotB\003\340A\001\022\034\n\017next_page_token\030" + + "\002 \001(\tB\003\340A\001\"Q\n\025DeleteSnapshotRequest\0228\n\010s" + + "napshot\030\001 \001(\tB&\340A\002\372A \n\036pubsub.googleapis" + + ".com/Snapshot\"\306\001\n\013SeekRequest\022@\n\014subscri" + + "ption\030\001 \001(\tB*\340A\002\372A$\n\"pubsub.googleapis.c" + + "om/Subscription\022/\n\004time\030\002 \001(\0132\032.google.p" + + "rotobuf.TimestampB\003\340A\001H\000\022:\n\010snapshot\030\003 \001" + + "(\tB&\340A\001\372A \n\036pubsub.googleapis.com/Snapsh" + + "otH\000B\010\n\006target\"\016\n\014SeekResponse2\270\013\n\tPubli" + + "sher\022q\n\013CreateTopic\022\027.google.pubsub.v1.T" + + "opic\032\027.google.pubsub.v1.Topic\"0\332A\004name\202\323" + + "\344\223\002#\032\036/v1/{name=projects/*/topics/*}:\001*\022" + + "\221\001\n\013UpdateTopic\022$.google.pubsub.v1.Updat" + + "eTopicRequest\032\027.google.pubsub.v1.Topic\"C" + + "\332A\021topic,update_mask\202\323\344\223\002)2$/v1/{topic.n" + + "ame=projects/*/topics/*}:\001*\022\223\001\n\007Publish\022" + + " .google.pubsub.v1.PublishRequest\032!.goog" + + "le.pubsub.v1.PublishResponse\"C\332A\016topic,m" + + "essages\202\323\344\223\002,\"\'/v1/{topic=projects/*/top" + + "ics/*}:publish:\001*\022w\n\010GetTopic\022!.google.p" + + "ubsub.v1.GetTopicRequest\032\027.google.pubsub" + + ".v1.Topic\"/\332A\005topic\202\323\344\223\002!\022\037/v1/{topic=pr" + + "ojects/*/topics/*}\022\212\001\n\nListTopics\022#.goog" + + "le.pubsub.v1.ListTopicsRequest\032$.google." + + "pubsub.v1.ListTopicsResponse\"1\332A\007project" + + "\202\323\344\223\002!\022\037/v1/{project=projects/*}/topics\022" + + "\272\001\n\026ListTopicSubscriptions\022/.google.pubs" + + "ub.v1.ListTopicSubscriptionsRequest\0320.go" + + "ogle.pubsub.v1.ListTopicSubscriptionsRes" + + "ponse\"=\332A\005topic\202\323\344\223\002/\022-/v1/{topic=projec" + + "ts/*/topics/*}/subscriptions\022\252\001\n\022ListTop" + + "icSnapshots\022+.google.pubsub.v1.ListTopic" + + "SnapshotsRequest\032,.google.pubsub.v1.List" + + "TopicSnapshotsResponse\"9\332A\005topic\202\323\344\223\002+\022)" + + "/v1/{topic=projects/*/topics/*}/snapshot" + + "s\022|\n\013DeleteTopic\022$.google.pubsub.v1.Dele" + + "teTopicRequest\032\026.google.protobuf.Empty\"/" + + "\332A\005topic\202\323\344\223\002!*\037/v1/{topic=projects/*/to" + + "pics/*}\022\255\001\n\022DetachSubscription\022+.google." + + "pubsub.v1.DetachSubscriptionRequest\032,.go" + + "ogle.pubsub.v1.DetachSubscriptionRespons" + + "e\"<\202\323\344\223\0026\"4/v1/{subscription=projects/*/" + + "subscriptions/*}:detach\032p\312A\025pubsub.googl" + + "eapis.com\322AUhttps://www.googleapis.com/a" + + "uth/cloud-platform,https://www.googleapi" + + "s.com/auth/pubsub2\322\025\n\nSubscriber\022\264\001\n\022Cre" + + "ateSubscription\022\036.google.pubsub.v1.Subsc" + + "ription\032\036.google.pubsub.v1.Subscription\"" + + "^\332A+name,topic,push_config,ack_deadline_" + + "seconds\202\323\344\223\002*\032%/v1/{name=projects/*/subs" + + "criptions/*}:\001*\022\241\001\n\017GetSubscription\022(.go" + + "ogle.pubsub.v1.GetSubscriptionRequest\032\036." + + "google.pubsub.v1.Subscription\"D\332A\014subscr" + + "iption\202\323\344\223\002/\022-/v1/{subscription=projects" + + "/*/subscriptions/*}\022\273\001\n\022UpdateSubscripti" + + "on\022+.google.pubsub.v1.UpdateSubscription" + + "Request\032\036.google.pubsub.v1.Subscription\"" + + "X\332A\030subscription,update_mask\202\323\344\223\002722/v1/" + + "{subscription.name=projects/*/subscripti" + + "ons/*}:\001*\022\246\001\n\021ListSubscriptions\022*.google" + + ".pubsub.v1.ListSubscriptionsRequest\032+.go" + + "ogle.pubsub.v1.ListSubscriptionsResponse" + + "\"8\332A\007project\202\323\344\223\002(\022&/v1/{project=project" + + "s/*}/subscriptions\022\237\001\n\022DeleteSubscriptio" + + "n\022+.google.pubsub.v1.DeleteSubscriptionR" + + "equest\032\026.google.protobuf.Empty\"D\332A\014subsc" + + "ription\202\323\344\223\002/*-/v1/{subscription=project" + + "s/*/subscriptions/*}\022\317\001\n\021ModifyAckDeadli" + + "ne\022*.google.pubsub.v1.ModifyAckDeadlineR" + + "equest\032\026.google.protobuf.Empty\"v\332A)subsc" + + "ription,ack_ids,ack_deadline_seconds\202\323\344\223" + + "\002D\"?/v1/{subscription=projects/*/subscri" + + "ptions/*}:modifyAckDeadline:\001*\022\250\001\n\013Ackno" + + "wledge\022$.google.pubsub.v1.AcknowledgeReq" + + "uest\032\026.google.protobuf.Empty\"[\332A\024subscri" + + "ption,ack_ids\202\323\344\223\002>\"9/v1/{subscription=p" + + "rojects/*/subscriptions/*}:acknowledge:\001" + + "*\022\320\001\n\004Pull\022\035.google.pubsub.v1.PullReques" + + "t\032\036.google.pubsub.v1.PullResponse\"\210\001\332A,s" + + "ubscription,return_immediately,max_messa" + + "ges\332A\031subscription,max_messages\202\323\344\223\0027\"2/" + + "v1/{subscription=projects/*/subscription" + + "s/*}:pull:\001*\022f\n\rStreamingPull\022&.google.p" + + "ubsub.v1.StreamingPullRequest\032\'.google.p" + + "ubsub.v1.StreamingPullResponse\"\000(\0010\001\022\273\001\n" + + "\020ModifyPushConfig\022).google.pubsub.v1.Mod" + + "ifyPushConfigRequest\032\026.google.protobuf.E" + + "mpty\"d\332A\030subscription,push_config\202\323\344\223\002C\"" + + ">/v1/{subscription=projects/*/subscripti" + + "ons/*}:modifyPushConfig:\001*\022\211\001\n\013GetSnapsh" + + "ot\022$.google.pubsub.v1.GetSnapshotRequest" + + "\032\032.google.pubsub.v1.Snapshot\"8\332A\010snapsho" + + "t\202\323\344\223\002\'\022%/v1/{snapshot=projects/*/snapsh" + + "ots/*}\022\226\001\n\rListSnapshots\022&.google.pubsub" + + ".v1.ListSnapshotsRequest\032\'.google.pubsub" + + ".v1.ListSnapshotsResponse\"4\332A\007project\202\323\344" + + "\223\002$\022\"/v1/{project=projects/*}/snapshots\022" + + "\227\001\n\016CreateSnapshot\022\'.google.pubsub.v1.Cr" + + "eateSnapshotRequest\032\032.google.pubsub.v1.S" + + "napshot\"@\332A\021name,subscription\202\323\344\223\002&\032!/v1" + + "/{name=projects/*/snapshots/*}:\001*\022\243\001\n\016Up" + + "dateSnapshot\022\'.google.pubsub.v1.UpdateSn" + + "apshotRequest\032\032.google.pubsub.v1.Snapsho" + + "t\"L\332A\024snapshot,update_mask\202\323\344\223\002/2*/v1/{s" + + "napshot.name=projects/*/snapshots/*}:\001*\022" + + "\213\001\n\016DeleteSnapshot\022\'.google.pubsub.v1.De" + + "leteSnapshotRequest\032\026.google.protobuf.Em" + + "pty\"8\332A\010snapshot\202\323\344\223\002\'*%/v1/{snapshot=pr" + + "ojects/*/snapshots/*}\022\204\001\n\004Seek\022\035.google." + + "pubsub.v1.SeekRequest\032\036.google.pubsub.v1" + + ".SeekResponse\"=\202\323\344\223\0027\"2/v1/{subscription" + + "=projects/*/subscriptions/*}:seek:\001*\032p\312A" + + "\025pubsub.googleapis.com\322AUhttps://www.goo" + + "gleapis.com/auth/cloud-platform,https://" + + "www.googleapis.com/auth/pubsubB\252\001\n\024com.g" + + "oogle.pubsub.v1B\013PubsubProtoP\001Z2cloud.go" + + "ogle.com/go/pubsub/apiv1/pubsubpb;pubsub" + + "pb\370\001\001\252\002\026Google.Cloud.PubSub.V1\312\002\026Google\\" + + "Cloud\\PubSub\\V1\352\002\031Google::Cloud::PubSub:" + + ":V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PullRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PullRequest.java index 7375cea5d..49e0f1204 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PullRequest.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PullRequest.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; /** @@ -136,7 +137,7 @@ public com.google.protobuf.ByteString getSubscriptionBytes() { * * * @deprecated google.pubsub.v1.PullRequest.return_immediately is deprecated. See - * google/pubsub/v1/pubsub.proto;l=1359 + * google/pubsub/v1/pubsub.proto;l=1358 * @return The returnImmediately. */ @java.lang.Override @@ -687,7 +688,7 @@ public Builder setSubscriptionBytes(com.google.protobuf.ByteString value) { * * * @deprecated google.pubsub.v1.PullRequest.return_immediately is deprecated. See - * google/pubsub/v1/pubsub.proto;l=1359 + * google/pubsub/v1/pubsub.proto;l=1358 * @return The returnImmediately. */ @java.lang.Override @@ -713,7 +714,7 @@ public boolean getReturnImmediately() { * * * @deprecated google.pubsub.v1.PullRequest.return_immediately is deprecated. See - * google/pubsub/v1/pubsub.proto;l=1359 + * google/pubsub/v1/pubsub.proto;l=1358 * @param value The returnImmediately to set. * @return This builder for chaining. */ @@ -743,7 +744,7 @@ public Builder setReturnImmediately(boolean value) { * * * @deprecated google.pubsub.v1.PullRequest.return_immediately is deprecated. See - * google/pubsub/v1/pubsub.proto;l=1359 + * google/pubsub/v1/pubsub.proto;l=1358 * @return This builder for chaining. */ @java.lang.Deprecated diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PullRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PullRequestOrBuilder.java index 4f2b226c5..bcc0846fa 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PullRequestOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PullRequestOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; public interface PullRequestOrBuilder @@ -71,7 +72,7 @@ public interface PullRequestOrBuilder * * * @deprecated google.pubsub.v1.PullRequest.return_immediately is deprecated. See - * google/pubsub/v1/pubsub.proto;l=1359 + * google/pubsub/v1/pubsub.proto;l=1358 * @return The returnImmediately. */ @java.lang.Deprecated diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PullResponse.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PullResponse.java index 2b6824183..f63d9e26b 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PullResponse.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PullResponse.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; /** diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PullResponseOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PullResponseOrBuilder.java index 39112729e..dd54132aa 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PullResponseOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PullResponseOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; public interface PullResponseOrBuilder diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PushConfig.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PushConfig.java index 074068dc4..01c977f88 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PushConfig.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PushConfig.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; /** @@ -53,7 +54,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { switch (number) { case 2: return internalGetAttributes(); @@ -2759,7 +2761,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { switch (number) { case 2: return internalGetAttributes(); @@ -2769,7 +2772,8 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField(int number) { + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection( + int number) { switch (number) { case 2: return internalGetMutableAttributes(); diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PushConfigOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PushConfigOrBuilder.java index b39c32241..6fa337bfd 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PushConfigOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PushConfigOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; public interface PushConfigOrBuilder diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ReceivedMessage.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ReceivedMessage.java index 8fd798b36..c29968fa1 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ReceivedMessage.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ReceivedMessage.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; /** @@ -62,6 +63,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.pubsub.v1.ReceivedMessage.Builder.class); } + private int bitField0_; public static final int ACK_ID_FIELD_NUMBER = 1; @SuppressWarnings("serial") @@ -129,7 +131,7 @@ public com.google.protobuf.ByteString getAckIdBytes() { */ @java.lang.Override public boolean hasMessage() { - return message_ != null; + return ((bitField0_ & 0x00000001) != 0); } /** * @@ -212,7 +214,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ackId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, ackId_); } - if (message_ != null) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(2, getMessage()); } if (deliveryAttempt_ != 0) { @@ -230,7 +232,7 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ackId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, ackId_); } - if (message_ != null) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getMessage()); } if (deliveryAttempt_ != 0) { @@ -404,10 +406,19 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } // Construct using com.google.pubsub.v1.ReceivedMessage.newBuilder() - private Builder() {} + private Builder() { + maybeForceBuilderInitialization(); + } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getMessageFieldBuilder(); + } } @java.lang.Override @@ -459,12 +470,15 @@ private void buildPartial0(com.google.pubsub.v1.ReceivedMessage result) { if (((from_bitField0_ & 0x00000001) != 0)) { result.ackId_ = ackId_; } + int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { result.message_ = messageBuilder_ == null ? message_ : messageBuilder_.build(); + to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { result.deliveryAttempt_ = deliveryAttempt_; } + result.bitField0_ |= to_bitField0_; } @java.lang.Override @@ -799,8 +813,10 @@ public Builder mergeMessage(com.google.pubsub.v1.PubsubMessage value) { } else { messageBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000002; - onChanged(); + if (message_ != null) { + bitField0_ |= 0x00000002; + onChanged(); + } return this; } /** diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ReceivedMessageOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ReceivedMessageOrBuilder.java index e8b2c0622..c264dbcff 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ReceivedMessageOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ReceivedMessageOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; public interface ReceivedMessageOrBuilder diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/RetryPolicy.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/RetryPolicy.java index 31375806d..1d732b864 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/RetryPolicy.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/RetryPolicy.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; /** @@ -68,6 +69,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.pubsub.v1.RetryPolicy.class, com.google.pubsub.v1.RetryPolicy.Builder.class); } + private int bitField0_; public static final int MINIMUM_BACKOFF_FIELD_NUMBER = 1; private com.google.protobuf.Duration minimumBackoff_; /** @@ -85,7 +87,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { */ @java.lang.Override public boolean hasMinimumBackoff() { - return minimumBackoff_ != null; + return ((bitField0_ & 0x00000001) != 0); } /** * @@ -142,7 +144,7 @@ public com.google.protobuf.DurationOrBuilder getMinimumBackoffOrBuilder() { */ @java.lang.Override public boolean hasMaximumBackoff() { - return maximumBackoff_ != null; + return ((bitField0_ & 0x00000002) != 0); } /** * @@ -197,10 +199,10 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (minimumBackoff_ != null) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getMinimumBackoff()); } - if (maximumBackoff_ != null) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(2, getMaximumBackoff()); } getUnknownFields().writeTo(output); @@ -212,10 +214,10 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (minimumBackoff_ != null) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getMinimumBackoff()); } - if (maximumBackoff_ != null) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getMaximumBackoff()); } size += getUnknownFields().getSerializedSize(); @@ -398,10 +400,20 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } // Construct using com.google.pubsub.v1.RetryPolicy.newBuilder() - private Builder() {} + private Builder() { + maybeForceBuilderInitialization(); + } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getMinimumBackoffFieldBuilder(); + getMaximumBackoffFieldBuilder(); + } } @java.lang.Override @@ -453,14 +465,18 @@ public com.google.pubsub.v1.RetryPolicy buildPartial() { private void buildPartial0(com.google.pubsub.v1.RetryPolicy result) { int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.minimumBackoff_ = minimumBackoffBuilder_ == null ? minimumBackoff_ : minimumBackoffBuilder_.build(); + to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.maximumBackoff_ = maximumBackoffBuilder_ == null ? maximumBackoff_ : maximumBackoffBuilder_.build(); + to_bitField0_ |= 0x00000002; } + result.bitField0_ |= to_bitField0_; } @java.lang.Override @@ -688,8 +704,10 @@ public Builder mergeMinimumBackoff(com.google.protobuf.Duration value) { } else { minimumBackoffBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000001; - onChanged(); + if (minimumBackoff_ != null) { + bitField0_ |= 0x00000001; + onChanged(); + } return this; } /** @@ -903,8 +921,10 @@ public Builder mergeMaximumBackoff(com.google.protobuf.Duration value) { } else { maximumBackoffBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000002; - onChanged(); + if (maximumBackoff_ != null) { + bitField0_ |= 0x00000002; + onChanged(); + } return this; } /** diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/RetryPolicyOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/RetryPolicyOrBuilder.java index 42cfa2210..243fada30 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/RetryPolicyOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/RetryPolicyOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; public interface RetryPolicyOrBuilder diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/RollbackSchemaRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/RollbackSchemaRequest.java index 3b9f46ddc..c35c26333 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/RollbackSchemaRequest.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/RollbackSchemaRequest.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/schema.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; /** diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/RollbackSchemaRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/RollbackSchemaRequestOrBuilder.java index 992986674..4ee8574d4 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/RollbackSchemaRequestOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/RollbackSchemaRequestOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/schema.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; public interface RollbackSchemaRequestOrBuilder diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Schema.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Schema.java index 1eef47c39..3966a39d4 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Schema.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Schema.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/schema.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; /** @@ -220,6 +221,7 @@ private Type(int value) { // @@protoc_insertion_point(enum_scope:google.pubsub.v1.Schema.Type) } + private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") @@ -434,7 +436,7 @@ public com.google.protobuf.ByteString getRevisionIdBytes() { */ @java.lang.Override public boolean hasRevisionCreateTime() { - return revisionCreateTime_ != null; + return ((bitField0_ & 0x00000001) != 0); } /** * @@ -499,7 +501,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(revisionId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, revisionId_); } - if (revisionCreateTime_ != null) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(6, getRevisionCreateTime()); } getUnknownFields().writeTo(output); @@ -523,7 +525,7 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(revisionId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, revisionId_); } - if (revisionCreateTime_ != null) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getRevisionCreateTime()); } size += getUnknownFields().getSerializedSize(); @@ -698,10 +700,19 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } // Construct using com.google.pubsub.v1.Schema.newBuilder() - private Builder() {} + private Builder() { + maybeForceBuilderInitialization(); + } private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getRevisionCreateTimeFieldBuilder(); + } } @java.lang.Override @@ -763,12 +774,15 @@ private void buildPartial0(com.google.pubsub.v1.Schema result) { if (((from_bitField0_ & 0x00000008) != 0)) { result.revisionId_ = revisionId_; } + int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000010) != 0)) { result.revisionCreateTime_ = revisionCreateTimeBuilder_ == null ? revisionCreateTime_ : revisionCreateTimeBuilder_.build(); + to_bitField0_ |= 0x00000001; } + result.bitField0_ |= to_bitField0_; } @java.lang.Override @@ -1457,8 +1471,10 @@ public Builder mergeRevisionCreateTime(com.google.protobuf.Timestamp value) { } else { revisionCreateTimeBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000010; - onChanged(); + if (revisionCreateTime_ != null) { + bitField0_ |= 0x00000010; + onChanged(); + } return this; } /** diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaName.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaName.java index 2d8968ddf..d4bb6fa5f 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaName.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaName.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaOrBuilder.java index d16516796..10e502b33 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/schema.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; public interface SchemaOrBuilder diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaProto.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaProto.java index d04c35cb0..a9aa77211 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaProto.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaProto.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/schema.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; public final class SchemaProto { @@ -101,107 +102,106 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\027google/api/client.proto\032\037google/api/fie" + "ld_behavior.proto\032\031google/api/resource.p" + "roto\032\033google/protobuf/empty.proto\032\037googl" - + "e/protobuf/timestamp.proto\"\276\002\n\006Schema\022\022\n" - + "\004name\030\001 \001(\tB\004\342A\001\002\022+\n\004type\030\002 \001(\0162\035.google" - + ".pubsub.v1.Schema.Type\022\022\n\ndefinition\030\003 \001" - + "(\t\022\032\n\013revision_id\030\004 \001(\tB\005\342A\002\005\003\022>\n\024revisi" + + "e/protobuf/timestamp.proto\"\275\002\n\006Schema\022\021\n" + + "\004name\030\001 \001(\tB\003\340A\002\022+\n\004type\030\002 \001(\0162\035.google." + + "pubsub.v1.Schema.Type\022\022\n\ndefinition\030\003 \001(" + + "\t\022\033\n\013revision_id\030\004 \001(\tB\006\340A\005\340A\003\022=\n\024revisi" + "on_create_time\030\006 \001(\0132\032.google.protobuf.T" - + "imestampB\004\342A\001\003\";\n\004Type\022\024\n\020TYPE_UNSPECIFI" - + "ED\020\000\022\023\n\017PROTOCOL_BUFFER\020\001\022\010\n\004AVRO\020\002:F\352AC" - + "\n\034pubsub.googleapis.com/Schema\022#projects" - + "/{project}/schemas/{schema}\"\217\001\n\023CreateSc" - + "hemaRequest\0225\n\006parent\030\001 \001(\tB%\342A\001\002\372A\036\022\034pu" - + "bsub.googleapis.com/Schema\022.\n\006schema\030\002 \001" - + "(\0132\030.google.pubsub.v1.SchemaB\004\342A\001\002\022\021\n\tsc" - + "hema_id\030\003 \001(\t\"s\n\020GetSchemaRequest\0223\n\004nam" - + "e\030\001 \001(\tB%\342A\001\002\372A\036\n\034pubsub.googleapis.com/" - + "Schema\022*\n\004view\030\002 \001(\0162\034.google.pubsub.v1." - + "SchemaView\"\255\001\n\022ListSchemasRequest\022D\n\006par" - + "ent\030\001 \001(\tB4\342A\001\002\372A-\n+cloudresourcemanager" - + ".googleapis.com/Project\022*\n\004view\030\002 \001(\0162\034." - + "google.pubsub.v1.SchemaView\022\021\n\tpage_size" - + "\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\"Y\n\023ListSchema" - + "sResponse\022)\n\007schemas\030\001 \003(\0132\030.google.pubs" - + "ub.v1.Schema\022\027\n\017next_page_token\030\002 \001(\t\"\244\001" - + "\n\032ListSchemaRevisionsRequest\0223\n\004name\030\001 \001" - + "(\tB%\342A\001\002\372A\036\n\034pubsub.googleapis.com/Schem" - + "a\022*\n\004view\030\002 \001(\0162\034.google.pubsub.v1.Schem" - + "aView\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_token\030\004" - + " \001(\t\"a\n\033ListSchemaRevisionsResponse\022)\n\007s" - + "chemas\030\001 \003(\0132\030.google.pubsub.v1.Schema\022\027" - + "\n\017next_page_token\030\002 \001(\t\"z\n\023CommitSchemaR" - + "equest\0223\n\004name\030\001 \001(\tB%\342A\001\002\372A\036\n\034pubsub.go" - + "ogleapis.com/Schema\022.\n\006schema\030\002 \001(\0132\030.go" - + "ogle.pubsub.v1.SchemaB\004\342A\001\002\"g\n\025RollbackS" - + "chemaRequest\0223\n\004name\030\001 \001(\tB%\342A\001\002\372A\036\n\034pub" - + "sub.googleapis.com/Schema\022\031\n\013revision_id" - + "\030\002 \001(\tB\004\342A\001\002\"o\n\033DeleteSchemaRevisionRequ" - + "est\0223\n\004name\030\001 \001(\tB%\342A\001\002\372A\036\n\034pubsub.googl" - + "eapis.com/Schema\022\033\n\013revision_id\030\002 \001(\tB\006\030" - + "\001\342A\001\001\"J\n\023DeleteSchemaRequest\0223\n\004name\030\001 \001" - + "(\tB%\342A\001\002\372A\036\n\034pubsub.googleapis.com/Schem" - + "a\"\215\001\n\025ValidateSchemaRequest\022D\n\006parent\030\001 " - + "\001(\tB4\342A\001\002\372A-\n+cloudresourcemanager.googl" - + "eapis.com/Project\022.\n\006schema\030\002 \001(\0132\030.goog" - + "le.pubsub.v1.SchemaB\004\342A\001\002\"\030\n\026ValidateSch" - + "emaResponse\"\213\002\n\026ValidateMessageRequest\022D" - + "\n\006parent\030\001 \001(\tB4\342A\001\002\372A-\n+cloudresourcema" - + "nager.googleapis.com/Project\0221\n\004name\030\002 \001" - + "(\tB!\372A\036\n\034pubsub.googleapis.com/SchemaH\000\022" - + "*\n\006schema\030\003 \001(\0132\030.google.pubsub.v1.Schem" - + "aH\000\022\017\n\007message\030\004 \001(\014\022,\n\010encoding\030\005 \001(\0162\032" - + ".google.pubsub.v1.EncodingB\r\n\013schema_spe" - + "c\"\031\n\027ValidateMessageResponse*>\n\nSchemaVi" - + "ew\022\033\n\027SCHEMA_VIEW_UNSPECIFIED\020\000\022\t\n\005BASIC" - + "\020\001\022\010\n\004FULL\020\002*:\n\010Encoding\022\030\n\024ENCODING_UNS" - + "PECIFIED\020\000\022\010\n\004JSON\020\001\022\n\n\006BINARY\020\0022\210\r\n\rSch" - + "emaService\022\232\001\n\014CreateSchema\022%.google.pub" - + "sub.v1.CreateSchemaRequest\032\030.google.pubs" - + "ub.v1.Schema\"I\332A\027parent,schema,schema_id" - + "\202\323\344\223\002)\"\037/v1/{parent=projects/*}/schemas:" - + "\006schema\022y\n\tGetSchema\022\".google.pubsub.v1." - + "GetSchemaRequest\032\030.google.pubsub.v1.Sche" - + "ma\".\332A\004name\202\323\344\223\002!\022\037/v1/{name=projects/*/" - + "schemas/*}\022\214\001\n\013ListSchemas\022$.google.pubs" - + "ub.v1.ListSchemasRequest\032%.google.pubsub" - + ".v1.ListSchemasResponse\"0\332A\006parent\202\323\344\223\002!" - + "\022\037/v1/{parent=projects/*}/schemas\022\260\001\n\023Li" - + "stSchemaRevisions\022,.google.pubsub.v1.Lis" - + "tSchemaRevisionsRequest\032-.google.pubsub." - + "v1.ListSchemaRevisionsResponse\"<\332A\004name\202" - + "\323\344\223\002/\022-/v1/{name=projects/*/schemas/*}:l" - + "istRevisions\022\220\001\n\014CommitSchema\022%.google.p" - + "ubsub.v1.CommitSchemaRequest\032\030.google.pu" - + "bsub.v1.Schema\"?\332A\013name,schema\202\323\344\223\002+\"&/v" - + "1/{name=projects/*/schemas/*}:commit:\001*\022" - + "\233\001\n\016RollbackSchema\022\'.google.pubsub.v1.Ro" - + "llbackSchemaRequest\032\030.google.pubsub.v1.S" - + "chema\"F\332A\020name,revision_id\202\323\344\223\002-\"(/v1/{n" - + "ame=projects/*/schemas/*}:rollback:\001*\022\252\001" - + "\n\024DeleteSchemaRevision\022-.google.pubsub.v" - + "1.DeleteSchemaRevisionRequest\032\030.google.p" - + "ubsub.v1.Schema\"I\332A\020name,revision_id\202\323\344\223" - + "\0020*./v1/{name=projects/*/schemas/*}:dele" - + "teRevision\022}\n\014DeleteSchema\022%.google.pubs" - + "ub.v1.DeleteSchemaRequest\032\026.google.proto" - + "buf.Empty\".\332A\004name\202\323\344\223\002!*\037/v1/{name=proj" - + "ects/*/schemas/*}\022\250\001\n\016ValidateSchema\022\'.g" - + "oogle.pubsub.v1.ValidateSchemaRequest\032(." - + "google.pubsub.v1.ValidateSchemaResponse\"" - + "C\332A\rparent,schema\202\323\344\223\002-\"(/v1/{parent=pro" - + "jects/*}/schemas:validate:\001*\022\242\001\n\017Validat" - + "eMessage\022(.google.pubsub.v1.ValidateMess" - + "ageRequest\032).google.pubsub.v1.ValidateMe" - + "ssageResponse\":\202\323\344\223\0024\"//v1/{parent=proje" - + "cts/*}/schemas:validateMessage:\001*\032p\312A\025pu" - + "bsub.googleapis.com\322AUhttps://www.google" - + "apis.com/auth/cloud-platform,https://www" - + ".googleapis.com/auth/pubsubB\252\001\n\024com.goog" - + "le.pubsub.v1B\013SchemaProtoP\001Z2cloud.googl" - + "e.com/go/pubsub/apiv1/pubsubpb;pubsubpb\370" - + "\001\001\252\002\026Google.Cloud.PubSub.V1\312\002\026Google\\Clo" - + "ud\\PubSub\\V1\352\002\031Google::Cloud::PubSub::V1" - + "b\006proto3" + + "imestampB\003\340A\003\";\n\004Type\022\024\n\020TYPE_UNSPECIFIE" + + "D\020\000\022\023\n\017PROTOCOL_BUFFER\020\001\022\010\n\004AVRO\020\002:F\352AC\n" + + "\034pubsub.googleapis.com/Schema\022#projects/" + + "{project}/schemas/{schema}\"\215\001\n\023CreateSch" + + "emaRequest\0224\n\006parent\030\001 \001(\tB$\340A\002\372A\036\022\034pubs" + + "ub.googleapis.com/Schema\022-\n\006schema\030\002 \001(\013" + + "2\030.google.pubsub.v1.SchemaB\003\340A\002\022\021\n\tschem" + + "a_id\030\003 \001(\t\"r\n\020GetSchemaRequest\0222\n\004name\030\001" + + " \001(\tB$\340A\002\372A\036\n\034pubsub.googleapis.com/Sche" + + "ma\022*\n\004view\030\002 \001(\0162\034.google.pubsub.v1.Sche" + + "maView\"\254\001\n\022ListSchemasRequest\022C\n\006parent\030" + + "\001 \001(\tB3\340A\002\372A-\n+cloudresourcemanager.goog" + + "leapis.com/Project\022*\n\004view\030\002 \001(\0162\034.googl" + + "e.pubsub.v1.SchemaView\022\021\n\tpage_size\030\003 \001(" + + "\005\022\022\n\npage_token\030\004 \001(\t\"Y\n\023ListSchemasResp" + + "onse\022)\n\007schemas\030\001 \003(\0132\030.google.pubsub.v1" + + ".Schema\022\027\n\017next_page_token\030\002 \001(\t\"\243\001\n\032Lis" + + "tSchemaRevisionsRequest\0222\n\004name\030\001 \001(\tB$\340" + + "A\002\372A\036\n\034pubsub.googleapis.com/Schema\022*\n\004v" + + "iew\030\002 \001(\0162\034.google.pubsub.v1.SchemaView\022" + + "\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\"a" + + "\n\033ListSchemaRevisionsResponse\022)\n\007schemas" + + "\030\001 \003(\0132\030.google.pubsub.v1.Schema\022\027\n\017next" + + "_page_token\030\002 \001(\t\"x\n\023CommitSchemaRequest" + + "\0222\n\004name\030\001 \001(\tB$\340A\002\372A\036\n\034pubsub.googleapi" + + "s.com/Schema\022-\n\006schema\030\002 \001(\0132\030.google.pu" + + "bsub.v1.SchemaB\003\340A\002\"e\n\025RollbackSchemaReq" + + "uest\0222\n\004name\030\001 \001(\tB$\340A\002\372A\036\n\034pubsub.googl" + + "eapis.com/Schema\022\030\n\013revision_id\030\002 \001(\tB\003\340" + + "A\002\"m\n\033DeleteSchemaRevisionRequest\0222\n\004nam" + + "e\030\001 \001(\tB$\340A\002\372A\036\n\034pubsub.googleapis.com/S" + + "chema\022\032\n\013revision_id\030\002 \001(\tB\005\030\001\340A\001\"I\n\023Del" + + "eteSchemaRequest\0222\n\004name\030\001 \001(\tB$\340A\002\372A\036\n\034" + + "pubsub.googleapis.com/Schema\"\213\001\n\025Validat" + + "eSchemaRequest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\n+" + + "cloudresourcemanager.googleapis.com/Proj" + + "ect\022-\n\006schema\030\002 \001(\0132\030.google.pubsub.v1.S" + + "chemaB\003\340A\002\"\030\n\026ValidateSchemaResponse\"\212\002\n" + + "\026ValidateMessageRequest\022C\n\006parent\030\001 \001(\tB" + + "3\340A\002\372A-\n+cloudresourcemanager.googleapis" + + ".com/Project\0221\n\004name\030\002 \001(\tB!\372A\036\n\034pubsub." + + "googleapis.com/SchemaH\000\022*\n\006schema\030\003 \001(\0132" + + "\030.google.pubsub.v1.SchemaH\000\022\017\n\007message\030\004" + + " \001(\014\022,\n\010encoding\030\005 \001(\0162\032.google.pubsub.v" + + "1.EncodingB\r\n\013schema_spec\"\031\n\027ValidateMes" + + "sageResponse*>\n\nSchemaView\022\033\n\027SCHEMA_VIE" + + "W_UNSPECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\002*:\n\010" + + "Encoding\022\030\n\024ENCODING_UNSPECIFIED\020\000\022\010\n\004JS" + + "ON\020\001\022\n\n\006BINARY\020\0022\210\r\n\rSchemaService\022\232\001\n\014C" + + "reateSchema\022%.google.pubsub.v1.CreateSch" + + "emaRequest\032\030.google.pubsub.v1.Schema\"I\332A" + + "\027parent,schema,schema_id\202\323\344\223\002)\"\037/v1/{par" + + "ent=projects/*}/schemas:\006schema\022y\n\tGetSc" + + "hema\022\".google.pubsub.v1.GetSchemaRequest" + + "\032\030.google.pubsub.v1.Schema\".\332A\004name\202\323\344\223\002" + + "!\022\037/v1/{name=projects/*/schemas/*}\022\214\001\n\013L" + + "istSchemas\022$.google.pubsub.v1.ListSchema" + + "sRequest\032%.google.pubsub.v1.ListSchemasR" + + "esponse\"0\332A\006parent\202\323\344\223\002!\022\037/v1/{parent=pr" + + "ojects/*}/schemas\022\260\001\n\023ListSchemaRevision" + + "s\022,.google.pubsub.v1.ListSchemaRevisions" + + "Request\032-.google.pubsub.v1.ListSchemaRev" + + "isionsResponse\"<\332A\004name\202\323\344\223\002/\022-/v1/{name" + + "=projects/*/schemas/*}:listRevisions\022\220\001\n" + + "\014CommitSchema\022%.google.pubsub.v1.CommitS" + + "chemaRequest\032\030.google.pubsub.v1.Schema\"?" + + "\332A\013name,schema\202\323\344\223\002+\"&/v1/{name=projects" + + "/*/schemas/*}:commit:\001*\022\233\001\n\016RollbackSche" + + "ma\022\'.google.pubsub.v1.RollbackSchemaRequ" + + "est\032\030.google.pubsub.v1.Schema\"F\332A\020name,r" + + "evision_id\202\323\344\223\002-\"(/v1/{name=projects/*/s" + + "chemas/*}:rollback:\001*\022\252\001\n\024DeleteSchemaRe" + + "vision\022-.google.pubsub.v1.DeleteSchemaRe" + + "visionRequest\032\030.google.pubsub.v1.Schema\"" + + "I\332A\020name,revision_id\202\323\344\223\0020*./v1/{name=pr" + + "ojects/*/schemas/*}:deleteRevision\022}\n\014De" + + "leteSchema\022%.google.pubsub.v1.DeleteSche" + + "maRequest\032\026.google.protobuf.Empty\".\332A\004na" + + "me\202\323\344\223\002!*\037/v1/{name=projects/*/schemas/*" + + "}\022\250\001\n\016ValidateSchema\022\'.google.pubsub.v1." + + "ValidateSchemaRequest\032(.google.pubsub.v1" + + ".ValidateSchemaResponse\"C\332A\rparent,schem" + + "a\202\323\344\223\002-\"(/v1/{parent=projects/*}/schemas" + + ":validate:\001*\022\242\001\n\017ValidateMessage\022(.googl" + + "e.pubsub.v1.ValidateMessageRequest\032).goo" + + "gle.pubsub.v1.ValidateMessageResponse\":\202" + + "\323\344\223\0024\"//v1/{parent=projects/*}/schemas:v" + + "alidateMessage:\001*\032p\312A\025pubsub.googleapis." + + "com\322AUhttps://www.googleapis.com/auth/cl" + + "oud-platform,https://www.googleapis.com/" + + "auth/pubsubB\252\001\n\024com.google.pubsub.v1B\013Sc" + + "hemaProtoP\001Z2cloud.google.com/go/pubsub/" + + "apiv1/pubsubpb;pubsubpb\370\001\001\252\002\026Google.Clou" + + "d.PubSub.V1\312\002\026Google\\Cloud\\PubSub\\V1\352\002\031G" + + "oogle::Cloud::PubSub::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaSettings.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaSettings.java index fdf613987..6542c6f6a 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaSettings.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaSettings.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; /** diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaSettingsOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaSettingsOrBuilder.java index 19823f45f..22df58e9d 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaSettingsOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaSettingsOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; public interface SchemaSettingsOrBuilder diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaView.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaView.java index 80ca623eb..83354637b 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaView.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaView.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/schema.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; /** diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SeekRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SeekRequest.java index 6e6d5f347..732adf8b5 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SeekRequest.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SeekRequest.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; /** diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SeekRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SeekRequestOrBuilder.java index 54a98d0d9..0b5968b3e 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SeekRequestOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SeekRequestOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; public interface SeekRequestOrBuilder diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SeekResponse.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SeekResponse.java index de422ae44..e7ff73bf5 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SeekResponse.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SeekResponse.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; /** diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SeekResponseOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SeekResponseOrBuilder.java index 0ad90788f..78d0e1c4c 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SeekResponseOrBuilder.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SeekResponseOrBuilder.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; public interface SeekResponseOrBuilder diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Snapshot.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Snapshot.java index ac68f828d..61ed093bc 100644 --- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Snapshot.java +++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Snapshot.java @@ -16,6 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/pubsub/v1/pubsub.proto +// Protobuf Java Version: 3.25.2 package com.google.pubsub.v1; /** @@ -58,7 +59,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( + int number) { switch (number) { case 4: return internalGetLabels(); @@ -76,6 +78,7 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { com.google.pubsub.v1.Snapshot.class, com.google.pubsub.v1.Snapshot.Builder.class); } + private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") @@ -209,7 +212,7 @@ public com.google.protobuf.ByteString getTopicBytes() { */ @java.lang.Override public boolean hasExpireTime() { - return expireTime_ != null; + return ((bitField0_ & 0x00000001) != 0); } /** * @@ -386,7 +389,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(topic_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, topic_); } - if (expireTime_ != null) { + if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(3, getExpireTime()); } com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( @@ -406,7 +409,7 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(topic_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, topic_); } - if (expireTime_ != null) { + if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getExpireTime()); } for (java.util.Map.Entry
- * Optional. Settings for managed ingestion from a data source into this - * topic. + * Optional. Settings for ingestion from a data source into this topic. ** *
@@ -729,14 +731,13 @@ public com.google.pubsub.v1.Topic.State getState() {
*/
@java.lang.Override
public boolean hasIngestionDataSourceSettings() {
- return ingestionDataSourceSettings_ != null;
+ return ((bitField0_ & 0x00000008) != 0);
}
/**
*
*
*
- * Optional. Settings for managed ingestion from a data source into this
- * topic.
+ * Optional. Settings for ingestion from a data source into this topic.
*
*
*
@@ -755,8 +756,7 @@ public com.google.pubsub.v1.IngestionDataSourceSettings getIngestionDataSourceSe
*
*
*
- * Optional. Settings for managed ingestion from a data source into this
- * topic.
+ * Optional. Settings for ingestion from a data source into this topic.
*
*
*
@@ -790,25 +790,25 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
}
com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 2);
- if (messageStoragePolicy_ != null) {
+ if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(3, getMessageStoragePolicy());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, kmsKeyName_);
}
- if (schemaSettings_ != null) {
+ if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(6, getSchemaSettings());
}
if (satisfiesPzs_ != false) {
output.writeBool(7, satisfiesPzs_);
}
- if (messageRetentionDuration_ != null) {
+ if (((bitField0_ & 0x00000004) != 0)) {
output.writeMessage(8, getMessageRetentionDuration());
}
if (state_ != com.google.pubsub.v1.Topic.State.STATE_UNSPECIFIED.getNumber()) {
output.writeEnum(9, state_);
}
- if (ingestionDataSourceSettings_ != null) {
+ if (((bitField0_ & 0x00000008) != 0)) {
output.writeMessage(10, getIngestionDataSourceSettings());
}
getUnknownFields().writeTo(output);
@@ -833,20 +833,20 @@ public int getSerializedSize() {
.build();
size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, labels__);
}
- if (messageStoragePolicy_ != null) {
+ if (((bitField0_ & 0x00000001) != 0)) {
size +=
com.google.protobuf.CodedOutputStream.computeMessageSize(3, getMessageStoragePolicy());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, kmsKeyName_);
}
- if (schemaSettings_ != null) {
+ if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getSchemaSettings());
}
if (satisfiesPzs_ != false) {
size += com.google.protobuf.CodedOutputStream.computeBoolSize(7, satisfiesPzs_);
}
- if (messageRetentionDuration_ != null) {
+ if (((bitField0_ & 0x00000004) != 0)) {
size +=
com.google.protobuf.CodedOutputStream.computeMessageSize(
8, getMessageRetentionDuration());
@@ -854,7 +854,7 @@ public int getSerializedSize() {
if (state_ != com.google.pubsub.v1.Topic.State.STATE_UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream.computeEnumSize(9, state_);
}
- if (ingestionDataSourceSettings_ != null) {
+ if (((bitField0_ & 0x00000008) != 0)) {
size +=
com.google.protobuf.CodedOutputStream.computeMessageSize(
10, getIngestionDataSourceSettings());
@@ -1052,7 +1052,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
@SuppressWarnings({"rawtypes"})
- protected com.google.protobuf.MapField internalGetMapField(int number) {
+ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
+ int number) {
switch (number) {
case 2:
return internalGetLabels();
@@ -1062,7 +1063,8 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
}
@SuppressWarnings({"rawtypes"})
- protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
+ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(
+ int number) {
switch (number) {
case 2:
return internalGetMutableLabels();
@@ -1081,10 +1083,22 @@ protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
}
// Construct using com.google.pubsub.v1.Topic.newBuilder()
- private Builder() {}
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
+ maybeForceBuilderInitialization();
+ }
+
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+ getMessageStoragePolicyFieldBuilder();
+ getSchemaSettingsFieldBuilder();
+ getMessageRetentionDurationFieldBuilder();
+ getIngestionDataSourceSettingsFieldBuilder();
+ }
}
@java.lang.Override
@@ -1157,11 +1171,13 @@ private void buildPartial0(com.google.pubsub.v1.Topic result) {
result.labels_ = internalGetLabels();
result.labels_.makeImmutable();
}
+ int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000004) != 0)) {
result.messageStoragePolicy_ =
messageStoragePolicyBuilder_ == null
? messageStoragePolicy_
: messageStoragePolicyBuilder_.build();
+ to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.kmsKeyName_ = kmsKeyName_;
@@ -1169,6 +1185,7 @@ private void buildPartial0(com.google.pubsub.v1.Topic result) {
if (((from_bitField0_ & 0x00000010) != 0)) {
result.schemaSettings_ =
schemaSettingsBuilder_ == null ? schemaSettings_ : schemaSettingsBuilder_.build();
+ to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.satisfiesPzs_ = satisfiesPzs_;
@@ -1178,6 +1195,7 @@ private void buildPartial0(com.google.pubsub.v1.Topic result) {
messageRetentionDurationBuilder_ == null
? messageRetentionDuration_
: messageRetentionDurationBuilder_.build();
+ to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000080) != 0)) {
result.state_ = state_;
@@ -1187,7 +1205,9 @@ private void buildPartial0(com.google.pubsub.v1.Topic result) {
ingestionDataSourceSettingsBuilder_ == null
? ingestionDataSourceSettings_
: ingestionDataSourceSettingsBuilder_.build();
+ to_bitField0_ |= 0x00000008;
}
+ result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
@@ -1798,8 +1818,10 @@ public Builder mergeMessageStoragePolicy(com.google.pubsub.v1.MessageStoragePoli
} else {
messageStoragePolicyBuilder_.mergeFrom(value);
}
- bitField0_ |= 0x00000004;
- onChanged();
+ if (messageStoragePolicy_ != null) {
+ bitField0_ |= 0x00000004;
+ onChanged();
+ }
return this;
}
/**
@@ -2128,8 +2150,10 @@ public Builder mergeSchemaSettings(com.google.pubsub.v1.SchemaSettings value) {
} else {
schemaSettingsBuilder_.mergeFrom(value);
}
- bitField0_ |= 0x00000010;
- onChanged();
+ if (schemaSettings_ != null) {
+ bitField0_ |= 0x00000010;
+ onChanged();
+ }
return this;
}
/**
@@ -2426,8 +2450,10 @@ public Builder mergeMessageRetentionDuration(com.google.protobuf.Duration value)
} else {
messageRetentionDurationBuilder_.mergeFrom(value);
}
- bitField0_ |= 0x00000040;
- onChanged();
+ if (messageRetentionDuration_ != null) {
+ bitField0_ |= 0x00000040;
+ onChanged();
+ }
return this;
}
/**
@@ -2651,8 +2677,7 @@ public Builder clearState() {
*
*
*
- * Optional. Settings for managed ingestion from a data source into this
- * topic.
+ * Optional. Settings for ingestion from a data source into this topic.
*
*
*
@@ -2668,8 +2693,7 @@ public boolean hasIngestionDataSourceSettings() {
*
*
*
- * Optional. Settings for managed ingestion from a data source into this
- * topic.
+ * Optional. Settings for ingestion from a data source into this topic.
*
*
*
@@ -2691,8 +2715,7 @@ public com.google.pubsub.v1.IngestionDataSourceSettings getIngestionDataSourceSe
*
*
*
- * Optional. Settings for managed ingestion from a data source into this
- * topic.
+ * Optional. Settings for ingestion from a data source into this topic.
*
*
*
@@ -2717,8 +2740,7 @@ public Builder setIngestionDataSourceSettings(
*
*
*
- * Optional. Settings for managed ingestion from a data source into this
- * topic.
+ * Optional. Settings for ingestion from a data source into this topic.
*
*
*
@@ -2740,8 +2762,7 @@ public Builder setIngestionDataSourceSettings(
*
*
*
- * Optional. Settings for managed ingestion from a data source into this
- * topic.
+ * Optional. Settings for ingestion from a data source into this topic.
*
*
*
@@ -2762,16 +2783,17 @@ public Builder mergeIngestionDataSourceSettings(
} else {
ingestionDataSourceSettingsBuilder_.mergeFrom(value);
}
- bitField0_ |= 0x00000100;
- onChanged();
+ if (ingestionDataSourceSettings_ != null) {
+ bitField0_ |= 0x00000100;
+ onChanged();
+ }
return this;
}
/**
*
*
*
- * Optional. Settings for managed ingestion from a data source into this
- * topic.
+ * Optional. Settings for ingestion from a data source into this topic.
*
*
*
@@ -2792,8 +2814,7 @@ public Builder clearIngestionDataSourceSettings() {
*
*
*
- * Optional. Settings for managed ingestion from a data source into this
- * topic.
+ * Optional. Settings for ingestion from a data source into this topic.
*
*
*
@@ -2810,8 +2831,7 @@ public Builder clearIngestionDataSourceSettings() {
*
*
*
- * Optional. Settings for managed ingestion from a data source into this
- * topic.
+ * Optional. Settings for ingestion from a data source into this topic.
*
*
*
@@ -2832,8 +2852,7 @@ public Builder clearIngestionDataSourceSettings() {
*
*
*
- * Optional. Settings for managed ingestion from a data source into this
- * topic.
+ * Optional. Settings for ingestion from a data source into this topic.
*
*
*
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/TopicName.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/TopicName.java
index 6fc356a2b..abae4f031 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/TopicName.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/TopicName.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2023 Google LLC
+ * Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/TopicOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/TopicOrBuilder.java
index a644cc313..0e44025b4 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/TopicOrBuilder.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/TopicOrBuilder.java
@@ -16,6 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/pubsub.proto
+// Protobuf Java Version: 3.25.2
package com.google.pubsub.v1;
public interface TopicOrBuilder
@@ -350,8 +351,7 @@ java.lang.String getLabelsOrDefault(
*
*
*
- * Optional. Settings for managed ingestion from a data source into this
- * topic.
+ * Optional. Settings for ingestion from a data source into this topic.
*
*
*
@@ -365,8 +365,7 @@ java.lang.String getLabelsOrDefault(
*
*
*
- * Optional. Settings for managed ingestion from a data source into this
- * topic.
+ * Optional. Settings for ingestion from a data source into this topic.
*
*
*
@@ -380,8 +379,7 @@ java.lang.String getLabelsOrDefault(
*
*
*
- * Optional. Settings for managed ingestion from a data source into this
- * topic.
+ * Optional. Settings for ingestion from a data source into this topic.
*
*
*
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateSnapshotRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateSnapshotRequest.java
index 19b2ed7aa..69e80a838 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateSnapshotRequest.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateSnapshotRequest.java
@@ -16,6 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/pubsub.proto
+// Protobuf Java Version: 3.25.2
package com.google.pubsub.v1;
/**
@@ -60,6 +61,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.pubsub.v1.UpdateSnapshotRequest.Builder.class);
}
+ private int bitField0_;
public static final int SNAPSHOT_FIELD_NUMBER = 1;
private com.google.pubsub.v1.Snapshot snapshot_;
/**
@@ -75,7 +77,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*/
@java.lang.Override
public boolean hasSnapshot() {
- return snapshot_ != null;
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
*
@@ -123,7 +125,7 @@ public com.google.pubsub.v1.SnapshotOrBuilder getSnapshotOrBuilder() {
*/
@java.lang.Override
public boolean hasUpdateMask() {
- return updateMask_ != null;
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
*
@@ -172,10 +174,10 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (snapshot_ != null) {
+ if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getSnapshot());
}
- if (updateMask_ != null) {
+ if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(2, getUpdateMask());
}
getUnknownFields().writeTo(output);
@@ -187,10 +189,10 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (snapshot_ != null) {
+ if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getSnapshot());
}
- if (updateMask_ != null) {
+ if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
}
size += getUnknownFields().getSerializedSize();
@@ -365,10 +367,20 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
// Construct using com.google.pubsub.v1.UpdateSnapshotRequest.newBuilder()
- private Builder() {}
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
+ maybeForceBuilderInitialization();
+ }
+
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+ getSnapshotFieldBuilder();
+ getUpdateMaskFieldBuilder();
+ }
}
@java.lang.Override
@@ -421,12 +433,16 @@ public com.google.pubsub.v1.UpdateSnapshotRequest buildPartial() {
private void buildPartial0(com.google.pubsub.v1.UpdateSnapshotRequest result) {
int from_bitField0_ = bitField0_;
+ int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.snapshot_ = snapshotBuilder_ == null ? snapshot_ : snapshotBuilder_.build();
+ to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build();
+ to_bitField0_ |= 0x00000002;
}
+ result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
@@ -642,8 +658,10 @@ public Builder mergeSnapshot(com.google.pubsub.v1.Snapshot value) {
} else {
snapshotBuilder_.mergeFrom(value);
}
- bitField0_ |= 0x00000001;
- onChanged();
+ if (snapshot_ != null) {
+ bitField0_ |= 0x00000001;
+ onChanged();
+ }
return this;
}
/**
@@ -837,8 +855,10 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
} else {
updateMaskBuilder_.mergeFrom(value);
}
- bitField0_ |= 0x00000002;
- onChanged();
+ if (updateMask_ != null) {
+ bitField0_ |= 0x00000002;
+ onChanged();
+ }
return this;
}
/**
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateSnapshotRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateSnapshotRequestOrBuilder.java
index 442f147ed..daf1d090a 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateSnapshotRequestOrBuilder.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateSnapshotRequestOrBuilder.java
@@ -16,6 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/pubsub.proto
+// Protobuf Java Version: 3.25.2
package com.google.pubsub.v1;
public interface UpdateSnapshotRequestOrBuilder
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateSubscriptionRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateSubscriptionRequest.java
index 744e91a07..7f71bf3ac 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateSubscriptionRequest.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateSubscriptionRequest.java
@@ -16,6 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/pubsub.proto
+// Protobuf Java Version: 3.25.2
package com.google.pubsub.v1;
/**
@@ -60,6 +61,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.pubsub.v1.UpdateSubscriptionRequest.Builder.class);
}
+ private int bitField0_;
public static final int SUBSCRIPTION_FIELD_NUMBER = 1;
private com.google.pubsub.v1.Subscription subscription_;
/**
@@ -77,7 +79,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*/
@java.lang.Override
public boolean hasSubscription() {
- return subscription_ != null;
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
*
@@ -133,7 +135,7 @@ public com.google.pubsub.v1.SubscriptionOrBuilder getSubscriptionOrBuilder() {
*/
@java.lang.Override
public boolean hasUpdateMask() {
- return updateMask_ != null;
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
*
@@ -182,10 +184,10 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (subscription_ != null) {
+ if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getSubscription());
}
- if (updateMask_ != null) {
+ if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(2, getUpdateMask());
}
getUnknownFields().writeTo(output);
@@ -197,10 +199,10 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (subscription_ != null) {
+ if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getSubscription());
}
- if (updateMask_ != null) {
+ if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
}
size += getUnknownFields().getSerializedSize();
@@ -375,10 +377,20 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
// Construct using com.google.pubsub.v1.UpdateSubscriptionRequest.newBuilder()
- private Builder() {}
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
+ maybeForceBuilderInitialization();
+ }
+
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+ getSubscriptionFieldBuilder();
+ getUpdateMaskFieldBuilder();
+ }
}
@java.lang.Override
@@ -431,13 +443,17 @@ public com.google.pubsub.v1.UpdateSubscriptionRequest buildPartial() {
private void buildPartial0(com.google.pubsub.v1.UpdateSubscriptionRequest result) {
int from_bitField0_ = bitField0_;
+ int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.subscription_ =
subscriptionBuilder_ == null ? subscription_ : subscriptionBuilder_.build();
+ to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build();
+ to_bitField0_ |= 0x00000002;
}
+ result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
@@ -660,8 +676,10 @@ public Builder mergeSubscription(com.google.pubsub.v1.Subscription value) {
} else {
subscriptionBuilder_.mergeFrom(value);
}
- bitField0_ |= 0x00000001;
- onChanged();
+ if (subscription_ != null) {
+ bitField0_ |= 0x00000001;
+ onChanged();
+ }
return this;
}
/**
@@ -861,8 +879,10 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
} else {
updateMaskBuilder_.mergeFrom(value);
}
- bitField0_ |= 0x00000002;
- onChanged();
+ if (updateMask_ != null) {
+ bitField0_ |= 0x00000002;
+ onChanged();
+ }
return this;
}
/**
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateSubscriptionRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateSubscriptionRequestOrBuilder.java
index d812038a4..9904952bf 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateSubscriptionRequestOrBuilder.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateSubscriptionRequestOrBuilder.java
@@ -16,6 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/pubsub.proto
+// Protobuf Java Version: 3.25.2
package com.google.pubsub.v1;
public interface UpdateSubscriptionRequestOrBuilder
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateTopicRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateTopicRequest.java
index 415a8fa8f..5ce3a927d 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateTopicRequest.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateTopicRequest.java
@@ -16,6 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/pubsub.proto
+// Protobuf Java Version: 3.25.2
package com.google.pubsub.v1;
/**
@@ -60,6 +61,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.pubsub.v1.UpdateTopicRequest.Builder.class);
}
+ private int bitField0_;
public static final int TOPIC_FIELD_NUMBER = 1;
private com.google.pubsub.v1.Topic topic_;
/**
@@ -75,7 +77,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*/
@java.lang.Override
public boolean hasTopic() {
- return topic_ != null;
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
*
@@ -126,7 +128,7 @@ public com.google.pubsub.v1.TopicOrBuilder getTopicOrBuilder() {
*/
@java.lang.Override
public boolean hasUpdateMask() {
- return updateMask_ != null;
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
*
@@ -181,10 +183,10 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (topic_ != null) {
+ if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getTopic());
}
- if (updateMask_ != null) {
+ if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(2, getUpdateMask());
}
getUnknownFields().writeTo(output);
@@ -196,10 +198,10 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (topic_ != null) {
+ if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTopic());
}
- if (updateMask_ != null) {
+ if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
}
size += getUnknownFields().getSerializedSize();
@@ -373,10 +375,20 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
// Construct using com.google.pubsub.v1.UpdateTopicRequest.newBuilder()
- private Builder() {}
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
+ maybeForceBuilderInitialization();
+ }
+
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+ getTopicFieldBuilder();
+ getUpdateMaskFieldBuilder();
+ }
}
@java.lang.Override
@@ -429,12 +441,16 @@ public com.google.pubsub.v1.UpdateTopicRequest buildPartial() {
private void buildPartial0(com.google.pubsub.v1.UpdateTopicRequest result) {
int from_bitField0_ = bitField0_;
+ int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.topic_ = topicBuilder_ == null ? topic_ : topicBuilder_.build();
+ to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build();
+ to_bitField0_ |= 0x00000002;
}
+ result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
@@ -645,8 +661,10 @@ public Builder mergeTopic(com.google.pubsub.v1.Topic value) {
} else {
topicBuilder_.mergeFrom(value);
}
- bitField0_ |= 0x00000001;
- onChanged();
+ if (topic_ != null) {
+ bitField0_ |= 0x00000001;
+ onChanged();
+ }
return this;
}
/**
@@ -850,8 +868,10 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
} else {
updateMaskBuilder_.mergeFrom(value);
}
- bitField0_ |= 0x00000002;
- onChanged();
+ if (updateMask_ != null) {
+ bitField0_ |= 0x00000002;
+ onChanged();
+ }
return this;
}
/**
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateTopicRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateTopicRequestOrBuilder.java
index 825ab31fd..024f90ccc 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateTopicRequestOrBuilder.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateTopicRequestOrBuilder.java
@@ -16,6 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/pubsub.proto
+// Protobuf Java Version: 3.25.2
package com.google.pubsub.v1;
public interface UpdateTopicRequestOrBuilder
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateMessageRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateMessageRequest.java
index fb823741c..8b0bc262a 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateMessageRequest.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateMessageRequest.java
@@ -16,6 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/schema.proto
+// Protobuf Java Version: 3.25.2
package com.google.pubsub.v1;
/**
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateMessageRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateMessageRequestOrBuilder.java
index f4d4702b2..18436cb2d 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateMessageRequestOrBuilder.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateMessageRequestOrBuilder.java
@@ -16,6 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/schema.proto
+// Protobuf Java Version: 3.25.2
package com.google.pubsub.v1;
public interface ValidateMessageRequestOrBuilder
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateMessageResponse.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateMessageResponse.java
index e56de6312..77c2d1c4d 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateMessageResponse.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateMessageResponse.java
@@ -16,6 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/schema.proto
+// Protobuf Java Version: 3.25.2
package com.google.pubsub.v1;
/**
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateMessageResponseOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateMessageResponseOrBuilder.java
index b20450cb4..2cb87b7fe 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateMessageResponseOrBuilder.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateMessageResponseOrBuilder.java
@@ -16,6 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/schema.proto
+// Protobuf Java Version: 3.25.2
package com.google.pubsub.v1;
public interface ValidateMessageResponseOrBuilder
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateSchemaRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateSchemaRequest.java
index 8a55996d7..d4f978e33 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateSchemaRequest.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateSchemaRequest.java
@@ -16,6 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/schema.proto
+// Protobuf Java Version: 3.25.2
package com.google.pubsub.v1;
/**
@@ -62,6 +63,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.pubsub.v1.ValidateSchemaRequest.Builder.class);
}
+ private int bitField0_;
public static final int PARENT_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
@@ -134,7 +136,7 @@ public com.google.protobuf.ByteString getParentBytes() {
*/
@java.lang.Override
public boolean hasSchema() {
- return schema_ != null;
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
*
@@ -182,7 +184,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
}
- if (schema_ != null) {
+ if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(2, getSchema());
}
getUnknownFields().writeTo(output);
@@ -197,7 +199,7 @@ public int getSerializedSize() {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_);
}
- if (schema_ != null) {
+ if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getSchema());
}
size += getUnknownFields().getSerializedSize();
@@ -367,10 +369,19 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
// Construct using com.google.pubsub.v1.ValidateSchemaRequest.newBuilder()
- private Builder() {}
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
+ maybeForceBuilderInitialization();
+ }
+
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+ getSchemaFieldBuilder();
+ }
}
@java.lang.Override
@@ -422,9 +433,12 @@ private void buildPartial0(com.google.pubsub.v1.ValidateSchemaRequest result) {
if (((from_bitField0_ & 0x00000001) != 0)) {
result.parent_ = parent_;
}
+ int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000002) != 0)) {
result.schema_ = schemaBuilder_ == null ? schema_ : schemaBuilder_.build();
+ to_bitField0_ |= 0x00000001;
}
+ result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
@@ -758,8 +772,10 @@ public Builder mergeSchema(com.google.pubsub.v1.Schema value) {
} else {
schemaBuilder_.mergeFrom(value);
}
- bitField0_ |= 0x00000002;
- onChanged();
+ if (schema_ != null) {
+ bitField0_ |= 0x00000002;
+ onChanged();
+ }
return this;
}
/**
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateSchemaRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateSchemaRequestOrBuilder.java
index 751ea98d5..0f3cf4413 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateSchemaRequestOrBuilder.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateSchemaRequestOrBuilder.java
@@ -16,6 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/schema.proto
+// Protobuf Java Version: 3.25.2
package com.google.pubsub.v1;
public interface ValidateSchemaRequestOrBuilder
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateSchemaResponse.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateSchemaResponse.java
index 99c7e1d36..3d801baa3 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateSchemaResponse.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateSchemaResponse.java
@@ -16,6 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/schema.proto
+// Protobuf Java Version: 3.25.2
package com.google.pubsub.v1;
/**
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateSchemaResponseOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateSchemaResponseOrBuilder.java
index 9879319b9..f31accde5 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateSchemaResponseOrBuilder.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateSchemaResponseOrBuilder.java
@@ -16,6 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/schema.proto
+// Protobuf Java Version: 3.25.2
package com.google.pubsub.v1;
public interface ValidateSchemaResponseOrBuilder
diff --git a/proto-google-cloud-pubsub-v1/src/main/proto/google/pubsub/v1/pubsub.proto b/proto-google-cloud-pubsub-v1/src/main/proto/google/pubsub/v1/pubsub.proto
index c548b2680..93e1e84a7 100644
--- a/proto-google-cloud-pubsub-v1/src/main/proto/google/pubsub/v1/pubsub.proto
+++ b/proto-google-cloud-pubsub-v1/src/main/proto/google/pubsub/v1/pubsub.proto
@@ -183,7 +183,7 @@ message SchemaSettings {
message IngestionDataSourceSettings {
// Ingestion settings for Amazon Kinesis Data Streams.
message AwsKinesis {
- // Possible states for managed ingestion from Amazon Kinesis Data Streams.
+ // Possible states for ingestion from Amazon Kinesis Data Streams.
enum State {
// Default value. This value is unused.
STATE_UNSPECIFIED = 0;
@@ -312,8 +312,7 @@ message Topic {
// Output only. An output-only field indicating the state of the topic.
State state = 9 [(google.api.field_behavior) = OUTPUT_ONLY];
- // Optional. Settings for managed ingestion from a data source into this
- // topic.
+ // Optional. Settings for ingestion from a data source into this topic.
IngestionDataSourceSettings ingestion_data_source_settings = 10
[(google.api.field_behavior) = OPTIONAL];
}