+ implements
+ // @@protoc_insertion_point(builder_implements:google.pubsub.v1.BigtableConfig)
+ com.google.pubsub.v1.BigtableConfigOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.pubsub.v1.PubsubProto
+ .internal_static_google_pubsub_v1_BigtableConfig_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.pubsub.v1.PubsubProto
+ .internal_static_google_pubsub_v1_BigtableConfig_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.pubsub.v1.BigtableConfig.class,
+ com.google.pubsub.v1.BigtableConfig.Builder.class);
+ }
+
+ // Construct using com.google.pubsub.v1.BigtableConfig.newBuilder()
+ private Builder() {}
+
+ private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ super(parent);
+ }
+
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ bitField0_ = 0;
+ table_ = "";
+ appProfileId_ = "";
+ serviceAccountEmail_ = "";
+ writeMetadata_ = false;
+ state_ = 0;
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return com.google.pubsub.v1.PubsubProto
+ .internal_static_google_pubsub_v1_BigtableConfig_descriptor;
+ }
+
+ @java.lang.Override
+ public com.google.pubsub.v1.BigtableConfig getDefaultInstanceForType() {
+ return com.google.pubsub.v1.BigtableConfig.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public com.google.pubsub.v1.BigtableConfig build() {
+ com.google.pubsub.v1.BigtableConfig result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public com.google.pubsub.v1.BigtableConfig buildPartial() {
+ com.google.pubsub.v1.BigtableConfig result = new com.google.pubsub.v1.BigtableConfig(this);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartial0(com.google.pubsub.v1.BigtableConfig result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.table_ = table_;
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.appProfileId_ = appProfileId_;
+ }
+ if (((from_bitField0_ & 0x00000004) != 0)) {
+ result.serviceAccountEmail_ = serviceAccountEmail_;
+ }
+ if (((from_bitField0_ & 0x00000008) != 0)) {
+ result.writeMetadata_ = writeMetadata_;
+ }
+ if (((from_bitField0_ & 0x00000010) != 0)) {
+ result.state_ = state_;
+ }
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof com.google.pubsub.v1.BigtableConfig) {
+ return mergeFrom((com.google.pubsub.v1.BigtableConfig) other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(com.google.pubsub.v1.BigtableConfig other) {
+ if (other == com.google.pubsub.v1.BigtableConfig.getDefaultInstance()) return this;
+ if (!other.getTable().isEmpty()) {
+ table_ = other.table_;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ }
+ if (!other.getAppProfileId().isEmpty()) {
+ appProfileId_ = other.appProfileId_;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ }
+ if (!other.getServiceAccountEmail().isEmpty()) {
+ serviceAccountEmail_ = other.serviceAccountEmail_;
+ bitField0_ |= 0x00000004;
+ onChanged();
+ }
+ if (other.getWriteMetadata() != false) {
+ setWriteMetadata(other.getWriteMetadata());
+ }
+ if (other.state_ != 0) {
+ setStateValue(other.getStateValue());
+ }
+ this.mergeUnknownFields(other.getUnknownFields());
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ return true;
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10:
+ {
+ table_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000001;
+ break;
+ } // case 10
+ case 18:
+ {
+ appProfileId_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000002;
+ break;
+ } // case 18
+ case 26:
+ {
+ serviceAccountEmail_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000004;
+ break;
+ } // case 26
+ case 32:
+ {
+ state_ = input.readEnum();
+ bitField0_ |= 0x00000010;
+ break;
+ } // case 32
+ case 40:
+ {
+ writeMetadata_ = input.readBool();
+ bitField0_ |= 0x00000008;
+ break;
+ } // case 40
+ default:
+ {
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+ done = true; // was an endgroup tag
+ }
+ break;
+ } // default:
+ } // switch (tag)
+ } // while (!done)
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.unwrapIOException();
+ } finally {
+ onChanged();
+ } // finally
+ return this;
+ }
+
+ private int bitField0_;
+
+ private java.lang.Object table_ = "";
+
+ /**
+ *
+ *
+ *
+ * Optional. The unique name of the table to write messages to.
+ *
+ * Values are of the form
+ * `projects/<project>/instances/<instance>/tables/<table>`.
+ *
+ *
+ * string table = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The table.
+ */
+ public java.lang.String getTable() {
+ java.lang.Object ref = table_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ table_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The unique name of the table to write messages to.
+ *
+ * Values are of the form
+ * `projects/<project>/instances/<instance>/tables/<table>`.
+ *
+ *
+ * string table = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for table.
+ */
+ public com.google.protobuf.ByteString getTableBytes() {
+ java.lang.Object ref = table_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ table_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The unique name of the table to write messages to.
+ *
+ * Values are of the form
+ * `projects/<project>/instances/<instance>/tables/<table>`.
+ *
+ *
+ * string table = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The table to set.
+ * @return This builder for chaining.
+ */
+ public Builder setTable(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ table_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The unique name of the table to write messages to.
+ *
+ * Values are of the form
+ * `projects/<project>/instances/<instance>/tables/<table>`.
+ *
+ *
+ * string table = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearTable() {
+ table_ = getDefaultInstance().getTable();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The unique name of the table to write messages to.
+ *
+ * Values are of the form
+ * `projects/<project>/instances/<instance>/tables/<table>`.
+ *
+ *
+ * string table = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The bytes for table to set.
+ * @return This builder for chaining.
+ */
+ public Builder setTableBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ table_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object appProfileId_ = "";
+
+ /**
+ *
+ *
+ *
+ * Optional. The app profile to use for the Bigtable writes. If not specified,
+ * the "default" application profile will be used. The app profile must use
+ * single-cluster routing.
+ *
+ *
+ * string app_profile_id = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The appProfileId.
+ */
+ public java.lang.String getAppProfileId() {
+ java.lang.Object ref = appProfileId_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ appProfileId_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The app profile to use for the Bigtable writes. If not specified,
+ * the "default" application profile will be used. The app profile must use
+ * single-cluster routing.
+ *
+ *
+ * string app_profile_id = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for appProfileId.
+ */
+ public com.google.protobuf.ByteString getAppProfileIdBytes() {
+ java.lang.Object ref = appProfileId_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ appProfileId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The app profile to use for the Bigtable writes. If not specified,
+ * the "default" application profile will be used. The app profile must use
+ * single-cluster routing.
+ *
+ *
+ * string app_profile_id = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The appProfileId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setAppProfileId(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ appProfileId_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The app profile to use for the Bigtable writes. If not specified,
+ * the "default" application profile will be used. The app profile must use
+ * single-cluster routing.
+ *
+ *
+ * string app_profile_id = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearAppProfileId() {
+ appProfileId_ = getDefaultInstance().getAppProfileId();
+ bitField0_ = (bitField0_ & ~0x00000002);
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The app profile to use for the Bigtable writes. If not specified,
+ * the "default" application profile will be used. The app profile must use
+ * single-cluster routing.
+ *
+ *
+ * string app_profile_id = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The bytes for appProfileId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setAppProfileIdBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ appProfileId_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object serviceAccountEmail_ = "";
+
+ /**
+ *
+ *
+ *
+ * Optional. The service account to use to write to Bigtable. The subscription
+ * creator or updater that specifies this field must have
+ * `iam.serviceAccounts.actAs` permission on the service account. If not
+ * specified, the Pub/Sub [service
+ * agent](https://cloud.google.com/iam/docs/service-agents),
+ * service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used.
+ *
+ *
+ * string service_account_email = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The serviceAccountEmail.
+ */
+ public java.lang.String getServiceAccountEmail() {
+ java.lang.Object ref = serviceAccountEmail_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ serviceAccountEmail_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The service account to use to write to Bigtable. The subscription
+ * creator or updater that specifies this field must have
+ * `iam.serviceAccounts.actAs` permission on the service account. If not
+ * specified, the Pub/Sub [service
+ * agent](https://cloud.google.com/iam/docs/service-agents),
+ * service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used.
+ *
+ *
+ * string service_account_email = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for serviceAccountEmail.
+ */
+ public com.google.protobuf.ByteString getServiceAccountEmailBytes() {
+ java.lang.Object ref = serviceAccountEmail_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ serviceAccountEmail_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The service account to use to write to Bigtable. The subscription
+ * creator or updater that specifies this field must have
+ * `iam.serviceAccounts.actAs` permission on the service account. If not
+ * specified, the Pub/Sub [service
+ * agent](https://cloud.google.com/iam/docs/service-agents),
+ * service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used.
+ *
+ *
+ * string service_account_email = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The serviceAccountEmail to set.
+ * @return This builder for chaining.
+ */
+ public Builder setServiceAccountEmail(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ serviceAccountEmail_ = value;
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The service account to use to write to Bigtable. The subscription
+ * creator or updater that specifies this field must have
+ * `iam.serviceAccounts.actAs` permission on the service account. If not
+ * specified, the Pub/Sub [service
+ * agent](https://cloud.google.com/iam/docs/service-agents),
+ * service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used.
+ *
+ *
+ * string service_account_email = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearServiceAccountEmail() {
+ serviceAccountEmail_ = getDefaultInstance().getServiceAccountEmail();
+ bitField0_ = (bitField0_ & ~0x00000004);
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The service account to use to write to Bigtable. The subscription
+ * creator or updater that specifies this field must have
+ * `iam.serviceAccounts.actAs` permission on the service account. If not
+ * specified, the Pub/Sub [service
+ * agent](https://cloud.google.com/iam/docs/service-agents),
+ * service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used.
+ *
+ *
+ * string service_account_email = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The bytes for serviceAccountEmail to set.
+ * @return This builder for chaining.
+ */
+ public Builder setServiceAccountEmailBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ serviceAccountEmail_ = value;
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+
+ private boolean writeMetadata_;
+
+ /**
+ *
+ *
+ *
+ * Optional. When true, write the subscription name, message_id, publish_time,
+ * attributes, and ordering_key to additional columns in the table under the
+ * pubsub_metadata column family. The subscription name, message_id, and
+ * publish_time fields are put in their own columns while all other message
+ * properties (other than data) are written to a JSON object in the attributes
+ * column.
+ *
+ *
+ * bool write_metadata = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The writeMetadata.
+ */
+ @java.lang.Override
+ public boolean getWriteMetadata() {
+ return writeMetadata_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. When true, write the subscription name, message_id, publish_time,
+ * attributes, and ordering_key to additional columns in the table under the
+ * pubsub_metadata column family. The subscription name, message_id, and
+ * publish_time fields are put in their own columns while all other message
+ * properties (other than data) are written to a JSON object in the attributes
+ * column.
+ *
+ *
+ * bool write_metadata = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The writeMetadata to set.
+ * @return This builder for chaining.
+ */
+ public Builder setWriteMetadata(boolean value) {
+
+ writeMetadata_ = value;
+ bitField0_ |= 0x00000008;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. When true, write the subscription name, message_id, publish_time,
+ * attributes, and ordering_key to additional columns in the table under the
+ * pubsub_metadata column family. The subscription name, message_id, and
+ * publish_time fields are put in their own columns while all other message
+ * properties (other than data) are written to a JSON object in the attributes
+ * column.
+ *
+ *
+ * bool write_metadata = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearWriteMetadata() {
+ bitField0_ = (bitField0_ & ~0x00000008);
+ writeMetadata_ = false;
+ onChanged();
+ return this;
+ }
+
+ private int state_ = 0;
+
+ /**
+ *
+ *
+ *
+ * Output only. An output-only field that indicates whether or not the
+ * subscription can receive messages.
+ *
+ *
+ *
+ * .google.pubsub.v1.BigtableConfig.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The enum numeric value on the wire for state.
+ */
+ @java.lang.Override
+ public int getStateValue() {
+ return state_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. An output-only field that indicates whether or not the
+ * subscription can receive messages.
+ *
+ *
+ *
+ * .google.pubsub.v1.BigtableConfig.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @param value The enum numeric value on the wire for state to set.
+ * @return This builder for chaining.
+ */
+ public Builder setStateValue(int value) {
+ state_ = value;
+ bitField0_ |= 0x00000010;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. An output-only field that indicates whether or not the
+ * subscription can receive messages.
+ *
+ *
+ *
+ * .google.pubsub.v1.BigtableConfig.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The state.
+ */
+ @java.lang.Override
+ public com.google.pubsub.v1.BigtableConfig.State getState() {
+ com.google.pubsub.v1.BigtableConfig.State result =
+ com.google.pubsub.v1.BigtableConfig.State.forNumber(state_);
+ return result == null ? com.google.pubsub.v1.BigtableConfig.State.UNRECOGNIZED : result;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. An output-only field that indicates whether or not the
+ * subscription can receive messages.
+ *
+ *
+ *
+ * .google.pubsub.v1.BigtableConfig.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @param value The state to set.
+ * @return This builder for chaining.
+ */
+ public Builder setState(com.google.pubsub.v1.BigtableConfig.State value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000010;
+ state_ = value.getNumber();
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Output only. An output-only field that indicates whether or not the
+ * subscription can receive messages.
+ *
+ *
+ *
+ * .google.pubsub.v1.BigtableConfig.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearState() {
+ bitField0_ = (bitField0_ & ~0x00000010);
+ state_ = 0;
+ onChanged();
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.pubsub.v1.BigtableConfig)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.pubsub.v1.BigtableConfig)
+ private static final com.google.pubsub.v1.BigtableConfig DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.pubsub.v1.BigtableConfig();
+ }
+
+ public static com.google.pubsub.v1.BigtableConfig getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public BigtableConfig parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
+ .setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.pubsub.v1.BigtableConfig getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+}
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/BigtableConfigOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/BigtableConfigOrBuilder.java
new file mode 100644
index 000000000..ef22565e2
--- /dev/null
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/BigtableConfigOrBuilder.java
@@ -0,0 +1,176 @@
+/*
+ * Copyright 2026 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
+// source: google/pubsub/v1/pubsub.proto
+// Protobuf Java Version: 4.33.2
+
+package com.google.pubsub.v1;
+
+@com.google.protobuf.Generated
+public interface BigtableConfigOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.pubsub.v1.BigtableConfig)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ *
+ *
+ * Optional. The unique name of the table to write messages to.
+ *
+ * Values are of the form
+ * `projects/<project>/instances/<instance>/tables/<table>`.
+ *
+ *
+ * string table = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The table.
+ */
+ java.lang.String getTable();
+
+ /**
+ *
+ *
+ *
+ * Optional. The unique name of the table to write messages to.
+ *
+ * Values are of the form
+ * `projects/<project>/instances/<instance>/tables/<table>`.
+ *
+ *
+ * string table = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for table.
+ */
+ com.google.protobuf.ByteString getTableBytes();
+
+ /**
+ *
+ *
+ *
+ * Optional. The app profile to use for the Bigtable writes. If not specified,
+ * the "default" application profile will be used. The app profile must use
+ * single-cluster routing.
+ *
+ *
+ * string app_profile_id = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The appProfileId.
+ */
+ java.lang.String getAppProfileId();
+
+ /**
+ *
+ *
+ *
+ * Optional. The app profile to use for the Bigtable writes. If not specified,
+ * the "default" application profile will be used. The app profile must use
+ * single-cluster routing.
+ *
+ *
+ * string app_profile_id = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for appProfileId.
+ */
+ com.google.protobuf.ByteString getAppProfileIdBytes();
+
+ /**
+ *
+ *
+ *
+ * Optional. The service account to use to write to Bigtable. The subscription
+ * creator or updater that specifies this field must have
+ * `iam.serviceAccounts.actAs` permission on the service account. If not
+ * specified, the Pub/Sub [service
+ * agent](https://cloud.google.com/iam/docs/service-agents),
+ * service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used.
+ *
+ *
+ * string service_account_email = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The serviceAccountEmail.
+ */
+ java.lang.String getServiceAccountEmail();
+
+ /**
+ *
+ *
+ *
+ * Optional. The service account to use to write to Bigtable. The subscription
+ * creator or updater that specifies this field must have
+ * `iam.serviceAccounts.actAs` permission on the service account. If not
+ * specified, the Pub/Sub [service
+ * agent](https://cloud.google.com/iam/docs/service-agents),
+ * service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com, is used.
+ *
+ *
+ * string service_account_email = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for serviceAccountEmail.
+ */
+ com.google.protobuf.ByteString getServiceAccountEmailBytes();
+
+ /**
+ *
+ *
+ *
+ * Optional. When true, write the subscription name, message_id, publish_time,
+ * attributes, and ordering_key to additional columns in the table under the
+ * pubsub_metadata column family. The subscription name, message_id, and
+ * publish_time fields are put in their own columns while all other message
+ * properties (other than data) are written to a JSON object in the attributes
+ * column.
+ *
+ *
+ * bool write_metadata = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The writeMetadata.
+ */
+ boolean getWriteMetadata();
+
+ /**
+ *
+ *
+ *
+ * Output only. An output-only field that indicates whether or not the
+ * subscription can receive messages.
+ *
+ *
+ *
+ * .google.pubsub.v1.BigtableConfig.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The enum numeric value on the wire for state.
+ */
+ int getStateValue();
+
+ /**
+ *
+ *
+ *
+ * Output only. An output-only field that indicates whether or not the
+ * subscription can receive messages.
+ *
+ *
+ *
+ * .google.pubsub.v1.BigtableConfig.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The state.
+ */
+ com.google.pubsub.v1.BigtableConfig.State getState();
+}
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 3f2ecd9db..b30b59267 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
@@ -1,5 +1,5 @@
/*
- * Copyright 2025 Google LLC
+ * Copyright 2026 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -14,9 +14,10 @@
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: google/pubsub/v1/pubsub.proto
+// Protobuf Java Version: 4.33.2
-// Protobuf Java Version: 3.25.8
package com.google.pubsub.v1;
/**
@@ -28,14 +29,25 @@
*
* Protobuf type {@code google.pubsub.v1.CloudStorageConfig}
*/
-public final class CloudStorageConfig extends com.google.protobuf.GeneratedMessageV3
+@com.google.protobuf.Generated
+public final class CloudStorageConfig extends com.google.protobuf.GeneratedMessage
implements
// @@protoc_insertion_point(message_implements:google.pubsub.v1.CloudStorageConfig)
CloudStorageConfigOrBuilder {
private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 33,
+ /* patch= */ 2,
+ /* suffix= */ "",
+ "CloudStorageConfig");
+ }
+
// Use CloudStorageConfig.newBuilder() to construct.
- private CloudStorageConfig(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ private CloudStorageConfig(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
@@ -48,19 +60,13 @@ private CloudStorageConfig() {
serviceAccountEmail_ = "";
}
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
- return new CloudStorageConfig();
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.pubsub.v1.PubsubProto
.internal_static_google_pubsub_v1_CloudStorageConfig_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.pubsub.v1.PubsubProto
.internal_static_google_pubsub_v1_CloudStorageConfig_fieldAccessorTable
@@ -142,9 +148,31 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
* SCHEMA_MISMATCH = 5;
*/
SCHEMA_MISMATCH(5),
+ /**
+ *
+ *
+ *
+ * Cannot write to the Cloud Storage bucket because the bucket is not in the
+ * same location as where Vertex AI models used in `message_transform`s are
+ * deployed.
+ *
+ *
+ * VERTEX_AI_LOCATION_RESTRICTION = 6;
+ */
+ VERTEX_AI_LOCATION_RESTRICTION(6),
UNRECOGNIZED(-1),
;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 33,
+ /* patch= */ 2,
+ /* suffix= */ "",
+ "State");
+ }
+
/**
*
*
@@ -214,6 +242,19 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
*/
public static final int SCHEMA_MISMATCH_VALUE = 5;
+ /**
+ *
+ *
+ *
+ * Cannot write to the Cloud Storage bucket because the bucket is not in the
+ * same location as where Vertex AI models used in `message_transform`s are
+ * deployed.
+ *
+ *
+ * VERTEX_AI_LOCATION_RESTRICTION = 6;
+ */
+ public static final int VERTEX_AI_LOCATION_RESTRICTION_VALUE = 6;
+
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
@@ -250,6 +291,8 @@ public static State forNumber(int value) {
return IN_TRANSIT_LOCATION_RESTRICTION;
case 5:
return SCHEMA_MISMATCH;
+ case 6:
+ return VERTEX_AI_LOCATION_RESTRICTION;
default:
return null;
}
@@ -278,7 +321,7 @@ public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType
return getDescriptor();
}
- public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+ public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
return com.google.pubsub.v1.CloudStorageConfig.getDescriptor().getEnumTypes().get(0);
}
@@ -319,32 +362,36 @@ public interface TextConfigOrBuilder
*
* Protobuf type {@code google.pubsub.v1.CloudStorageConfig.TextConfig}
*/
- public static final class TextConfig extends com.google.protobuf.GeneratedMessageV3
+ public static final class TextConfig extends com.google.protobuf.GeneratedMessage
implements
// @@protoc_insertion_point(message_implements:google.pubsub.v1.CloudStorageConfig.TextConfig)
TextConfigOrBuilder {
private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 33,
+ /* patch= */ 2,
+ /* suffix= */ "",
+ "TextConfig");
+ }
+
// Use TextConfig.newBuilder() to construct.
- private TextConfig(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ private TextConfig(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private TextConfig() {}
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
- return new TextConfig();
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.pubsub.v1.PubsubProto
.internal_static_google_pubsub_v1_CloudStorageConfig_TextConfig_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.pubsub.v1.PubsubProto
.internal_static_google_pubsub_v1_CloudStorageConfig_TextConfig_fieldAccessorTable
@@ -445,38 +492,38 @@ public static com.google.pubsub.v1.CloudStorageConfig.TextConfig parseFrom(
public static com.google.pubsub.v1.CloudStorageConfig.TextConfig parseFrom(
java.io.InputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
}
public static com.google.pubsub.v1.CloudStorageConfig.TextConfig parseFrom(
java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
PARSER, input, extensionRegistry);
}
public static com.google.pubsub.v1.CloudStorageConfig.TextConfig parseDelimitedFrom(
java.io.InputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
}
public static com.google.pubsub.v1.CloudStorageConfig.TextConfig parseDelimitedFrom(
java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
PARSER, input, extensionRegistry);
}
public static com.google.pubsub.v1.CloudStorageConfig.TextConfig parseFrom(
com.google.protobuf.CodedInputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
}
public static com.google.pubsub.v1.CloudStorageConfig.TextConfig parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
PARSER, input, extensionRegistry);
}
@@ -499,8 +546,7 @@ public Builder toBuilder() {
}
@java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -516,8 +562,7 @@ protected Builder newBuilderForType(
*
* Protobuf type {@code google.pubsub.v1.CloudStorageConfig.TextConfig}
*/
- public static final class Builder
- extends com.google.protobuf.GeneratedMessageV3.Builder
+ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
implements
// @@protoc_insertion_point(builder_implements:google.pubsub.v1.CloudStorageConfig.TextConfig)
com.google.pubsub.v1.CloudStorageConfig.TextConfigOrBuilder {
@@ -527,7 +572,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.pubsub.v1.PubsubProto
.internal_static_google_pubsub_v1_CloudStorageConfig_TextConfig_fieldAccessorTable
@@ -539,7 +584,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
// Construct using com.google.pubsub.v1.CloudStorageConfig.TextConfig.newBuilder()
private Builder() {}
- private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@@ -577,41 +622,6 @@ public com.google.pubsub.v1.CloudStorageConfig.TextConfig buildPartial() {
return result;
}
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
-
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
- return super.setField(field, value);
- }
-
- @java.lang.Override
- public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
-
- @java.lang.Override
- public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
-
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index,
- java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
-
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
-
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.google.pubsub.v1.CloudStorageConfig.TextConfig) {
@@ -668,18 +678,6 @@ public Builder mergeFrom(
return this;
}
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
// @@protoc_insertion_point(builder_scope:google.pubsub.v1.CloudStorageConfig.TextConfig)
}
@@ -780,32 +778,36 @@ public interface AvroConfigOrBuilder
*
* Protobuf type {@code google.pubsub.v1.CloudStorageConfig.AvroConfig}
*/
- public static final class AvroConfig extends com.google.protobuf.GeneratedMessageV3
+ public static final class AvroConfig extends com.google.protobuf.GeneratedMessage
implements
// @@protoc_insertion_point(message_implements:google.pubsub.v1.CloudStorageConfig.AvroConfig)
AvroConfigOrBuilder {
private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 33,
+ /* patch= */ 2,
+ /* suffix= */ "",
+ "AvroConfig");
+ }
+
// Use AvroConfig.newBuilder() to construct.
- private AvroConfig(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ private AvroConfig(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private AvroConfig() {}
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
- return new AvroConfig();
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.pubsub.v1.PubsubProto
.internal_static_google_pubsub_v1_CloudStorageConfig_AvroConfig_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.pubsub.v1.PubsubProto
.internal_static_google_pubsub_v1_CloudStorageConfig_AvroConfig_fieldAccessorTable
@@ -968,38 +970,38 @@ public static com.google.pubsub.v1.CloudStorageConfig.AvroConfig parseFrom(
public static com.google.pubsub.v1.CloudStorageConfig.AvroConfig parseFrom(
java.io.InputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
}
public static com.google.pubsub.v1.CloudStorageConfig.AvroConfig parseFrom(
java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
PARSER, input, extensionRegistry);
}
public static com.google.pubsub.v1.CloudStorageConfig.AvroConfig parseDelimitedFrom(
java.io.InputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
}
public static com.google.pubsub.v1.CloudStorageConfig.AvroConfig parseDelimitedFrom(
java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
PARSER, input, extensionRegistry);
}
public static com.google.pubsub.v1.CloudStorageConfig.AvroConfig parseFrom(
com.google.protobuf.CodedInputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
}
public static com.google.pubsub.v1.CloudStorageConfig.AvroConfig parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
PARSER, input, extensionRegistry);
}
@@ -1022,8 +1024,7 @@ public Builder toBuilder() {
}
@java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -1038,8 +1039,7 @@ protected Builder newBuilderForType(
*
* Protobuf type {@code google.pubsub.v1.CloudStorageConfig.AvroConfig}
*/
- public static final class Builder
- extends com.google.protobuf.GeneratedMessageV3.Builder
+ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
implements
// @@protoc_insertion_point(builder_implements:google.pubsub.v1.CloudStorageConfig.AvroConfig)
com.google.pubsub.v1.CloudStorageConfig.AvroConfigOrBuilder {
@@ -1049,7 +1049,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.pubsub.v1.PubsubProto
.internal_static_google_pubsub_v1_CloudStorageConfig_AvroConfig_fieldAccessorTable
@@ -1061,7 +1061,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
// Construct using com.google.pubsub.v1.CloudStorageConfig.AvroConfig.newBuilder()
private Builder() {}
- private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@@ -1115,41 +1115,6 @@ private void buildPartial0(com.google.pubsub.v1.CloudStorageConfig.AvroConfig re
}
}
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
-
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
- return super.setField(field, value);
- }
-
- @java.lang.Override
- public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
-
- @java.lang.Override
- public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
-
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index,
- java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
-
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
-
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.google.pubsub.v1.CloudStorageConfig.AvroConfig) {
@@ -1356,18 +1321,6 @@ public Builder clearUseTopicSchema() {
return this;
}
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
// @@protoc_insertion_point(builder_scope:google.pubsub.v1.CloudStorageConfig.AvroConfig)
}
@@ -2044,14 +1997,14 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bucket_)) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 1, bucket_);
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(bucket_)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 1, bucket_);
}
- if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filenamePrefix_)) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 2, filenamePrefix_);
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(filenamePrefix_)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 2, filenamePrefix_);
}
- if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filenameSuffix_)) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 3, filenameSuffix_);
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(filenameSuffix_)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 3, filenameSuffix_);
}
if (outputFormatCase_ == 4) {
output.writeMessage(4, (com.google.pubsub.v1.CloudStorageConfig.TextConfig) outputFormat_);
@@ -2071,11 +2024,11 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (state_ != com.google.pubsub.v1.CloudStorageConfig.State.STATE_UNSPECIFIED.getNumber()) {
output.writeEnum(9, state_);
}
- if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filenameDatetimeFormat_)) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 10, filenameDatetimeFormat_);
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(filenameDatetimeFormat_)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 10, filenameDatetimeFormat_);
}
- if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccountEmail_)) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 11, serviceAccountEmail_);
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(serviceAccountEmail_)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 11, serviceAccountEmail_);
}
getUnknownFields().writeTo(output);
}
@@ -2086,14 +2039,14 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bucket_)) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, bucket_);
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(bucket_)) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(1, bucket_);
}
- if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filenamePrefix_)) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filenamePrefix_);
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(filenamePrefix_)) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(2, filenamePrefix_);
}
- if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filenameSuffix_)) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, filenameSuffix_);
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(filenameSuffix_)) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(3, filenameSuffix_);
}
if (outputFormatCase_ == 4) {
size +=
@@ -2117,11 +2070,11 @@ public int getSerializedSize() {
if (state_ != com.google.pubsub.v1.CloudStorageConfig.State.STATE_UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream.computeEnumSize(9, state_);
}
- if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filenameDatetimeFormat_)) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, filenameDatetimeFormat_);
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(filenameDatetimeFormat_)) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(10, filenameDatetimeFormat_);
}
- if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccountEmail_)) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, serviceAccountEmail_);
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(serviceAccountEmail_)) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(11, serviceAccountEmail_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
@@ -2246,38 +2199,38 @@ public static com.google.pubsub.v1.CloudStorageConfig parseFrom(
public static com.google.pubsub.v1.CloudStorageConfig parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
}
public static com.google.pubsub.v1.CloudStorageConfig parseFrom(
java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
PARSER, input, extensionRegistry);
}
public static com.google.pubsub.v1.CloudStorageConfig parseDelimitedFrom(
java.io.InputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
}
public static com.google.pubsub.v1.CloudStorageConfig parseDelimitedFrom(
java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
PARSER, input, extensionRegistry);
}
public static com.google.pubsub.v1.CloudStorageConfig parseFrom(
com.google.protobuf.CodedInputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
}
public static com.google.pubsub.v1.CloudStorageConfig parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
PARSER, input, extensionRegistry);
}
@@ -2300,7 +2253,7 @@ public Builder toBuilder() {
}
@java.lang.Override
- protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -2314,7 +2267,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
* Protobuf type {@code google.pubsub.v1.CloudStorageConfig}
*/
- public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
implements
// @@protoc_insertion_point(builder_implements:google.pubsub.v1.CloudStorageConfig)
com.google.pubsub.v1.CloudStorageConfigOrBuilder {
@@ -2324,7 +2277,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.pubsub.v1.PubsubProto
.internal_static_google_pubsub_v1_CloudStorageConfig_fieldAccessorTable
@@ -2338,14 +2291,14 @@ private Builder() {
maybeForceBuilderInitialization();
}
- private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
- getMaxDurationFieldBuilder();
+ if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
+ internalGetMaxDurationFieldBuilder();
}
}
@@ -2455,39 +2408,6 @@ private void buildPartialOneofs(com.google.pubsub.v1.CloudStorageConfig result)
}
}
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
-
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
- return super.setField(field, value);
- }
-
- @java.lang.Override
- public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
-
- @java.lang.Override
- public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
-
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
-
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
-
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.google.pubsub.v1.CloudStorageConfig) {
@@ -2599,19 +2519,22 @@ public Builder mergeFrom(
} // case 26
case 34:
{
- input.readMessage(getTextConfigFieldBuilder().getBuilder(), extensionRegistry);
+ input.readMessage(
+ internalGetTextConfigFieldBuilder().getBuilder(), extensionRegistry);
outputFormatCase_ = 4;
break;
} // case 34
case 42:
{
- input.readMessage(getAvroConfigFieldBuilder().getBuilder(), extensionRegistry);
+ input.readMessage(
+ internalGetAvroConfigFieldBuilder().getBuilder(), extensionRegistry);
outputFormatCase_ = 5;
break;
} // case 42
case 50:
{
- input.readMessage(getMaxDurationFieldBuilder().getBuilder(), extensionRegistry);
+ input.readMessage(
+ internalGetMaxDurationFieldBuilder().getBuilder(), extensionRegistry);
bitField0_ |= 0x00000040;
break;
} // case 50
@@ -3162,7 +3085,7 @@ public Builder setFilenameDatetimeFormatBytes(com.google.protobuf.ByteString val
return this;
}
- private com.google.protobuf.SingleFieldBuilderV3<
+ private com.google.protobuf.SingleFieldBuilder<
com.google.pubsub.v1.CloudStorageConfig.TextConfig,
com.google.pubsub.v1.CloudStorageConfig.TextConfig.Builder,
com.google.pubsub.v1.CloudStorageConfig.TextConfigOrBuilder>
@@ -3345,7 +3268,7 @@ public Builder clearTextConfig() {
*
*/
public com.google.pubsub.v1.CloudStorageConfig.TextConfig.Builder getTextConfigBuilder() {
- return getTextConfigFieldBuilder().getBuilder();
+ return internalGetTextConfigFieldBuilder().getBuilder();
}
/**
@@ -3384,17 +3307,17 @@ public com.google.pubsub.v1.CloudStorageConfig.TextConfigOrBuilder getTextConfig
* .google.pubsub.v1.CloudStorageConfig.TextConfig text_config = 4 [(.google.api.field_behavior) = OPTIONAL];
*
*/
- private com.google.protobuf.SingleFieldBuilderV3<
+ private com.google.protobuf.SingleFieldBuilder<
com.google.pubsub.v1.CloudStorageConfig.TextConfig,
com.google.pubsub.v1.CloudStorageConfig.TextConfig.Builder,
com.google.pubsub.v1.CloudStorageConfig.TextConfigOrBuilder>
- getTextConfigFieldBuilder() {
+ internalGetTextConfigFieldBuilder() {
if (textConfigBuilder_ == null) {
if (!(outputFormatCase_ == 4)) {
outputFormat_ = com.google.pubsub.v1.CloudStorageConfig.TextConfig.getDefaultInstance();
}
textConfigBuilder_ =
- new com.google.protobuf.SingleFieldBuilderV3<
+ new com.google.protobuf.SingleFieldBuilder<
com.google.pubsub.v1.CloudStorageConfig.TextConfig,
com.google.pubsub.v1.CloudStorageConfig.TextConfig.Builder,
com.google.pubsub.v1.CloudStorageConfig.TextConfigOrBuilder>(
@@ -3408,7 +3331,7 @@ public com.google.pubsub.v1.CloudStorageConfig.TextConfigOrBuilder getTextConfig
return textConfigBuilder_;
}
- private com.google.protobuf.SingleFieldBuilderV3<
+ private com.google.protobuf.SingleFieldBuilder<
com.google.pubsub.v1.CloudStorageConfig.AvroConfig,
com.google.pubsub.v1.CloudStorageConfig.AvroConfig.Builder,
com.google.pubsub.v1.CloudStorageConfig.AvroConfigOrBuilder>
@@ -3591,7 +3514,7 @@ public Builder clearAvroConfig() {
*
*/
public com.google.pubsub.v1.CloudStorageConfig.AvroConfig.Builder getAvroConfigBuilder() {
- return getAvroConfigFieldBuilder().getBuilder();
+ return internalGetAvroConfigFieldBuilder().getBuilder();
}
/**
@@ -3630,17 +3553,17 @@ public com.google.pubsub.v1.CloudStorageConfig.AvroConfigOrBuilder getAvroConfig
* .google.pubsub.v1.CloudStorageConfig.AvroConfig avro_config = 5 [(.google.api.field_behavior) = OPTIONAL];
*
*/
- private com.google.protobuf.SingleFieldBuilderV3<
+ private com.google.protobuf.SingleFieldBuilder<
com.google.pubsub.v1.CloudStorageConfig.AvroConfig,
com.google.pubsub.v1.CloudStorageConfig.AvroConfig.Builder,
com.google.pubsub.v1.CloudStorageConfig.AvroConfigOrBuilder>
- getAvroConfigFieldBuilder() {
+ internalGetAvroConfigFieldBuilder() {
if (avroConfigBuilder_ == null) {
if (!(outputFormatCase_ == 5)) {
outputFormat_ = com.google.pubsub.v1.CloudStorageConfig.AvroConfig.getDefaultInstance();
}
avroConfigBuilder_ =
- new com.google.protobuf.SingleFieldBuilderV3<
+ new com.google.protobuf.SingleFieldBuilder<
com.google.pubsub.v1.CloudStorageConfig.AvroConfig,
com.google.pubsub.v1.CloudStorageConfig.AvroConfig.Builder,
com.google.pubsub.v1.CloudStorageConfig.AvroConfigOrBuilder>(
@@ -3655,7 +3578,7 @@ public com.google.pubsub.v1.CloudStorageConfig.AvroConfigOrBuilder getAvroConfig
}
private com.google.protobuf.Duration maxDuration_;
- private com.google.protobuf.SingleFieldBuilderV3<
+ private com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Duration,
com.google.protobuf.Duration.Builder,
com.google.protobuf.DurationOrBuilder>
@@ -3821,7 +3744,7 @@ public Builder clearMaxDuration() {
public com.google.protobuf.Duration.Builder getMaxDurationBuilder() {
bitField0_ |= 0x00000040;
onChanged();
- return getMaxDurationFieldBuilder().getBuilder();
+ return internalGetMaxDurationFieldBuilder().getBuilder();
}
/**
@@ -3858,14 +3781,14 @@ public com.google.protobuf.DurationOrBuilder getMaxDurationOrBuilder() {
* .google.protobuf.Duration max_duration = 6 [(.google.api.field_behavior) = OPTIONAL];
*
*/
- private com.google.protobuf.SingleFieldBuilderV3<
+ private com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Duration,
com.google.protobuf.Duration.Builder,
com.google.protobuf.DurationOrBuilder>
- getMaxDurationFieldBuilder() {
+ internalGetMaxDurationFieldBuilder() {
if (maxDurationBuilder_ == null) {
maxDurationBuilder_ =
- new com.google.protobuf.SingleFieldBuilderV3<
+ new com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Duration,
com.google.protobuf.Duration.Builder,
com.google.protobuf.DurationOrBuilder>(
@@ -4242,17 +4165,6 @@ public Builder setServiceAccountEmailBytes(com.google.protobuf.ByteString value)
return this;
}
- @java.lang.Override
- public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
// @@protoc_insertion_point(builder_scope:google.pubsub.v1.CloudStorageConfig)
}
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 207a691d7..2c2bc260b 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
@@ -1,5 +1,5 @@
/*
- * Copyright 2025 Google LLC
+ * Copyright 2026 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -14,11 +14,13 @@
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: google/pubsub/v1/pubsub.proto
+// Protobuf Java Version: 4.33.2
-// Protobuf Java Version: 3.25.8
package com.google.pubsub.v1;
+@com.google.protobuf.Generated
public interface CloudStorageConfigOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.pubsub.v1.CloudStorageConfig)
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 25d739ae3..1f8cc26bc 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
@@ -1,5 +1,5 @@
/*
- * Copyright 2025 Google LLC
+ * Copyright 2026 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -14,9 +14,10 @@
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: google/pubsub/v1/schema.proto
+// Protobuf Java Version: 4.33.2
-// Protobuf Java Version: 3.25.8
package com.google.pubsub.v1;
/**
@@ -28,14 +29,25 @@
*
* Protobuf type {@code google.pubsub.v1.CommitSchemaRequest}
*/
-public final class CommitSchemaRequest extends com.google.protobuf.GeneratedMessageV3
+@com.google.protobuf.Generated
+public final class CommitSchemaRequest extends com.google.protobuf.GeneratedMessage
implements
// @@protoc_insertion_point(message_implements:google.pubsub.v1.CommitSchemaRequest)
CommitSchemaRequestOrBuilder {
private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 33,
+ /* patch= */ 2,
+ /* suffix= */ "",
+ "CommitSchemaRequest");
+ }
+
// Use CommitSchemaRequest.newBuilder() to construct.
- private CommitSchemaRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ private CommitSchemaRequest(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
@@ -43,19 +55,13 @@ private CommitSchemaRequest() {
name_ = "";
}
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
- return new CommitSchemaRequest();
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.pubsub.v1.SchemaProto
.internal_static_google_pubsub_v1_CommitSchemaRequest_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.pubsub.v1.SchemaProto
.internal_static_google_pubsub_v1_CommitSchemaRequest_fieldAccessorTable
@@ -187,8 +193,8 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 1, name_);
}
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(2, getSchema());
@@ -202,8 +208,8 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_);
}
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getSchema());
@@ -287,38 +293,38 @@ public static com.google.pubsub.v1.CommitSchemaRequest parseFrom(
public static com.google.pubsub.v1.CommitSchemaRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
}
public static com.google.pubsub.v1.CommitSchemaRequest parseFrom(
java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
PARSER, input, extensionRegistry);
}
public static com.google.pubsub.v1.CommitSchemaRequest parseDelimitedFrom(
java.io.InputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
}
public static com.google.pubsub.v1.CommitSchemaRequest parseDelimitedFrom(
java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
PARSER, input, extensionRegistry);
}
public static com.google.pubsub.v1.CommitSchemaRequest parseFrom(
com.google.protobuf.CodedInputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
}
public static com.google.pubsub.v1.CommitSchemaRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
PARSER, input, extensionRegistry);
}
@@ -341,7 +347,7 @@ public Builder toBuilder() {
}
@java.lang.Override
- protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -355,7 +361,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
* Protobuf type {@code google.pubsub.v1.CommitSchemaRequest}
*/
- public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
implements
// @@protoc_insertion_point(builder_implements:google.pubsub.v1.CommitSchemaRequest)
com.google.pubsub.v1.CommitSchemaRequestOrBuilder {
@@ -365,7 +371,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.pubsub.v1.SchemaProto
.internal_static_google_pubsub_v1_CommitSchemaRequest_fieldAccessorTable
@@ -379,14 +385,14 @@ private Builder() {
maybeForceBuilderInitialization();
}
- private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
- getSchemaFieldBuilder();
+ if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
+ internalGetSchemaFieldBuilder();
}
}
@@ -447,39 +453,6 @@ private void buildPartial0(com.google.pubsub.v1.CommitSchemaRequest result) {
result.bitField0_ |= to_bitField0_;
}
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
-
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
- return super.setField(field, value);
- }
-
- @java.lang.Override
- public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
-
- @java.lang.Override
- public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
-
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
-
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
-
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.google.pubsub.v1.CommitSchemaRequest) {
@@ -534,7 +507,7 @@ public Builder mergeFrom(
} // case 10
case 18:
{
- input.readMessage(getSchemaFieldBuilder().getBuilder(), extensionRegistry);
+ input.readMessage(internalGetSchemaFieldBuilder().getBuilder(), extensionRegistry);
bitField0_ |= 0x00000002;
break;
} // case 18
@@ -684,7 +657,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
}
private com.google.pubsub.v1.Schema schema_;
- private com.google.protobuf.SingleFieldBuilderV3<
+ private com.google.protobuf.SingleFieldBuilder<
com.google.pubsub.v1.Schema,
com.google.pubsub.v1.Schema.Builder,
com.google.pubsub.v1.SchemaOrBuilder>
@@ -827,7 +800,7 @@ public Builder clearSchema() {
public com.google.pubsub.v1.Schema.Builder getSchemaBuilder() {
bitField0_ |= 0x00000002;
onChanged();
- return getSchemaFieldBuilder().getBuilder();
+ return internalGetSchemaFieldBuilder().getBuilder();
}
/**
@@ -856,14 +829,14 @@ public com.google.pubsub.v1.SchemaOrBuilder getSchemaOrBuilder() {
*
* .google.pubsub.v1.Schema schema = 2 [(.google.api.field_behavior) = REQUIRED];
*/
- private com.google.protobuf.SingleFieldBuilderV3<
+ private com.google.protobuf.SingleFieldBuilder<
com.google.pubsub.v1.Schema,
com.google.pubsub.v1.Schema.Builder,
com.google.pubsub.v1.SchemaOrBuilder>
- getSchemaFieldBuilder() {
+ internalGetSchemaFieldBuilder() {
if (schemaBuilder_ == null) {
schemaBuilder_ =
- new com.google.protobuf.SingleFieldBuilderV3<
+ new com.google.protobuf.SingleFieldBuilder<
com.google.pubsub.v1.Schema,
com.google.pubsub.v1.Schema.Builder,
com.google.pubsub.v1.SchemaOrBuilder>(
@@ -873,17 +846,6 @@ public com.google.pubsub.v1.SchemaOrBuilder getSchemaOrBuilder() {
return schemaBuilder_;
}
- @java.lang.Override
- public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
// @@protoc_insertion_point(builder_scope:google.pubsub.v1.CommitSchemaRequest)
}
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 47dbb75e3..b904f9d0e 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
@@ -1,5 +1,5 @@
/*
- * Copyright 2025 Google LLC
+ * Copyright 2026 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -14,11 +14,13 @@
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: google/pubsub/v1/schema.proto
+// Protobuf Java Version: 4.33.2
-// Protobuf Java Version: 3.25.8
package com.google.pubsub.v1;
+@com.google.protobuf.Generated
public interface CommitSchemaRequestOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.pubsub.v1.CommitSchemaRequest)
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 1f3ad6468..4db632921 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
@@ -1,5 +1,5 @@
/*
- * Copyright 2025 Google LLC
+ * Copyright 2026 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -14,9 +14,10 @@
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: google/pubsub/v1/schema.proto
+// Protobuf Java Version: 4.33.2
-// Protobuf Java Version: 3.25.8
package com.google.pubsub.v1;
/**
@@ -28,14 +29,25 @@
*
* Protobuf type {@code google.pubsub.v1.CreateSchemaRequest}
*/
-public final class CreateSchemaRequest extends com.google.protobuf.GeneratedMessageV3
+@com.google.protobuf.Generated
+public final class CreateSchemaRequest extends com.google.protobuf.GeneratedMessage
implements
// @@protoc_insertion_point(message_implements:google.pubsub.v1.CreateSchemaRequest)
CreateSchemaRequestOrBuilder {
private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 33,
+ /* patch= */ 2,
+ /* suffix= */ "",
+ "CreateSchemaRequest");
+ }
+
// Use CreateSchemaRequest.newBuilder() to construct.
- private CreateSchemaRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ private CreateSchemaRequest(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
@@ -44,19 +56,13 @@ private CreateSchemaRequest() {
schemaId_ = "";
}
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
- return new CreateSchemaRequest();
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.pubsub.v1.SchemaProto
.internal_static_google_pubsub_v1_CreateSchemaRequest_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.pubsub.v1.SchemaProto
.internal_static_google_pubsub_v1_CreateSchemaRequest_fieldAccessorTable
@@ -261,14 +267,14 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 1, parent_);
}
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(2, getSchema());
}
- if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schemaId_)) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 3, schemaId_);
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(schemaId_)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 3, schemaId_);
}
getUnknownFields().writeTo(output);
}
@@ -279,14 +285,14 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_);
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(1, parent_);
}
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getSchema());
}
- if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schemaId_)) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, schemaId_);
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(schemaId_)) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(3, schemaId_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
@@ -370,38 +376,38 @@ public static com.google.pubsub.v1.CreateSchemaRequest parseFrom(
public static com.google.pubsub.v1.CreateSchemaRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
}
public static com.google.pubsub.v1.CreateSchemaRequest parseFrom(
java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
PARSER, input, extensionRegistry);
}
public static com.google.pubsub.v1.CreateSchemaRequest parseDelimitedFrom(
java.io.InputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
}
public static com.google.pubsub.v1.CreateSchemaRequest parseDelimitedFrom(
java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
PARSER, input, extensionRegistry);
}
public static com.google.pubsub.v1.CreateSchemaRequest parseFrom(
com.google.protobuf.CodedInputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
}
public static com.google.pubsub.v1.CreateSchemaRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
PARSER, input, extensionRegistry);
}
@@ -424,7 +430,7 @@ public Builder toBuilder() {
}
@java.lang.Override
- protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -438,7 +444,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
* Protobuf type {@code google.pubsub.v1.CreateSchemaRequest}
*/
- public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
implements
// @@protoc_insertion_point(builder_implements:google.pubsub.v1.CreateSchemaRequest)
com.google.pubsub.v1.CreateSchemaRequestOrBuilder {
@@ -448,7 +454,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.pubsub.v1.SchemaProto
.internal_static_google_pubsub_v1_CreateSchemaRequest_fieldAccessorTable
@@ -462,14 +468,14 @@ private Builder() {
maybeForceBuilderInitialization();
}
- private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
- getSchemaFieldBuilder();
+ if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
+ internalGetSchemaFieldBuilder();
}
}
@@ -534,39 +540,6 @@ private void buildPartial0(com.google.pubsub.v1.CreateSchemaRequest result) {
result.bitField0_ |= to_bitField0_;
}
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
-
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
- return super.setField(field, value);
- }
-
- @java.lang.Override
- public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
-
- @java.lang.Override
- public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
-
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
-
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
-
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.google.pubsub.v1.CreateSchemaRequest) {
@@ -626,7 +599,7 @@ public Builder mergeFrom(
} // case 10
case 18:
{
- input.readMessage(getSchemaFieldBuilder().getBuilder(), extensionRegistry);
+ input.readMessage(internalGetSchemaFieldBuilder().getBuilder(), extensionRegistry);
bitField0_ |= 0x00000002;
break;
} // case 18
@@ -782,7 +755,7 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
}
private com.google.pubsub.v1.Schema schema_;
- private com.google.protobuf.SingleFieldBuilderV3<
+ private com.google.protobuf.SingleFieldBuilder<
com.google.pubsub.v1.Schema,
com.google.pubsub.v1.Schema.Builder,
com.google.pubsub.v1.SchemaOrBuilder>
@@ -953,7 +926,7 @@ public Builder clearSchema() {
public com.google.pubsub.v1.Schema.Builder getSchemaBuilder() {
bitField0_ |= 0x00000002;
onChanged();
- return getSchemaFieldBuilder().getBuilder();
+ return internalGetSchemaFieldBuilder().getBuilder();
}
/**
@@ -990,14 +963,14 @@ public com.google.pubsub.v1.SchemaOrBuilder getSchemaOrBuilder() {
*
* .google.pubsub.v1.Schema schema = 2 [(.google.api.field_behavior) = REQUIRED];
*/
- private com.google.protobuf.SingleFieldBuilderV3<
+ private com.google.protobuf.SingleFieldBuilder<
com.google.pubsub.v1.Schema,
com.google.pubsub.v1.Schema.Builder,
com.google.pubsub.v1.SchemaOrBuilder>
- getSchemaFieldBuilder() {
+ internalGetSchemaFieldBuilder() {
if (schemaBuilder_ == null) {
schemaBuilder_ =
- new com.google.protobuf.SingleFieldBuilderV3<
+ new com.google.protobuf.SingleFieldBuilder<
com.google.pubsub.v1.Schema,
com.google.pubsub.v1.Schema.Builder,
com.google.pubsub.v1.SchemaOrBuilder>(
@@ -1138,17 +1111,6 @@ public Builder setSchemaIdBytes(com.google.protobuf.ByteString value) {
return this;
}
- @java.lang.Override
- public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
// @@protoc_insertion_point(builder_scope:google.pubsub.v1.CreateSchemaRequest)
}
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 37e0d388c..4fa65546b 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
@@ -1,5 +1,5 @@
/*
- * Copyright 2025 Google LLC
+ * Copyright 2026 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -14,11 +14,13 @@
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: google/pubsub/v1/schema.proto
+// Protobuf Java Version: 4.33.2
-// Protobuf Java Version: 3.25.8
package com.google.pubsub.v1;
+@com.google.protobuf.Generated
public interface CreateSchemaRequestOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.pubsub.v1.CreateSchemaRequest)
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 b8c5201cd..d911473d5 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
@@ -1,5 +1,5 @@
/*
- * Copyright 2025 Google LLC
+ * Copyright 2026 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -14,9 +14,10 @@
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: google/pubsub/v1/pubsub.proto
+// Protobuf Java Version: 4.33.2
-// Protobuf Java Version: 3.25.8
package com.google.pubsub.v1;
/**
@@ -28,14 +29,25 @@
*
* Protobuf type {@code google.pubsub.v1.CreateSnapshotRequest}
*/
-public final class CreateSnapshotRequest extends com.google.protobuf.GeneratedMessageV3
+@com.google.protobuf.Generated
+public final class CreateSnapshotRequest extends com.google.protobuf.GeneratedMessage
implements
// @@protoc_insertion_point(message_implements:google.pubsub.v1.CreateSnapshotRequest)
CreateSnapshotRequestOrBuilder {
private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 33,
+ /* patch= */ 2,
+ /* suffix= */ "",
+ "CreateSnapshotRequest");
+ }
+
// Use CreateSnapshotRequest.newBuilder() to construct.
- private CreateSnapshotRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ private CreateSnapshotRequest(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
@@ -44,12 +56,6 @@ private CreateSnapshotRequest() {
subscription_ = "";
}
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
- return new CreateSnapshotRequest();
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.pubsub.v1.PubsubProto
.internal_static_google_pubsub_v1_CreateSnapshotRequest_descriptor;
@@ -70,7 +76,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.pubsub.v1.PubsubProto
.internal_static_google_pubsub_v1_CreateSnapshotRequest_fieldAccessorTable
@@ -88,16 +94,16 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl
*
*
*
- * Required. Identifier. User-provided name for this snapshot. If the name is
- * not provided in the request, the server will assign a random name for this
- * snapshot on the same project as the subscription. Note that for REST API
- * requests, you must specify a name. See the [resource name
+ * Required. User-provided name for this snapshot. If the name is not provided
+ * in the request, the server will assign a random name for this snapshot on
+ * the same project as the subscription. Note that for REST API requests, you
+ * must specify a name. See the [resource name
* rules](https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names).
* Format is `projects/{project}/snapshots/{snap}`.
*
*
*
- * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... }
+ * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
*
* @return The name.
@@ -119,16 +125,16 @@ public java.lang.String getName() {
*
*
*
- * Required. Identifier. User-provided name for this snapshot. If the name is
- * not provided in the request, the server will assign a random name for this
- * snapshot on the same project as the subscription. Note that for REST API
- * requests, you must specify a name. See the [resource name
+ * Required. User-provided name for this snapshot. If the name is not provided
+ * in the request, the server will assign a random name for this snapshot on
+ * the same project as the subscription. Note that for REST API requests, you
+ * must specify a name. See the [resource name
* rules](https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names).
* Format is `projects/{project}/snapshots/{snap}`.
*
*
*
- * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... }
+ * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
*
* @return The bytes for name.
@@ -157,12 +163,12 @@ public com.google.protobuf.ByteString getNameBytes() {
*
* Required. The subscription whose backlog the snapshot retains.
* Specifically, the created snapshot is guaranteed to retain:
- * (a) The existing backlog on the subscription. More precisely, this is
- * defined as the messages in the subscription's backlog that are
- * unacknowledged upon the successful completion of the
- * `CreateSnapshot` request; as well as:
- * (b) Any messages published to the subscription's topic following the
- * successful completion of the CreateSnapshot request.
+ * (a) The existing backlog on the subscription. More precisely, this is
+ * defined as the messages in the subscription's backlog that are
+ * unacknowledged upon the successful completion of the
+ * `CreateSnapshot` request; as well as:
+ * (b) Any messages published to the subscription's topic following the
+ * successful completion of the CreateSnapshot request.
* Format is `projects/{project}/subscriptions/{sub}`.
*
*
@@ -191,12 +197,12 @@ public java.lang.String getSubscription() {
*
* Required. The subscription whose backlog the snapshot retains.
* Specifically, the created snapshot is guaranteed to retain:
- * (a) The existing backlog on the subscription. More precisely, this is
- * defined as the messages in the subscription's backlog that are
- * unacknowledged upon the successful completion of the
- * `CreateSnapshot` request; as well as:
- * (b) Any messages published to the subscription's topic following the
- * successful completion of the CreateSnapshot request.
+ * (a) The existing backlog on the subscription. More precisely, this is
+ * defined as the messages in the subscription's backlog that are
+ * unacknowledged upon the successful completion of the
+ * `CreateSnapshot` request; as well as:
+ * (b) Any messages published to the subscription's topic following the
+ * successful completion of the CreateSnapshot request.
* Format is `projects/{project}/subscriptions/{sub}`.
*
*
@@ -363,8 +369,10 @@ public int getTagsCount() {
*
* Optional. Input only. Immutable. Tag keys/values directly bound to this
* resource. For example:
- * "123/environment": "production",
- * "123/costCenter": "marketing"
+ * "123/environment": "production",
+ * "123/costCenter": "marketing"
+ * See https://docs.cloud.google.com/pubsub/docs/tags for more information on
+ * using tags with Pub/Sub resources.
*
*
*
@@ -392,8 +400,10 @@ public java.util.Map getTags() {
*
* Optional. Input only. Immutable. Tag keys/values directly bound to this
* resource. For example:
- * "123/environment": "production",
- * "123/costCenter": "marketing"
+ * "123/environment": "production",
+ * "123/costCenter": "marketing"
+ * See https://docs.cloud.google.com/pubsub/docs/tags for more information on
+ * using tags with Pub/Sub resources.
*
*
*
@@ -411,8 +421,10 @@ public java.util.Map getTagsMap() {
*
* Optional. Input only. Immutable. Tag keys/values directly bound to this
* resource. For example:
- * "123/environment": "production",
- * "123/costCenter": "marketing"
+ * "123/environment": "production",
+ * "123/costCenter": "marketing"
+ * See https://docs.cloud.google.com/pubsub/docs/tags for more information on
+ * using tags with Pub/Sub resources.
*
*
*
@@ -437,8 +449,10 @@ public java.util.Map getTagsMap() {
*
* Optional. Input only. Immutable. Tag keys/values directly bound to this
* resource. For example:
- * "123/environment": "production",
- * "123/costCenter": "marketing"
+ * "123/environment": "production",
+ * "123/costCenter": "marketing"
+ * See https://docs.cloud.google.com/pubsub/docs/tags for more information on
+ * using tags with Pub/Sub resources.
*
*
*
@@ -471,15 +485,15 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 1, name_);
}
- if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subscription_)) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 2, subscription_);
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(subscription_)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 2, subscription_);
}
- com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
+ com.google.protobuf.GeneratedMessage.serializeStringMapTo(
output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 3);
- com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
+ com.google.protobuf.GeneratedMessage.serializeStringMapTo(
output, internalGetTags(), TagsDefaultEntryHolder.defaultEntry, 4);
getUnknownFields().writeTo(output);
}
@@ -490,11 +504,11 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_);
}
- if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subscription_)) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, subscription_);
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(subscription_)) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(2, subscription_);
}
for (java.util.Map.Entry entry :
internalGetLabels().getMap().entrySet()) {
@@ -601,38 +615,38 @@ public static com.google.pubsub.v1.CreateSnapshotRequest parseFrom(
public static com.google.pubsub.v1.CreateSnapshotRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
}
public static com.google.pubsub.v1.CreateSnapshotRequest parseFrom(
java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
PARSER, input, extensionRegistry);
}
public static com.google.pubsub.v1.CreateSnapshotRequest parseDelimitedFrom(
java.io.InputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
}
public static com.google.pubsub.v1.CreateSnapshotRequest parseDelimitedFrom(
java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
PARSER, input, extensionRegistry);
}
public static com.google.pubsub.v1.CreateSnapshotRequest parseFrom(
com.google.protobuf.CodedInputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
}
public static com.google.pubsub.v1.CreateSnapshotRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
PARSER, input, extensionRegistry);
}
@@ -655,7 +669,7 @@ public Builder toBuilder() {
}
@java.lang.Override
- protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -669,7 +683,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
* Protobuf type {@code google.pubsub.v1.CreateSnapshotRequest}
*/
- public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
implements
// @@protoc_insertion_point(builder_implements:google.pubsub.v1.CreateSnapshotRequest)
com.google.pubsub.v1.CreateSnapshotRequestOrBuilder {
@@ -705,7 +719,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.pubsub.v1.PubsubProto
.internal_static_google_pubsub_v1_CreateSnapshotRequest_fieldAccessorTable
@@ -717,7 +731,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi
// Construct using com.google.pubsub.v1.CreateSnapshotRequest.newBuilder()
private Builder() {}
- private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@@ -781,39 +795,6 @@ private void buildPartial0(com.google.pubsub.v1.CreateSnapshotRequest result) {
}
}
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
-
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
- return super.setField(field, value);
- }
-
- @java.lang.Override
- public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
-
- @java.lang.Override
- public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
-
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
-
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
-
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.google.pubsub.v1.CreateSnapshotRequest) {
@@ -924,16 +905,16 @@ public Builder mergeFrom(
*
*
*
- * Required. Identifier. User-provided name for this snapshot. If the name is
- * not provided in the request, the server will assign a random name for this
- * snapshot on the same project as the subscription. Note that for REST API
- * requests, you must specify a name. See the [resource name
+ * Required. User-provided name for this snapshot. If the name is not provided
+ * in the request, the server will assign a random name for this snapshot on
+ * the same project as the subscription. Note that for REST API requests, you
+ * must specify a name. See the [resource name
* rules](https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names).
* Format is `projects/{project}/snapshots/{snap}`.
*
*
*
- * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... }
+ * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
*
* @return The name.
@@ -954,16 +935,16 @@ public java.lang.String getName() {
*
*
*
- * Required. Identifier. User-provided name for this snapshot. If the name is
- * not provided in the request, the server will assign a random name for this
- * snapshot on the same project as the subscription. Note that for REST API
- * requests, you must specify a name. See the [resource name
+ * Required. User-provided name for this snapshot. If the name is not provided
+ * in the request, the server will assign a random name for this snapshot on
+ * the same project as the subscription. Note that for REST API requests, you
+ * must specify a name. See the [resource name
* rules](https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names).
* Format is `projects/{project}/snapshots/{snap}`.
*
*
*
- * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... }
+ * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
*
* @return The bytes for name.
@@ -984,16 +965,16 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
*
- * Required. Identifier. User-provided name for this snapshot. If the name is
- * not provided in the request, the server will assign a random name for this
- * snapshot on the same project as the subscription. Note that for REST API
- * requests, you must specify a name. See the [resource name
+ * Required. User-provided name for this snapshot. If the name is not provided
+ * in the request, the server will assign a random name for this snapshot on
+ * the same project as the subscription. Note that for REST API requests, you
+ * must specify a name. See the [resource name
* rules](https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names).
* Format is `projects/{project}/snapshots/{snap}`.
*
*
*
- * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... }
+ * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
*
* @param value The name to set.
@@ -1013,16 +994,16 @@ public Builder setName(java.lang.String value) {
*
*
*
- * Required. Identifier. User-provided name for this snapshot. If the name is
- * not provided in the request, the server will assign a random name for this
- * snapshot on the same project as the subscription. Note that for REST API
- * requests, you must specify a name. See the [resource name
+ * Required. User-provided name for this snapshot. If the name is not provided
+ * in the request, the server will assign a random name for this snapshot on
+ * the same project as the subscription. Note that for REST API requests, you
+ * must specify a name. See the [resource name
* rules](https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names).
* Format is `projects/{project}/snapshots/{snap}`.
*
*
*
- * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... }
+ * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
*
* @return This builder for chaining.
@@ -1038,16 +1019,16 @@ public Builder clearName() {
*
*
*
- * Required. Identifier. User-provided name for this snapshot. If the name is
- * not provided in the request, the server will assign a random name for this
- * snapshot on the same project as the subscription. Note that for REST API
- * requests, you must specify a name. See the [resource name
+ * Required. User-provided name for this snapshot. If the name is not provided
+ * in the request, the server will assign a random name for this snapshot on
+ * the same project as the subscription. Note that for REST API requests, you
+ * must specify a name. See the [resource name
* rules](https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names).
* Format is `projects/{project}/snapshots/{snap}`.
*
*
*
- * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... }
+ * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
*
* @param value The bytes for name to set.
@@ -1072,12 +1053,12 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
* Required. The subscription whose backlog the snapshot retains.
* Specifically, the created snapshot is guaranteed to retain:
- * (a) The existing backlog on the subscription. More precisely, this is
- * defined as the messages in the subscription's backlog that are
- * unacknowledged upon the successful completion of the
- * `CreateSnapshot` request; as well as:
- * (b) Any messages published to the subscription's topic following the
- * successful completion of the CreateSnapshot request.
+ * (a) The existing backlog on the subscription. More precisely, this is
+ * defined as the messages in the subscription's backlog that are
+ * unacknowledged upon the successful completion of the
+ * `CreateSnapshot` request; as well as:
+ * (b) Any messages published to the subscription's topic following the
+ * successful completion of the CreateSnapshot request.
* Format is `projects/{project}/subscriptions/{sub}`.
*
*
@@ -1105,12 +1086,12 @@ public java.lang.String getSubscription() {
*
* Required. The subscription whose backlog the snapshot retains.
* Specifically, the created snapshot is guaranteed to retain:
- * (a) The existing backlog on the subscription. More precisely, this is
- * defined as the messages in the subscription's backlog that are
- * unacknowledged upon the successful completion of the
- * `CreateSnapshot` request; as well as:
- * (b) Any messages published to the subscription's topic following the
- * successful completion of the CreateSnapshot request.
+ * (a) The existing backlog on the subscription. More precisely, this is
+ * defined as the messages in the subscription's backlog that are
+ * unacknowledged upon the successful completion of the
+ * `CreateSnapshot` request; as well as:
+ * (b) Any messages published to the subscription's topic following the
+ * successful completion of the CreateSnapshot request.
* Format is `projects/{project}/subscriptions/{sub}`.
*
*
@@ -1138,12 +1119,12 @@ public com.google.protobuf.ByteString getSubscriptionBytes() {
*
* Required. The subscription whose backlog the snapshot retains.
* Specifically, the created snapshot is guaranteed to retain:
- * (a) The existing backlog on the subscription. More precisely, this is
- * defined as the messages in the subscription's backlog that are
- * unacknowledged upon the successful completion of the
- * `CreateSnapshot` request; as well as:
- * (b) Any messages published to the subscription's topic following the
- * successful completion of the CreateSnapshot request.
+ * (a) The existing backlog on the subscription. More precisely, this is
+ * defined as the messages in the subscription's backlog that are
+ * unacknowledged upon the successful completion of the
+ * `CreateSnapshot` request; as well as:
+ * (b) Any messages published to the subscription's topic following the
+ * successful completion of the CreateSnapshot request.
* Format is `projects/{project}/subscriptions/{sub}`.
*
*
@@ -1170,12 +1151,12 @@ public Builder setSubscription(java.lang.String value) {
*
* Required. The subscription whose backlog the snapshot retains.
* Specifically, the created snapshot is guaranteed to retain:
- * (a) The existing backlog on the subscription. More precisely, this is
- * defined as the messages in the subscription's backlog that are
- * unacknowledged upon the successful completion of the
- * `CreateSnapshot` request; as well as:
- * (b) Any messages published to the subscription's topic following the
- * successful completion of the CreateSnapshot request.
+ * (a) The existing backlog on the subscription. More precisely, this is
+ * defined as the messages in the subscription's backlog that are
+ * unacknowledged upon the successful completion of the
+ * `CreateSnapshot` request; as well as:
+ * (b) Any messages published to the subscription's topic following the
+ * successful completion of the CreateSnapshot request.
* Format is `projects/{project}/subscriptions/{sub}`.
*
*
@@ -1198,12 +1179,12 @@ public Builder clearSubscription() {
*
* Required. The subscription whose backlog the snapshot retains.
* Specifically, the created snapshot is guaranteed to retain:
- * (a) The existing backlog on the subscription. More precisely, this is
- * defined as the messages in the subscription's backlog that are
- * unacknowledged upon the successful completion of the
- * `CreateSnapshot` request; as well as:
- * (b) Any messages published to the subscription's topic following the
- * successful completion of the CreateSnapshot request.
+ * (a) The existing backlog on the subscription. More precisely, this is
+ * defined as the messages in the subscription's backlog that are
+ * unacknowledged upon the successful completion of the
+ * `CreateSnapshot` request; as well as:
+ * (b) Any messages published to the subscription's topic following the
+ * successful completion of the CreateSnapshot request.
* Format is `projects/{project}/subscriptions/{sub}`.
*
*
@@ -1436,8 +1417,10 @@ public int getTagsCount() {
*
* Optional. Input only. Immutable. Tag keys/values directly bound to this
* resource. For example:
- * "123/environment": "production",
- * "123/costCenter": "marketing"
+ * "123/environment": "production",
+ * "123/costCenter": "marketing"
+ * See https://docs.cloud.google.com/pubsub/docs/tags for more information on
+ * using tags with Pub/Sub resources.
*
*
*
@@ -1465,8 +1448,10 @@ public java.util.Map getTags() {
*
* Optional. Input only. Immutable. Tag keys/values directly bound to this
* resource. For example:
- * "123/environment": "production",
- * "123/costCenter": "marketing"
+ * "123/environment": "production",
+ * "123/costCenter": "marketing"
+ * See https://docs.cloud.google.com/pubsub/docs/tags for more information on
+ * using tags with Pub/Sub resources.
*
*
*
@@ -1484,8 +1469,10 @@ public java.util.Map getTagsMap() {
*
* Optional. Input only. Immutable. Tag keys/values directly bound to this
* resource. For example:
- * "123/environment": "production",
- * "123/costCenter": "marketing"
+ * "123/environment": "production",
+ * "123/costCenter": "marketing"
+ * See https://docs.cloud.google.com/pubsub/docs/tags for more information on
+ * using tags with Pub/Sub resources.
*
*
*
@@ -1510,8 +1497,10 @@ public java.util.Map getTagsMap() {
*
* Optional. Input only. Immutable. Tag keys/values directly bound to this
* resource. For example:
- * "123/environment": "production",
- * "123/costCenter": "marketing"
+ * "123/environment": "production",
+ * "123/costCenter": "marketing"
+ * See https://docs.cloud.google.com/pubsub/docs/tags for more information on
+ * using tags with Pub/Sub resources.
*
*
*
@@ -1542,8 +1531,10 @@ public Builder clearTags() {
*
* Optional. Input only. Immutable. Tag keys/values directly bound to this
* resource. For example:
- * "123/environment": "production",
- * "123/costCenter": "marketing"
+ * "123/environment": "production",
+ * "123/costCenter": "marketing"
+ * See https://docs.cloud.google.com/pubsub/docs/tags for more information on
+ * using tags with Pub/Sub resources.
*
*
*
@@ -1571,8 +1562,10 @@ public java.util.Map getMutableTags() {
*
* Optional. Input only. Immutable. Tag keys/values directly bound to this
* resource. For example:
- * "123/environment": "production",
- * "123/costCenter": "marketing"
+ * "123/environment": "production",
+ * "123/costCenter": "marketing"
+ * See https://docs.cloud.google.com/pubsub/docs/tags for more information on
+ * using tags with Pub/Sub resources.
*
*
*
@@ -1597,8 +1590,10 @@ public Builder putTags(java.lang.String key, java.lang.String value) {
*
* Optional. Input only. Immutable. Tag keys/values directly bound to this
* resource. For example:
- * "123/environment": "production",
- * "123/costCenter": "marketing"
+ * "123/environment": "production",
+ * "123/costCenter": "marketing"
+ * See https://docs.cloud.google.com/pubsub/docs/tags for more information on
+ * using tags with Pub/Sub resources.
*
*
*
@@ -1611,17 +1606,6 @@ public Builder putAllTags(java.util.Map valu
return this;
}
- @java.lang.Override
- public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
// @@protoc_insertion_point(builder_scope:google.pubsub.v1.CreateSnapshotRequest)
}
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 0c18c014a..2105ed01c 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
@@ -1,5 +1,5 @@
/*
- * Copyright 2025 Google LLC
+ * Copyright 2026 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -14,11 +14,13 @@
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: google/pubsub/v1/pubsub.proto
+// Protobuf Java Version: 4.33.2
-// Protobuf Java Version: 3.25.8
package com.google.pubsub.v1;
+@com.google.protobuf.Generated
public interface CreateSnapshotRequestOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.pubsub.v1.CreateSnapshotRequest)
@@ -28,16 +30,16 @@ public interface CreateSnapshotRequestOrBuilder
*
*
*
- * Required. Identifier. User-provided name for this snapshot. If the name is
- * not provided in the request, the server will assign a random name for this
- * snapshot on the same project as the subscription. Note that for REST API
- * requests, you must specify a name. See the [resource name
+ * Required. User-provided name for this snapshot. If the name is not provided
+ * in the request, the server will assign a random name for this snapshot on
+ * the same project as the subscription. Note that for REST API requests, you
+ * must specify a name. See the [resource name
* rules](https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names).
* Format is `projects/{project}/snapshots/{snap}`.
*
*
*
- * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... }
+ * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
*
* @return The name.
@@ -48,16 +50,16 @@ public interface CreateSnapshotRequestOrBuilder
*
*
*
- * Required. Identifier. User-provided name for this snapshot. If the name is
- * not provided in the request, the server will assign a random name for this
- * snapshot on the same project as the subscription. Note that for REST API
- * requests, you must specify a name. See the [resource name
+ * Required. User-provided name for this snapshot. If the name is not provided
+ * in the request, the server will assign a random name for this snapshot on
+ * the same project as the subscription. Note that for REST API requests, you
+ * must specify a name. See the [resource name
* rules](https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names).
* Format is `projects/{project}/snapshots/{snap}`.
*
*
*
- * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... }
+ * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
*
* @return The bytes for name.
@@ -70,12 +72,12 @@ public interface CreateSnapshotRequestOrBuilder
*
* Required. The subscription whose backlog the snapshot retains.
* Specifically, the created snapshot is guaranteed to retain:
- * (a) The existing backlog on the subscription. More precisely, this is
- * defined as the messages in the subscription's backlog that are
- * unacknowledged upon the successful completion of the
- * `CreateSnapshot` request; as well as:
- * (b) Any messages published to the subscription's topic following the
- * successful completion of the CreateSnapshot request.
+ * (a) The existing backlog on the subscription. More precisely, this is
+ * defined as the messages in the subscription's backlog that are
+ * unacknowledged upon the successful completion of the
+ * `CreateSnapshot` request; as well as:
+ * (b) Any messages published to the subscription's topic following the
+ * successful completion of the CreateSnapshot request.
* Format is `projects/{project}/subscriptions/{sub}`.
*
*
@@ -93,12 +95,12 @@ public interface CreateSnapshotRequestOrBuilder
*
* Required. The subscription whose backlog the snapshot retains.
* Specifically, the created snapshot is guaranteed to retain:
- * (a) The existing backlog on the subscription. More precisely, this is
- * defined as the messages in the subscription's backlog that are
- * unacknowledged upon the successful completion of the
- * `CreateSnapshot` request; as well as:
- * (b) Any messages published to the subscription's topic following the
- * successful completion of the CreateSnapshot request.
+ * (a) The existing backlog on the subscription. More precisely, this is
+ * defined as the messages in the subscription's backlog that are
+ * unacknowledged upon the successful completion of the
+ * `CreateSnapshot` request; as well as:
+ * (b) Any messages published to the subscription's topic following the
+ * successful completion of the CreateSnapshot request.
* Format is `projects/{project}/subscriptions/{sub}`.
*
*
@@ -184,8 +186,10 @@ java.lang.String getLabelsOrDefault(
*
* Optional. Input only. Immutable. Tag keys/values directly bound to this
* resource. For example:
- * "123/environment": "production",
- * "123/costCenter": "marketing"
+ * "123/environment": "production",
+ * "123/costCenter": "marketing"
+ * See https://docs.cloud.google.com/pubsub/docs/tags for more information on
+ * using tags with Pub/Sub resources.
*
*
*
@@ -200,8 +204,10 @@ java.lang.String getLabelsOrDefault(
*
* Optional. Input only. Immutable. Tag keys/values directly bound to this
* resource. For example:
- * "123/environment": "production",
- * "123/costCenter": "marketing"
+ * "123/environment": "production",
+ * "123/costCenter": "marketing"
+ * See https://docs.cloud.google.com/pubsub/docs/tags for more information on
+ * using tags with Pub/Sub resources.
*
*
*
@@ -220,8 +226,10 @@ java.lang.String getLabelsOrDefault(
*
* Optional. Input only. Immutable. Tag keys/values directly bound to this
* resource. For example:
- * "123/environment": "production",
- * "123/costCenter": "marketing"
+ * "123/environment": "production",
+ * "123/costCenter": "marketing"
+ * See https://docs.cloud.google.com/pubsub/docs/tags for more information on
+ * using tags with Pub/Sub resources.
*
*
*
@@ -236,8 +244,10 @@ java.lang.String getLabelsOrDefault(
*
* Optional. Input only. Immutable. Tag keys/values directly bound to this
* resource. For example:
- * "123/environment": "production",
- * "123/costCenter": "marketing"
+ * "123/environment": "production",
+ * "123/costCenter": "marketing"
+ * See https://docs.cloud.google.com/pubsub/docs/tags for more information on
+ * using tags with Pub/Sub resources.
*
*
*
@@ -256,8 +266,10 @@ java.lang.String getTagsOrDefault(
*
* Optional. Input only. Immutable. Tag keys/values directly bound to this
* resource. For example:
- * "123/environment": "production",
- * "123/costCenter": "marketing"
+ * "123/environment": "production",
+ * "123/costCenter": "marketing"
+ * See https://docs.cloud.google.com/pubsub/docs/tags for more information on
+ * using tags with Pub/Sub resources.
*
*
*
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CryptoKeyName.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CryptoKeyName.java
index 12a4c7312..c2b1411cb 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CryptoKeyName.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/CryptoKeyName.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2025 Google LLC
+ * Copyright 2026 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-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 d809e9d6b..f6ba7bb82 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
@@ -1,5 +1,5 @@
/*
- * Copyright 2025 Google LLC
+ * Copyright 2026 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -14,9 +14,10 @@
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: google/pubsub/v1/pubsub.proto
+// Protobuf Java Version: 4.33.2
-// Protobuf Java Version: 3.25.8
package com.google.pubsub.v1;
/**
@@ -32,14 +33,25 @@
*
* Protobuf type {@code google.pubsub.v1.DeadLetterPolicy}
*/
-public final class DeadLetterPolicy extends com.google.protobuf.GeneratedMessageV3
+@com.google.protobuf.Generated
+public final class DeadLetterPolicy extends com.google.protobuf.GeneratedMessage
implements
// @@protoc_insertion_point(message_implements:google.pubsub.v1.DeadLetterPolicy)
DeadLetterPolicyOrBuilder {
private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 33,
+ /* patch= */ 2,
+ /* suffix= */ "",
+ "DeadLetterPolicy");
+ }
+
// Use DeadLetterPolicy.newBuilder() to construct.
- private DeadLetterPolicy(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ private DeadLetterPolicy(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
@@ -47,19 +59,13 @@ private DeadLetterPolicy() {
deadLetterTopic_ = "";
}
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
- return new DeadLetterPolicy();
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.pubsub.v1.PubsubProto
.internal_static_google_pubsub_v1_DeadLetterPolicy_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.pubsub.v1.PubsubProto
.internal_static_google_pubsub_v1_DeadLetterPolicy_fieldAccessorTable
@@ -186,8 +192,8 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(deadLetterTopic_)) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 1, deadLetterTopic_);
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(deadLetterTopic_)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 1, deadLetterTopic_);
}
if (maxDeliveryAttempts_ != 0) {
output.writeInt32(2, maxDeliveryAttempts_);
@@ -201,8 +207,8 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(deadLetterTopic_)) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, deadLetterTopic_);
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(deadLetterTopic_)) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(1, deadLetterTopic_);
}
if (maxDeliveryAttempts_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, maxDeliveryAttempts_);
@@ -280,38 +286,38 @@ public static com.google.pubsub.v1.DeadLetterPolicy parseFrom(
public static com.google.pubsub.v1.DeadLetterPolicy parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
}
public static com.google.pubsub.v1.DeadLetterPolicy parseFrom(
java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
PARSER, input, extensionRegistry);
}
public static com.google.pubsub.v1.DeadLetterPolicy parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
}
public static com.google.pubsub.v1.DeadLetterPolicy parseDelimitedFrom(
java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
PARSER, input, extensionRegistry);
}
public static com.google.pubsub.v1.DeadLetterPolicy parseFrom(
com.google.protobuf.CodedInputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
}
public static com.google.pubsub.v1.DeadLetterPolicy parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
PARSER, input, extensionRegistry);
}
@@ -334,7 +340,7 @@ public Builder toBuilder() {
}
@java.lang.Override
- protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -352,7 +358,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
* Protobuf type {@code google.pubsub.v1.DeadLetterPolicy}
*/
- public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
implements
// @@protoc_insertion_point(builder_implements:google.pubsub.v1.DeadLetterPolicy)
com.google.pubsub.v1.DeadLetterPolicyOrBuilder {
@@ -362,7 +368,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.pubsub.v1.PubsubProto
.internal_static_google_pubsub_v1_DeadLetterPolicy_fieldAccessorTable
@@ -374,7 +380,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
// Construct using com.google.pubsub.v1.DeadLetterPolicy.newBuilder()
private Builder() {}
- private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@@ -428,39 +434,6 @@ private void buildPartial0(com.google.pubsub.v1.DeadLetterPolicy result) {
}
}
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
-
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
- return super.setField(field, value);
- }
-
- @java.lang.Override
- public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
-
- @java.lang.Override
- public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
-
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
-
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
-
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.google.pubsub.v1.DeadLetterPolicy) {
@@ -791,17 +764,6 @@ public Builder clearMaxDeliveryAttempts() {
return this;
}
- @java.lang.Override
- public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
// @@protoc_insertion_point(builder_scope:google.pubsub.v1.DeadLetterPolicy)
}
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 83159d59d..9d8c29223 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
@@ -1,5 +1,5 @@
/*
- * Copyright 2025 Google LLC
+ * Copyright 2026 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -14,11 +14,13 @@
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: google/pubsub/v1/pubsub.proto
+// Protobuf Java Version: 4.33.2
-// Protobuf Java Version: 3.25.8
package com.google.pubsub.v1;
+@com.google.protobuf.Generated
public interface DeadLetterPolicyOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.pubsub.v1.DeadLetterPolicy)
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 bd3f5758e..12f52ffd1 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
@@ -1,5 +1,5 @@
/*
- * Copyright 2025 Google LLC
+ * Copyright 2026 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -14,9 +14,10 @@
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: google/pubsub/v1/schema.proto
+// Protobuf Java Version: 4.33.2
-// Protobuf Java Version: 3.25.8
package com.google.pubsub.v1;
/**
@@ -28,14 +29,25 @@
*
* Protobuf type {@code google.pubsub.v1.DeleteSchemaRequest}
*/
-public final class DeleteSchemaRequest extends com.google.protobuf.GeneratedMessageV3
+@com.google.protobuf.Generated
+public final class DeleteSchemaRequest extends com.google.protobuf.GeneratedMessage
implements
// @@protoc_insertion_point(message_implements:google.pubsub.v1.DeleteSchemaRequest)
DeleteSchemaRequestOrBuilder {
private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 33,
+ /* patch= */ 2,
+ /* suffix= */ "",
+ "DeleteSchemaRequest");
+ }
+
// Use DeleteSchemaRequest.newBuilder() to construct.
- private DeleteSchemaRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ private DeleteSchemaRequest(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
@@ -43,19 +55,13 @@ private DeleteSchemaRequest() {
name_ = "";
}
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
- return new DeleteSchemaRequest();
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.pubsub.v1.SchemaProto
.internal_static_google_pubsub_v1_DeleteSchemaRequest_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.pubsub.v1.SchemaProto
.internal_static_google_pubsub_v1_DeleteSchemaRequest_fieldAccessorTable
@@ -137,8 +143,8 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 1, name_);
}
getUnknownFields().writeTo(output);
}
@@ -149,8 +155,8 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
@@ -223,38 +229,38 @@ public static com.google.pubsub.v1.DeleteSchemaRequest parseFrom(
public static com.google.pubsub.v1.DeleteSchemaRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
}
public static com.google.pubsub.v1.DeleteSchemaRequest parseFrom(
java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
PARSER, input, extensionRegistry);
}
public static com.google.pubsub.v1.DeleteSchemaRequest parseDelimitedFrom(
java.io.InputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
}
public static com.google.pubsub.v1.DeleteSchemaRequest parseDelimitedFrom(
java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
PARSER, input, extensionRegistry);
}
public static com.google.pubsub.v1.DeleteSchemaRequest parseFrom(
com.google.protobuf.CodedInputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
}
public static com.google.pubsub.v1.DeleteSchemaRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
PARSER, input, extensionRegistry);
}
@@ -277,7 +283,7 @@ public Builder toBuilder() {
}
@java.lang.Override
- protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -291,7 +297,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
* Protobuf type {@code google.pubsub.v1.DeleteSchemaRequest}
*/
- public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
implements
// @@protoc_insertion_point(builder_implements:google.pubsub.v1.DeleteSchemaRequest)
com.google.pubsub.v1.DeleteSchemaRequestOrBuilder {
@@ -301,7 +307,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.pubsub.v1.SchemaProto
.internal_static_google_pubsub_v1_DeleteSchemaRequest_fieldAccessorTable
@@ -313,7 +319,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
// Construct using com.google.pubsub.v1.DeleteSchemaRequest.newBuilder()
private Builder() {}
- private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@@ -363,39 +369,6 @@ private void buildPartial0(com.google.pubsub.v1.DeleteSchemaRequest result) {
}
}
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
-
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
- return super.setField(field, value);
- }
-
- @java.lang.Override
- public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
-
- @java.lang.Override
- public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
-
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
-
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
-
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.google.pubsub.v1.DeleteSchemaRequest) {
@@ -590,17 +563,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
return this;
}
- @java.lang.Override
- public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
// @@protoc_insertion_point(builder_scope:google.pubsub.v1.DeleteSchemaRequest)
}
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 6c37bc269..0d665ae9d 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
@@ -1,5 +1,5 @@
/*
- * Copyright 2025 Google LLC
+ * Copyright 2026 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -14,11 +14,13 @@
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: google/pubsub/v1/schema.proto
+// Protobuf Java Version: 4.33.2
-// Protobuf Java Version: 3.25.8
package com.google.pubsub.v1;
+@com.google.protobuf.Generated
public interface DeleteSchemaRequestOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.pubsub.v1.DeleteSchemaRequest)
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 f0e5a1f76..5065b30b9 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
@@ -1,5 +1,5 @@
/*
- * Copyright 2025 Google LLC
+ * Copyright 2026 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -14,9 +14,10 @@
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: google/pubsub/v1/schema.proto
+// Protobuf Java Version: 4.33.2
-// Protobuf Java Version: 3.25.8
package com.google.pubsub.v1;
/**
@@ -28,14 +29,25 @@
*
* Protobuf type {@code google.pubsub.v1.DeleteSchemaRevisionRequest}
*/
-public final class DeleteSchemaRevisionRequest extends com.google.protobuf.GeneratedMessageV3
+@com.google.protobuf.Generated
+public final class DeleteSchemaRevisionRequest extends com.google.protobuf.GeneratedMessage
implements
// @@protoc_insertion_point(message_implements:google.pubsub.v1.DeleteSchemaRevisionRequest)
DeleteSchemaRevisionRequestOrBuilder {
private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 33,
+ /* patch= */ 2,
+ /* suffix= */ "",
+ "DeleteSchemaRevisionRequest");
+ }
+
// Use DeleteSchemaRevisionRequest.newBuilder() to construct.
- private DeleteSchemaRevisionRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ private DeleteSchemaRevisionRequest(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
@@ -44,19 +56,13 @@ private DeleteSchemaRevisionRequest() {
revisionId_ = "";
}
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
- return new DeleteSchemaRevisionRequest();
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.pubsub.v1.SchemaProto
.internal_static_google_pubsub_v1_DeleteSchemaRevisionRequest_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.pubsub.v1.SchemaProto
.internal_static_google_pubsub_v1_DeleteSchemaRevisionRequest_fieldAccessorTable
@@ -207,11 +213,11 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 1, name_);
}
- if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(revisionId_)) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 2, revisionId_);
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(revisionId_)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 2, revisionId_);
}
getUnknownFields().writeTo(output);
}
@@ -222,11 +228,11 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_);
}
- if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(revisionId_)) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, revisionId_);
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(revisionId_)) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(2, revisionId_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
@@ -303,38 +309,38 @@ public static com.google.pubsub.v1.DeleteSchemaRevisionRequest parseFrom(
public static com.google.pubsub.v1.DeleteSchemaRevisionRequest parseFrom(
java.io.InputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
}
public static com.google.pubsub.v1.DeleteSchemaRevisionRequest parseFrom(
java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
PARSER, input, extensionRegistry);
}
public static com.google.pubsub.v1.DeleteSchemaRevisionRequest parseDelimitedFrom(
java.io.InputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
}
public static com.google.pubsub.v1.DeleteSchemaRevisionRequest parseDelimitedFrom(
java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
PARSER, input, extensionRegistry);
}
public static com.google.pubsub.v1.DeleteSchemaRevisionRequest parseFrom(
com.google.protobuf.CodedInputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
}
public static com.google.pubsub.v1.DeleteSchemaRevisionRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
PARSER, input, extensionRegistry);
}
@@ -357,7 +363,7 @@ public Builder toBuilder() {
}
@java.lang.Override
- protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -371,7 +377,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
* Protobuf type {@code google.pubsub.v1.DeleteSchemaRevisionRequest}
*/
- public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
implements
// @@protoc_insertion_point(builder_implements:google.pubsub.v1.DeleteSchemaRevisionRequest)
com.google.pubsub.v1.DeleteSchemaRevisionRequestOrBuilder {
@@ -381,7 +387,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.pubsub.v1.SchemaProto
.internal_static_google_pubsub_v1_DeleteSchemaRevisionRequest_fieldAccessorTable
@@ -393,7 +399,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
// Construct using com.google.pubsub.v1.DeleteSchemaRevisionRequest.newBuilder()
private Builder() {}
- private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@@ -447,39 +453,6 @@ private void buildPartial0(com.google.pubsub.v1.DeleteSchemaRevisionRequest resu
}
}
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
-
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
- return super.setField(field, value);
- }
-
- @java.lang.Override
- public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
-
- @java.lang.Override
- public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
-
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
-
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
-
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.google.pubsub.v1.DeleteSchemaRevisionRequest) {
@@ -837,17 +810,6 @@ public Builder setRevisionIdBytes(com.google.protobuf.ByteString value) {
return this;
}
- @java.lang.Override
- public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
// @@protoc_insertion_point(builder_scope:google.pubsub.v1.DeleteSchemaRevisionRequest)
}
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 f3a1d7ea3..a116ea05e 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
@@ -1,5 +1,5 @@
/*
- * Copyright 2025 Google LLC
+ * Copyright 2026 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -14,11 +14,13 @@
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: google/pubsub/v1/schema.proto
+// Protobuf Java Version: 4.33.2
-// Protobuf Java Version: 3.25.8
package com.google.pubsub.v1;
+@com.google.protobuf.Generated
public interface DeleteSchemaRevisionRequestOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.pubsub.v1.DeleteSchemaRevisionRequest)
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 47083fed1..4fd129540 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
@@ -1,5 +1,5 @@
/*
- * Copyright 2025 Google LLC
+ * Copyright 2026 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -14,9 +14,10 @@
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: google/pubsub/v1/pubsub.proto
+// Protobuf Java Version: 4.33.2
-// Protobuf Java Version: 3.25.8
package com.google.pubsub.v1;
/**
@@ -28,14 +29,25 @@
*
* Protobuf type {@code google.pubsub.v1.DeleteSnapshotRequest}
*/
-public final class DeleteSnapshotRequest extends com.google.protobuf.GeneratedMessageV3
+@com.google.protobuf.Generated
+public final class DeleteSnapshotRequest extends com.google.protobuf.GeneratedMessage
implements
// @@protoc_insertion_point(message_implements:google.pubsub.v1.DeleteSnapshotRequest)
DeleteSnapshotRequestOrBuilder {
private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 33,
+ /* patch= */ 2,
+ /* suffix= */ "",
+ "DeleteSnapshotRequest");
+ }
+
// Use DeleteSnapshotRequest.newBuilder() to construct.
- private DeleteSnapshotRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ private DeleteSnapshotRequest(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
@@ -43,19 +55,13 @@ private DeleteSnapshotRequest() {
snapshot_ = "";
}
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
- return new DeleteSnapshotRequest();
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.pubsub.v1.PubsubProto
.internal_static_google_pubsub_v1_DeleteSnapshotRequest_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.pubsub.v1.PubsubProto
.internal_static_google_pubsub_v1_DeleteSnapshotRequest_fieldAccessorTable
@@ -73,12 +79,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
*
- * Required. Identifier. The name of the snapshot to delete.
+ * Required. The name of the snapshot to delete.
* Format is `projects/{project}/snapshots/{snap}`.
*
*
*
- * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... }
+ * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
*
* @return The snapshot.
@@ -100,12 +106,12 @@ public java.lang.String getSnapshot() {
*
*
*
- * Required. Identifier. The name of the snapshot to delete.
+ * Required. The name of the snapshot to delete.
* Format is `projects/{project}/snapshots/{snap}`.
*
*
*
- * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... }
+ * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
*
* @return The bytes for snapshot.
@@ -137,8 +143,8 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(snapshot_)) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 1, snapshot_);
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(snapshot_)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 1, snapshot_);
}
getUnknownFields().writeTo(output);
}
@@ -149,8 +155,8 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(snapshot_)) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, snapshot_);
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(snapshot_)) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(1, snapshot_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
@@ -224,38 +230,38 @@ public static com.google.pubsub.v1.DeleteSnapshotRequest parseFrom(
public static com.google.pubsub.v1.DeleteSnapshotRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
}
public static com.google.pubsub.v1.DeleteSnapshotRequest parseFrom(
java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
PARSER, input, extensionRegistry);
}
public static com.google.pubsub.v1.DeleteSnapshotRequest parseDelimitedFrom(
java.io.InputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
}
public static com.google.pubsub.v1.DeleteSnapshotRequest parseDelimitedFrom(
java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
PARSER, input, extensionRegistry);
}
public static com.google.pubsub.v1.DeleteSnapshotRequest parseFrom(
com.google.protobuf.CodedInputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
}
public static com.google.pubsub.v1.DeleteSnapshotRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
PARSER, input, extensionRegistry);
}
@@ -278,7 +284,7 @@ public Builder toBuilder() {
}
@java.lang.Override
- protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -292,7 +298,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
* Protobuf type {@code google.pubsub.v1.DeleteSnapshotRequest}
*/
- public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
implements
// @@protoc_insertion_point(builder_implements:google.pubsub.v1.DeleteSnapshotRequest)
com.google.pubsub.v1.DeleteSnapshotRequestOrBuilder {
@@ -302,7 +308,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.pubsub.v1.PubsubProto
.internal_static_google_pubsub_v1_DeleteSnapshotRequest_fieldAccessorTable
@@ -314,7 +320,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
// Construct using com.google.pubsub.v1.DeleteSnapshotRequest.newBuilder()
private Builder() {}
- private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@@ -364,39 +370,6 @@ private void buildPartial0(com.google.pubsub.v1.DeleteSnapshotRequest result) {
}
}
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
-
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
- return super.setField(field, value);
- }
-
- @java.lang.Override
- public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
-
- @java.lang.Override
- public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
-
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
-
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
-
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.google.pubsub.v1.DeleteSnapshotRequest) {
@@ -471,12 +444,12 @@ public Builder mergeFrom(
*
*
*
- * Required. Identifier. The name of the snapshot to delete.
+ * Required. The name of the snapshot to delete.
* Format is `projects/{project}/snapshots/{snap}`.
*
*
*
- * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... }
+ * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
*
* @return The snapshot.
@@ -497,12 +470,12 @@ public java.lang.String getSnapshot() {
*
*
*
- * Required. Identifier. The name of the snapshot to delete.
+ * Required. The name of the snapshot to delete.
* Format is `projects/{project}/snapshots/{snap}`.
*
*
*
- * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... }
+ * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
*
* @return The bytes for snapshot.
@@ -523,12 +496,12 @@ public com.google.protobuf.ByteString getSnapshotBytes() {
*
*
*
- * Required. Identifier. The name of the snapshot to delete.
+ * Required. The name of the snapshot to delete.
* Format is `projects/{project}/snapshots/{snap}`.
*
*
*
- * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... }
+ * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
*
* @param value The snapshot to set.
@@ -548,12 +521,12 @@ public Builder setSnapshot(java.lang.String value) {
*
*
*
- * Required. Identifier. The name of the snapshot to delete.
+ * Required. The name of the snapshot to delete.
* Format is `projects/{project}/snapshots/{snap}`.
*
*
*
- * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... }
+ * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
*
* @return This builder for chaining.
@@ -569,12 +542,12 @@ public Builder clearSnapshot() {
*
*
*
- * Required. Identifier. The name of the snapshot to delete.
+ * Required. The name of the snapshot to delete.
* Format is `projects/{project}/snapshots/{snap}`.
*
*
*
- * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... }
+ * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
*
* @param value The bytes for snapshot to set.
@@ -591,17 +564,6 @@ public Builder setSnapshotBytes(com.google.protobuf.ByteString value) {
return this;
}
- @java.lang.Override
- public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
// @@protoc_insertion_point(builder_scope:google.pubsub.v1.DeleteSnapshotRequest)
}
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 5a4dd6337..aa0db9d68 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
@@ -1,5 +1,5 @@
/*
- * Copyright 2025 Google LLC
+ * Copyright 2026 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -14,11 +14,13 @@
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: google/pubsub/v1/pubsub.proto
+// Protobuf Java Version: 4.33.2
-// Protobuf Java Version: 3.25.8
package com.google.pubsub.v1;
+@com.google.protobuf.Generated
public interface DeleteSnapshotRequestOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.pubsub.v1.DeleteSnapshotRequest)
@@ -28,12 +30,12 @@ public interface DeleteSnapshotRequestOrBuilder
*
*
*
- * Required. Identifier. The name of the snapshot to delete.
+ * Required. The name of the snapshot to delete.
* Format is `projects/{project}/snapshots/{snap}`.
*
*
*
- * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... }
+ * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
*
* @return The snapshot.
@@ -44,12 +46,12 @@ public interface DeleteSnapshotRequestOrBuilder
*
*
*
- * Required. Identifier. The name of the snapshot to delete.
+ * Required. The name of the snapshot to delete.
* Format is `projects/{project}/snapshots/{snap}`.
*
*
*
- * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... }
+ * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
*
* @return The bytes for snapshot.
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 961fdf8a6..0b55f9447 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
@@ -1,5 +1,5 @@
/*
- * Copyright 2025 Google LLC
+ * Copyright 2026 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -14,9 +14,10 @@
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: google/pubsub/v1/pubsub.proto
+// Protobuf Java Version: 4.33.2
-// Protobuf Java Version: 3.25.8
package com.google.pubsub.v1;
/**
@@ -28,14 +29,25 @@
*
* Protobuf type {@code google.pubsub.v1.DeleteSubscriptionRequest}
*/
-public final class DeleteSubscriptionRequest extends com.google.protobuf.GeneratedMessageV3
+@com.google.protobuf.Generated
+public final class DeleteSubscriptionRequest extends com.google.protobuf.GeneratedMessage
implements
// @@protoc_insertion_point(message_implements:google.pubsub.v1.DeleteSubscriptionRequest)
DeleteSubscriptionRequestOrBuilder {
private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 33,
+ /* patch= */ 2,
+ /* suffix= */ "",
+ "DeleteSubscriptionRequest");
+ }
+
// Use DeleteSubscriptionRequest.newBuilder() to construct.
- private DeleteSubscriptionRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ private DeleteSubscriptionRequest(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
@@ -43,19 +55,13 @@ private DeleteSubscriptionRequest() {
subscription_ = "";
}
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
- return new DeleteSubscriptionRequest();
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.pubsub.v1.PubsubProto
.internal_static_google_pubsub_v1_DeleteSubscriptionRequest_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.pubsub.v1.PubsubProto
.internal_static_google_pubsub_v1_DeleteSubscriptionRequest_fieldAccessorTable
@@ -73,12 +79,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
*
- * Required. Identifier. The subscription to delete.
+ * Required. The subscription to delete.
* Format is `projects/{project}/subscriptions/{sub}`.
*
*
*
- * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... }
+ * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
*
* @return The subscription.
@@ -100,12 +106,12 @@ public java.lang.String getSubscription() {
*
*
*
- * Required. Identifier. The subscription to delete.
+ * Required. The subscription to delete.
* Format is `projects/{project}/subscriptions/{sub}`.
*
*
*
- * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... }
+ * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
*
* @return The bytes for subscription.
@@ -137,8 +143,8 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subscription_)) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 1, subscription_);
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(subscription_)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 1, subscription_);
}
getUnknownFields().writeTo(output);
}
@@ -149,8 +155,8 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subscription_)) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, subscription_);
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(subscription_)) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(1, subscription_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
@@ -224,38 +230,38 @@ public static com.google.pubsub.v1.DeleteSubscriptionRequest parseFrom(
public static com.google.pubsub.v1.DeleteSubscriptionRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
}
public static com.google.pubsub.v1.DeleteSubscriptionRequest parseFrom(
java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
PARSER, input, extensionRegistry);
}
public static com.google.pubsub.v1.DeleteSubscriptionRequest parseDelimitedFrom(
java.io.InputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
}
public static com.google.pubsub.v1.DeleteSubscriptionRequest parseDelimitedFrom(
java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
PARSER, input, extensionRegistry);
}
public static com.google.pubsub.v1.DeleteSubscriptionRequest parseFrom(
com.google.protobuf.CodedInputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
}
public static com.google.pubsub.v1.DeleteSubscriptionRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
PARSER, input, extensionRegistry);
}
@@ -278,7 +284,7 @@ public Builder toBuilder() {
}
@java.lang.Override
- protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -292,7 +298,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
* Protobuf type {@code google.pubsub.v1.DeleteSubscriptionRequest}
*/
- public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
implements
// @@protoc_insertion_point(builder_implements:google.pubsub.v1.DeleteSubscriptionRequest)
com.google.pubsub.v1.DeleteSubscriptionRequestOrBuilder {
@@ -302,7 +308,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.pubsub.v1.PubsubProto
.internal_static_google_pubsub_v1_DeleteSubscriptionRequest_fieldAccessorTable
@@ -314,7 +320,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
// Construct using com.google.pubsub.v1.DeleteSubscriptionRequest.newBuilder()
private Builder() {}
- private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@@ -364,39 +370,6 @@ private void buildPartial0(com.google.pubsub.v1.DeleteSubscriptionRequest result
}
}
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
-
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
- return super.setField(field, value);
- }
-
- @java.lang.Override
- public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
-
- @java.lang.Override
- public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
-
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
-
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
-
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.google.pubsub.v1.DeleteSubscriptionRequest) {
@@ -471,12 +444,12 @@ public Builder mergeFrom(
*
*
*
- * Required. Identifier. The subscription to delete.
+ * Required. The subscription to delete.
* Format is `projects/{project}/subscriptions/{sub}`.
*
*
*
- * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... }
+ * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
*
* @return The subscription.
@@ -497,12 +470,12 @@ public java.lang.String getSubscription() {
*
*
*
- * Required. Identifier. The subscription to delete.
+ * Required. The subscription to delete.
* Format is `projects/{project}/subscriptions/{sub}`.
*
*
*
- * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... }
+ * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
*
* @return The bytes for subscription.
@@ -523,12 +496,12 @@ public com.google.protobuf.ByteString getSubscriptionBytes() {
*
*
*
- * Required. Identifier. The subscription to delete.
+ * Required. The subscription to delete.
* Format is `projects/{project}/subscriptions/{sub}`.
*
*
*
- * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... }
+ * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
*
* @param value The subscription to set.
@@ -548,12 +521,12 @@ public Builder setSubscription(java.lang.String value) {
*
*
*
- * Required. Identifier. The subscription to delete.
+ * Required. The subscription to delete.
* Format is `projects/{project}/subscriptions/{sub}`.
*
*
*
- * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... }
+ * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
*
* @return This builder for chaining.
@@ -569,12 +542,12 @@ public Builder clearSubscription() {
*
*
*
- * Required. Identifier. The subscription to delete.
+ * Required. The subscription to delete.
* Format is `projects/{project}/subscriptions/{sub}`.
*
*
*
- * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... }
+ * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
*
* @param value The bytes for subscription to set.
@@ -591,17 +564,6 @@ public Builder setSubscriptionBytes(com.google.protobuf.ByteString value) {
return this;
}
- @java.lang.Override
- public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
// @@protoc_insertion_point(builder_scope:google.pubsub.v1.DeleteSubscriptionRequest)
}
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 5ab0407d2..407ff8133 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
@@ -1,5 +1,5 @@
/*
- * Copyright 2025 Google LLC
+ * Copyright 2026 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -14,11 +14,13 @@
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: google/pubsub/v1/pubsub.proto
+// Protobuf Java Version: 4.33.2
-// Protobuf Java Version: 3.25.8
package com.google.pubsub.v1;
+@com.google.protobuf.Generated
public interface DeleteSubscriptionRequestOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.pubsub.v1.DeleteSubscriptionRequest)
@@ -28,12 +30,12 @@ public interface DeleteSubscriptionRequestOrBuilder
*
*
*
- * Required. Identifier. The subscription to delete.
+ * Required. The subscription to delete.
* Format is `projects/{project}/subscriptions/{sub}`.
*
*
*
- * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... }
+ * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
*
* @return The subscription.
@@ -44,12 +46,12 @@ public interface DeleteSubscriptionRequestOrBuilder
*
*
*
- * Required. Identifier. The subscription to delete.
+ * Required. The subscription to delete.
* Format is `projects/{project}/subscriptions/{sub}`.
*
*
*
- * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... }
+ * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
*
* @return The bytes for subscription.
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 7171ad93c..2d2b37801 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
@@ -1,5 +1,5 @@
/*
- * Copyright 2025 Google LLC
+ * Copyright 2026 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -14,9 +14,10 @@
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: google/pubsub/v1/pubsub.proto
+// Protobuf Java Version: 4.33.2
-// Protobuf Java Version: 3.25.8
package com.google.pubsub.v1;
/**
@@ -28,14 +29,25 @@
*
* Protobuf type {@code google.pubsub.v1.DeleteTopicRequest}
*/
-public final class DeleteTopicRequest extends com.google.protobuf.GeneratedMessageV3
+@com.google.protobuf.Generated
+public final class DeleteTopicRequest extends com.google.protobuf.GeneratedMessage
implements
// @@protoc_insertion_point(message_implements:google.pubsub.v1.DeleteTopicRequest)
DeleteTopicRequestOrBuilder {
private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 33,
+ /* patch= */ 2,
+ /* suffix= */ "",
+ "DeleteTopicRequest");
+ }
+
// Use DeleteTopicRequest.newBuilder() to construct.
- private DeleteTopicRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ private DeleteTopicRequest(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
@@ -43,19 +55,13 @@ private DeleteTopicRequest() {
topic_ = "";
}
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
- return new DeleteTopicRequest();
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.pubsub.v1.PubsubProto
.internal_static_google_pubsub_v1_DeleteTopicRequest_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.pubsub.v1.PubsubProto
.internal_static_google_pubsub_v1_DeleteTopicRequest_fieldAccessorTable
@@ -73,12 +79,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
*
- * Required. Identifier. Name of the topic to delete.
+ * Required. Name of the topic to delete.
* Format is `projects/{project}/topics/{topic}`.
*
*
*
- * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... }
+ * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
*
* @return The topic.
@@ -100,12 +106,12 @@ public java.lang.String getTopic() {
*
*
*
- * Required. Identifier. Name of the topic to delete.
+ * Required. Name of the topic to delete.
* Format is `projects/{project}/topics/{topic}`.
*
*
*
- * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... }
+ * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
*
* @return The bytes for topic.
@@ -137,8 +143,8 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(topic_)) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 1, topic_);
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(topic_)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 1, topic_);
}
getUnknownFields().writeTo(output);
}
@@ -149,8 +155,8 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(topic_)) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, topic_);
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(topic_)) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(1, topic_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
@@ -223,38 +229,38 @@ public static com.google.pubsub.v1.DeleteTopicRequest parseFrom(
public static com.google.pubsub.v1.DeleteTopicRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
}
public static com.google.pubsub.v1.DeleteTopicRequest parseFrom(
java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
PARSER, input, extensionRegistry);
}
public static com.google.pubsub.v1.DeleteTopicRequest parseDelimitedFrom(
java.io.InputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
}
public static com.google.pubsub.v1.DeleteTopicRequest parseDelimitedFrom(
java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
PARSER, input, extensionRegistry);
}
public static com.google.pubsub.v1.DeleteTopicRequest parseFrom(
com.google.protobuf.CodedInputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
}
public static com.google.pubsub.v1.DeleteTopicRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
PARSER, input, extensionRegistry);
}
@@ -277,7 +283,7 @@ public Builder toBuilder() {
}
@java.lang.Override
- protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -291,7 +297,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
* Protobuf type {@code google.pubsub.v1.DeleteTopicRequest}
*/
- public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
implements
// @@protoc_insertion_point(builder_implements:google.pubsub.v1.DeleteTopicRequest)
com.google.pubsub.v1.DeleteTopicRequestOrBuilder {
@@ -301,7 +307,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.pubsub.v1.PubsubProto
.internal_static_google_pubsub_v1_DeleteTopicRequest_fieldAccessorTable
@@ -313,7 +319,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
// Construct using com.google.pubsub.v1.DeleteTopicRequest.newBuilder()
private Builder() {}
- private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@@ -363,39 +369,6 @@ private void buildPartial0(com.google.pubsub.v1.DeleteTopicRequest result) {
}
}
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
-
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
- return super.setField(field, value);
- }
-
- @java.lang.Override
- public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
-
- @java.lang.Override
- public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
-
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
-
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
-
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.google.pubsub.v1.DeleteTopicRequest) {
@@ -470,12 +443,12 @@ public Builder mergeFrom(
*
*
*
- * Required. Identifier. Name of the topic to delete.
+ * Required. Name of the topic to delete.
* Format is `projects/{project}/topics/{topic}`.
*
*
*
- * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... }
+ * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
*
* @return The topic.
@@ -496,12 +469,12 @@ public java.lang.String getTopic() {
*
*
*
- * Required. Identifier. Name of the topic to delete.
+ * Required. Name of the topic to delete.
* Format is `projects/{project}/topics/{topic}`.
*
*
*
- * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... }
+ * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
*
* @return The bytes for topic.
@@ -522,12 +495,12 @@ public com.google.protobuf.ByteString getTopicBytes() {
*
*
*
- * Required. Identifier. Name of the topic to delete.
+ * Required. Name of the topic to delete.
* Format is `projects/{project}/topics/{topic}`.
*
*
*
- * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... }
+ * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
*
* @param value The topic to set.
@@ -547,12 +520,12 @@ public Builder setTopic(java.lang.String value) {
*
*
*
- * Required. Identifier. Name of the topic to delete.
+ * Required. Name of the topic to delete.
* Format is `projects/{project}/topics/{topic}`.
*
*
*
- * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... }
+ * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
*
* @return This builder for chaining.
@@ -568,12 +541,12 @@ public Builder clearTopic() {
*
*
*
- * Required. Identifier. Name of the topic to delete.
+ * Required. Name of the topic to delete.
* Format is `projects/{project}/topics/{topic}`.
*
*
*
- * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... }
+ * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
*
* @param value The bytes for topic to set.
@@ -590,17 +563,6 @@ public Builder setTopicBytes(com.google.protobuf.ByteString value) {
return this;
}
- @java.lang.Override
- public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
// @@protoc_insertion_point(builder_scope:google.pubsub.v1.DeleteTopicRequest)
}
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 a13a646fd..ba2de1ac4 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
@@ -1,5 +1,5 @@
/*
- * Copyright 2025 Google LLC
+ * Copyright 2026 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -14,11 +14,13 @@
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: google/pubsub/v1/pubsub.proto
+// Protobuf Java Version: 4.33.2
-// Protobuf Java Version: 3.25.8
package com.google.pubsub.v1;
+@com.google.protobuf.Generated
public interface DeleteTopicRequestOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.pubsub.v1.DeleteTopicRequest)
@@ -28,12 +30,12 @@ public interface DeleteTopicRequestOrBuilder
*
*
*
- * Required. Identifier. Name of the topic to delete.
+ * Required. Name of the topic to delete.
* Format is `projects/{project}/topics/{topic}`.
*
*
*
- * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... }
+ * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
*
* @return The topic.
@@ -44,12 +46,12 @@ public interface DeleteTopicRequestOrBuilder
*
*
*
- * Required. Identifier. Name of the topic to delete.
+ * Required. Name of the topic to delete.
* Format is `projects/{project}/topics/{topic}`.
*
*
*
- * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... }
+ * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
*
* @return The bytes for topic.
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 8e3a863ce..074171a8e 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
@@ -1,5 +1,5 @@
/*
- * Copyright 2025 Google LLC
+ * Copyright 2026 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -14,9 +14,10 @@
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: google/pubsub/v1/pubsub.proto
+// Protobuf Java Version: 4.33.2
-// Protobuf Java Version: 3.25.8
package com.google.pubsub.v1;
/**
@@ -28,14 +29,25 @@
*
* Protobuf type {@code google.pubsub.v1.DetachSubscriptionRequest}
*/
-public final class DetachSubscriptionRequest extends com.google.protobuf.GeneratedMessageV3
+@com.google.protobuf.Generated
+public final class DetachSubscriptionRequest extends com.google.protobuf.GeneratedMessage
implements
// @@protoc_insertion_point(message_implements:google.pubsub.v1.DetachSubscriptionRequest)
DetachSubscriptionRequestOrBuilder {
private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 33,
+ /* patch= */ 2,
+ /* suffix= */ "",
+ "DetachSubscriptionRequest");
+ }
+
// Use DetachSubscriptionRequest.newBuilder() to construct.
- private DetachSubscriptionRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ private DetachSubscriptionRequest(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
@@ -43,19 +55,13 @@ private DetachSubscriptionRequest() {
subscription_ = "";
}
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
- return new DetachSubscriptionRequest();
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.pubsub.v1.PubsubProto
.internal_static_google_pubsub_v1_DetachSubscriptionRequest_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.pubsub.v1.PubsubProto
.internal_static_google_pubsub_v1_DetachSubscriptionRequest_fieldAccessorTable
@@ -137,8 +143,8 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subscription_)) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 1, subscription_);
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(subscription_)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 1, subscription_);
}
getUnknownFields().writeTo(output);
}
@@ -149,8 +155,8 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subscription_)) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, subscription_);
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(subscription_)) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(1, subscription_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
@@ -224,38 +230,38 @@ public static com.google.pubsub.v1.DetachSubscriptionRequest parseFrom(
public static com.google.pubsub.v1.DetachSubscriptionRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
}
public static com.google.pubsub.v1.DetachSubscriptionRequest parseFrom(
java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
PARSER, input, extensionRegistry);
}
public static com.google.pubsub.v1.DetachSubscriptionRequest parseDelimitedFrom(
java.io.InputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
}
public static com.google.pubsub.v1.DetachSubscriptionRequest parseDelimitedFrom(
java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
PARSER, input, extensionRegistry);
}
public static com.google.pubsub.v1.DetachSubscriptionRequest parseFrom(
com.google.protobuf.CodedInputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
}
public static com.google.pubsub.v1.DetachSubscriptionRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
PARSER, input, extensionRegistry);
}
@@ -278,7 +284,7 @@ public Builder toBuilder() {
}
@java.lang.Override
- protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -292,7 +298,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
* Protobuf type {@code google.pubsub.v1.DetachSubscriptionRequest}
*/
- public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
implements
// @@protoc_insertion_point(builder_implements:google.pubsub.v1.DetachSubscriptionRequest)
com.google.pubsub.v1.DetachSubscriptionRequestOrBuilder {
@@ -302,7 +308,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.pubsub.v1.PubsubProto
.internal_static_google_pubsub_v1_DetachSubscriptionRequest_fieldAccessorTable
@@ -314,7 +320,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
// Construct using com.google.pubsub.v1.DetachSubscriptionRequest.newBuilder()
private Builder() {}
- private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@@ -364,39 +370,6 @@ private void buildPartial0(com.google.pubsub.v1.DetachSubscriptionRequest result
}
}
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
-
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
- return super.setField(field, value);
- }
-
- @java.lang.Override
- public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
-
- @java.lang.Override
- public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
-
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
-
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
-
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.google.pubsub.v1.DetachSubscriptionRequest) {
@@ -591,17 +564,6 @@ public Builder setSubscriptionBytes(com.google.protobuf.ByteString value) {
return this;
}
- @java.lang.Override
- public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
// @@protoc_insertion_point(builder_scope:google.pubsub.v1.DetachSubscriptionRequest)
}
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 49afe0240..2980352a4 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
@@ -1,5 +1,5 @@
/*
- * Copyright 2025 Google LLC
+ * Copyright 2026 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -14,11 +14,13 @@
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: google/pubsub/v1/pubsub.proto
+// Protobuf Java Version: 4.33.2
-// Protobuf Java Version: 3.25.8
package com.google.pubsub.v1;
+@com.google.protobuf.Generated
public interface DetachSubscriptionRequestOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.pubsub.v1.DetachSubscriptionRequest)
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 53c87d21d..6cc5449ec 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
@@ -1,5 +1,5 @@
/*
- * Copyright 2025 Google LLC
+ * Copyright 2026 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -14,9 +14,10 @@
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: google/pubsub/v1/pubsub.proto
+// Protobuf Java Version: 4.33.2
-// Protobuf Java Version: 3.25.8
package com.google.pubsub.v1;
/**
@@ -29,32 +30,37 @@
*
* Protobuf type {@code google.pubsub.v1.DetachSubscriptionResponse}
*/
-public final class DetachSubscriptionResponse extends com.google.protobuf.GeneratedMessageV3
+@com.google.protobuf.Generated
+public final class DetachSubscriptionResponse extends com.google.protobuf.GeneratedMessage
implements
// @@protoc_insertion_point(message_implements:google.pubsub.v1.DetachSubscriptionResponse)
DetachSubscriptionResponseOrBuilder {
private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 33,
+ /* patch= */ 2,
+ /* suffix= */ "",
+ "DetachSubscriptionResponse");
+ }
+
// Use DetachSubscriptionResponse.newBuilder() to construct.
- private DetachSubscriptionResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ private DetachSubscriptionResponse(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private DetachSubscriptionResponse() {}
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
- return new DetachSubscriptionResponse();
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.pubsub.v1.PubsubProto
.internal_static_google_pubsub_v1_DetachSubscriptionResponse_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.pubsub.v1.PubsubProto
.internal_static_google_pubsub_v1_DetachSubscriptionResponse_fieldAccessorTable
@@ -155,38 +161,38 @@ public static com.google.pubsub.v1.DetachSubscriptionResponse parseFrom(
public static com.google.pubsub.v1.DetachSubscriptionResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
}
public static com.google.pubsub.v1.DetachSubscriptionResponse parseFrom(
java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
PARSER, input, extensionRegistry);
}
public static com.google.pubsub.v1.DetachSubscriptionResponse parseDelimitedFrom(
java.io.InputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
}
public static com.google.pubsub.v1.DetachSubscriptionResponse parseDelimitedFrom(
java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
PARSER, input, extensionRegistry);
}
public static com.google.pubsub.v1.DetachSubscriptionResponse parseFrom(
com.google.protobuf.CodedInputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
}
public static com.google.pubsub.v1.DetachSubscriptionResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
PARSER, input, extensionRegistry);
}
@@ -209,7 +215,7 @@ public Builder toBuilder() {
}
@java.lang.Override
- protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -224,7 +230,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
* Protobuf type {@code google.pubsub.v1.DetachSubscriptionResponse}
*/
- public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
implements
// @@protoc_insertion_point(builder_implements:google.pubsub.v1.DetachSubscriptionResponse)
com.google.pubsub.v1.DetachSubscriptionResponseOrBuilder {
@@ -234,7 +240,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.pubsub.v1.PubsubProto
.internal_static_google_pubsub_v1_DetachSubscriptionResponse_fieldAccessorTable
@@ -246,7 +252,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
// Construct using com.google.pubsub.v1.DetachSubscriptionResponse.newBuilder()
private Builder() {}
- private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@@ -284,39 +290,6 @@ public com.google.pubsub.v1.DetachSubscriptionResponse buildPartial() {
return result;
}
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
-
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
- return super.setField(field, value);
- }
-
- @java.lang.Override
- public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
-
- @java.lang.Override
- public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
-
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
-
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
-
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.google.pubsub.v1.DetachSubscriptionResponse) {
@@ -373,17 +346,6 @@ public Builder mergeFrom(
return this;
}
- @java.lang.Override
- public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
// @@protoc_insertion_point(builder_scope:google.pubsub.v1.DetachSubscriptionResponse)
}
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 b9e42c7cd..52e34716c 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
@@ -1,5 +1,5 @@
/*
- * Copyright 2025 Google LLC
+ * Copyright 2026 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -14,11 +14,13 @@
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: google/pubsub/v1/pubsub.proto
+// Protobuf Java Version: 4.33.2
-// Protobuf Java Version: 3.25.8
package com.google.pubsub.v1;
+@com.google.protobuf.Generated
public interface DetachSubscriptionResponseOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.pubsub.v1.DetachSubscriptionResponse)
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 12f4a8105..3c03c8a9e 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
@@ -1,5 +1,5 @@
/*
- * Copyright 2025 Google LLC
+ * Copyright 2026 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -14,9 +14,10 @@
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: google/pubsub/v1/schema.proto
+// Protobuf Java Version: 4.33.2
-// Protobuf Java Version: 3.25.8
package com.google.pubsub.v1;
/**
@@ -28,6 +29,7 @@
*
* Protobuf enum {@code google.pubsub.v1.Encoding}
*/
+@com.google.protobuf.Generated
public enum Encoding implements com.google.protobuf.ProtocolMessageEnum {
/**
*
@@ -63,6 +65,16 @@ public enum Encoding implements com.google.protobuf.ProtocolMessageEnum {
UNRECOGNIZED(-1),
;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 33,
+ /* patch= */ 2,
+ /* suffix= */ "",
+ "Encoding");
+ }
+
/**
*
*
@@ -155,7 +167,7 @@ public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType
return getDescriptor();
}
- public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+ public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
return com.google.pubsub.v1.SchemaProto.getDescriptor().getEnumTypes().get(1);
}
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 708cc8cec..ef25fb02c 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
@@ -1,5 +1,5 @@
/*
- * Copyright 2025 Google LLC
+ * Copyright 2026 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -14,9 +14,10 @@
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: google/pubsub/v1/pubsub.proto
+// Protobuf Java Version: 4.33.2
-// Protobuf Java Version: 3.25.8
package com.google.pubsub.v1;
/**
@@ -29,32 +30,37 @@
*
* Protobuf type {@code google.pubsub.v1.ExpirationPolicy}
*/
-public final class ExpirationPolicy extends com.google.protobuf.GeneratedMessageV3
+@com.google.protobuf.Generated
+public final class ExpirationPolicy extends com.google.protobuf.GeneratedMessage
implements
// @@protoc_insertion_point(message_implements:google.pubsub.v1.ExpirationPolicy)
ExpirationPolicyOrBuilder {
private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 33,
+ /* patch= */ 2,
+ /* suffix= */ "",
+ "ExpirationPolicy");
+ }
+
// Use ExpirationPolicy.newBuilder() to construct.
- private ExpirationPolicy(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ private ExpirationPolicy(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private ExpirationPolicy() {}
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
- return new ExpirationPolicy();
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.pubsub.v1.PubsubProto
.internal_static_google_pubsub_v1_ExpirationPolicy_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.pubsub.v1.PubsubProto
.internal_static_google_pubsub_v1_ExpirationPolicy_fieldAccessorTable
@@ -232,38 +238,38 @@ public static com.google.pubsub.v1.ExpirationPolicy parseFrom(
public static com.google.pubsub.v1.ExpirationPolicy parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
}
public static com.google.pubsub.v1.ExpirationPolicy parseFrom(
java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
PARSER, input, extensionRegistry);
}
public static com.google.pubsub.v1.ExpirationPolicy parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
}
public static com.google.pubsub.v1.ExpirationPolicy parseDelimitedFrom(
java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
PARSER, input, extensionRegistry);
}
public static com.google.pubsub.v1.ExpirationPolicy parseFrom(
com.google.protobuf.CodedInputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
}
public static com.google.pubsub.v1.ExpirationPolicy parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
PARSER, input, extensionRegistry);
}
@@ -286,7 +292,7 @@ public Builder toBuilder() {
}
@java.lang.Override
- protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -301,7 +307,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
* Protobuf type {@code google.pubsub.v1.ExpirationPolicy}
*/
- public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
implements
// @@protoc_insertion_point(builder_implements:google.pubsub.v1.ExpirationPolicy)
com.google.pubsub.v1.ExpirationPolicyOrBuilder {
@@ -311,7 +317,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.pubsub.v1.PubsubProto
.internal_static_google_pubsub_v1_ExpirationPolicy_fieldAccessorTable
@@ -325,14 +331,14 @@ private Builder() {
maybeForceBuilderInitialization();
}
- private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
- getTtlFieldBuilder();
+ if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
+ internalGetTtlFieldBuilder();
}
}
@@ -389,39 +395,6 @@ private void buildPartial0(com.google.pubsub.v1.ExpirationPolicy result) {
result.bitField0_ |= to_bitField0_;
}
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
-
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
- return super.setField(field, value);
- }
-
- @java.lang.Override
- public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
-
- @java.lang.Override
- public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
-
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
-
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
-
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.google.pubsub.v1.ExpirationPolicy) {
@@ -465,7 +438,7 @@ public Builder mergeFrom(
break;
case 10:
{
- input.readMessage(getTtlFieldBuilder().getBuilder(), extensionRegistry);
+ input.readMessage(internalGetTtlFieldBuilder().getBuilder(), extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
@@ -489,7 +462,7 @@ public Builder mergeFrom(
private int bitField0_;
private com.google.protobuf.Duration ttl_;
- private com.google.protobuf.SingleFieldBuilderV3<
+ private com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Duration,
com.google.protobuf.Duration.Builder,
com.google.protobuf.DurationOrBuilder>
@@ -667,7 +640,7 @@ public Builder clearTtl() {
public com.google.protobuf.Duration.Builder getTtlBuilder() {
bitField0_ |= 0x00000001;
onChanged();
- return getTtlFieldBuilder().getBuilder();
+ return internalGetTtlFieldBuilder().getBuilder();
}
/**
@@ -706,14 +679,14 @@ public com.google.protobuf.DurationOrBuilder getTtlOrBuilder() {
*
* .google.protobuf.Duration ttl = 1 [(.google.api.field_behavior) = OPTIONAL];
*/
- private com.google.protobuf.SingleFieldBuilderV3<
+ private com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Duration,
com.google.protobuf.Duration.Builder,
com.google.protobuf.DurationOrBuilder>
- getTtlFieldBuilder() {
+ internalGetTtlFieldBuilder() {
if (ttlBuilder_ == null) {
ttlBuilder_ =
- new com.google.protobuf.SingleFieldBuilderV3<
+ new com.google.protobuf.SingleFieldBuilder<
com.google.protobuf.Duration,
com.google.protobuf.Duration.Builder,
com.google.protobuf.DurationOrBuilder>(getTtl(), getParentForChildren(), isClean());
@@ -722,17 +695,6 @@ public com.google.protobuf.DurationOrBuilder getTtlOrBuilder() {
return ttlBuilder_;
}
- @java.lang.Override
- public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
// @@protoc_insertion_point(builder_scope:google.pubsub.v1.ExpirationPolicy)
}
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 2ae8cef69..825d9c775 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
@@ -1,5 +1,5 @@
/*
- * Copyright 2025 Google LLC
+ * Copyright 2026 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -14,11 +14,13 @@
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: google/pubsub/v1/pubsub.proto
+// Protobuf Java Version: 4.33.2
-// Protobuf Java Version: 3.25.8
package com.google.pubsub.v1;
+@com.google.protobuf.Generated
public interface ExpirationPolicyOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.pubsub.v1.ExpirationPolicy)
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 8888f0179..691454cd0 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
@@ -1,5 +1,5 @@
/*
- * Copyright 2025 Google LLC
+ * Copyright 2026 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -14,9 +14,10 @@
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: google/pubsub/v1/schema.proto
+// Protobuf Java Version: 4.33.2
-// Protobuf Java Version: 3.25.8
package com.google.pubsub.v1;
/**
@@ -28,14 +29,25 @@
*
* Protobuf type {@code google.pubsub.v1.GetSchemaRequest}
*/
-public final class GetSchemaRequest extends com.google.protobuf.GeneratedMessageV3
+@com.google.protobuf.Generated
+public final class GetSchemaRequest extends com.google.protobuf.GeneratedMessage
implements
// @@protoc_insertion_point(message_implements:google.pubsub.v1.GetSchemaRequest)
GetSchemaRequestOrBuilder {
private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 33,
+ /* patch= */ 2,
+ /* suffix= */ "",
+ "GetSchemaRequest");
+ }
+
// Use GetSchemaRequest.newBuilder() to construct.
- private GetSchemaRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ private GetSchemaRequest(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
@@ -44,19 +56,13 @@ private GetSchemaRequest() {
view_ = 0;
}
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
- return new GetSchemaRequest();
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.pubsub.v1.SchemaProto
.internal_static_google_pubsub_v1_GetSchemaRequest_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.pubsub.v1.SchemaProto
.internal_static_google_pubsub_v1_GetSchemaRequest_fieldAccessorTable
@@ -176,8 +182,8 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 1, name_);
}
if (view_ != com.google.pubsub.v1.SchemaView.SCHEMA_VIEW_UNSPECIFIED.getNumber()) {
output.writeEnum(2, view_);
@@ -191,8 +197,8 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_);
}
if (view_ != com.google.pubsub.v1.SchemaView.SCHEMA_VIEW_UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, view_);
@@ -270,38 +276,38 @@ public static com.google.pubsub.v1.GetSchemaRequest parseFrom(
public static com.google.pubsub.v1.GetSchemaRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
}
public static com.google.pubsub.v1.GetSchemaRequest parseFrom(
java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
PARSER, input, extensionRegistry);
}
public static com.google.pubsub.v1.GetSchemaRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
}
public static com.google.pubsub.v1.GetSchemaRequest parseDelimitedFrom(
java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
PARSER, input, extensionRegistry);
}
public static com.google.pubsub.v1.GetSchemaRequest parseFrom(
com.google.protobuf.CodedInputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
}
public static com.google.pubsub.v1.GetSchemaRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
PARSER, input, extensionRegistry);
}
@@ -324,7 +330,7 @@ public Builder toBuilder() {
}
@java.lang.Override
- protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -338,7 +344,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
* Protobuf type {@code google.pubsub.v1.GetSchemaRequest}
*/
- public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
implements
// @@protoc_insertion_point(builder_implements:google.pubsub.v1.GetSchemaRequest)
com.google.pubsub.v1.GetSchemaRequestOrBuilder {
@@ -348,7 +354,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.pubsub.v1.SchemaProto
.internal_static_google_pubsub_v1_GetSchemaRequest_fieldAccessorTable
@@ -360,7 +366,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
// Construct using com.google.pubsub.v1.GetSchemaRequest.newBuilder()
private Builder() {}
- private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@@ -414,39 +420,6 @@ private void buildPartial0(com.google.pubsub.v1.GetSchemaRequest result) {
}
}
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
-
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
- return super.setField(field, value);
- }
-
- @java.lang.Override
- public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
-
- @java.lang.Override
- public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
-
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
-
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
-
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.google.pubsub.v1.GetSchemaRequest) {
@@ -749,17 +722,6 @@ public Builder clearView() {
return this;
}
- @java.lang.Override
- public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
// @@protoc_insertion_point(builder_scope:google.pubsub.v1.GetSchemaRequest)
}
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 5b662fa6c..7f09aef11 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
@@ -1,5 +1,5 @@
/*
- * Copyright 2025 Google LLC
+ * Copyright 2026 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -14,11 +14,13 @@
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: google/pubsub/v1/schema.proto
+// Protobuf Java Version: 4.33.2
-// Protobuf Java Version: 3.25.8
package com.google.pubsub.v1;
+@com.google.protobuf.Generated
public interface GetSchemaRequestOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.pubsub.v1.GetSchemaRequest)
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 716559f8b..b8744fee0 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
@@ -1,5 +1,5 @@
/*
- * Copyright 2025 Google LLC
+ * Copyright 2026 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -14,9 +14,10 @@
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: google/pubsub/v1/pubsub.proto
+// Protobuf Java Version: 4.33.2
-// Protobuf Java Version: 3.25.8
package com.google.pubsub.v1;
/**
@@ -28,14 +29,25 @@
*
* Protobuf type {@code google.pubsub.v1.GetSnapshotRequest}
*/
-public final class GetSnapshotRequest extends com.google.protobuf.GeneratedMessageV3
+@com.google.protobuf.Generated
+public final class GetSnapshotRequest extends com.google.protobuf.GeneratedMessage
implements
// @@protoc_insertion_point(message_implements:google.pubsub.v1.GetSnapshotRequest)
GetSnapshotRequestOrBuilder {
private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 33,
+ /* patch= */ 2,
+ /* suffix= */ "",
+ "GetSnapshotRequest");
+ }
+
// Use GetSnapshotRequest.newBuilder() to construct.
- private GetSnapshotRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ private GetSnapshotRequest(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
@@ -43,19 +55,13 @@ private GetSnapshotRequest() {
snapshot_ = "";
}
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
- return new GetSnapshotRequest();
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.pubsub.v1.PubsubProto
.internal_static_google_pubsub_v1_GetSnapshotRequest_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.pubsub.v1.PubsubProto
.internal_static_google_pubsub_v1_GetSnapshotRequest_fieldAccessorTable
@@ -73,12 +79,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
*
- * Required. Identifier. The name of the snapshot to get.
+ * Required. The name of the snapshot to get.
* Format is `projects/{project}/snapshots/{snap}`.
*
*
*
- * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... }
+ * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
*
* @return The snapshot.
@@ -100,12 +106,12 @@ public java.lang.String getSnapshot() {
*
*
*
- * Required. Identifier. The name of the snapshot to get.
+ * Required. The name of the snapshot to get.
* Format is `projects/{project}/snapshots/{snap}`.
*
*
*
- * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... }
+ * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
*
* @return The bytes for snapshot.
@@ -137,8 +143,8 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(snapshot_)) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 1, snapshot_);
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(snapshot_)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 1, snapshot_);
}
getUnknownFields().writeTo(output);
}
@@ -149,8 +155,8 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(snapshot_)) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, snapshot_);
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(snapshot_)) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(1, snapshot_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
@@ -223,38 +229,38 @@ public static com.google.pubsub.v1.GetSnapshotRequest parseFrom(
public static com.google.pubsub.v1.GetSnapshotRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
}
public static com.google.pubsub.v1.GetSnapshotRequest parseFrom(
java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
PARSER, input, extensionRegistry);
}
public static com.google.pubsub.v1.GetSnapshotRequest parseDelimitedFrom(
java.io.InputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
}
public static com.google.pubsub.v1.GetSnapshotRequest parseDelimitedFrom(
java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
PARSER, input, extensionRegistry);
}
public static com.google.pubsub.v1.GetSnapshotRequest parseFrom(
com.google.protobuf.CodedInputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
}
public static com.google.pubsub.v1.GetSnapshotRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
PARSER, input, extensionRegistry);
}
@@ -277,7 +283,7 @@ public Builder toBuilder() {
}
@java.lang.Override
- protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -291,7 +297,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
* Protobuf type {@code google.pubsub.v1.GetSnapshotRequest}
*/
- public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
implements
// @@protoc_insertion_point(builder_implements:google.pubsub.v1.GetSnapshotRequest)
com.google.pubsub.v1.GetSnapshotRequestOrBuilder {
@@ -301,7 +307,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.pubsub.v1.PubsubProto
.internal_static_google_pubsub_v1_GetSnapshotRequest_fieldAccessorTable
@@ -313,7 +319,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
// Construct using com.google.pubsub.v1.GetSnapshotRequest.newBuilder()
private Builder() {}
- private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@@ -363,39 +369,6 @@ private void buildPartial0(com.google.pubsub.v1.GetSnapshotRequest result) {
}
}
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
-
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
- return super.setField(field, value);
- }
-
- @java.lang.Override
- public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
-
- @java.lang.Override
- public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
-
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
-
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
-
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.google.pubsub.v1.GetSnapshotRequest) {
@@ -470,12 +443,12 @@ public Builder mergeFrom(
*
*
*
- * Required. Identifier. The name of the snapshot to get.
+ * Required. The name of the snapshot to get.
* Format is `projects/{project}/snapshots/{snap}`.
*
*
*
- * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... }
+ * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
*
* @return The snapshot.
@@ -496,12 +469,12 @@ public java.lang.String getSnapshot() {
*
*
*
- * Required. Identifier. The name of the snapshot to get.
+ * Required. The name of the snapshot to get.
* Format is `projects/{project}/snapshots/{snap}`.
*
*
*
- * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... }
+ * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
*
* @return The bytes for snapshot.
@@ -522,12 +495,12 @@ public com.google.protobuf.ByteString getSnapshotBytes() {
*
*
*
- * Required. Identifier. The name of the snapshot to get.
+ * Required. The name of the snapshot to get.
* Format is `projects/{project}/snapshots/{snap}`.
*
*
*
- * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... }
+ * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
*
* @param value The snapshot to set.
@@ -547,12 +520,12 @@ public Builder setSnapshot(java.lang.String value) {
*
*
*
- * Required. Identifier. The name of the snapshot to get.
+ * Required. The name of the snapshot to get.
* Format is `projects/{project}/snapshots/{snap}`.
*
*
*
- * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... }
+ * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
*
* @return This builder for chaining.
@@ -568,12 +541,12 @@ public Builder clearSnapshot() {
*
*
*
- * Required. Identifier. The name of the snapshot to get.
+ * Required. The name of the snapshot to get.
* Format is `projects/{project}/snapshots/{snap}`.
*
*
*
- * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... }
+ * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
*
* @param value The bytes for snapshot to set.
@@ -590,17 +563,6 @@ public Builder setSnapshotBytes(com.google.protobuf.ByteString value) {
return this;
}
- @java.lang.Override
- public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
// @@protoc_insertion_point(builder_scope:google.pubsub.v1.GetSnapshotRequest)
}
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 343c6867c..d818ff674 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
@@ -1,5 +1,5 @@
/*
- * Copyright 2025 Google LLC
+ * Copyright 2026 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -14,11 +14,13 @@
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: google/pubsub/v1/pubsub.proto
+// Protobuf Java Version: 4.33.2
-// Protobuf Java Version: 3.25.8
package com.google.pubsub.v1;
+@com.google.protobuf.Generated
public interface GetSnapshotRequestOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.pubsub.v1.GetSnapshotRequest)
@@ -28,12 +30,12 @@ public interface GetSnapshotRequestOrBuilder
*
*
*
- * Required. Identifier. The name of the snapshot to get.
+ * Required. The name of the snapshot to get.
* Format is `projects/{project}/snapshots/{snap}`.
*
*
*
- * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... }
+ * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
*
* @return The snapshot.
@@ -44,12 +46,12 @@ public interface GetSnapshotRequestOrBuilder
*
*
*
- * Required. Identifier. The name of the snapshot to get.
+ * Required. The name of the snapshot to get.
* Format is `projects/{project}/snapshots/{snap}`.
*
*
*
- * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... }
+ * string snapshot = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
*
* @return The bytes for snapshot.
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 7b7e00da8..df1d38b06 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
@@ -1,5 +1,5 @@
/*
- * Copyright 2025 Google LLC
+ * Copyright 2026 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -14,9 +14,10 @@
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: google/pubsub/v1/pubsub.proto
+// Protobuf Java Version: 4.33.2
-// Protobuf Java Version: 3.25.8
package com.google.pubsub.v1;
/**
@@ -28,14 +29,25 @@
*
* Protobuf type {@code google.pubsub.v1.GetSubscriptionRequest}
*/
-public final class GetSubscriptionRequest extends com.google.protobuf.GeneratedMessageV3
+@com.google.protobuf.Generated
+public final class GetSubscriptionRequest extends com.google.protobuf.GeneratedMessage
implements
// @@protoc_insertion_point(message_implements:google.pubsub.v1.GetSubscriptionRequest)
GetSubscriptionRequestOrBuilder {
private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 33,
+ /* patch= */ 2,
+ /* suffix= */ "",
+ "GetSubscriptionRequest");
+ }
+
// Use GetSubscriptionRequest.newBuilder() to construct.
- private GetSubscriptionRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ private GetSubscriptionRequest(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
@@ -43,19 +55,13 @@ private GetSubscriptionRequest() {
subscription_ = "";
}
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
- return new GetSubscriptionRequest();
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.pubsub.v1.PubsubProto
.internal_static_google_pubsub_v1_GetSubscriptionRequest_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.pubsub.v1.PubsubProto
.internal_static_google_pubsub_v1_GetSubscriptionRequest_fieldAccessorTable
@@ -73,12 +79,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
*
- * Required. Identifier. The name of the subscription to get.
+ * Required. The name of the subscription to get.
* Format is `projects/{project}/subscriptions/{sub}`.
*
*
*
- * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... }
+ * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
*
* @return The subscription.
@@ -100,12 +106,12 @@ public java.lang.String getSubscription() {
*
*
*
- * Required. Identifier. The name of the subscription to get.
+ * Required. The name of the subscription to get.
* Format is `projects/{project}/subscriptions/{sub}`.
*
*
*
- * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... }
+ * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
*
* @return The bytes for subscription.
@@ -137,8 +143,8 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subscription_)) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 1, subscription_);
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(subscription_)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 1, subscription_);
}
getUnknownFields().writeTo(output);
}
@@ -149,8 +155,8 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subscription_)) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, subscription_);
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(subscription_)) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(1, subscription_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
@@ -224,38 +230,38 @@ public static com.google.pubsub.v1.GetSubscriptionRequest parseFrom(
public static com.google.pubsub.v1.GetSubscriptionRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
}
public static com.google.pubsub.v1.GetSubscriptionRequest parseFrom(
java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
PARSER, input, extensionRegistry);
}
public static com.google.pubsub.v1.GetSubscriptionRequest parseDelimitedFrom(
java.io.InputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
}
public static com.google.pubsub.v1.GetSubscriptionRequest parseDelimitedFrom(
java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
PARSER, input, extensionRegistry);
}
public static com.google.pubsub.v1.GetSubscriptionRequest parseFrom(
com.google.protobuf.CodedInputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
}
public static com.google.pubsub.v1.GetSubscriptionRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
PARSER, input, extensionRegistry);
}
@@ -278,7 +284,7 @@ public Builder toBuilder() {
}
@java.lang.Override
- protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -292,7 +298,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
* Protobuf type {@code google.pubsub.v1.GetSubscriptionRequest}
*/
- public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
implements
// @@protoc_insertion_point(builder_implements:google.pubsub.v1.GetSubscriptionRequest)
com.google.pubsub.v1.GetSubscriptionRequestOrBuilder {
@@ -302,7 +308,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.pubsub.v1.PubsubProto
.internal_static_google_pubsub_v1_GetSubscriptionRequest_fieldAccessorTable
@@ -314,7 +320,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
// Construct using com.google.pubsub.v1.GetSubscriptionRequest.newBuilder()
private Builder() {}
- private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@@ -364,39 +370,6 @@ private void buildPartial0(com.google.pubsub.v1.GetSubscriptionRequest result) {
}
}
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
-
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
- return super.setField(field, value);
- }
-
- @java.lang.Override
- public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
-
- @java.lang.Override
- public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
-
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
-
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
-
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.google.pubsub.v1.GetSubscriptionRequest) {
@@ -471,12 +444,12 @@ public Builder mergeFrom(
*
*
*
- * Required. Identifier. The name of the subscription to get.
+ * Required. The name of the subscription to get.
* Format is `projects/{project}/subscriptions/{sub}`.
*
*
*
- * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... }
+ * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
*
* @return The subscription.
@@ -497,12 +470,12 @@ public java.lang.String getSubscription() {
*
*
*
- * Required. Identifier. The name of the subscription to get.
+ * Required. The name of the subscription to get.
* Format is `projects/{project}/subscriptions/{sub}`.
*
*
*
- * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... }
+ * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
*
* @return The bytes for subscription.
@@ -523,12 +496,12 @@ public com.google.protobuf.ByteString getSubscriptionBytes() {
*
*
*
- * Required. Identifier. The name of the subscription to get.
+ * Required. The name of the subscription to get.
* Format is `projects/{project}/subscriptions/{sub}`.
*
*
*
- * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... }
+ * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
*
* @param value The subscription to set.
@@ -548,12 +521,12 @@ public Builder setSubscription(java.lang.String value) {
*
*
*
- * Required. Identifier. The name of the subscription to get.
+ * Required. The name of the subscription to get.
* Format is `projects/{project}/subscriptions/{sub}`.
*
*
*
- * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... }
+ * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
*
* @return This builder for chaining.
@@ -569,12 +542,12 @@ public Builder clearSubscription() {
*
*
*
- * Required. Identifier. The name of the subscription to get.
+ * Required. The name of the subscription to get.
* Format is `projects/{project}/subscriptions/{sub}`.
*
*
*
- * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... }
+ * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
*
* @param value The bytes for subscription to set.
@@ -591,17 +564,6 @@ public Builder setSubscriptionBytes(com.google.protobuf.ByteString value) {
return this;
}
- @java.lang.Override
- public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
// @@protoc_insertion_point(builder_scope:google.pubsub.v1.GetSubscriptionRequest)
}
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 4513defa8..93a8ea4fa 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
@@ -1,5 +1,5 @@
/*
- * Copyright 2025 Google LLC
+ * Copyright 2026 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -14,11 +14,13 @@
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: google/pubsub/v1/pubsub.proto
+// Protobuf Java Version: 4.33.2
-// Protobuf Java Version: 3.25.8
package com.google.pubsub.v1;
+@com.google.protobuf.Generated
public interface GetSubscriptionRequestOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.pubsub.v1.GetSubscriptionRequest)
@@ -28,12 +30,12 @@ public interface GetSubscriptionRequestOrBuilder
*
*
*
- * Required. Identifier. The name of the subscription to get.
+ * Required. The name of the subscription to get.
* Format is `projects/{project}/subscriptions/{sub}`.
*
*
*
- * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... }
+ * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
*
* @return The subscription.
@@ -44,12 +46,12 @@ public interface GetSubscriptionRequestOrBuilder
*
*
*
- * Required. Identifier. The name of the subscription to get.
+ * Required. The name of the subscription to get.
* Format is `projects/{project}/subscriptions/{sub}`.
*
*
*
- * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... }
+ * string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
*
* @return The bytes for subscription.
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 7d1490c14..215b1b7ce 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
@@ -1,5 +1,5 @@
/*
- * Copyright 2025 Google LLC
+ * Copyright 2026 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -14,9 +14,10 @@
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: google/pubsub/v1/pubsub.proto
+// Protobuf Java Version: 4.33.2
-// Protobuf Java Version: 3.25.8
package com.google.pubsub.v1;
/**
@@ -28,14 +29,25 @@
*
* Protobuf type {@code google.pubsub.v1.GetTopicRequest}
*/
-public final class GetTopicRequest extends com.google.protobuf.GeneratedMessageV3
+@com.google.protobuf.Generated
+public final class GetTopicRequest extends com.google.protobuf.GeneratedMessage
implements
// @@protoc_insertion_point(message_implements:google.pubsub.v1.GetTopicRequest)
GetTopicRequestOrBuilder {
private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 33,
+ /* patch= */ 2,
+ /* suffix= */ "",
+ "GetTopicRequest");
+ }
+
// Use GetTopicRequest.newBuilder() to construct.
- private GetTopicRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ private GetTopicRequest(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
@@ -43,19 +55,13 @@ private GetTopicRequest() {
topic_ = "";
}
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
- return new GetTopicRequest();
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.pubsub.v1.PubsubProto
.internal_static_google_pubsub_v1_GetTopicRequest_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.pubsub.v1.PubsubProto
.internal_static_google_pubsub_v1_GetTopicRequest_fieldAccessorTable
@@ -73,12 +79,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
*
- * Required. Identifier. The name of the topic to get.
+ * Required. The name of the topic to get.
* Format is `projects/{project}/topics/{topic}`.
*
*
*
- * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... }
+ * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
*
* @return The topic.
@@ -100,12 +106,12 @@ public java.lang.String getTopic() {
*
*
*
- * Required. Identifier. The name of the topic to get.
+ * Required. The name of the topic to get.
* Format is `projects/{project}/topics/{topic}`.
*
*
*
- * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... }
+ * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
*
* @return The bytes for topic.
@@ -137,8 +143,8 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(topic_)) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 1, topic_);
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(topic_)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 1, topic_);
}
getUnknownFields().writeTo(output);
}
@@ -149,8 +155,8 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(topic_)) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, topic_);
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(topic_)) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(1, topic_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
@@ -222,38 +228,38 @@ public static com.google.pubsub.v1.GetTopicRequest parseFrom(
public static com.google.pubsub.v1.GetTopicRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
}
public static com.google.pubsub.v1.GetTopicRequest parseFrom(
java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
PARSER, input, extensionRegistry);
}
public static com.google.pubsub.v1.GetTopicRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
}
public static com.google.pubsub.v1.GetTopicRequest parseDelimitedFrom(
java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
PARSER, input, extensionRegistry);
}
public static com.google.pubsub.v1.GetTopicRequest parseFrom(
com.google.protobuf.CodedInputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
}
public static com.google.pubsub.v1.GetTopicRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
PARSER, input, extensionRegistry);
}
@@ -276,7 +282,7 @@ public Builder toBuilder() {
}
@java.lang.Override
- protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -290,7 +296,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
* Protobuf type {@code google.pubsub.v1.GetTopicRequest}
*/
- public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
implements
// @@protoc_insertion_point(builder_implements:google.pubsub.v1.GetTopicRequest)
com.google.pubsub.v1.GetTopicRequestOrBuilder {
@@ -300,7 +306,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.pubsub.v1.PubsubProto
.internal_static_google_pubsub_v1_GetTopicRequest_fieldAccessorTable
@@ -312,7 +318,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
// Construct using com.google.pubsub.v1.GetTopicRequest.newBuilder()
private Builder() {}
- private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
}
@@ -361,39 +367,6 @@ private void buildPartial0(com.google.pubsub.v1.GetTopicRequest result) {
}
}
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
-
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
- return super.setField(field, value);
- }
-
- @java.lang.Override
- public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
-
- @java.lang.Override
- public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
-
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
-
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
-
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.google.pubsub.v1.GetTopicRequest) {
@@ -468,12 +441,12 @@ public Builder mergeFrom(
*
*
*
- * Required. Identifier. The name of the topic to get.
+ * Required. The name of the topic to get.
* Format is `projects/{project}/topics/{topic}`.
*
*
*
- * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... }
+ * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
*
* @return The topic.
@@ -494,12 +467,12 @@ public java.lang.String getTopic() {
*
*
*
- * Required. Identifier. The name of the topic to get.
+ * Required. The name of the topic to get.
* Format is `projects/{project}/topics/{topic}`.
*
*
*
- * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... }
+ * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
*
* @return The bytes for topic.
@@ -520,12 +493,12 @@ public com.google.protobuf.ByteString getTopicBytes() {
*
*
*
- * Required. Identifier. The name of the topic to get.
+ * Required. The name of the topic to get.
* Format is `projects/{project}/topics/{topic}`.
*
*
*
- * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... }
+ * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
*
* @param value The topic to set.
@@ -545,12 +518,12 @@ public Builder setTopic(java.lang.String value) {
*
*
*
- * Required. Identifier. The name of the topic to get.
+ * Required. The name of the topic to get.
* Format is `projects/{project}/topics/{topic}`.
*
*
*
- * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... }
+ * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
*
* @return This builder for chaining.
@@ -566,12 +539,12 @@ public Builder clearTopic() {
*
*
*
- * Required. Identifier. The name of the topic to get.
+ * Required. The name of the topic to get.
* Format is `projects/{project}/topics/{topic}`.
*
*
*
- * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... }
+ * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
*
* @param value The bytes for topic to set.
@@ -588,17 +561,6 @@ public Builder setTopicBytes(com.google.protobuf.ByteString value) {
return this;
}
- @java.lang.Override
- public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
// @@protoc_insertion_point(builder_scope:google.pubsub.v1.GetTopicRequest)
}
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 5b6281637..29713e8fc 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
@@ -1,5 +1,5 @@
/*
- * Copyright 2025 Google LLC
+ * Copyright 2026 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -14,11 +14,13 @@
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: google/pubsub/v1/pubsub.proto
+// Protobuf Java Version: 4.33.2
-// Protobuf Java Version: 3.25.8
package com.google.pubsub.v1;
+@com.google.protobuf.Generated
public interface GetTopicRequestOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.pubsub.v1.GetTopicRequest)
@@ -28,12 +30,12 @@ public interface GetTopicRequestOrBuilder
*
*
*
- * Required. Identifier. The name of the topic to get.
+ * Required. The name of the topic to get.
* Format is `projects/{project}/topics/{topic}`.
*
*
*
- * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... }
+ * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
*
* @return The topic.
@@ -44,12 +46,12 @@ public interface GetTopicRequestOrBuilder
*
*
*
- * Required. Identifier. The name of the topic to get.
+ * Required. The name of the topic to get.
* Format is `projects/{project}/topics/{topic}`.
*
*
*
- * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... }
+ * string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
*
* @return The bytes for topic.
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 d2c79575f..2eb76d04b 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
@@ -1,5 +1,5 @@
/*
- * Copyright 2025 Google LLC
+ * Copyright 2026 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -14,9 +14,10 @@
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
// source: google/pubsub/v1/pubsub.proto
+// Protobuf Java Version: 4.33.2
-// Protobuf Java Version: 3.25.8
package com.google.pubsub.v1;
/**
@@ -28,32 +29,37 @@
*
* Protobuf type {@code google.pubsub.v1.IngestionDataSourceSettings}
*/
-public final class IngestionDataSourceSettings extends com.google.protobuf.GeneratedMessageV3
+@com.google.protobuf.Generated
+public final class IngestionDataSourceSettings extends com.google.protobuf.GeneratedMessage
implements
// @@protoc_insertion_point(message_implements:google.pubsub.v1.IngestionDataSourceSettings)
IngestionDataSourceSettingsOrBuilder {
private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 33,
+ /* patch= */ 2,
+ /* suffix= */ "",
+ "IngestionDataSourceSettings");
+ }
+
// Use IngestionDataSourceSettings.newBuilder() to construct.
- private IngestionDataSourceSettings(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ private IngestionDataSourceSettings(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private IngestionDataSourceSettings() {}
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
- return new IngestionDataSourceSettings();
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.pubsub.v1.PubsubProto
.internal_static_google_pubsub_v1_IngestionDataSourceSettings_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.pubsub.v1.PubsubProto
.internal_static_google_pubsub_v1_IngestionDataSourceSettings_fieldAccessorTable
@@ -225,14 +231,24 @@ public interface AwsKinesisOrBuilder
*
* Protobuf type {@code google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis}
*/
- public static final class AwsKinesis extends com.google.protobuf.GeneratedMessageV3
+ public static final class AwsKinesis extends com.google.protobuf.GeneratedMessage
implements
// @@protoc_insertion_point(message_implements:google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis)
AwsKinesisOrBuilder {
private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 33,
+ /* patch= */ 2,
+ /* suffix= */ "",
+ "AwsKinesis");
+ }
+
// Use AwsKinesis.newBuilder() to construct.
- private AwsKinesis(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ private AwsKinesis(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
@@ -244,19 +260,13 @@ private AwsKinesis() {
gcpServiceAccount_ = "";
}
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
- return new AwsKinesis();
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.pubsub.v1.PubsubProto
.internal_static_google_pubsub_v1_IngestionDataSourceSettings_AwsKinesis_descriptor;
}
@java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.pubsub.v1.PubsubProto
.internal_static_google_pubsub_v1_IngestionDataSourceSettings_AwsKinesis_fieldAccessorTable
@@ -301,13 +311,13 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
*
* Permission denied encountered while consuming data from Kinesis.
* This can happen if:
- * - The provided `aws_role_arn` does not exist or does not have the
- * appropriate permissions attached.
- * - The provided `aws_role_arn` is not set up properly for Identity
- * Federation using `gcp_service_account`.
- * - The Pub/Sub SA is not granted the
- * `iam.serviceAccounts.getOpenIdToken` permission on
- * `gcp_service_account`.
+ * - The provided `aws_role_arn` does not exist or does not have the
+ * appropriate permissions attached.
+ * - The provided `aws_role_arn` is not set up properly for Identity
+ * Federation using `gcp_service_account`.
+ * - The Pub/Sub SA is not granted the
+ * `iam.serviceAccounts.getOpenIdToken` permission on
+ * `gcp_service_account`.
*
*
* KINESIS_PERMISSION_DENIED = 2;
@@ -348,6 +358,16 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
UNRECOGNIZED(-1),
;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 33,
+ /* patch= */ 2,
+ /* suffix= */ "",
+ "State");
+ }
+
/**
*
*
@@ -376,13 +396,13 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
*
* Permission denied encountered while consuming data from Kinesis.
* This can happen if:
- * - The provided `aws_role_arn` does not exist or does not have the
- * appropriate permissions attached.
- * - The provided `aws_role_arn` is not set up properly for Identity
- * Federation using `gcp_service_account`.
- * - The Pub/Sub SA is not granted the
- * `iam.serviceAccounts.getOpenIdToken` permission on
- * `gcp_service_account`.
+ * - The provided `aws_role_arn` does not exist or does not have the
+ * appropriate permissions attached.
+ * - The provided `aws_role_arn` is not set up properly for Identity
+ * Federation using `gcp_service_account`.
+ * - The Pub/Sub SA is not granted the
+ * `iam.serviceAccounts.getOpenIdToken` permission on
+ * `gcp_service_account`.
*
*
* KINESIS_PERMISSION_DENIED = 2;
@@ -488,7 +508,7 @@ public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType
return getDescriptor();
}
- public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+ public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
return com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis.getDescriptor()
.getEnumTypes()
.get(0);
@@ -803,17 +823,17 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
.getNumber()) {
output.writeEnum(1, state_);
}
- if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(streamArn_)) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 2, streamArn_);
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(streamArn_)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 2, streamArn_);
}
- if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(consumerArn_)) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 3, consumerArn_);
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(consumerArn_)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 3, consumerArn_);
}
- if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(awsRoleArn_)) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 4, awsRoleArn_);
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(awsRoleArn_)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 4, awsRoleArn_);
}
- if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(gcpServiceAccount_)) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 5, gcpServiceAccount_);
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(gcpServiceAccount_)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 5, gcpServiceAccount_);
}
getUnknownFields().writeTo(output);
}
@@ -829,17 +849,17 @@ public int getSerializedSize() {
.getNumber()) {
size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, state_);
}
- if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(streamArn_)) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, streamArn_);
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(streamArn_)) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(2, streamArn_);
}
- if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(consumerArn_)) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, consumerArn_);
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(consumerArn_)) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(3, consumerArn_);
}
- if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(awsRoleArn_)) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, awsRoleArn_);
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(awsRoleArn_)) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(4, awsRoleArn_);
}
- if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(gcpServiceAccount_)) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, gcpServiceAccount_);
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(gcpServiceAccount_)) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(5, gcpServiceAccount_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
@@ -925,38 +945,38 @@ public static com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis parseF
public static com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis parseFrom(
java.io.InputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
}
public static com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis parseFrom(
java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
PARSER, input, extensionRegistry);
}
public static com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis parseDelimitedFrom(
java.io.InputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
}
public static com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis parseDelimitedFrom(
java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
PARSER, input, extensionRegistry);
}
public static com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis parseFrom(
com.google.protobuf.CodedInputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
}
public static com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
PARSER, input, extensionRegistry);
}
@@ -980,8 +1000,7 @@ public Builder toBuilder() {
}
@java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -995,8 +1014,7 @@ protected Builder newBuilderForType(
*
* Protobuf type {@code google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis}
*/
- public static final class Builder
- extends com.google.protobuf.GeneratedMessageV3.Builder
+ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder