diff --git a/.github/scripts/hermetic_library_generation.sh b/.github/scripts/hermetic_library_generation.sh
index 6c3f22d8f..49a7414cf 100644
--- a/.github/scripts/hermetic_library_generation.sh
+++ b/.github/scripts/hermetic_library_generation.sh
@@ -67,20 +67,24 @@ message="chore: generate libraries at $(date)"
git checkout "${target_branch}"
git checkout "${current_branch}"
-# if the last commit doesn't contain changes to generation configuration,
-# do not generate again as the result will be the same.
-change_of_last_commit="$(git diff-tree --no-commit-id --name-only HEAD~1..HEAD -r)"
-if [[ ! ("${change_of_last_commit}" == *"${generation_config}"*) ]]; then
- echo "The last commit doesn't contain any changes to the generation_config.yaml, skipping the whole generation process." || true
- exit 0
-fi
+
# copy generation configuration from target branch to current branch.
git show "${target_branch}":"${generation_config}" > "${baseline_generation_config}"
-config_diff=$(diff "${generation_config}" "${baseline_generation_config}" || true)
# parse image tag from the generation configuration.
image_tag=$(grep "gapic_generator_version" "${generation_config}" | cut -d ':' -f 2 | xargs)
+repo_root_dir=$(pwd)
+mkdir -p "${repo_root_dir}/output"
+# download api definitions from googleapis repository
+googleapis_commitish=$(grep googleapis_commitish "${generation_config}" | cut -d ":" -f 2 | xargs)
+api_def_dir=$(mktemp -d)
+git clone https://github.com/googleapis/googleapis.git "${api_def_dir}"
+pushd "${api_def_dir}"
+git checkout "${googleapis_commitish}"
+cp -r google/ grafeas/ "${repo_root_dir}/output"
+popd
+
# run hermetic code generation docker image.
docker run \
--rm \
@@ -90,26 +94,21 @@ docker run \
--baseline-generation-config-path="${workspace_name}/${baseline_generation_config}" \
--current-generation-config-path="${workspace_name}/${generation_config}"
+# remove api definitions after generation
+rm -rf "${api_def_dir}"
# commit the change to the pull request.
-if [[ $(basename $(pwd)) == "google-cloud-java" ]]; then
- git add java-* pom.xml gapic-libraries-bom/pom.xml versions.txt
-else
- # The image leaves intermediate folders and files it works with. Here we remove them
- rm -rdf output googleapis "${baseline_generation_config}"
- git add --all -- ':!pr_description.txt'
-fi
+rm -rdf output googleapis "${baseline_generation_config}"
+git add --all -- ':!pr_description.txt' ':!hermetic_library_generation.sh'
changed_files=$(git diff --cached --name-only)
-if [[ "${changed_files}" == "" ]]; then
- echo "There is no generated code change with the generation config change ${config_diff}."
- echo "Skip committing to the pull request."
- exit 0
+if [[ "${changed_files}" != "" ]]; then
+ echo "Commit changes..."
+ git commit -m "${message}"
+ git push
+else
+ echo "There is no generated code change, skip commit."
fi
-echo "Configuration diff:"
-echo "${config_diff}"
-git commit -m "${message}"
-git push
# set pr body if pr_description.txt is generated.
if [[ -f "pr_description.txt" ]]; then
pr_num=$(gh pr list -s open -H "${current_branch}" -q . --json number | jq ".[] | .number")
diff --git a/.github/workflows/hermetic_library_generation.yaml b/.github/workflows/hermetic_library_generation.yaml
index ab23b9fec..51a087f8e 100644
--- a/.github/workflows/hermetic_library_generation.yaml
+++ b/.github/workflows/hermetic_library_generation.yaml
@@ -20,11 +20,10 @@ on:
env:
HEAD_REF: ${{ github.head_ref }}
REPO_FULL_NAME: ${{ github.event.pull_request.head.repo.full_name }}
+ GITHUB_REPOSITORY: ${{ github.repository }}
jobs:
library_generation:
- # skip pull requests coming from a forked repository
- if: github.env.REPO_FULL_NAME == github.repository
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
@@ -35,6 +34,10 @@ jobs:
shell: bash
run: |
set -ex
+ if [[ "${GITHUB_REPOSITORY}" != "${REPO_FULL_NAME}" ]]; then
+ echo "This PR comes from a fork. Generation will be skipped"
+ exit 0
+ fi
[ -z "$(git config user.email)" ] && git config --global user.email "cloud-java-bot@google.com"
[ -z "$(git config user.name)" ] && git config --global user.name "cloud-java-bot"
bash .github/scripts/hermetic_library_generation.sh \
diff --git a/README.md b/README.md
index bdb7167a8..c2585d3b6 100644
--- a/README.md
+++ b/README.md
@@ -19,7 +19,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
The builder of this class is recursive, so contained classes are themselves builders. When * build() is called, the tree of builders is called to create the complete settings object. * - *
For example, to set the total timeout of createSchema to 30 seconds: + *
For example, to set the + * [RetrySettings](https://cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.retrying.RetrySettings) + * of createSchema: * *
{@code * // This snippet has been automatically generated and should be regarded as a code template only. @@ -88,10 +90,21 @@ * .createSchemaSettings() * .getRetrySettings() * .toBuilder() - * .setTotalTimeout(Duration.ofSeconds(30)) + * .setInitialRetryDelayDuration(Duration.ofSeconds(1)) + * .setInitialRpcTimeoutDuration(Duration.ofSeconds(5)) + * .setMaxAttempts(5) + * .setMaxRetryDelayDuration(Duration.ofSeconds(30)) + * .setMaxRpcTimeoutDuration(Duration.ofSeconds(60)) + * .setRetryDelayMultiplier(1.3) + * .setRpcTimeoutMultiplier(1.5) + * .setTotalTimeoutDuration(Duration.ofSeconds(300)) * .build()); * SchemaServiceSettings schemaServiceSettings = schemaServiceSettingsBuilder.build(); * }+ * + * Please refer to the [Client Side Retry + * Guide](https://github.com/googleapis/google-cloud-java/blob/main/docs/client_retries.md) for + * additional support in setting retries. */ @Generated("by gapic-generator-java") public class SchemaServiceSettings extends ClientSettings
The builder of this class is recursive, so contained classes are themselves builders. When * build() is called, the tree of builders is called to create the complete settings object. * - *
For example, to set the total timeout of createSubscription to 30 seconds: + *
For example, to set the + * [RetrySettings](https://cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.retrying.RetrySettings) + * of createSubscription: * *
{@code * // This snippet has been automatically generated and should be regarded as a code template only. @@ -97,10 +99,21 @@ * .createSubscriptionSettings() * .getRetrySettings() * .toBuilder() - * .setTotalTimeout(Duration.ofSeconds(30)) + * .setInitialRetryDelayDuration(Duration.ofSeconds(1)) + * .setInitialRpcTimeoutDuration(Duration.ofSeconds(5)) + * .setMaxAttempts(5) + * .setMaxRetryDelayDuration(Duration.ofSeconds(30)) + * .setMaxRpcTimeoutDuration(Duration.ofSeconds(60)) + * .setRetryDelayMultiplier(1.3) + * .setRpcTimeoutMultiplier(1.5) + * .setTotalTimeoutDuration(Duration.ofSeconds(300)) * .build()); * SubscriptionAdminSettings subscriptionAdminSettings = subscriptionAdminSettingsBuilder.build(); * }+ * + * Please refer to the [Client Side Retry + * Guide](https://github.com/googleapis/google-cloud-java/blob/main/docs/client_retries.md) for + * additional support in setting retries. */ @Generated("by gapic-generator-java") public class SubscriptionAdminSettings extends ClientSettings
The builder of this class is recursive, so contained classes are themselves builders. When * build() is called, the tree of builders is called to create the complete settings object. * - *
For example, to set the total timeout of createTopic to 30 seconds: + *
For example, to set the + * [RetrySettings](https://cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.retrying.RetrySettings) + * of createTopic: * *
{@code * // This snippet has been automatically generated and should be regarded as a code template only. @@ -89,10 +91,21 @@ * .createTopicSettings() * .getRetrySettings() * .toBuilder() - * .setTotalTimeout(Duration.ofSeconds(30)) + * .setInitialRetryDelayDuration(Duration.ofSeconds(1)) + * .setInitialRpcTimeoutDuration(Duration.ofSeconds(5)) + * .setMaxAttempts(5) + * .setMaxRetryDelayDuration(Duration.ofSeconds(30)) + * .setMaxRpcTimeoutDuration(Duration.ofSeconds(60)) + * .setRetryDelayMultiplier(1.3) + * .setRpcTimeoutMultiplier(1.5) + * .setTotalTimeoutDuration(Duration.ofSeconds(300)) * .build()); * TopicAdminSettings topicAdminSettings = topicAdminSettingsBuilder.build(); * }+ * + * Please refer to the [Client Side Retry + * Guide](https://github.com/googleapis/google-cloud-java/blob/main/docs/client_retries.md) for + * additional support in setting retries. */ @Generated("by gapic-generator-java") public class TopicAdminSettings extends ClientSettings
The builder of this class is recursive, so contained classes are themselves builders. When * build() is called, the tree of builders is called to create the complete settings object. * - *
For example, to set the total timeout of createTopic to 30 seconds: + *
For example, to set the + * [RetrySettings](https://cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.retrying.RetrySettings) + * of createTopic: * *
{@code * // This snippet has been automatically generated and should be regarded as a code template only. @@ -116,10 +118,21 @@ * .createTopicSettings() * .getRetrySettings() * .toBuilder() - * .setTotalTimeout(Duration.ofSeconds(30)) + * .setInitialRetryDelayDuration(Duration.ofSeconds(1)) + * .setInitialRpcTimeoutDuration(Duration.ofSeconds(5)) + * .setMaxAttempts(5) + * .setMaxRetryDelayDuration(Duration.ofSeconds(30)) + * .setMaxRpcTimeoutDuration(Duration.ofSeconds(60)) + * .setRetryDelayMultiplier(1.3) + * .setRpcTimeoutMultiplier(1.5) + * .setTotalTimeoutDuration(Duration.ofSeconds(300)) * .build()); * PublisherStubSettings topicAdminSettings = topicAdminSettingsBuilder.build(); * }+ * + * Please refer to the [Client Side Retry + * Guide](https://github.com/googleapis/google-cloud-java/blob/main/docs/client_retries.md) for + * additional support in setting retries. */ @Generated("by gapic-generator-java") public class PublisherStubSettings extends StubSettings
The builder of this class is recursive, so contained classes are themselves builders. When * build() is called, the tree of builders is called to create the complete settings object. * - *
For example, to set the total timeout of createSchema to 30 seconds: + *
For example, to set the + * [RetrySettings](https://cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.retrying.RetrySettings) + * of createSchema: * *
{@code * // This snippet has been automatically generated and should be regarded as a code template only. @@ -107,10 +109,21 @@ * .createSchemaSettings() * .getRetrySettings() * .toBuilder() - * .setTotalTimeout(Duration.ofSeconds(30)) + * .setInitialRetryDelayDuration(Duration.ofSeconds(1)) + * .setInitialRpcTimeoutDuration(Duration.ofSeconds(5)) + * .setMaxAttempts(5) + * .setMaxRetryDelayDuration(Duration.ofSeconds(30)) + * .setMaxRpcTimeoutDuration(Duration.ofSeconds(60)) + * .setRetryDelayMultiplier(1.3) + * .setRpcTimeoutMultiplier(1.5) + * .setTotalTimeoutDuration(Duration.ofSeconds(300)) * .build()); * SchemaServiceStubSettings schemaServiceSettings = schemaServiceSettingsBuilder.build(); * }+ * + * Please refer to the [Client Side Retry + * Guide](https://github.com/googleapis/google-cloud-java/blob/main/docs/client_retries.md) for + * additional support in setting retries. */ @Generated("by gapic-generator-java") public class SchemaServiceStubSettings extends StubSettings
The builder of this class is recursive, so contained classes are themselves builders. When * build() is called, the tree of builders is called to create the complete settings object. * - *
For example, to set the total timeout of createSubscription to 30 seconds: + *
For example, to set the + * [RetrySettings](https://cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.retrying.RetrySettings) + * of createSubscription: * *
{@code * // This snippet has been automatically generated and should be regarded as a code template only. @@ -115,10 +117,21 @@ * .createSubscriptionSettings() * .getRetrySettings() * .toBuilder() - * .setTotalTimeout(Duration.ofSeconds(30)) + * .setInitialRetryDelayDuration(Duration.ofSeconds(1)) + * .setInitialRpcTimeoutDuration(Duration.ofSeconds(5)) + * .setMaxAttempts(5) + * .setMaxRetryDelayDuration(Duration.ofSeconds(30)) + * .setMaxRpcTimeoutDuration(Duration.ofSeconds(60)) + * .setRetryDelayMultiplier(1.3) + * .setRpcTimeoutMultiplier(1.5) + * .setTotalTimeoutDuration(Duration.ofSeconds(300)) * .build()); * SubscriberStubSettings subscriptionAdminSettings = subscriptionAdminSettingsBuilder.build(); * }+ * + * Please refer to the [Client Side Retry + * Guide](https://github.com/googleapis/google-cloud-java/blob/main/docs/client_retries.md) for + * additional support in setting retries. */ @Generated("by gapic-generator-java") public class SubscriberStubSettings extends StubSettings
+ * Output only. An output-only field that indicates the state of the Cloud + * Storage ingestion source. + *+ * + *
+ * .google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.State state = 1 [(.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 the state of the Cloud + * Storage ingestion source. + *+ * + *
+ * .google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The state.
+ */
+ com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.State getState();
+
+ /**
+ *
+ *
+ * + * Optional. Cloud Storage bucket. The bucket name must be without any + * prefix like "gs://". See the [bucket naming requirements] + * (https://cloud.google.com/storage/docs/buckets#naming). + *+ * + *
string bucket = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bucket.
+ */
+ java.lang.String getBucket();
+ /**
+ *
+ *
+ * + * Optional. Cloud Storage bucket. The bucket name must be without any + * prefix like "gs://". See the [bucket naming requirements] + * (https://cloud.google.com/storage/docs/buckets#naming). + *+ * + *
string bucket = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for bucket.
+ */
+ com.google.protobuf.ByteString getBucketBytes();
+
+ /**
+ *
+ *
+ * + * Optional. Data from Cloud Storage will be interpreted as text. + *+ * + *
+ * .google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat text_format = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the textFormat field is set.
+ */
+ boolean hasTextFormat();
+ /**
+ *
+ *
+ * + * Optional. Data from Cloud Storage will be interpreted as text. + *+ * + *
+ * .google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat text_format = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The textFormat.
+ */
+ com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat getTextFormat();
+ /**
+ *
+ *
+ * + * Optional. Data from Cloud Storage will be interpreted as text. + *+ * + *
+ * .google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat text_format = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormatOrBuilder
+ getTextFormatOrBuilder();
+
+ /**
+ *
+ *
+ * + * Optional. Data from Cloud Storage will be interpreted in Avro format. + *+ * + *
+ * .google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat avro_format = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the avroFormat field is set.
+ */
+ boolean hasAvroFormat();
+ /**
+ *
+ *
+ * + * Optional. Data from Cloud Storage will be interpreted in Avro format. + *+ * + *
+ * .google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat avro_format = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The avroFormat.
+ */
+ com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat getAvroFormat();
+ /**
+ *
+ *
+ * + * Optional. Data from Cloud Storage will be interpreted in Avro format. + *+ * + *
+ * .google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat avro_format = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormatOrBuilder
+ getAvroFormatOrBuilder();
+
+ /**
+ *
+ *
+ * + * Optional. It will be assumed data from Cloud Storage was written via + * [Cloud Storage + * subscriptions](https://cloud.google.com/pubsub/docs/cloudstorage). + *+ * + *
+ * .google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat pubsub_avro_format = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the pubsubAvroFormat field is set.
+ */
+ boolean hasPubsubAvroFormat();
+ /**
+ *
+ *
+ * + * Optional. It will be assumed data from Cloud Storage was written via + * [Cloud Storage + * subscriptions](https://cloud.google.com/pubsub/docs/cloudstorage). + *+ * + *
+ * .google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat pubsub_avro_format = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The pubsubAvroFormat.
+ */
+ com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat
+ getPubsubAvroFormat();
+ /**
+ *
+ *
+ * + * Optional. It will be assumed data from Cloud Storage was written via + * [Cloud Storage + * subscriptions](https://cloud.google.com/pubsub/docs/cloudstorage). + *+ * + *
+ * .google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat pubsub_avro_format = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormatOrBuilder
+ getPubsubAvroFormatOrBuilder();
+
+ /**
+ *
+ *
+ * + * Optional. Only objects with a larger or equal creation timestamp will be + * ingested. + *+ * + *
+ * .google.protobuf.Timestamp minimum_object_create_time = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the minimumObjectCreateTime field is set.
+ */
+ boolean hasMinimumObjectCreateTime();
+ /**
+ *
+ *
+ * + * Optional. Only objects with a larger or equal creation timestamp will be + * ingested. + *+ * + *
+ * .google.protobuf.Timestamp minimum_object_create_time = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The minimumObjectCreateTime.
+ */
+ com.google.protobuf.Timestamp getMinimumObjectCreateTime();
+ /**
+ *
+ *
+ * + * Optional. Only objects with a larger or equal creation timestamp will be + * ingested. + *+ * + *
+ * .google.protobuf.Timestamp minimum_object_create_time = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ com.google.protobuf.TimestampOrBuilder getMinimumObjectCreateTimeOrBuilder();
+
+ /**
+ *
+ *
+ * + * Optional. Glob pattern used to match objects that will be ingested. If + * unset, all objects will be ingested. See the [supported + * patterns](https://cloud.google.com/storage/docs/json_api/v1/objects/list#list-objects-and-prefixes-using-glob). + *+ * + *
string match_glob = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The matchGlob.
+ */
+ java.lang.String getMatchGlob();
+ /**
+ *
+ *
+ * + * Optional. Glob pattern used to match objects that will be ingested. If + * unset, all objects will be ingested. See the [supported + * patterns](https://cloud.google.com/storage/docs/json_api/v1/objects/list#list-objects-and-prefixes-using-glob). + *+ * + *
string match_glob = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for matchGlob.
+ */
+ com.google.protobuf.ByteString getMatchGlobBytes();
+
+ com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.InputFormatCase
+ getInputFormatCase();
+ }
+ /**
+ *
+ *
+ * + * Ingestion settings for Cloud Storage. + *+ * + * Protobuf type {@code google.pubsub.v1.IngestionDataSourceSettings.CloudStorage} + */ + public static final class CloudStorage extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.pubsub.v1.IngestionDataSourceSettings.CloudStorage) + CloudStorageOrBuilder { + private static final long serialVersionUID = 0L; + // Use CloudStorage.newBuilder() to construct. + private CloudStorage(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private CloudStorage() { + state_ = 0; + bucket_ = ""; + matchGlob_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new CloudStorage(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.pubsub.v1.PubsubProto + .internal_static_google_pubsub_v1_IngestionDataSourceSettings_CloudStorage_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.pubsub.v1.PubsubProto + .internal_static_google_pubsub_v1_IngestionDataSourceSettings_CloudStorage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.class, + com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.Builder.class); + } + + /** + * + * + *
+ * Possible states for ingestion from Cloud Storage. + *+ * + * Protobuf enum {@code google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.State} + */ + public enum State implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+ * Default value. This value is unused. + *+ * + *
STATE_UNSPECIFIED = 0;
+ */
+ STATE_UNSPECIFIED(0),
+ /**
+ *
+ *
+ * + * Ingestion is active. + *+ * + *
ACTIVE = 1;
+ */
+ ACTIVE(1),
+ /**
+ *
+ *
+ * + * Permission denied encountered while calling the Cloud Storage API. This + * can happen if the Pub/Sub SA has not been granted the + * [appropriate + * permissions](https://cloud.google.com/storage/docs/access-control/iam-permissions): + * - storage.objects.list: to list the objects in a bucket. + * - storage.objects.get: to read the objects in a bucket. + * - storage.buckets.get: to verify the bucket exists. + *+ * + *
CLOUD_STORAGE_PERMISSION_DENIED = 2;
+ */
+ CLOUD_STORAGE_PERMISSION_DENIED(2),
+ /**
+ *
+ *
+ * + * Permission denied encountered while publishing to the topic. This can + * happen if the Pub/Sub SA has not been granted the [appropriate publish + * permissions](https://cloud.google.com/pubsub/docs/access-control#pubsub.publisher) + *+ * + *
PUBLISH_PERMISSION_DENIED = 3;
+ */
+ PUBLISH_PERMISSION_DENIED(3),
+ /**
+ *
+ *
+ * + * The provided Cloud Storage bucket doesn't exist. + *+ * + *
BUCKET_NOT_FOUND = 4;
+ */
+ BUCKET_NOT_FOUND(4),
+ /**
+ *
+ *
+ * + * The Cloud Storage bucket has too many objects, ingestion will be + * paused. + *+ * + *
TOO_MANY_OBJECTS = 5;
+ */
+ TOO_MANY_OBJECTS(5),
+ UNRECOGNIZED(-1),
+ ;
+
+ /**
+ *
+ *
+ * + * Default value. This value is unused. + *+ * + *
STATE_UNSPECIFIED = 0;
+ */
+ public static final int STATE_UNSPECIFIED_VALUE = 0;
+ /**
+ *
+ *
+ * + * Ingestion is active. + *+ * + *
ACTIVE = 1;
+ */
+ public static final int ACTIVE_VALUE = 1;
+ /**
+ *
+ *
+ * + * Permission denied encountered while calling the Cloud Storage API. This + * can happen if the Pub/Sub SA has not been granted the + * [appropriate + * permissions](https://cloud.google.com/storage/docs/access-control/iam-permissions): + * - storage.objects.list: to list the objects in a bucket. + * - storage.objects.get: to read the objects in a bucket. + * - storage.buckets.get: to verify the bucket exists. + *+ * + *
CLOUD_STORAGE_PERMISSION_DENIED = 2;
+ */
+ public static final int CLOUD_STORAGE_PERMISSION_DENIED_VALUE = 2;
+ /**
+ *
+ *
+ * + * Permission denied encountered while publishing to the topic. This can + * happen if the Pub/Sub SA has not been granted the [appropriate publish + * permissions](https://cloud.google.com/pubsub/docs/access-control#pubsub.publisher) + *+ * + *
PUBLISH_PERMISSION_DENIED = 3;
+ */
+ public static final int PUBLISH_PERMISSION_DENIED_VALUE = 3;
+ /**
+ *
+ *
+ * + * The provided Cloud Storage bucket doesn't exist. + *+ * + *
BUCKET_NOT_FOUND = 4;
+ */
+ public static final int BUCKET_NOT_FOUND_VALUE = 4;
+ /**
+ *
+ *
+ * + * The Cloud Storage bucket has too many objects, ingestion will be + * paused. + *+ * + *
TOO_MANY_OBJECTS = 5;
+ */
+ public static final int TOO_MANY_OBJECTS_VALUE = 5;
+
+ public final int getNumber() {
+ if (this == UNRECOGNIZED) {
+ throw new java.lang.IllegalArgumentException(
+ "Can't get the number of an unknown enum value.");
+ }
+ return value;
+ }
+
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
+ @java.lang.Deprecated
+ public static State valueOf(int value) {
+ return forNumber(value);
+ }
+
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
+ public static State forNumber(int value) {
+ switch (value) {
+ case 0:
+ return STATE_UNSPECIFIED;
+ case 1:
+ return ACTIVE;
+ case 2:
+ return CLOUD_STORAGE_PERMISSION_DENIED;
+ case 3:
+ return PUBLISH_PERMISSION_DENIED;
+ case 4:
+ return BUCKET_NOT_FOUND;
+ case 5:
+ return TOO_MANY_OBJECTS;
+ default:
+ return null;
+ }
+ }
+
+ public static com.google.protobuf.Internal.EnumLiteMap+ * Optional. When unset, '\n' is used. + *+ * + *
optional string delimiter = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return Whether the delimiter field is set.
+ */
+ boolean hasDelimiter();
+ /**
+ *
+ *
+ * + * Optional. When unset, '\n' is used. + *+ * + *
optional string delimiter = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The delimiter.
+ */
+ java.lang.String getDelimiter();
+ /**
+ *
+ *
+ * + * Optional. When unset, '\n' is used. + *+ * + *
optional string delimiter = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for delimiter.
+ */
+ com.google.protobuf.ByteString getDelimiterBytes();
+ }
+ /**
+ *
+ *
+ * + * Configuration for reading Cloud Storage data in text format. Each line of + * text as specified by the delimiter will be set to the `data` field of a + * Pub/Sub message. + *+ * + * Protobuf type {@code google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat} + */ + public static final class TextFormat extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat) + TextFormatOrBuilder { + private static final long serialVersionUID = 0L; + // Use TextFormat.newBuilder() to construct. + private TextFormat(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private TextFormat() { + delimiter_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new TextFormat(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.pubsub.v1.PubsubProto + .internal_static_google_pubsub_v1_IngestionDataSourceSettings_CloudStorage_TextFormat_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.pubsub.v1.PubsubProto + .internal_static_google_pubsub_v1_IngestionDataSourceSettings_CloudStorage_TextFormat_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat.class, + com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat.Builder + .class); + } + + private int bitField0_; + public static final int DELIMITER_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object delimiter_ = ""; + /** + * + * + *
+ * Optional. When unset, '\n' is used. + *+ * + *
optional string delimiter = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return Whether the delimiter field is set.
+ */
+ @java.lang.Override
+ public boolean hasDelimiter() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ *
+ *
+ * + * Optional. When unset, '\n' is used. + *+ * + *
optional string delimiter = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The delimiter.
+ */
+ @java.lang.Override
+ public java.lang.String getDelimiter() {
+ java.lang.Object ref = delimiter_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ delimiter_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. When unset, '\n' is used. + *+ * + *
optional string delimiter = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for delimiter.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getDelimiterBytes() {
+ java.lang.Object ref = delimiter_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ delimiter_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (((bitField0_ & 0x00000001) != 0)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, delimiter_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (((bitField0_ & 0x00000001) != 0)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, delimiter_);
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj
+ instanceof com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat)) {
+ return super.equals(obj);
+ }
+ com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat other =
+ (com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat) obj;
+
+ if (hasDelimiter() != other.hasDelimiter()) return false;
+ if (hasDelimiter()) {
+ if (!getDelimiter().equals(other.getDelimiter())) return false;
+ }
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (hasDelimiter()) {
+ hash = (37 * hash) + DELIMITER_FIELD_NUMBER;
+ hash = (53 * hash) + getDelimiter().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat
+ parseFrom(java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat
+ parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat
+ parseFrom(com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat
+ parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat
+ parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat
+ parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat
+ parseFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat
+ parseFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat
+ parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat
+ parseDelimitedFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat
+ parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat
+ parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
+
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
+ public static Builder newBuilder(
+ com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ *
+ * + * Configuration for reading Cloud Storage data in text format. Each line of + * text as specified by the delimiter will be set to the `data` field of a + * Pub/Sub message. + *+ * + * Protobuf type {@code google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Optional. When unset, '\n' is used. + *+ * + *
optional string delimiter = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return Whether the delimiter field is set.
+ */
+ public boolean hasDelimiter() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ *
+ *
+ * + * Optional. When unset, '\n' is used. + *+ * + *
optional string delimiter = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The delimiter.
+ */
+ public java.lang.String getDelimiter() {
+ java.lang.Object ref = delimiter_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ delimiter_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. When unset, '\n' is used. + *+ * + *
optional string delimiter = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for delimiter.
+ */
+ public com.google.protobuf.ByteString getDelimiterBytes() {
+ java.lang.Object ref = delimiter_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ delimiter_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. When unset, '\n' is used. + *+ * + *
optional string delimiter = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The delimiter to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDelimiter(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ delimiter_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. When unset, '\n' is used. + *+ * + *
optional string delimiter = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearDelimiter() {
+ delimiter_ = getDefaultInstance().getDelimiter();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. When unset, '\n' is used. + *+ * + *
optional string delimiter = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The bytes for delimiter to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDelimiterBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ delimiter_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ 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.IngestionDataSourceSettings.CloudStorage.TextFormat)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat)
+ private static final com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat
+ DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE =
+ new com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat();
+ }
+
+ public static com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat
+ getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * Configuration for reading Cloud Storage data in Avro binary format. The + * bytes of each object will be set to the `data` field of a Pub/Sub + * message. + *+ * + * Protobuf type {@code google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat} + */ + public static final class AvroFormat extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat) + AvroFormatOrBuilder { + private static final long serialVersionUID = 0L; + // Use AvroFormat.newBuilder() to construct. + private AvroFormat(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private AvroFormat() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new AvroFormat(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.pubsub.v1.PubsubProto + .internal_static_google_pubsub_v1_IngestionDataSourceSettings_CloudStorage_AvroFormat_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.pubsub.v1.PubsubProto + .internal_static_google_pubsub_v1_IngestionDataSourceSettings_CloudStorage_AvroFormat_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat.class, + com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat.Builder + .class); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj + instanceof com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat)) { + return super.equals(obj); + } + com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat other = + (com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat) obj; + + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat + parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat + parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+ * Configuration for reading Cloud Storage data in Avro binary format. The + * bytes of each object will be set to the `data` field of a Pub/Sub + * message. + *+ * + * Protobuf type {@code google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Configuration for reading Cloud Storage data written via [Cloud Storage + * subscriptions](https://cloud.google.com/pubsub/docs/cloudstorage). The + * data and attributes fields of the originally exported Pub/Sub message + * will be restored when publishing. + *+ * + * Protobuf type {@code + * google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat} + */ + public static final class PubSubAvroFormat extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat) + PubSubAvroFormatOrBuilder { + private static final long serialVersionUID = 0L; + // Use PubSubAvroFormat.newBuilder() to construct. + private PubSubAvroFormat(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private PubSubAvroFormat() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new PubSubAvroFormat(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.pubsub.v1.PubsubProto + .internal_static_google_pubsub_v1_IngestionDataSourceSettings_CloudStorage_PubSubAvroFormat_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.pubsub.v1.PubsubProto + .internal_static_google_pubsub_v1_IngestionDataSourceSettings_CloudStorage_PubSubAvroFormat_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat + .class, + com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat + .Builder.class); + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj + instanceof + com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat)) { + return super.equals(obj); + } + com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat other = + (com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat) obj; + + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat + parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat + parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder( + com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat + prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+ * Configuration for reading Cloud Storage data written via [Cloud Storage + * subscriptions](https://cloud.google.com/pubsub/docs/cloudstorage). The + * data and attributes fields of the originally exported Pub/Sub message + * will be restored when publishing. + *+ * + * Protobuf type {@code + * google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Output only. An output-only field that indicates the state of the Cloud + * Storage ingestion source. + *+ * + *
+ * .google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.State state = 1 [(.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 the state of the Cloud + * Storage ingestion source. + *+ * + *
+ * .google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The state.
+ */
+ @java.lang.Override
+ public com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.State getState() {
+ com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.State result =
+ com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.State.forNumber(state_);
+ return result == null
+ ? com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.State.UNRECOGNIZED
+ : result;
+ }
+
+ public static final int BUCKET_FIELD_NUMBER = 2;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object bucket_ = "";
+ /**
+ *
+ *
+ * + * Optional. Cloud Storage bucket. The bucket name must be without any + * prefix like "gs://". See the [bucket naming requirements] + * (https://cloud.google.com/storage/docs/buckets#naming). + *+ * + *
string bucket = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bucket.
+ */
+ @java.lang.Override
+ public java.lang.String getBucket() {
+ java.lang.Object ref = bucket_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ bucket_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. Cloud Storage bucket. The bucket name must be without any + * prefix like "gs://". See the [bucket naming requirements] + * (https://cloud.google.com/storage/docs/buckets#naming). + *+ * + *
string bucket = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for bucket.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getBucketBytes() {
+ java.lang.Object ref = bucket_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ bucket_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int TEXT_FORMAT_FIELD_NUMBER = 3;
+ /**
+ *
+ *
+ * + * Optional. Data from Cloud Storage will be interpreted as text. + *+ * + *
+ * .google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat text_format = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the textFormat field is set.
+ */
+ @java.lang.Override
+ public boolean hasTextFormat() {
+ return inputFormatCase_ == 3;
+ }
+ /**
+ *
+ *
+ * + * Optional. Data from Cloud Storage will be interpreted as text. + *+ * + *
+ * .google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat text_format = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The textFormat.
+ */
+ @java.lang.Override
+ public com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat
+ getTextFormat() {
+ if (inputFormatCase_ == 3) {
+ return (com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat)
+ inputFormat_;
+ }
+ return com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat
+ .getDefaultInstance();
+ }
+ /**
+ *
+ *
+ * + * Optional. Data from Cloud Storage will be interpreted as text. + *+ * + *
+ * .google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat text_format = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormatOrBuilder
+ getTextFormatOrBuilder() {
+ if (inputFormatCase_ == 3) {
+ return (com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat)
+ inputFormat_;
+ }
+ return com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat
+ .getDefaultInstance();
+ }
+
+ public static final int AVRO_FORMAT_FIELD_NUMBER = 4;
+ /**
+ *
+ *
+ * + * Optional. Data from Cloud Storage will be interpreted in Avro format. + *+ * + *
+ * .google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat avro_format = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the avroFormat field is set.
+ */
+ @java.lang.Override
+ public boolean hasAvroFormat() {
+ return inputFormatCase_ == 4;
+ }
+ /**
+ *
+ *
+ * + * Optional. Data from Cloud Storage will be interpreted in Avro format. + *+ * + *
+ * .google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat avro_format = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The avroFormat.
+ */
+ @java.lang.Override
+ public com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat
+ getAvroFormat() {
+ if (inputFormatCase_ == 4) {
+ return (com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat)
+ inputFormat_;
+ }
+ return com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat
+ .getDefaultInstance();
+ }
+ /**
+ *
+ *
+ * + * Optional. Data from Cloud Storage will be interpreted in Avro format. + *+ * + *
+ * .google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat avro_format = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormatOrBuilder
+ getAvroFormatOrBuilder() {
+ if (inputFormatCase_ == 4) {
+ return (com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat)
+ inputFormat_;
+ }
+ return com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat
+ .getDefaultInstance();
+ }
+
+ public static final int PUBSUB_AVRO_FORMAT_FIELD_NUMBER = 5;
+ /**
+ *
+ *
+ * + * Optional. It will be assumed data from Cloud Storage was written via + * [Cloud Storage + * subscriptions](https://cloud.google.com/pubsub/docs/cloudstorage). + *+ * + *
+ * .google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat pubsub_avro_format = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the pubsubAvroFormat field is set.
+ */
+ @java.lang.Override
+ public boolean hasPubsubAvroFormat() {
+ return inputFormatCase_ == 5;
+ }
+ /**
+ *
+ *
+ * + * Optional. It will be assumed data from Cloud Storage was written via + * [Cloud Storage + * subscriptions](https://cloud.google.com/pubsub/docs/cloudstorage). + *+ * + *
+ * .google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat pubsub_avro_format = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The pubsubAvroFormat.
+ */
+ @java.lang.Override
+ public com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat
+ getPubsubAvroFormat() {
+ if (inputFormatCase_ == 5) {
+ return (com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat)
+ inputFormat_;
+ }
+ return com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat
+ .getDefaultInstance();
+ }
+ /**
+ *
+ *
+ * + * Optional. It will be assumed data from Cloud Storage was written via + * [Cloud Storage + * subscriptions](https://cloud.google.com/pubsub/docs/cloudstorage). + *+ * + *
+ * .google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat pubsub_avro_format = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormatOrBuilder
+ getPubsubAvroFormatOrBuilder() {
+ if (inputFormatCase_ == 5) {
+ return (com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat)
+ inputFormat_;
+ }
+ return com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat
+ .getDefaultInstance();
+ }
+
+ public static final int MINIMUM_OBJECT_CREATE_TIME_FIELD_NUMBER = 6;
+ private com.google.protobuf.Timestamp minimumObjectCreateTime_;
+ /**
+ *
+ *
+ * + * Optional. Only objects with a larger or equal creation timestamp will be + * ingested. + *+ * + *
+ * .google.protobuf.Timestamp minimum_object_create_time = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the minimumObjectCreateTime field is set.
+ */
+ @java.lang.Override
+ public boolean hasMinimumObjectCreateTime() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ *
+ *
+ * + * Optional. Only objects with a larger or equal creation timestamp will be + * ingested. + *+ * + *
+ * .google.protobuf.Timestamp minimum_object_create_time = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The minimumObjectCreateTime.
+ */
+ @java.lang.Override
+ public com.google.protobuf.Timestamp getMinimumObjectCreateTime() {
+ return minimumObjectCreateTime_ == null
+ ? com.google.protobuf.Timestamp.getDefaultInstance()
+ : minimumObjectCreateTime_;
+ }
+ /**
+ *
+ *
+ * + * Optional. Only objects with a larger or equal creation timestamp will be + * ingested. + *+ * + *
+ * .google.protobuf.Timestamp minimum_object_create_time = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public com.google.protobuf.TimestampOrBuilder getMinimumObjectCreateTimeOrBuilder() {
+ return minimumObjectCreateTime_ == null
+ ? com.google.protobuf.Timestamp.getDefaultInstance()
+ : minimumObjectCreateTime_;
+ }
+
+ public static final int MATCH_GLOB_FIELD_NUMBER = 9;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object matchGlob_ = "";
+ /**
+ *
+ *
+ * + * Optional. Glob pattern used to match objects that will be ingested. If + * unset, all objects will be ingested. See the [supported + * patterns](https://cloud.google.com/storage/docs/json_api/v1/objects/list#list-objects-and-prefixes-using-glob). + *+ * + *
string match_glob = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The matchGlob.
+ */
+ @java.lang.Override
+ public java.lang.String getMatchGlob() {
+ java.lang.Object ref = matchGlob_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ matchGlob_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. Glob pattern used to match objects that will be ingested. If + * unset, all objects will be ingested. See the [supported + * patterns](https://cloud.google.com/storage/docs/json_api/v1/objects/list#list-objects-and-prefixes-using-glob). + *+ * + *
string match_glob = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for matchGlob.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getMatchGlobBytes() {
+ java.lang.Object ref = matchGlob_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ matchGlob_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (state_
+ != com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.State.STATE_UNSPECIFIED
+ .getNumber()) {
+ output.writeEnum(1, state_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bucket_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, bucket_);
+ }
+ if (inputFormatCase_ == 3) {
+ output.writeMessage(
+ 3,
+ (com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat)
+ inputFormat_);
+ }
+ if (inputFormatCase_ == 4) {
+ output.writeMessage(
+ 4,
+ (com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat)
+ inputFormat_);
+ }
+ if (inputFormatCase_ == 5) {
+ output.writeMessage(
+ 5,
+ (com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat)
+ inputFormat_);
+ }
+ if (((bitField0_ & 0x00000001) != 0)) {
+ output.writeMessage(6, getMinimumObjectCreateTime());
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(matchGlob_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 9, matchGlob_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (state_
+ != com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.State.STATE_UNSPECIFIED
+ .getNumber()) {
+ size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, state_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bucket_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, bucket_);
+ }
+ if (inputFormatCase_ == 3) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 3,
+ (com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat)
+ inputFormat_);
+ }
+ if (inputFormatCase_ == 4) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 4,
+ (com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat)
+ inputFormat_);
+ }
+ if (inputFormatCase_ == 5) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 5,
+ (com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat)
+ inputFormat_);
+ }
+ if (((bitField0_ & 0x00000001) != 0)) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 6, getMinimumObjectCreateTime());
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(matchGlob_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, matchGlob_);
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage)) {
+ return super.equals(obj);
+ }
+ com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage other =
+ (com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage) obj;
+
+ if (state_ != other.state_) return false;
+ if (!getBucket().equals(other.getBucket())) return false;
+ if (hasMinimumObjectCreateTime() != other.hasMinimumObjectCreateTime()) return false;
+ if (hasMinimumObjectCreateTime()) {
+ if (!getMinimumObjectCreateTime().equals(other.getMinimumObjectCreateTime())) return false;
+ }
+ if (!getMatchGlob().equals(other.getMatchGlob())) return false;
+ if (!getInputFormatCase().equals(other.getInputFormatCase())) return false;
+ switch (inputFormatCase_) {
+ case 3:
+ if (!getTextFormat().equals(other.getTextFormat())) return false;
+ break;
+ case 4:
+ if (!getAvroFormat().equals(other.getAvroFormat())) return false;
+ break;
+ case 5:
+ if (!getPubsubAvroFormat().equals(other.getPubsubAvroFormat())) return false;
+ break;
+ case 0:
+ default:
+ }
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + STATE_FIELD_NUMBER;
+ hash = (53 * hash) + state_;
+ hash = (37 * hash) + BUCKET_FIELD_NUMBER;
+ hash = (53 * hash) + getBucket().hashCode();
+ if (hasMinimumObjectCreateTime()) {
+ hash = (37 * hash) + MINIMUM_OBJECT_CREATE_TIME_FIELD_NUMBER;
+ hash = (53 * hash) + getMinimumObjectCreateTime().hashCode();
+ }
+ hash = (37 * hash) + MATCH_GLOB_FIELD_NUMBER;
+ hash = (53 * hash) + getMatchGlob().hashCode();
+ switch (inputFormatCase_) {
+ case 3:
+ hash = (37 * hash) + TEXT_FORMAT_FIELD_NUMBER;
+ hash = (53 * hash) + getTextFormat().hashCode();
+ break;
+ case 4:
+ hash = (37 * hash) + AVRO_FORMAT_FIELD_NUMBER;
+ hash = (53 * hash) + getAvroFormat().hashCode();
+ break;
+ case 5:
+ hash = (37 * hash) + PUBSUB_AVRO_FORMAT_FIELD_NUMBER;
+ hash = (53 * hash) + getPubsubAvroFormat().hashCode();
+ break;
+ case 0:
+ default:
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage parseFrom(
+ byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
+
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
+ public static Builder newBuilder(
+ com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ *
+ * + * Ingestion settings for Cloud Storage. + *+ * + * Protobuf type {@code google.pubsub.v1.IngestionDataSourceSettings.CloudStorage} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Output only. An output-only field that indicates the state of the Cloud + * Storage ingestion source. + *+ * + *
+ * .google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.State state = 1 [(.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 the state of the Cloud + * Storage ingestion source. + *+ * + *
+ * .google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.State state = 1 [(.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_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Output only. An output-only field that indicates the state of the Cloud + * Storage ingestion source. + *+ * + *
+ * .google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The state.
+ */
+ @java.lang.Override
+ public com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.State getState() {
+ com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.State result =
+ com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.State.forNumber(state_);
+ return result == null
+ ? com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.State.UNRECOGNIZED
+ : result;
+ }
+ /**
+ *
+ *
+ * + * Output only. An output-only field that indicates the state of the Cloud + * Storage ingestion source. + *+ * + *
+ * .google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @param value The state to set.
+ * @return This builder for chaining.
+ */
+ public Builder setState(
+ com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.State value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
+ state_ = value.getNumber();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Output only. An output-only field that indicates the state of the Cloud + * Storage ingestion source. + *+ * + *
+ * .google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearState() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ state_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object bucket_ = "";
+ /**
+ *
+ *
+ * + * Optional. Cloud Storage bucket. The bucket name must be without any + * prefix like "gs://". See the [bucket naming requirements] + * (https://cloud.google.com/storage/docs/buckets#naming). + *+ * + *
string bucket = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bucket.
+ */
+ public java.lang.String getBucket() {
+ java.lang.Object ref = bucket_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ bucket_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. Cloud Storage bucket. The bucket name must be without any + * prefix like "gs://". See the [bucket naming requirements] + * (https://cloud.google.com/storage/docs/buckets#naming). + *+ * + *
string bucket = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for bucket.
+ */
+ public com.google.protobuf.ByteString getBucketBytes() {
+ java.lang.Object ref = bucket_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ bucket_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. Cloud Storage bucket. The bucket name must be without any + * prefix like "gs://". See the [bucket naming requirements] + * (https://cloud.google.com/storage/docs/buckets#naming). + *+ * + *
string bucket = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The bucket to set.
+ * @return This builder for chaining.
+ */
+ public Builder setBucket(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bucket_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. Cloud Storage bucket. The bucket name must be without any + * prefix like "gs://". See the [bucket naming requirements] + * (https://cloud.google.com/storage/docs/buckets#naming). + *+ * + *
string bucket = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearBucket() {
+ bucket_ = getDefaultInstance().getBucket();
+ bitField0_ = (bitField0_ & ~0x00000002);
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. Cloud Storage bucket. The bucket name must be without any + * prefix like "gs://". See the [bucket naming requirements] + * (https://cloud.google.com/storage/docs/buckets#naming). + *+ * + *
string bucket = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The bytes for bucket to set.
+ * @return This builder for chaining.
+ */
+ public Builder setBucketBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ bucket_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat,
+ com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat.Builder,
+ com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormatOrBuilder>
+ textFormatBuilder_;
+ /**
+ *
+ *
+ * + * Optional. Data from Cloud Storage will be interpreted as text. + *+ * + *
+ * .google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat text_format = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the textFormat field is set.
+ */
+ @java.lang.Override
+ public boolean hasTextFormat() {
+ return inputFormatCase_ == 3;
+ }
+ /**
+ *
+ *
+ * + * Optional. Data from Cloud Storage will be interpreted as text. + *+ * + *
+ * .google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat text_format = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The textFormat.
+ */
+ @java.lang.Override
+ public com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat
+ getTextFormat() {
+ if (textFormatBuilder_ == null) {
+ if (inputFormatCase_ == 3) {
+ return (com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat)
+ inputFormat_;
+ }
+ return com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat
+ .getDefaultInstance();
+ } else {
+ if (inputFormatCase_ == 3) {
+ return textFormatBuilder_.getMessage();
+ }
+ return com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat
+ .getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. Data from Cloud Storage will be interpreted as text. + *+ * + *
+ * .google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat text_format = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setTextFormat(
+ com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat value) {
+ if (textFormatBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ inputFormat_ = value;
+ onChanged();
+ } else {
+ textFormatBuilder_.setMessage(value);
+ }
+ inputFormatCase_ = 3;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. Data from Cloud Storage will be interpreted as text. + *+ * + *
+ * .google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat text_format = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setTextFormat(
+ com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat.Builder
+ builderForValue) {
+ if (textFormatBuilder_ == null) {
+ inputFormat_ = builderForValue.build();
+ onChanged();
+ } else {
+ textFormatBuilder_.setMessage(builderForValue.build());
+ }
+ inputFormatCase_ = 3;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. Data from Cloud Storage will be interpreted as text. + *+ * + *
+ * .google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat text_format = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder mergeTextFormat(
+ com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat value) {
+ if (textFormatBuilder_ == null) {
+ if (inputFormatCase_ == 3
+ && inputFormat_
+ != com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat
+ .getDefaultInstance()) {
+ inputFormat_ =
+ com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat.newBuilder(
+ (com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat)
+ inputFormat_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ inputFormat_ = value;
+ }
+ onChanged();
+ } else {
+ if (inputFormatCase_ == 3) {
+ textFormatBuilder_.mergeFrom(value);
+ } else {
+ textFormatBuilder_.setMessage(value);
+ }
+ }
+ inputFormatCase_ = 3;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. Data from Cloud Storage will be interpreted as text. + *+ * + *
+ * .google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat text_format = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder clearTextFormat() {
+ if (textFormatBuilder_ == null) {
+ if (inputFormatCase_ == 3) {
+ inputFormatCase_ = 0;
+ inputFormat_ = null;
+ onChanged();
+ }
+ } else {
+ if (inputFormatCase_ == 3) {
+ inputFormatCase_ = 0;
+ inputFormat_ = null;
+ }
+ textFormatBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. Data from Cloud Storage will be interpreted as text. + *+ * + *
+ * .google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat text_format = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat.Builder
+ getTextFormatBuilder() {
+ return getTextFormatFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * Optional. Data from Cloud Storage will be interpreted as text. + *+ * + *
+ * .google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat text_format = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormatOrBuilder
+ getTextFormatOrBuilder() {
+ if ((inputFormatCase_ == 3) && (textFormatBuilder_ != null)) {
+ return textFormatBuilder_.getMessageOrBuilder();
+ } else {
+ if (inputFormatCase_ == 3) {
+ return (com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat)
+ inputFormat_;
+ }
+ return com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat
+ .getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. Data from Cloud Storage will be interpreted as text. + *+ * + *
+ * .google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat text_format = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat,
+ com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat.Builder,
+ com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormatOrBuilder>
+ getTextFormatFieldBuilder() {
+ if (textFormatBuilder_ == null) {
+ if (!(inputFormatCase_ == 3)) {
+ inputFormat_ =
+ com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat
+ .getDefaultInstance();
+ }
+ textFormatBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat,
+ com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat.Builder,
+ com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage
+ .TextFormatOrBuilder>(
+ (com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat)
+ inputFormat_,
+ getParentForChildren(),
+ isClean());
+ inputFormat_ = null;
+ }
+ inputFormatCase_ = 3;
+ onChanged();
+ return textFormatBuilder_;
+ }
+
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat,
+ com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat.Builder,
+ com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormatOrBuilder>
+ avroFormatBuilder_;
+ /**
+ *
+ *
+ * + * Optional. Data from Cloud Storage will be interpreted in Avro format. + *+ * + *
+ * .google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat avro_format = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the avroFormat field is set.
+ */
+ @java.lang.Override
+ public boolean hasAvroFormat() {
+ return inputFormatCase_ == 4;
+ }
+ /**
+ *
+ *
+ * + * Optional. Data from Cloud Storage will be interpreted in Avro format. + *+ * + *
+ * .google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat avro_format = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The avroFormat.
+ */
+ @java.lang.Override
+ public com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat
+ getAvroFormat() {
+ if (avroFormatBuilder_ == null) {
+ if (inputFormatCase_ == 4) {
+ return (com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat)
+ inputFormat_;
+ }
+ return com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat
+ .getDefaultInstance();
+ } else {
+ if (inputFormatCase_ == 4) {
+ return avroFormatBuilder_.getMessage();
+ }
+ return com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat
+ .getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. Data from Cloud Storage will be interpreted in Avro format. + *+ * + *
+ * .google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat avro_format = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setAvroFormat(
+ com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat value) {
+ if (avroFormatBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ inputFormat_ = value;
+ onChanged();
+ } else {
+ avroFormatBuilder_.setMessage(value);
+ }
+ inputFormatCase_ = 4;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. Data from Cloud Storage will be interpreted in Avro format. + *+ * + *
+ * .google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat avro_format = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setAvroFormat(
+ com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat.Builder
+ builderForValue) {
+ if (avroFormatBuilder_ == null) {
+ inputFormat_ = builderForValue.build();
+ onChanged();
+ } else {
+ avroFormatBuilder_.setMessage(builderForValue.build());
+ }
+ inputFormatCase_ = 4;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. Data from Cloud Storage will be interpreted in Avro format. + *+ * + *
+ * .google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat avro_format = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder mergeAvroFormat(
+ com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat value) {
+ if (avroFormatBuilder_ == null) {
+ if (inputFormatCase_ == 4
+ && inputFormat_
+ != com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat
+ .getDefaultInstance()) {
+ inputFormat_ =
+ com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat.newBuilder(
+ (com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat)
+ inputFormat_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ inputFormat_ = value;
+ }
+ onChanged();
+ } else {
+ if (inputFormatCase_ == 4) {
+ avroFormatBuilder_.mergeFrom(value);
+ } else {
+ avroFormatBuilder_.setMessage(value);
+ }
+ }
+ inputFormatCase_ = 4;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. Data from Cloud Storage will be interpreted in Avro format. + *+ * + *
+ * .google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat avro_format = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder clearAvroFormat() {
+ if (avroFormatBuilder_ == null) {
+ if (inputFormatCase_ == 4) {
+ inputFormatCase_ = 0;
+ inputFormat_ = null;
+ onChanged();
+ }
+ } else {
+ if (inputFormatCase_ == 4) {
+ inputFormatCase_ = 0;
+ inputFormat_ = null;
+ }
+ avroFormatBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. Data from Cloud Storage will be interpreted in Avro format. + *+ * + *
+ * .google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat avro_format = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat.Builder
+ getAvroFormatBuilder() {
+ return getAvroFormatFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * Optional. Data from Cloud Storage will be interpreted in Avro format. + *+ * + *
+ * .google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat avro_format = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormatOrBuilder
+ getAvroFormatOrBuilder() {
+ if ((inputFormatCase_ == 4) && (avroFormatBuilder_ != null)) {
+ return avroFormatBuilder_.getMessageOrBuilder();
+ } else {
+ if (inputFormatCase_ == 4) {
+ return (com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat)
+ inputFormat_;
+ }
+ return com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat
+ .getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. Data from Cloud Storage will be interpreted in Avro format. + *+ * + *
+ * .google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat avro_format = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat,
+ com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat.Builder,
+ com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormatOrBuilder>
+ getAvroFormatFieldBuilder() {
+ if (avroFormatBuilder_ == null) {
+ if (!(inputFormatCase_ == 4)) {
+ inputFormat_ =
+ com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat
+ .getDefaultInstance();
+ }
+ avroFormatBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat,
+ com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat.Builder,
+ com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage
+ .AvroFormatOrBuilder>(
+ (com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat)
+ inputFormat_,
+ getParentForChildren(),
+ isClean());
+ inputFormat_ = null;
+ }
+ inputFormatCase_ = 4;
+ onChanged();
+ return avroFormatBuilder_;
+ }
+
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat,
+ com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat
+ .Builder,
+ com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage
+ .PubSubAvroFormatOrBuilder>
+ pubsubAvroFormatBuilder_;
+ /**
+ *
+ *
+ * + * Optional. It will be assumed data from Cloud Storage was written via + * [Cloud Storage + * subscriptions](https://cloud.google.com/pubsub/docs/cloudstorage). + *+ * + *
+ * .google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat pubsub_avro_format = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the pubsubAvroFormat field is set.
+ */
+ @java.lang.Override
+ public boolean hasPubsubAvroFormat() {
+ return inputFormatCase_ == 5;
+ }
+ /**
+ *
+ *
+ * + * Optional. It will be assumed data from Cloud Storage was written via + * [Cloud Storage + * subscriptions](https://cloud.google.com/pubsub/docs/cloudstorage). + *+ * + *
+ * .google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat pubsub_avro_format = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The pubsubAvroFormat.
+ */
+ @java.lang.Override
+ public com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat
+ getPubsubAvroFormat() {
+ if (pubsubAvroFormatBuilder_ == null) {
+ if (inputFormatCase_ == 5) {
+ return (com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat)
+ inputFormat_;
+ }
+ return com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat
+ .getDefaultInstance();
+ } else {
+ if (inputFormatCase_ == 5) {
+ return pubsubAvroFormatBuilder_.getMessage();
+ }
+ return com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat
+ .getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. It will be assumed data from Cloud Storage was written via + * [Cloud Storage + * subscriptions](https://cloud.google.com/pubsub/docs/cloudstorage). + *+ * + *
+ * .google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat pubsub_avro_format = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setPubsubAvroFormat(
+ com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat value) {
+ if (pubsubAvroFormatBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ inputFormat_ = value;
+ onChanged();
+ } else {
+ pubsubAvroFormatBuilder_.setMessage(value);
+ }
+ inputFormatCase_ = 5;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. It will be assumed data from Cloud Storage was written via + * [Cloud Storage + * subscriptions](https://cloud.google.com/pubsub/docs/cloudstorage). + *+ * + *
+ * .google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat pubsub_avro_format = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setPubsubAvroFormat(
+ com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat.Builder
+ builderForValue) {
+ if (pubsubAvroFormatBuilder_ == null) {
+ inputFormat_ = builderForValue.build();
+ onChanged();
+ } else {
+ pubsubAvroFormatBuilder_.setMessage(builderForValue.build());
+ }
+ inputFormatCase_ = 5;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. It will be assumed data from Cloud Storage was written via + * [Cloud Storage + * subscriptions](https://cloud.google.com/pubsub/docs/cloudstorage). + *+ * + *
+ * .google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat pubsub_avro_format = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder mergePubsubAvroFormat(
+ com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat value) {
+ if (pubsubAvroFormatBuilder_ == null) {
+ if (inputFormatCase_ == 5
+ && inputFormat_
+ != com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat
+ .getDefaultInstance()) {
+ inputFormat_ =
+ com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat
+ .newBuilder(
+ (com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage
+ .PubSubAvroFormat)
+ inputFormat_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ inputFormat_ = value;
+ }
+ onChanged();
+ } else {
+ if (inputFormatCase_ == 5) {
+ pubsubAvroFormatBuilder_.mergeFrom(value);
+ } else {
+ pubsubAvroFormatBuilder_.setMessage(value);
+ }
+ }
+ inputFormatCase_ = 5;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. It will be assumed data from Cloud Storage was written via + * [Cloud Storage + * subscriptions](https://cloud.google.com/pubsub/docs/cloudstorage). + *+ * + *
+ * .google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat pubsub_avro_format = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder clearPubsubAvroFormat() {
+ if (pubsubAvroFormatBuilder_ == null) {
+ if (inputFormatCase_ == 5) {
+ inputFormatCase_ = 0;
+ inputFormat_ = null;
+ onChanged();
+ }
+ } else {
+ if (inputFormatCase_ == 5) {
+ inputFormatCase_ = 0;
+ inputFormat_ = null;
+ }
+ pubsubAvroFormatBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. It will be assumed data from Cloud Storage was written via + * [Cloud Storage + * subscriptions](https://cloud.google.com/pubsub/docs/cloudstorage). + *+ * + *
+ * .google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat pubsub_avro_format = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat.Builder
+ getPubsubAvroFormatBuilder() {
+ return getPubsubAvroFormatFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * Optional. It will be assumed data from Cloud Storage was written via + * [Cloud Storage + * subscriptions](https://cloud.google.com/pubsub/docs/cloudstorage). + *+ * + *
+ * .google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat pubsub_avro_format = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormatOrBuilder
+ getPubsubAvroFormatOrBuilder() {
+ if ((inputFormatCase_ == 5) && (pubsubAvroFormatBuilder_ != null)) {
+ return pubsubAvroFormatBuilder_.getMessageOrBuilder();
+ } else {
+ if (inputFormatCase_ == 5) {
+ return (com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat)
+ inputFormat_;
+ }
+ return com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat
+ .getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. It will be assumed data from Cloud Storage was written via + * [Cloud Storage + * subscriptions](https://cloud.google.com/pubsub/docs/cloudstorage). + *+ * + *
+ * .google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat pubsub_avro_format = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat,
+ com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat
+ .Builder,
+ com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage
+ .PubSubAvroFormatOrBuilder>
+ getPubsubAvroFormatFieldBuilder() {
+ if (pubsubAvroFormatBuilder_ == null) {
+ if (!(inputFormatCase_ == 5)) {
+ inputFormat_ =
+ com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat
+ .getDefaultInstance();
+ }
+ pubsubAvroFormatBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat,
+ com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat
+ .Builder,
+ com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage
+ .PubSubAvroFormatOrBuilder>(
+ (com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat)
+ inputFormat_,
+ getParentForChildren(),
+ isClean());
+ inputFormat_ = null;
+ }
+ inputFormatCase_ = 5;
+ onChanged();
+ return pubsubAvroFormatBuilder_;
+ }
+
+ private com.google.protobuf.Timestamp minimumObjectCreateTime_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.Timestamp,
+ com.google.protobuf.Timestamp.Builder,
+ com.google.protobuf.TimestampOrBuilder>
+ minimumObjectCreateTimeBuilder_;
+ /**
+ *
+ *
+ * + * Optional. Only objects with a larger or equal creation timestamp will be + * ingested. + *+ * + *
+ * .google.protobuf.Timestamp minimum_object_create_time = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the minimumObjectCreateTime field is set.
+ */
+ public boolean hasMinimumObjectCreateTime() {
+ return ((bitField0_ & 0x00000020) != 0);
+ }
+ /**
+ *
+ *
+ * + * Optional. Only objects with a larger or equal creation timestamp will be + * ingested. + *+ * + *
+ * .google.protobuf.Timestamp minimum_object_create_time = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The minimumObjectCreateTime.
+ */
+ public com.google.protobuf.Timestamp getMinimumObjectCreateTime() {
+ if (minimumObjectCreateTimeBuilder_ == null) {
+ return minimumObjectCreateTime_ == null
+ ? com.google.protobuf.Timestamp.getDefaultInstance()
+ : minimumObjectCreateTime_;
+ } else {
+ return minimumObjectCreateTimeBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. Only objects with a larger or equal creation timestamp will be + * ingested. + *+ * + *
+ * .google.protobuf.Timestamp minimum_object_create_time = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setMinimumObjectCreateTime(com.google.protobuf.Timestamp value) {
+ if (minimumObjectCreateTimeBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ minimumObjectCreateTime_ = value;
+ } else {
+ minimumObjectCreateTimeBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000020;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. Only objects with a larger or equal creation timestamp will be + * ingested. + *+ * + *
+ * .google.protobuf.Timestamp minimum_object_create_time = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setMinimumObjectCreateTime(
+ com.google.protobuf.Timestamp.Builder builderForValue) {
+ if (minimumObjectCreateTimeBuilder_ == null) {
+ minimumObjectCreateTime_ = builderForValue.build();
+ } else {
+ minimumObjectCreateTimeBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000020;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. Only objects with a larger or equal creation timestamp will be + * ingested. + *+ * + *
+ * .google.protobuf.Timestamp minimum_object_create_time = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder mergeMinimumObjectCreateTime(com.google.protobuf.Timestamp value) {
+ if (minimumObjectCreateTimeBuilder_ == null) {
+ if (((bitField0_ & 0x00000020) != 0)
+ && minimumObjectCreateTime_ != null
+ && minimumObjectCreateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+ getMinimumObjectCreateTimeBuilder().mergeFrom(value);
+ } else {
+ minimumObjectCreateTime_ = value;
+ }
+ } else {
+ minimumObjectCreateTimeBuilder_.mergeFrom(value);
+ }
+ if (minimumObjectCreateTime_ != null) {
+ bitField0_ |= 0x00000020;
+ onChanged();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. Only objects with a larger or equal creation timestamp will be + * ingested. + *+ * + *
+ * .google.protobuf.Timestamp minimum_object_create_time = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder clearMinimumObjectCreateTime() {
+ bitField0_ = (bitField0_ & ~0x00000020);
+ minimumObjectCreateTime_ = null;
+ if (minimumObjectCreateTimeBuilder_ != null) {
+ minimumObjectCreateTimeBuilder_.dispose();
+ minimumObjectCreateTimeBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. Only objects with a larger or equal creation timestamp will be + * ingested. + *+ * + *
+ * .google.protobuf.Timestamp minimum_object_create_time = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.protobuf.Timestamp.Builder getMinimumObjectCreateTimeBuilder() {
+ bitField0_ |= 0x00000020;
+ onChanged();
+ return getMinimumObjectCreateTimeFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * Optional. Only objects with a larger or equal creation timestamp will be + * ingested. + *+ * + *
+ * .google.protobuf.Timestamp minimum_object_create_time = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.protobuf.TimestampOrBuilder getMinimumObjectCreateTimeOrBuilder() {
+ if (minimumObjectCreateTimeBuilder_ != null) {
+ return minimumObjectCreateTimeBuilder_.getMessageOrBuilder();
+ } else {
+ return minimumObjectCreateTime_ == null
+ ? com.google.protobuf.Timestamp.getDefaultInstance()
+ : minimumObjectCreateTime_;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. Only objects with a larger or equal creation timestamp will be + * ingested. + *+ * + *
+ * .google.protobuf.Timestamp minimum_object_create_time = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.Timestamp,
+ com.google.protobuf.Timestamp.Builder,
+ com.google.protobuf.TimestampOrBuilder>
+ getMinimumObjectCreateTimeFieldBuilder() {
+ if (minimumObjectCreateTimeBuilder_ == null) {
+ minimumObjectCreateTimeBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.Timestamp,
+ com.google.protobuf.Timestamp.Builder,
+ com.google.protobuf.TimestampOrBuilder>(
+ getMinimumObjectCreateTime(), getParentForChildren(), isClean());
+ minimumObjectCreateTime_ = null;
+ }
+ return minimumObjectCreateTimeBuilder_;
+ }
+
+ private java.lang.Object matchGlob_ = "";
+ /**
+ *
+ *
+ * + * Optional. Glob pattern used to match objects that will be ingested. If + * unset, all objects will be ingested. See the [supported + * patterns](https://cloud.google.com/storage/docs/json_api/v1/objects/list#list-objects-and-prefixes-using-glob). + *+ * + *
string match_glob = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The matchGlob.
+ */
+ public java.lang.String getMatchGlob() {
+ java.lang.Object ref = matchGlob_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ matchGlob_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. Glob pattern used to match objects that will be ingested. If + * unset, all objects will be ingested. See the [supported + * patterns](https://cloud.google.com/storage/docs/json_api/v1/objects/list#list-objects-and-prefixes-using-glob). + *+ * + *
string match_glob = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for matchGlob.
+ */
+ public com.google.protobuf.ByteString getMatchGlobBytes() {
+ java.lang.Object ref = matchGlob_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ matchGlob_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. Glob pattern used to match objects that will be ingested. If + * unset, all objects will be ingested. See the [supported + * patterns](https://cloud.google.com/storage/docs/json_api/v1/objects/list#list-objects-and-prefixes-using-glob). + *+ * + *
string match_glob = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The matchGlob to set.
+ * @return This builder for chaining.
+ */
+ public Builder setMatchGlob(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ matchGlob_ = value;
+ bitField0_ |= 0x00000040;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. Glob pattern used to match objects that will be ingested. If + * unset, all objects will be ingested. See the [supported + * patterns](https://cloud.google.com/storage/docs/json_api/v1/objects/list#list-objects-and-prefixes-using-glob). + *+ * + *
string match_glob = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearMatchGlob() {
+ matchGlob_ = getDefaultInstance().getMatchGlob();
+ bitField0_ = (bitField0_ & ~0x00000040);
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. Glob pattern used to match objects that will be ingested. If + * unset, all objects will be ingested. See the [supported + * patterns](https://cloud.google.com/storage/docs/json_api/v1/objects/list#list-objects-and-prefixes-using-glob). + *+ * + *
string match_glob = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The bytes for matchGlob to set.
+ * @return This builder for chaining.
+ */
+ public Builder setMatchGlobBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ matchGlob_ = value;
+ bitField0_ |= 0x00000040;
+ onChanged();
+ 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.IngestionDataSourceSettings.CloudStorage)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.pubsub.v1.IngestionDataSourceSettings.CloudStorage)
+ private static final com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage
+ DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage();
+ }
+
+ public static com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage
+ getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * Optional. Amazon Kinesis Data Streams. + *+ * + *
+ * .google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis aws_kinesis = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the awsKinesis field is set.
+ */
+ @java.lang.Override
+ public boolean hasAwsKinesis() {
+ return sourceCase_ == 1;
+ }
+ /**
+ *
+ *
+ * + * Optional. Amazon Kinesis Data Streams. + *+ * + *
+ * .google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis aws_kinesis = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The awsKinesis.
+ */
+ @java.lang.Override
+ public com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis getAwsKinesis() {
+ if (sourceCase_ == 1) {
+ return (com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis) source_;
+ }
+ return com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis.getDefaultInstance();
+ }
+ /**
+ *
+ *
+ * + * Optional. Amazon Kinesis Data Streams. + *+ * + *
+ * .google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis aws_kinesis = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesisOrBuilder
+ getAwsKinesisOrBuilder() {
+ if (sourceCase_ == 1) {
+ return (com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis) source_;
+ }
+ return com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis.getDefaultInstance();
+ }
+
+ public static final int CLOUD_STORAGE_FIELD_NUMBER = 2;
+ /**
+ *
+ *
+ * + * Optional. Cloud Storage. + *+ * + *
+ * .google.pubsub.v1.IngestionDataSourceSettings.CloudStorage cloud_storage = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the cloudStorage field is set.
+ */
+ @java.lang.Override
+ public boolean hasCloudStorage() {
+ return sourceCase_ == 2;
+ }
+ /**
+ *
+ *
+ * + * Optional. Cloud Storage. + *+ * + *
+ * .google.pubsub.v1.IngestionDataSourceSettings.CloudStorage cloud_storage = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The cloudStorage.
+ */
+ @java.lang.Override
+ public com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage getCloudStorage() {
+ if (sourceCase_ == 2) {
+ return (com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage) source_;
+ }
+ return com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.getDefaultInstance();
+ }
+ /**
+ *
+ *
+ * + * Optional. Cloud Storage. + *+ * + *
+ * .google.pubsub.v1.IngestionDataSourceSettings.CloudStorage cloud_storage = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorageOrBuilder
+ getCloudStorageOrBuilder() {
+ if (sourceCase_ == 2) {
+ return (com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage) source_;
}
- };
-
- public SourceCase getSourceCase() {
- return SourceCase.forNumber(sourceCase_);
+ return com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.getDefaultInstance();
}
- public static final int AWS_KINESIS_FIELD_NUMBER = 1;
+ public static final int PLATFORM_LOGS_SETTINGS_FIELD_NUMBER = 4;
+ private com.google.pubsub.v1.PlatformLogsSettings platformLogsSettings_;
/**
*
*
* - * Optional. Amazon Kinesis Data Streams. + * Optional. Platform Logs settings. If unset, no Platform Logs will be + * generated. ** *
- * .google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis aws_kinesis = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.pubsub.v1.PlatformLogsSettings platform_logs_settings = 4 [(.google.api.field_behavior) = OPTIONAL];
*
*
- * @return Whether the awsKinesis field is set.
+ * @return Whether the platformLogsSettings field is set.
*/
@java.lang.Override
- public boolean hasAwsKinesis() {
- return sourceCase_ == 1;
+ public boolean hasPlatformLogsSettings() {
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
*
*
* - * Optional. Amazon Kinesis Data Streams. + * Optional. Platform Logs settings. If unset, no Platform Logs will be + * generated. ** *
- * .google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis aws_kinesis = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.pubsub.v1.PlatformLogsSettings platform_logs_settings = 4 [(.google.api.field_behavior) = OPTIONAL];
*
*
- * @return The awsKinesis.
+ * @return The platformLogsSettings.
*/
@java.lang.Override
- public com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis getAwsKinesis() {
- if (sourceCase_ == 1) {
- return (com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis) source_;
- }
- return com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis.getDefaultInstance();
+ public com.google.pubsub.v1.PlatformLogsSettings getPlatformLogsSettings() {
+ return platformLogsSettings_ == null
+ ? com.google.pubsub.v1.PlatformLogsSettings.getDefaultInstance()
+ : platformLogsSettings_;
}
/**
*
*
* - * Optional. Amazon Kinesis Data Streams. + * Optional. Platform Logs settings. If unset, no Platform Logs will be + * generated. ** *
- * .google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis aws_kinesis = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.pubsub.v1.PlatformLogsSettings platform_logs_settings = 4 [(.google.api.field_behavior) = OPTIONAL];
*
*/
@java.lang.Override
- public com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesisOrBuilder
- getAwsKinesisOrBuilder() {
- if (sourceCase_ == 1) {
- return (com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis) source_;
- }
- return com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis.getDefaultInstance();
+ public com.google.pubsub.v1.PlatformLogsSettingsOrBuilder getPlatformLogsSettingsOrBuilder() {
+ return platformLogsSettings_ == null
+ ? com.google.pubsub.v1.PlatformLogsSettings.getDefaultInstance()
+ : platformLogsSettings_;
}
private byte memoizedIsInitialized = -1;
@@ -1957,6 +6717,13 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (sourceCase_ == 1) {
output.writeMessage(1, (com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis) source_);
}
+ if (sourceCase_ == 2) {
+ output.writeMessage(
+ 2, (com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage) source_);
+ }
+ if (((bitField0_ & 0x00000001) != 0)) {
+ output.writeMessage(4, getPlatformLogsSettings());
+ }
getUnknownFields().writeTo(output);
}
@@ -1971,6 +6738,15 @@ public int getSerializedSize() {
com.google.protobuf.CodedOutputStream.computeMessageSize(
1, (com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis) source_);
}
+ if (sourceCase_ == 2) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 2, (com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage) source_);
+ }
+ if (((bitField0_ & 0x00000001) != 0)) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(4, getPlatformLogsSettings());
+ }
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
@@ -1987,11 +6763,18 @@ public boolean equals(final java.lang.Object obj) {
com.google.pubsub.v1.IngestionDataSourceSettings other =
(com.google.pubsub.v1.IngestionDataSourceSettings) obj;
+ if (hasPlatformLogsSettings() != other.hasPlatformLogsSettings()) return false;
+ if (hasPlatformLogsSettings()) {
+ if (!getPlatformLogsSettings().equals(other.getPlatformLogsSettings())) return false;
+ }
if (!getSourceCase().equals(other.getSourceCase())) return false;
switch (sourceCase_) {
case 1:
if (!getAwsKinesis().equals(other.getAwsKinesis())) return false;
break;
+ case 2:
+ if (!getCloudStorage().equals(other.getCloudStorage())) return false;
+ break;
case 0:
default:
}
@@ -2006,11 +6789,19 @@ public int hashCode() {
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
+ if (hasPlatformLogsSettings()) {
+ hash = (37 * hash) + PLATFORM_LOGS_SETTINGS_FIELD_NUMBER;
+ hash = (53 * hash) + getPlatformLogsSettings().hashCode();
+ }
switch (sourceCase_) {
case 1:
hash = (37 * hash) + AWS_KINESIS_FIELD_NUMBER;
hash = (53 * hash) + getAwsKinesis().hashCode();
break;
+ case 2:
+ hash = (37 * hash) + CLOUD_STORAGE_FIELD_NUMBER;
+ hash = (53 * hash) + getCloudStorage().hashCode();
+ break;
case 0:
default:
}
@@ -2143,10 +6934,19 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
// Construct using com.google.pubsub.v1.IngestionDataSourceSettings.newBuilder()
- private Builder() {}
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
+ maybeForceBuilderInitialization();
+ }
+
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+ getPlatformLogsSettingsFieldBuilder();
+ }
}
@java.lang.Override
@@ -2156,6 +6956,14 @@ public Builder clear() {
if (awsKinesisBuilder_ != null) {
awsKinesisBuilder_.clear();
}
+ if (cloudStorageBuilder_ != null) {
+ cloudStorageBuilder_.clear();
+ }
+ platformLogsSettings_ = null;
+ if (platformLogsSettingsBuilder_ != null) {
+ platformLogsSettingsBuilder_.dispose();
+ platformLogsSettingsBuilder_ = null;
+ }
sourceCase_ = 0;
source_ = null;
return this;
@@ -2195,6 +7003,15 @@ public com.google.pubsub.v1.IngestionDataSourceSettings buildPartial() {
private void buildPartial0(com.google.pubsub.v1.IngestionDataSourceSettings result) {
int from_bitField0_ = bitField0_;
+ int to_bitField0_ = 0;
+ if (((from_bitField0_ & 0x00000004) != 0)) {
+ result.platformLogsSettings_ =
+ platformLogsSettingsBuilder_ == null
+ ? platformLogsSettings_
+ : platformLogsSettingsBuilder_.build();
+ to_bitField0_ |= 0x00000001;
+ }
+ result.bitField0_ |= to_bitField0_;
}
private void buildPartialOneofs(com.google.pubsub.v1.IngestionDataSourceSettings result) {
@@ -2203,6 +7020,9 @@ private void buildPartialOneofs(com.google.pubsub.v1.IngestionDataSourceSettings
if (sourceCase_ == 1 && awsKinesisBuilder_ != null) {
result.source_ = awsKinesisBuilder_.build();
}
+ if (sourceCase_ == 2 && cloudStorageBuilder_ != null) {
+ result.source_ = cloudStorageBuilder_.build();
+ }
}
@java.lang.Override
@@ -2251,12 +7071,20 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
public Builder mergeFrom(com.google.pubsub.v1.IngestionDataSourceSettings other) {
if (other == com.google.pubsub.v1.IngestionDataSourceSettings.getDefaultInstance())
return this;
+ if (other.hasPlatformLogsSettings()) {
+ mergePlatformLogsSettings(other.getPlatformLogsSettings());
+ }
switch (other.getSourceCase()) {
case AWS_KINESIS:
{
mergeAwsKinesis(other.getAwsKinesis());
break;
}
+ case CLOUD_STORAGE:
+ {
+ mergeCloudStorage(other.getCloudStorage());
+ break;
+ }
case SOURCE_NOT_SET:
{
break;
@@ -2294,6 +7122,19 @@ public Builder mergeFrom(
sourceCase_ = 1;
break;
} // case 10
+ case 18:
+ {
+ input.readMessage(getCloudStorageFieldBuilder().getBuilder(), extensionRegistry);
+ sourceCase_ = 2;
+ break;
+ } // case 18
+ case 34:
+ {
+ input.readMessage(
+ getPlatformLogsSettingsFieldBuilder().getBuilder(), extensionRegistry);
+ bitField0_ |= 0x00000004;
+ break;
+ } // case 34
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
@@ -2324,126 +7165,360 @@ public Builder clearSource() {
onChanged();
return this;
}
-
- private int bitField0_;
-
+
+ private int bitField0_;
+
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis,
+ com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis.Builder,
+ com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesisOrBuilder>
+ awsKinesisBuilder_;
+ /**
+ *
+ *
+ * + * Optional. Amazon Kinesis Data Streams. + *+ * + *
+ * .google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis aws_kinesis = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the awsKinesis field is set.
+ */
+ @java.lang.Override
+ public boolean hasAwsKinesis() {
+ return sourceCase_ == 1;
+ }
+ /**
+ *
+ *
+ * + * Optional. Amazon Kinesis Data Streams. + *+ * + *
+ * .google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis aws_kinesis = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The awsKinesis.
+ */
+ @java.lang.Override
+ public com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis getAwsKinesis() {
+ if (awsKinesisBuilder_ == null) {
+ if (sourceCase_ == 1) {
+ return (com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis) source_;
+ }
+ return com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis.getDefaultInstance();
+ } else {
+ if (sourceCase_ == 1) {
+ return awsKinesisBuilder_.getMessage();
+ }
+ return com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis.getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. Amazon Kinesis Data Streams. + *+ * + *
+ * .google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis aws_kinesis = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setAwsKinesis(
+ com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis value) {
+ if (awsKinesisBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ source_ = value;
+ onChanged();
+ } else {
+ awsKinesisBuilder_.setMessage(value);
+ }
+ sourceCase_ = 1;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. Amazon Kinesis Data Streams. + *+ * + *
+ * .google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis aws_kinesis = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setAwsKinesis(
+ com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis.Builder builderForValue) {
+ if (awsKinesisBuilder_ == null) {
+ source_ = builderForValue.build();
+ onChanged();
+ } else {
+ awsKinesisBuilder_.setMessage(builderForValue.build());
+ }
+ sourceCase_ = 1;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. Amazon Kinesis Data Streams. + *+ * + *
+ * .google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis aws_kinesis = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder mergeAwsKinesis(
+ com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis value) {
+ if (awsKinesisBuilder_ == null) {
+ if (sourceCase_ == 1
+ && source_
+ != com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis
+ .getDefaultInstance()) {
+ source_ =
+ com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis.newBuilder(
+ (com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis) source_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ source_ = value;
+ }
+ onChanged();
+ } else {
+ if (sourceCase_ == 1) {
+ awsKinesisBuilder_.mergeFrom(value);
+ } else {
+ awsKinesisBuilder_.setMessage(value);
+ }
+ }
+ sourceCase_ = 1;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. Amazon Kinesis Data Streams. + *+ * + *
+ * .google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis aws_kinesis = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder clearAwsKinesis() {
+ if (awsKinesisBuilder_ == null) {
+ if (sourceCase_ == 1) {
+ sourceCase_ = 0;
+ source_ = null;
+ onChanged();
+ }
+ } else {
+ if (sourceCase_ == 1) {
+ sourceCase_ = 0;
+ source_ = null;
+ }
+ awsKinesisBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. Amazon Kinesis Data Streams. + *+ * + *
+ * .google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis aws_kinesis = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis.Builder
+ getAwsKinesisBuilder() {
+ return getAwsKinesisFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * Optional. Amazon Kinesis Data Streams. + *+ * + *
+ * .google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis aws_kinesis = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesisOrBuilder
+ getAwsKinesisOrBuilder() {
+ if ((sourceCase_ == 1) && (awsKinesisBuilder_ != null)) {
+ return awsKinesisBuilder_.getMessageOrBuilder();
+ } else {
+ if (sourceCase_ == 1) {
+ return (com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis) source_;
+ }
+ return com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis.getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. Amazon Kinesis Data Streams. + *+ * + *
+ * .google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis aws_kinesis = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
private com.google.protobuf.SingleFieldBuilderV3<
com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis,
com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis.Builder,
com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesisOrBuilder>
- awsKinesisBuilder_;
+ getAwsKinesisFieldBuilder() {
+ if (awsKinesisBuilder_ == null) {
+ if (!(sourceCase_ == 1)) {
+ source_ =
+ com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis.getDefaultInstance();
+ }
+ awsKinesisBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis,
+ com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis.Builder,
+ com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesisOrBuilder>(
+ (com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis) source_,
+ getParentForChildren(),
+ isClean());
+ source_ = null;
+ }
+ sourceCase_ = 1;
+ onChanged();
+ return awsKinesisBuilder_;
+ }
+
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage,
+ com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.Builder,
+ com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorageOrBuilder>
+ cloudStorageBuilder_;
/**
*
*
* - * Optional. Amazon Kinesis Data Streams. + * Optional. Cloud Storage. ** *
- * .google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis aws_kinesis = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.pubsub.v1.IngestionDataSourceSettings.CloudStorage cloud_storage = 2 [(.google.api.field_behavior) = OPTIONAL];
*
*
- * @return Whether the awsKinesis field is set.
+ * @return Whether the cloudStorage field is set.
*/
@java.lang.Override
- public boolean hasAwsKinesis() {
- return sourceCase_ == 1;
+ public boolean hasCloudStorage() {
+ return sourceCase_ == 2;
}
/**
*
*
* - * Optional. Amazon Kinesis Data Streams. + * Optional. Cloud Storage. ** *
- * .google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis aws_kinesis = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.pubsub.v1.IngestionDataSourceSettings.CloudStorage cloud_storage = 2 [(.google.api.field_behavior) = OPTIONAL];
*
*
- * @return The awsKinesis.
+ * @return The cloudStorage.
*/
@java.lang.Override
- public com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis getAwsKinesis() {
- if (awsKinesisBuilder_ == null) {
- if (sourceCase_ == 1) {
- return (com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis) source_;
+ public com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage getCloudStorage() {
+ if (cloudStorageBuilder_ == null) {
+ if (sourceCase_ == 2) {
+ return (com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage) source_;
}
- return com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis.getDefaultInstance();
+ return com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.getDefaultInstance();
} else {
- if (sourceCase_ == 1) {
- return awsKinesisBuilder_.getMessage();
+ if (sourceCase_ == 2) {
+ return cloudStorageBuilder_.getMessage();
}
- return com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis.getDefaultInstance();
+ return com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.getDefaultInstance();
}
}
/**
*
*
* - * Optional. Amazon Kinesis Data Streams. + * Optional. Cloud Storage. ** *
- * .google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis aws_kinesis = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.pubsub.v1.IngestionDataSourceSettings.CloudStorage cloud_storage = 2 [(.google.api.field_behavior) = OPTIONAL];
*
*/
- public Builder setAwsKinesis(
- com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis value) {
- if (awsKinesisBuilder_ == null) {
+ public Builder setCloudStorage(
+ com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage value) {
+ if (cloudStorageBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
source_ = value;
onChanged();
} else {
- awsKinesisBuilder_.setMessage(value);
+ cloudStorageBuilder_.setMessage(value);
}
- sourceCase_ = 1;
+ sourceCase_ = 2;
return this;
}
/**
*
*
* - * Optional. Amazon Kinesis Data Streams. + * Optional. Cloud Storage. ** *
- * .google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis aws_kinesis = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.pubsub.v1.IngestionDataSourceSettings.CloudStorage cloud_storage = 2 [(.google.api.field_behavior) = OPTIONAL];
*
*/
- public Builder setAwsKinesis(
- com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis.Builder builderForValue) {
- if (awsKinesisBuilder_ == null) {
+ public Builder setCloudStorage(
+ com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.Builder builderForValue) {
+ if (cloudStorageBuilder_ == null) {
source_ = builderForValue.build();
onChanged();
} else {
- awsKinesisBuilder_.setMessage(builderForValue.build());
+ cloudStorageBuilder_.setMessage(builderForValue.build());
}
- sourceCase_ = 1;
+ sourceCase_ = 2;
return this;
}
/**
*
*
* - * Optional. Amazon Kinesis Data Streams. + * Optional. Cloud Storage. ** *
- * .google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis aws_kinesis = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.pubsub.v1.IngestionDataSourceSettings.CloudStorage cloud_storage = 2 [(.google.api.field_behavior) = OPTIONAL];
*
*/
- public Builder mergeAwsKinesis(
- com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis value) {
- if (awsKinesisBuilder_ == null) {
- if (sourceCase_ == 1
+ public Builder mergeCloudStorage(
+ com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage value) {
+ if (cloudStorageBuilder_ == null) {
+ if (sourceCase_ == 2
&& source_
- != com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis
+ != com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage
.getDefaultInstance()) {
source_ =
- com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis.newBuilder(
- (com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis) source_)
+ com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.newBuilder(
+ (com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage) source_)
.mergeFrom(value)
.buildPartial();
} else {
@@ -2451,39 +7526,39 @@ public Builder mergeAwsKinesis(
}
onChanged();
} else {
- if (sourceCase_ == 1) {
- awsKinesisBuilder_.mergeFrom(value);
+ if (sourceCase_ == 2) {
+ cloudStorageBuilder_.mergeFrom(value);
} else {
- awsKinesisBuilder_.setMessage(value);
+ cloudStorageBuilder_.setMessage(value);
}
}
- sourceCase_ = 1;
+ sourceCase_ = 2;
return this;
}
/**
*
*
* - * Optional. Amazon Kinesis Data Streams. + * Optional. Cloud Storage. ** *
- * .google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis aws_kinesis = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.pubsub.v1.IngestionDataSourceSettings.CloudStorage cloud_storage = 2 [(.google.api.field_behavior) = OPTIONAL];
*
*/
- public Builder clearAwsKinesis() {
- if (awsKinesisBuilder_ == null) {
- if (sourceCase_ == 1) {
+ public Builder clearCloudStorage() {
+ if (cloudStorageBuilder_ == null) {
+ if (sourceCase_ == 2) {
sourceCase_ = 0;
source_ = null;
onChanged();
}
} else {
- if (sourceCase_ == 1) {
+ if (sourceCase_ == 2) {
sourceCase_ = 0;
source_ = null;
}
- awsKinesisBuilder_.clear();
+ cloudStorageBuilder_.clear();
}
return this;
}
@@ -2491,74 +7566,288 @@ public Builder clearAwsKinesis() {
*
*
* - * Optional. Amazon Kinesis Data Streams. + * Optional. Cloud Storage. ** *
- * .google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis aws_kinesis = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.pubsub.v1.IngestionDataSourceSettings.CloudStorage cloud_storage = 2 [(.google.api.field_behavior) = OPTIONAL];
*
*/
- public com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis.Builder
- getAwsKinesisBuilder() {
- return getAwsKinesisFieldBuilder().getBuilder();
+ public com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.Builder
+ getCloudStorageBuilder() {
+ return getCloudStorageFieldBuilder().getBuilder();
}
/**
*
*
* - * Optional. Amazon Kinesis Data Streams. + * Optional. Cloud Storage. ** *
- * .google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis aws_kinesis = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.pubsub.v1.IngestionDataSourceSettings.CloudStorage cloud_storage = 2 [(.google.api.field_behavior) = OPTIONAL];
*
*/
@java.lang.Override
- public com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesisOrBuilder
- getAwsKinesisOrBuilder() {
- if ((sourceCase_ == 1) && (awsKinesisBuilder_ != null)) {
- return awsKinesisBuilder_.getMessageOrBuilder();
+ public com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorageOrBuilder
+ getCloudStorageOrBuilder() {
+ if ((sourceCase_ == 2) && (cloudStorageBuilder_ != null)) {
+ return cloudStorageBuilder_.getMessageOrBuilder();
} else {
- if (sourceCase_ == 1) {
- return (com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis) source_;
+ if (sourceCase_ == 2) {
+ return (com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage) source_;
}
- return com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis.getDefaultInstance();
+ return com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.getDefaultInstance();
}
}
/**
*
*
* - * Optional. Amazon Kinesis Data Streams. + * Optional. Cloud Storage. ** *
- * .google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis aws_kinesis = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.pubsub.v1.IngestionDataSourceSettings.CloudStorage cloud_storage = 2 [(.google.api.field_behavior) = OPTIONAL];
*
*/
private com.google.protobuf.SingleFieldBuilderV3<
- com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis,
- com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis.Builder,
- com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesisOrBuilder>
- getAwsKinesisFieldBuilder() {
- if (awsKinesisBuilder_ == null) {
- if (!(sourceCase_ == 1)) {
+ com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage,
+ com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.Builder,
+ com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorageOrBuilder>
+ getCloudStorageFieldBuilder() {
+ if (cloudStorageBuilder_ == null) {
+ if (!(sourceCase_ == 2)) {
source_ =
- com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis.getDefaultInstance();
+ com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.getDefaultInstance();
}
- awsKinesisBuilder_ =
+ cloudStorageBuilder_ =
new com.google.protobuf.SingleFieldBuilderV3<
- com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis,
- com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis.Builder,
- com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesisOrBuilder>(
- (com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis) source_,
+ com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage,
+ com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.Builder,
+ com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorageOrBuilder>(
+ (com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage) source_,
getParentForChildren(),
isClean());
source_ = null;
}
- sourceCase_ = 1;
+ sourceCase_ = 2;
onChanged();
- return awsKinesisBuilder_;
+ return cloudStorageBuilder_;
+ }
+
+ private com.google.pubsub.v1.PlatformLogsSettings platformLogsSettings_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.pubsub.v1.PlatformLogsSettings,
+ com.google.pubsub.v1.PlatformLogsSettings.Builder,
+ com.google.pubsub.v1.PlatformLogsSettingsOrBuilder>
+ platformLogsSettingsBuilder_;
+ /**
+ *
+ *
+ * + * Optional. Platform Logs settings. If unset, no Platform Logs will be + * generated. + *+ * + *
+ * .google.pubsub.v1.PlatformLogsSettings platform_logs_settings = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the platformLogsSettings field is set.
+ */
+ public boolean hasPlatformLogsSettings() {
+ return ((bitField0_ & 0x00000004) != 0);
+ }
+ /**
+ *
+ *
+ * + * Optional. Platform Logs settings. If unset, no Platform Logs will be + * generated. + *+ * + *
+ * .google.pubsub.v1.PlatformLogsSettings platform_logs_settings = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The platformLogsSettings.
+ */
+ public com.google.pubsub.v1.PlatformLogsSettings getPlatformLogsSettings() {
+ if (platformLogsSettingsBuilder_ == null) {
+ return platformLogsSettings_ == null
+ ? com.google.pubsub.v1.PlatformLogsSettings.getDefaultInstance()
+ : platformLogsSettings_;
+ } else {
+ return platformLogsSettingsBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. Platform Logs settings. If unset, no Platform Logs will be + * generated. + *+ * + *
+ * .google.pubsub.v1.PlatformLogsSettings platform_logs_settings = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setPlatformLogsSettings(com.google.pubsub.v1.PlatformLogsSettings value) {
+ if (platformLogsSettingsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ platformLogsSettings_ = value;
+ } else {
+ platformLogsSettingsBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. Platform Logs settings. If unset, no Platform Logs will be + * generated. + *+ * + *
+ * .google.pubsub.v1.PlatformLogsSettings platform_logs_settings = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setPlatformLogsSettings(
+ com.google.pubsub.v1.PlatformLogsSettings.Builder builderForValue) {
+ if (platformLogsSettingsBuilder_ == null) {
+ platformLogsSettings_ = builderForValue.build();
+ } else {
+ platformLogsSettingsBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. Platform Logs settings. If unset, no Platform Logs will be + * generated. + *+ * + *
+ * .google.pubsub.v1.PlatformLogsSettings platform_logs_settings = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder mergePlatformLogsSettings(com.google.pubsub.v1.PlatformLogsSettings value) {
+ if (platformLogsSettingsBuilder_ == null) {
+ if (((bitField0_ & 0x00000004) != 0)
+ && platformLogsSettings_ != null
+ && platformLogsSettings_
+ != com.google.pubsub.v1.PlatformLogsSettings.getDefaultInstance()) {
+ getPlatformLogsSettingsBuilder().mergeFrom(value);
+ } else {
+ platformLogsSettings_ = value;
+ }
+ } else {
+ platformLogsSettingsBuilder_.mergeFrom(value);
+ }
+ if (platformLogsSettings_ != null) {
+ bitField0_ |= 0x00000004;
+ onChanged();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. Platform Logs settings. If unset, no Platform Logs will be + * generated. + *+ * + *
+ * .google.pubsub.v1.PlatformLogsSettings platform_logs_settings = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder clearPlatformLogsSettings() {
+ bitField0_ = (bitField0_ & ~0x00000004);
+ platformLogsSettings_ = null;
+ if (platformLogsSettingsBuilder_ != null) {
+ platformLogsSettingsBuilder_.dispose();
+ platformLogsSettingsBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. Platform Logs settings. If unset, no Platform Logs will be + * generated. + *+ * + *
+ * .google.pubsub.v1.PlatformLogsSettings platform_logs_settings = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.pubsub.v1.PlatformLogsSettings.Builder getPlatformLogsSettingsBuilder() {
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return getPlatformLogsSettingsFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * Optional. Platform Logs settings. If unset, no Platform Logs will be + * generated. + *+ * + *
+ * .google.pubsub.v1.PlatformLogsSettings platform_logs_settings = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.pubsub.v1.PlatformLogsSettingsOrBuilder getPlatformLogsSettingsOrBuilder() {
+ if (platformLogsSettingsBuilder_ != null) {
+ return platformLogsSettingsBuilder_.getMessageOrBuilder();
+ } else {
+ return platformLogsSettings_ == null
+ ? com.google.pubsub.v1.PlatformLogsSettings.getDefaultInstance()
+ : platformLogsSettings_;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. Platform Logs settings. If unset, no Platform Logs will be + * generated. + *+ * + *
+ * .google.pubsub.v1.PlatformLogsSettings platform_logs_settings = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.pubsub.v1.PlatformLogsSettings,
+ com.google.pubsub.v1.PlatformLogsSettings.Builder,
+ com.google.pubsub.v1.PlatformLogsSettingsOrBuilder>
+ getPlatformLogsSettingsFieldBuilder() {
+ if (platformLogsSettingsBuilder_ == null) {
+ platformLogsSettingsBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.pubsub.v1.PlatformLogsSettings,
+ com.google.pubsub.v1.PlatformLogsSettings.Builder,
+ com.google.pubsub.v1.PlatformLogsSettingsOrBuilder>(
+ getPlatformLogsSettings(), getParentForChildren(), isClean());
+ platformLogsSettings_ = null;
+ }
+ return platformLogsSettingsBuilder_;
}
@java.lang.Override
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/IngestionDataSourceSettingsOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/IngestionDataSourceSettingsOrBuilder.java
index c6692f6d7..28c04d607 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/IngestionDataSourceSettingsOrBuilder.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/IngestionDataSourceSettingsOrBuilder.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/pubsub.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
public interface IngestionDataSourceSettingsOrBuilder
@@ -65,5 +65,90 @@ public interface IngestionDataSourceSettingsOrBuilder
*/
com.google.pubsub.v1.IngestionDataSourceSettings.AwsKinesisOrBuilder getAwsKinesisOrBuilder();
+ /**
+ *
+ *
+ * + * Optional. Cloud Storage. + *+ * + *
+ * .google.pubsub.v1.IngestionDataSourceSettings.CloudStorage cloud_storage = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the cloudStorage field is set.
+ */
+ boolean hasCloudStorage();
+ /**
+ *
+ *
+ * + * Optional. Cloud Storage. + *+ * + *
+ * .google.pubsub.v1.IngestionDataSourceSettings.CloudStorage cloud_storage = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The cloudStorage.
+ */
+ com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage getCloudStorage();
+ /**
+ *
+ *
+ * + * Optional. Cloud Storage. + *+ * + *
+ * .google.pubsub.v1.IngestionDataSourceSettings.CloudStorage cloud_storage = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ com.google.pubsub.v1.IngestionDataSourceSettings.CloudStorageOrBuilder getCloudStorageOrBuilder();
+
+ /**
+ *
+ *
+ * + * Optional. Platform Logs settings. If unset, no Platform Logs will be + * generated. + *+ * + *
+ * .google.pubsub.v1.PlatformLogsSettings platform_logs_settings = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the platformLogsSettings field is set.
+ */
+ boolean hasPlatformLogsSettings();
+ /**
+ *
+ *
+ * + * Optional. Platform Logs settings. If unset, no Platform Logs will be + * generated. + *+ * + *
+ * .google.pubsub.v1.PlatformLogsSettings platform_logs_settings = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The platformLogsSettings.
+ */
+ com.google.pubsub.v1.PlatformLogsSettings getPlatformLogsSettings();
+ /**
+ *
+ *
+ * + * Optional. Platform Logs settings. If unset, no Platform Logs will be + * generated. + *+ * + *
+ * .google.pubsub.v1.PlatformLogsSettings platform_logs_settings = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ com.google.pubsub.v1.PlatformLogsSettingsOrBuilder getPlatformLogsSettingsOrBuilder();
+
com.google.pubsub.v1.IngestionDataSourceSettings.SourceCase getSourceCase();
}
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemaRevisionsRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemaRevisionsRequest.java
index 3541d809e..3d406f6bf 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemaRevisionsRequest.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemaRevisionsRequest.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/schema.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
/**
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemaRevisionsRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemaRevisionsRequestOrBuilder.java
index ec720f4a0..2fa49de7d 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemaRevisionsRequestOrBuilder.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemaRevisionsRequestOrBuilder.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/schema.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
public interface ListSchemaRevisionsRequestOrBuilder
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemaRevisionsResponse.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemaRevisionsResponse.java
index 5f0076d91..50e5dd19d 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemaRevisionsResponse.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemaRevisionsResponse.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/schema.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
/**
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemaRevisionsResponseOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemaRevisionsResponseOrBuilder.java
index 73ca9e9d5..cadb88f17 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemaRevisionsResponseOrBuilder.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemaRevisionsResponseOrBuilder.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/schema.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
public interface ListSchemaRevisionsResponseOrBuilder
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemasRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemasRequest.java
index 228b2b8e7..d1c082ca8 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemasRequest.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemasRequest.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/schema.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
/**
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemasRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemasRequestOrBuilder.java
index c8beb87f1..571e88b81 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemasRequestOrBuilder.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemasRequestOrBuilder.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/schema.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
public interface ListSchemasRequestOrBuilder
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemasResponse.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemasResponse.java
index e1985e768..581624bcc 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemasResponse.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemasResponse.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/schema.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
/**
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemasResponseOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemasResponseOrBuilder.java
index 10e0d8f72..b2145b6ac 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemasResponseOrBuilder.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSchemasResponseOrBuilder.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/schema.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
public interface ListSchemasResponseOrBuilder
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSnapshotsRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSnapshotsRequest.java
index 383e5e1bf..7a1cf826a 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSnapshotsRequest.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSnapshotsRequest.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/pubsub.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
/**
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSnapshotsRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSnapshotsRequestOrBuilder.java
index 311c46a99..1fce5f0b0 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSnapshotsRequestOrBuilder.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSnapshotsRequestOrBuilder.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/pubsub.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
public interface ListSnapshotsRequestOrBuilder
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSnapshotsResponse.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSnapshotsResponse.java
index 4ee7a9731..74fed6e23 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSnapshotsResponse.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSnapshotsResponse.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/pubsub.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
/**
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSnapshotsResponseOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSnapshotsResponseOrBuilder.java
index b0aeb8451..d53121a32 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSnapshotsResponseOrBuilder.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSnapshotsResponseOrBuilder.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/pubsub.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
public interface ListSnapshotsResponseOrBuilder
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSubscriptionsRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSubscriptionsRequest.java
index 1f2da3141..c2c66a388 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSubscriptionsRequest.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSubscriptionsRequest.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/pubsub.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
/**
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSubscriptionsRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSubscriptionsRequestOrBuilder.java
index e61355550..3dd31b9e7 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSubscriptionsRequestOrBuilder.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSubscriptionsRequestOrBuilder.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/pubsub.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
public interface ListSubscriptionsRequestOrBuilder
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSubscriptionsResponse.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSubscriptionsResponse.java
index 378d58683..c0ce6fc00 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSubscriptionsResponse.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSubscriptionsResponse.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/pubsub.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
/**
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSubscriptionsResponseOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSubscriptionsResponseOrBuilder.java
index 35cb35bf2..20b021f93 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSubscriptionsResponseOrBuilder.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListSubscriptionsResponseOrBuilder.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/pubsub.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
public interface ListSubscriptionsResponseOrBuilder
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSnapshotsRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSnapshotsRequest.java
index d4b4177c4..f39c3c4b6 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSnapshotsRequest.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSnapshotsRequest.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/pubsub.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
/**
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSnapshotsRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSnapshotsRequestOrBuilder.java
index 8bab402b9..6844d32f0 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSnapshotsRequestOrBuilder.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSnapshotsRequestOrBuilder.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/pubsub.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
public interface ListTopicSnapshotsRequestOrBuilder
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSnapshotsResponse.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSnapshotsResponse.java
index 1abe84406..1a8092115 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSnapshotsResponse.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSnapshotsResponse.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/pubsub.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
/**
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSnapshotsResponseOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSnapshotsResponseOrBuilder.java
index da03f0c90..5b80ee609 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSnapshotsResponseOrBuilder.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSnapshotsResponseOrBuilder.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/pubsub.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
public interface ListTopicSnapshotsResponseOrBuilder
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSubscriptionsRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSubscriptionsRequest.java
index f69a0ddce..021630379 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSubscriptionsRequest.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSubscriptionsRequest.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/pubsub.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
/**
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSubscriptionsRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSubscriptionsRequestOrBuilder.java
index 7a0b69c80..f25ea7858 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSubscriptionsRequestOrBuilder.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSubscriptionsRequestOrBuilder.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/pubsub.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
public interface ListTopicSubscriptionsRequestOrBuilder
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSubscriptionsResponse.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSubscriptionsResponse.java
index 1b4360644..dcb6c60f4 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSubscriptionsResponse.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSubscriptionsResponse.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/pubsub.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
/**
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSubscriptionsResponseOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSubscriptionsResponseOrBuilder.java
index a4e5ea441..3f6ad98e1 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSubscriptionsResponseOrBuilder.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicSubscriptionsResponseOrBuilder.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/pubsub.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
public interface ListTopicSubscriptionsResponseOrBuilder
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicsRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicsRequest.java
index c9c87d9cc..c36f242a2 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicsRequest.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicsRequest.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/pubsub.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
/**
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicsRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicsRequestOrBuilder.java
index 95973fc94..267473b95 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicsRequestOrBuilder.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicsRequestOrBuilder.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/pubsub.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
public interface ListTopicsRequestOrBuilder
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicsResponse.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicsResponse.java
index 020257e5e..aca359bbf 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicsResponse.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicsResponse.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/pubsub.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
/**
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicsResponseOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicsResponseOrBuilder.java
index 06f99a155..29832578e 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicsResponseOrBuilder.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ListTopicsResponseOrBuilder.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/pubsub.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
public interface ListTopicsResponseOrBuilder
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/MessageStoragePolicy.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/MessageStoragePolicy.java
index 164d2c67c..59aa717bd 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/MessageStoragePolicy.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/MessageStoragePolicy.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/pubsub.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
/**
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/MessageStoragePolicyOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/MessageStoragePolicyOrBuilder.java
index 60f6836e7..fb791a330 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/MessageStoragePolicyOrBuilder.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/MessageStoragePolicyOrBuilder.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/pubsub.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
public interface MessageStoragePolicyOrBuilder
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyAckDeadlineRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyAckDeadlineRequest.java
index fc1736758..b9417cac9 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyAckDeadlineRequest.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyAckDeadlineRequest.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/pubsub.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
/**
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyAckDeadlineRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyAckDeadlineRequestOrBuilder.java
index 231ad9471..c148ebc72 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyAckDeadlineRequestOrBuilder.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyAckDeadlineRequestOrBuilder.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/pubsub.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
public interface ModifyAckDeadlineRequestOrBuilder
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyPushConfigRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyPushConfigRequest.java
index b02b89d09..54cab839b 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyPushConfigRequest.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyPushConfigRequest.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/pubsub.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
/**
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyPushConfigRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyPushConfigRequestOrBuilder.java
index ac09ebafa..29779beff 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyPushConfigRequestOrBuilder.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ModifyPushConfigRequestOrBuilder.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/pubsub.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
public interface ModifyPushConfigRequestOrBuilder
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PlatformLogsSettings.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PlatformLogsSettings.java
new file mode 100644
index 000000000..a63c3a4df
--- /dev/null
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PlatformLogsSettings.java
@@ -0,0 +1,833 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/pubsub/v1/pubsub.proto
+
+// Protobuf Java Version: 3.25.5
+package com.google.pubsub.v1;
+
+/**
+ *
+ *
+ * + * Settings for Platform Logs produced by Pub/Sub. + *+ * + * Protobuf type {@code google.pubsub.v1.PlatformLogsSettings} + */ +public final class PlatformLogsSettings extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.pubsub.v1.PlatformLogsSettings) + PlatformLogsSettingsOrBuilder { + private static final long serialVersionUID = 0L; + // Use PlatformLogsSettings.newBuilder() to construct. + private PlatformLogsSettings(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private PlatformLogsSettings() { + severity_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new PlatformLogsSettings(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.pubsub.v1.PubsubProto + .internal_static_google_pubsub_v1_PlatformLogsSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.pubsub.v1.PubsubProto + .internal_static_google_pubsub_v1_PlatformLogsSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.pubsub.v1.PlatformLogsSettings.class, + com.google.pubsub.v1.PlatformLogsSettings.Builder.class); + } + + /** + * + * + *
+ * Severity levels of Platform Logs. + *+ * + * Protobuf enum {@code google.pubsub.v1.PlatformLogsSettings.Severity} + */ + public enum Severity implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+ * Default value. Logs level is unspecified. Logs will be disabled. + *+ * + *
SEVERITY_UNSPECIFIED = 0;
+ */
+ SEVERITY_UNSPECIFIED(0),
+ /**
+ *
+ *
+ * + * Logs will be disabled. + *+ * + *
DISABLED = 1;
+ */
+ DISABLED(1),
+ /**
+ *
+ *
+ * + * Debug logs and higher-severity logs will be written. + *+ * + *
DEBUG = 2;
+ */
+ DEBUG(2),
+ /**
+ *
+ *
+ * + * Info logs and higher-severity logs will be written. + *+ * + *
INFO = 3;
+ */
+ INFO(3),
+ /**
+ *
+ *
+ * + * Warning logs and higher-severity logs will be written. + *+ * + *
WARNING = 4;
+ */
+ WARNING(4),
+ /**
+ *
+ *
+ * + * Only error logs will be written. + *+ * + *
ERROR = 5;
+ */
+ ERROR(5),
+ UNRECOGNIZED(-1),
+ ;
+
+ /**
+ *
+ *
+ * + * Default value. Logs level is unspecified. Logs will be disabled. + *+ * + *
SEVERITY_UNSPECIFIED = 0;
+ */
+ public static final int SEVERITY_UNSPECIFIED_VALUE = 0;
+ /**
+ *
+ *
+ * + * Logs will be disabled. + *+ * + *
DISABLED = 1;
+ */
+ public static final int DISABLED_VALUE = 1;
+ /**
+ *
+ *
+ * + * Debug logs and higher-severity logs will be written. + *+ * + *
DEBUG = 2;
+ */
+ public static final int DEBUG_VALUE = 2;
+ /**
+ *
+ *
+ * + * Info logs and higher-severity logs will be written. + *+ * + *
INFO = 3;
+ */
+ public static final int INFO_VALUE = 3;
+ /**
+ *
+ *
+ * + * Warning logs and higher-severity logs will be written. + *+ * + *
WARNING = 4;
+ */
+ public static final int WARNING_VALUE = 4;
+ /**
+ *
+ *
+ * + * Only error logs will be written. + *+ * + *
ERROR = 5;
+ */
+ public static final int ERROR_VALUE = 5;
+
+ public final int getNumber() {
+ if (this == UNRECOGNIZED) {
+ throw new java.lang.IllegalArgumentException(
+ "Can't get the number of an unknown enum value.");
+ }
+ return value;
+ }
+
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
+ @java.lang.Deprecated
+ public static Severity valueOf(int value) {
+ return forNumber(value);
+ }
+
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
+ public static Severity forNumber(int value) {
+ switch (value) {
+ case 0:
+ return SEVERITY_UNSPECIFIED;
+ case 1:
+ return DISABLED;
+ case 2:
+ return DEBUG;
+ case 3:
+ return INFO;
+ case 4:
+ return WARNING;
+ case 5:
+ return ERROR;
+ default:
+ return null;
+ }
+ }
+
+ public static com.google.protobuf.Internal.EnumLiteMap+ * Optional. The minimum severity level of Platform Logs that will be written. + *+ * + *
+ * .google.pubsub.v1.PlatformLogsSettings.Severity severity = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The enum numeric value on the wire for severity.
+ */
+ @java.lang.Override
+ public int getSeverityValue() {
+ return severity_;
+ }
+ /**
+ *
+ *
+ * + * Optional. The minimum severity level of Platform Logs that will be written. + *+ * + *
+ * .google.pubsub.v1.PlatformLogsSettings.Severity severity = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The severity.
+ */
+ @java.lang.Override
+ public com.google.pubsub.v1.PlatformLogsSettings.Severity getSeverity() {
+ com.google.pubsub.v1.PlatformLogsSettings.Severity result =
+ com.google.pubsub.v1.PlatformLogsSettings.Severity.forNumber(severity_);
+ return result == null
+ ? com.google.pubsub.v1.PlatformLogsSettings.Severity.UNRECOGNIZED
+ : result;
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (severity_
+ != com.google.pubsub.v1.PlatformLogsSettings.Severity.SEVERITY_UNSPECIFIED.getNumber()) {
+ output.writeEnum(1, severity_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (severity_
+ != com.google.pubsub.v1.PlatformLogsSettings.Severity.SEVERITY_UNSPECIFIED.getNumber()) {
+ size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, severity_);
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.pubsub.v1.PlatformLogsSettings)) {
+ return super.equals(obj);
+ }
+ com.google.pubsub.v1.PlatformLogsSettings other =
+ (com.google.pubsub.v1.PlatformLogsSettings) obj;
+
+ if (severity_ != other.severity_) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + SEVERITY_FIELD_NUMBER;
+ hash = (53 * hash) + severity_;
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.pubsub.v1.PlatformLogsSettings parseFrom(java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.pubsub.v1.PlatformLogsSettings parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.pubsub.v1.PlatformLogsSettings parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.pubsub.v1.PlatformLogsSettings parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.pubsub.v1.PlatformLogsSettings parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.pubsub.v1.PlatformLogsSettings parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.pubsub.v1.PlatformLogsSettings parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.pubsub.v1.PlatformLogsSettings parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.pubsub.v1.PlatformLogsSettings parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.pubsub.v1.PlatformLogsSettings parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.pubsub.v1.PlatformLogsSettings parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.pubsub.v1.PlatformLogsSettings parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
+
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
+ public static Builder newBuilder(com.google.pubsub.v1.PlatformLogsSettings prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ *
+ * + * Settings for Platform Logs produced by Pub/Sub. + *+ * + * Protobuf type {@code google.pubsub.v1.PlatformLogsSettings} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Optional. The minimum severity level of Platform Logs that will be written. + *+ * + *
+ * .google.pubsub.v1.PlatformLogsSettings.Severity severity = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The enum numeric value on the wire for severity.
+ */
+ @java.lang.Override
+ public int getSeverityValue() {
+ return severity_;
+ }
+ /**
+ *
+ *
+ * + * Optional. The minimum severity level of Platform Logs that will be written. + *+ * + *
+ * .google.pubsub.v1.PlatformLogsSettings.Severity severity = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @param value The enum numeric value on the wire for severity to set.
+ * @return This builder for chaining.
+ */
+ public Builder setSeverityValue(int value) {
+ severity_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. The minimum severity level of Platform Logs that will be written. + *+ * + *
+ * .google.pubsub.v1.PlatformLogsSettings.Severity severity = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The severity.
+ */
+ @java.lang.Override
+ public com.google.pubsub.v1.PlatformLogsSettings.Severity getSeverity() {
+ com.google.pubsub.v1.PlatformLogsSettings.Severity result =
+ com.google.pubsub.v1.PlatformLogsSettings.Severity.forNumber(severity_);
+ return result == null
+ ? com.google.pubsub.v1.PlatformLogsSettings.Severity.UNRECOGNIZED
+ : result;
+ }
+ /**
+ *
+ *
+ * + * Optional. The minimum severity level of Platform Logs that will be written. + *+ * + *
+ * .google.pubsub.v1.PlatformLogsSettings.Severity severity = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @param value The severity to set.
+ * @return This builder for chaining.
+ */
+ public Builder setSeverity(com.google.pubsub.v1.PlatformLogsSettings.Severity value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
+ severity_ = value.getNumber();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. The minimum severity level of Platform Logs that will be written. + *+ * + *
+ * .google.pubsub.v1.PlatformLogsSettings.Severity severity = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearSeverity() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ severity_ = 0;
+ onChanged();
+ 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.PlatformLogsSettings)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.pubsub.v1.PlatformLogsSettings)
+ private static final com.google.pubsub.v1.PlatformLogsSettings DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.pubsub.v1.PlatformLogsSettings();
+ }
+
+ public static com.google.pubsub.v1.PlatformLogsSettings getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * Optional. The minimum severity level of Platform Logs that will be written. + *+ * + *
+ * .google.pubsub.v1.PlatformLogsSettings.Severity severity = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The enum numeric value on the wire for severity.
+ */
+ int getSeverityValue();
+ /**
+ *
+ *
+ * + * Optional. The minimum severity level of Platform Logs that will be written. + *+ * + *
+ * .google.pubsub.v1.PlatformLogsSettings.Severity severity = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The severity.
+ */
+ com.google.pubsub.v1.PlatformLogsSettings.Severity getSeverity();
+}
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PublishRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PublishRequest.java
index c49e55ce5..3d14d1cb7 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PublishRequest.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PublishRequest.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/pubsub.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
/**
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PublishRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PublishRequestOrBuilder.java
index cbf6e94e8..612be7a12 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PublishRequestOrBuilder.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PublishRequestOrBuilder.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/pubsub.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
public interface PublishRequestOrBuilder
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PublishResponse.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PublishResponse.java
index 4f188d836..d9a71ff8b 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PublishResponse.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PublishResponse.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/pubsub.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
/**
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PublishResponseOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PublishResponseOrBuilder.java
index 550873767..0b9a71790 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PublishResponseOrBuilder.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PublishResponseOrBuilder.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/pubsub.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
public interface PublishResponseOrBuilder
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PubsubMessage.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PubsubMessage.java
index 04dbbf6f6..b97bf7147 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PubsubMessage.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PubsubMessage.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/pubsub.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
/**
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PubsubMessageOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PubsubMessageOrBuilder.java
index f5bd6a3e2..763d033d3 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PubsubMessageOrBuilder.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PubsubMessageOrBuilder.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/pubsub.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
public interface PubsubMessageOrBuilder
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PubsubProto.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PubsubProto.java
index 2acb26179..5a149347f 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PubsubProto.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PubsubProto.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/pubsub.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
public final class PubsubProto {
@@ -44,6 +44,26 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
internal_static_google_pubsub_v1_IngestionDataSourceSettings_AwsKinesis_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_pubsub_v1_IngestionDataSourceSettings_AwsKinesis_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_pubsub_v1_IngestionDataSourceSettings_CloudStorage_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_pubsub_v1_IngestionDataSourceSettings_CloudStorage_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_pubsub_v1_IngestionDataSourceSettings_CloudStorage_TextFormat_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_pubsub_v1_IngestionDataSourceSettings_CloudStorage_TextFormat_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_pubsub_v1_IngestionDataSourceSettings_CloudStorage_AvroFormat_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_pubsub_v1_IngestionDataSourceSettings_CloudStorage_AvroFormat_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_pubsub_v1_IngestionDataSourceSettings_CloudStorage_PubSubAvroFormat_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_pubsub_v1_IngestionDataSourceSettings_CloudStorage_PubSubAvroFormat_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_pubsub_v1_PlatformLogsSettings_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_pubsub_v1_PlatformLogsSettings_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_pubsub_v1_Topic_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
@@ -116,6 +136,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
internal_static_google_pubsub_v1_Subscription_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_pubsub_v1_Subscription_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_pubsub_v1_Subscription_AnalyticsHubSubscriptionInfo_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_pubsub_v1_Subscription_AnalyticsHubSubscriptionInfo_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_pubsub_v1_Subscription_LabelsEntry_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
@@ -300,360 +324,392 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "apis.com/Schema\0221\n\010encoding\030\002 \001(\0162\032.goog"
+ "le.pubsub.v1.EncodingB\003\340A\001\022\036\n\021first_revi"
+ "sion_id\030\003 \001(\tB\003\340A\001\022\035\n\020last_revision_id\030\004"
- + " \001(\tB\003\340A\001\"\352\003\n\033IngestionDataSourceSetting"
+ + " \001(\tB\003\340A\001\"\251\013\n\033IngestionDataSourceSetting"
+ "s\022T\n\013aws_kinesis\030\001 \001(\01328.google.pubsub.v"
+ "1.IngestionDataSourceSettings.AwsKinesis"
- + "B\003\340A\001H\000\032\352\002\n\nAwsKinesis\022R\n\005state\030\001 \001(\0162>."
- + "google.pubsub.v1.IngestionDataSourceSett"
- + "ings.AwsKinesis.StateB\003\340A\003\022\027\n\nstream_arn"
- + "\030\002 \001(\tB\003\340A\002\022\031\n\014consumer_arn\030\003 \001(\tB\003\340A\002\022\031"
- + "\n\014aws_role_arn\030\004 \001(\tB\003\340A\002\022 \n\023gcp_service"
- + "_account\030\005 \001(\tB\003\340A\002\"\226\001\n\005State\022\025\n\021STATE_U"
- + "NSPECIFIED\020\000\022\n\n\006ACTIVE\020\001\022\035\n\031KINESIS_PERM"
- + "ISSION_DENIED\020\002\022\035\n\031PUBLISH_PERMISSION_DE"
- + "NIED\020\003\022\024\n\020STREAM_NOT_FOUND\020\004\022\026\n\022CONSUMER"
- + "_NOT_FOUND\020\005B\010\n\006source\"\272\005\n\005Topic\022\021\n\004name"
- + "\030\001 \001(\tB\003\340A\002\0228\n\006labels\030\002 \003(\0132#.google.pub"
- + "sub.v1.Topic.LabelsEntryB\003\340A\001\022K\n\026message"
- + "_storage_policy\030\003 \001(\0132&.google.pubsub.v1"
- + ".MessageStoragePolicyB\003\340A\001\022\031\n\014kms_key_na"
- + "me\030\005 \001(\tB\003\340A\001\022>\n\017schema_settings\030\006 \001(\0132 "
- + ".google.pubsub.v1.SchemaSettingsB\003\340A\001\022\032\n"
- + "\rsatisfies_pzs\030\007 \001(\010B\003\340A\001\022B\n\032message_ret"
- + "ention_duration\030\010 \001(\0132\031.google.protobuf."
- + "DurationB\003\340A\001\0221\n\005state\030\t \001(\0162\035.google.pu"
- + "bsub.v1.Topic.StateB\003\340A\003\022Z\n\036ingestion_da"
- + "ta_source_settings\030\n \001(\0132-.google.pubsub"
- + ".v1.IngestionDataSourceSettingsB\003\340A\001\032-\n\013"
- + "LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:"
- + "\0028\001\"H\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\n\n\006A"
- + "CTIVE\020\001\022\034\n\030INGESTION_RESOURCE_ERROR\020\002:T\352"
- + "AQ\n\033pubsub.googleapis.com/Topic\022!project"
- + "s/{project}/topics/{topic}\022\017_deleted-top"
- + "ic_\"\200\002\n\rPubsubMessage\022\021\n\004data\030\001 \001(\014B\003\340A\001"
- + "\022H\n\nattributes\030\002 \003(\0132/.google.pubsub.v1."
- + "PubsubMessage.AttributesEntryB\003\340A\001\022\022\n\nme"
- + "ssage_id\030\003 \001(\t\0220\n\014publish_time\030\004 \001(\0132\032.g"
- + "oogle.protobuf.Timestamp\022\031\n\014ordering_key"
- + "\030\005 \001(\tB\003\340A\001\0321\n\017AttributesEntry\022\013\n\003key\030\001 "
- + "\001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"E\n\017GetTopicReques"
- + "t\0222\n\005topic\030\001 \001(\tB#\340A\002\372A\035\n\033pubsub.googlea"
- + "pis.com/Topic\"w\n\022UpdateTopicRequest\022+\n\005t"
- + "opic\030\001 \001(\0132\027.google.pubsub.v1.TopicB\003\340A\002"
- + "\0224\n\013update_mask\030\002 \001(\0132\032.google.protobuf."
- + "FieldMaskB\003\340A\002\"|\n\016PublishRequest\0222\n\005topi"
- + "c\030\001 \001(\tB#\340A\002\372A\035\n\033pubsub.googleapis.com/T"
- + "opic\0226\n\010messages\030\002 \003(\0132\037.google.pubsub.v"
- + "1.PubsubMessageB\003\340A\002\"+\n\017PublishResponse\022"
- + "\030\n\013message_ids\030\001 \003(\tB\003\340A\001\"\212\001\n\021ListTopics"
- + "Request\022D\n\007project\030\001 \001(\tB3\340A\002\372A-\n+cloudr"
- + "esourcemanager.googleapis.com/Project\022\026\n"
- + "\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001("
- + "\tB\003\340A\001\"`\n\022ListTopicsResponse\022,\n\006topics\030\001"
- + " \003(\0132\027.google.pubsub.v1.TopicB\003\340A\001\022\034\n\017ne"
- + "xt_page_token\030\002 \001(\tB\003\340A\001\"\204\001\n\035ListTopicSu"
- + "bscriptionsRequest\0222\n\005topic\030\001 \001(\tB#\340A\002\372A"
- + "\035\n\033pubsub.googleapis.com/Topic\022\026\n\tpage_s"
+ + "B\003\340A\001H\000\022X\n\rcloud_storage\030\002 \001(\0132:.google."
+ + "pubsub.v1.IngestionDataSourceSettings.Cl"
+ + "oudStorageB\003\340A\001H\000\022K\n\026platform_logs_setti"
+ + "ngs\030\004 \001(\0132&.google.pubsub.v1.PlatformLog"
+ + "sSettingsB\003\340A\001\032\352\002\n\nAwsKinesis\022R\n\005state\030\001"
+ + " \001(\0162>.google.pubsub.v1.IngestionDataSou"
+ + "rceSettings.AwsKinesis.StateB\003\340A\003\022\027\n\nstr"
+ + "eam_arn\030\002 \001(\tB\003\340A\002\022\031\n\014consumer_arn\030\003 \001(\t"
+ + "B\003\340A\002\022\031\n\014aws_role_arn\030\004 \001(\tB\003\340A\002\022 \n\023gcp_"
+ + "service_account\030\005 \001(\tB\003\340A\002\"\226\001\n\005State\022\025\n\021"
+ + "STATE_UNSPECIFIED\020\000\022\n\n\006ACTIVE\020\001\022\035\n\031KINES"
+ + "IS_PERMISSION_DENIED\020\002\022\035\n\031PUBLISH_PERMIS"
+ + "SION_DENIED\020\003\022\024\n\020STREAM_NOT_FOUND\020\004\022\026\n\022C"
+ + "ONSUMER_NOT_FOUND\020\005\032\225\006\n\014CloudStorage\022T\n\005"
+ + "state\030\001 \001(\0162@.google.pubsub.v1.Ingestion"
+ + "DataSourceSettings.CloudStorage.StateB\003\340"
+ + "A\003\022\023\n\006bucket\030\002 \001(\tB\003\340A\001\022a\n\013text_format\030\003"
+ + " \001(\0132E.google.pubsub.v1.IngestionDataSou"
+ + "rceSettings.CloudStorage.TextFormatB\003\340A\001"
+ + "H\000\022a\n\013avro_format\030\004 \001(\0132E.google.pubsub."
+ + "v1.IngestionDataSourceSettings.CloudStor"
+ + "age.AvroFormatB\003\340A\001H\000\022n\n\022pubsub_avro_for"
+ + "mat\030\005 \001(\0132K.google.pubsub.v1.IngestionDa"
+ + "taSourceSettings.CloudStorage.PubSubAvro"
+ + "FormatB\003\340A\001H\000\022C\n\032minimum_object_create_t"
+ + "ime\030\006 \001(\0132\032.google.protobuf.TimestampB\003\340"
+ + "A\001\022\027\n\nmatch_glob\030\t \001(\tB\003\340A\001\0327\n\nTextForma"
+ + "t\022\033\n\tdelimiter\030\001 \001(\tB\003\340A\001H\000\210\001\001B\014\n\n_delim"
+ + "iter\032\014\n\nAvroFormat\032\022\n\020PubSubAvroFormat\"\232"
+ + "\001\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\n\n\006ACTIV"
+ + "E\020\001\022#\n\037CLOUD_STORAGE_PERMISSION_DENIED\020\002"
+ + "\022\035\n\031PUBLISH_PERMISSION_DENIED\020\003\022\024\n\020BUCKE"
+ + "T_NOT_FOUND\020\004\022\024\n\020TOO_MANY_OBJECTS\020\005B\016\n\014i"
+ + "nput_formatB\010\n\006source\"\277\001\n\024PlatformLogsSe"
+ + "ttings\022F\n\010severity\030\001 \001(\0162/.google.pubsub"
+ + ".v1.PlatformLogsSettings.SeverityB\003\340A\001\"_"
+ + "\n\010Severity\022\030\n\024SEVERITY_UNSPECIFIED\020\000\022\014\n\010"
+ + "DISABLED\020\001\022\t\n\005DEBUG\020\002\022\010\n\004INFO\020\003\022\013\n\007WARNI"
+ + "NG\020\004\022\t\n\005ERROR\020\005\"\272\005\n\005Topic\022\021\n\004name\030\001 \001(\tB"
+ + "\003\340A\002\0228\n\006labels\030\002 \003(\0132#.google.pubsub.v1."
+ + "Topic.LabelsEntryB\003\340A\001\022K\n\026message_storag"
+ + "e_policy\030\003 \001(\0132&.google.pubsub.v1.Messag"
+ + "eStoragePolicyB\003\340A\001\022\031\n\014kms_key_name\030\005 \001("
+ + "\tB\003\340A\001\022>\n\017schema_settings\030\006 \001(\0132 .google"
+ + ".pubsub.v1.SchemaSettingsB\003\340A\001\022\032\n\rsatisf"
+ + "ies_pzs\030\007 \001(\010B\003\340A\001\022B\n\032message_retention_"
+ + "duration\030\010 \001(\0132\031.google.protobuf.Duratio"
+ + "nB\003\340A\001\0221\n\005state\030\t \001(\0162\035.google.pubsub.v1"
+ + ".Topic.StateB\003\340A\003\022Z\n\036ingestion_data_sour"
+ + "ce_settings\030\n \001(\0132-.google.pubsub.v1.Ing"
+ + "estionDataSourceSettingsB\003\340A\001\032-\n\013LabelsE"
+ + "ntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"H\n\005"
+ + "State\022\025\n\021STATE_UNSPECIFIED\020\000\022\n\n\006ACTIVE\020\001"
+ + "\022\034\n\030INGESTION_RESOURCE_ERROR\020\002:T\352AQ\n\033pub"
+ + "sub.googleapis.com/Topic\022!projects/{proj"
+ + "ect}/topics/{topic}\022\017_deleted-topic_\"\200\002\n"
+ + "\rPubsubMessage\022\021\n\004data\030\001 \001(\014B\003\340A\001\022H\n\natt"
+ + "ributes\030\002 \003(\0132/.google.pubsub.v1.PubsubM"
+ + "essage.AttributesEntryB\003\340A\001\022\022\n\nmessage_i"
+ + "d\030\003 \001(\t\0220\n\014publish_time\030\004 \001(\0132\032.google.p"
+ + "rotobuf.Timestamp\022\031\n\014ordering_key\030\005 \001(\tB"
+ + "\003\340A\001\0321\n\017AttributesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005"
+ + "value\030\002 \001(\t:\0028\001\"E\n\017GetTopicRequest\0222\n\005to"
+ + "pic\030\001 \001(\tB#\340A\002\372A\035\n\033pubsub.googleapis.com"
+ + "/Topic\"w\n\022UpdateTopicRequest\022+\n\005topic\030\001 "
+ + "\001(\0132\027.google.pubsub.v1.TopicB\003\340A\002\0224\n\013upd"
+ + "ate_mask\030\002 \001(\0132\032.google.protobuf.FieldMa"
+ + "skB\003\340A\002\"|\n\016PublishRequest\0222\n\005topic\030\001 \001(\t"
+ + "B#\340A\002\372A\035\n\033pubsub.googleapis.com/Topic\0226\n"
+ + "\010messages\030\002 \003(\0132\037.google.pubsub.v1.Pubsu"
+ + "bMessageB\003\340A\002\"+\n\017PublishResponse\022\030\n\013mess"
+ + "age_ids\030\001 \003(\tB\003\340A\001\"\212\001\n\021ListTopicsRequest"
+ + "\022D\n\007project\030\001 \001(\tB3\340A\002\372A-\n+cloudresource"
+ + "manager.googleapis.com/Project\022\026\n\tpage_s"
+ "ize\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(\tB\003\340A\001\""
- + "\201\001\n\036ListTopicSubscriptionsResponse\022A\n\rsu"
- + "bscriptions\030\001 \003(\tB*\340A\001\372A$\n\"pubsub.google"
- + "apis.com/Subscription\022\034\n\017next_page_token"
- + "\030\002 \001(\tB\003\340A\001\"\200\001\n\031ListTopicSnapshotsReques"
+ + "`\n\022ListTopicsResponse\022,\n\006topics\030\001 \003(\0132\027."
+ + "google.pubsub.v1.TopicB\003\340A\001\022\034\n\017next_page"
+ + "_token\030\002 \001(\tB\003\340A\001\"\204\001\n\035ListTopicSubscript"
+ + "ionsRequest\0222\n\005topic\030\001 \001(\tB#\340A\002\372A\035\n\033pubs"
+ + "ub.googleapis.com/Topic\022\026\n\tpage_size\030\002 \001"
+ + "(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(\tB\003\340A\001\"\201\001\n\036Lis"
+ + "tTopicSubscriptionsResponse\022A\n\rsubscript"
+ + "ions\030\001 \003(\tB*\340A\001\372A$\n\"pubsub.googleapis.co"
+ + "m/Subscription\022\034\n\017next_page_token\030\002 \001(\tB"
+ + "\003\340A\001\"\200\001\n\031ListTopicSnapshotsRequest\0222\n\005to"
+ + "pic\030\001 \001(\tB#\340A\002\372A\035\n\033pubsub.googleapis.com"
+ + "/Topic\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_t"
+ + "oken\030\003 \001(\tB\003\340A\001\"R\n\032ListTopicSnapshotsRes"
+ + "ponse\022\026\n\tsnapshots\030\001 \003(\tB\003\340A\001\022\034\n\017next_pa"
+ + "ge_token\030\002 \001(\tB\003\340A\001\"H\n\022DeleteTopicReques"
+ "t\0222\n\005topic\030\001 \001(\tB#\340A\002\372A\035\n\033pubsub.googlea"
- + "pis.com/Topic\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n"
- + "\npage_token\030\003 \001(\tB\003\340A\001\"R\n\032ListTopicSnaps"
- + "hotsResponse\022\026\n\tsnapshots\030\001 \003(\tB\003\340A\001\022\034\n\017"
- + "next_page_token\030\002 \001(\tB\003\340A\001\"H\n\022DeleteTopi"
- + "cRequest\0222\n\005topic\030\001 \001(\tB#\340A\002\372A\035\n\033pubsub."
- + "googleapis.com/Topic\"]\n\031DetachSubscripti"
- + "onRequest\022@\n\014subscription\030\001 \001(\tB*\340A\002\372A$\n"
- + "\"pubsub.googleapis.com/Subscription\"\034\n\032D"
- + "etachSubscriptionResponse\"\357\010\n\014Subscripti"
- + "on\022\021\n\004name\030\001 \001(\tB\003\340A\002\0222\n\005topic\030\002 \001(\tB#\340A"
- + "\002\372A\035\n\033pubsub.googleapis.com/Topic\0226\n\013pus"
- + "h_config\030\004 \001(\0132\034.google.pubsub.v1.PushCo"
- + "nfigB\003\340A\001\022>\n\017bigquery_config\030\022 \001(\0132 .goo"
- + "gle.pubsub.v1.BigQueryConfigB\003\340A\001\022G\n\024clo"
- + "ud_storage_config\030\026 \001(\0132$.google.pubsub."
- + "v1.CloudStorageConfigB\003\340A\001\022!\n\024ack_deadli"
- + "ne_seconds\030\005 \001(\005B\003\340A\001\022\"\n\025retain_acked_me"
- + "ssages\030\007 \001(\010B\003\340A\001\022B\n\032message_retention_d"
- + "uration\030\010 \001(\0132\031.google.protobuf.Duration"
- + "B\003\340A\001\022?\n\006labels\030\t \003(\0132*.google.pubsub.v1"
- + ".Subscription.LabelsEntryB\003\340A\001\022$\n\027enable"
- + "_message_ordering\030\n \001(\010B\003\340A\001\022B\n\021expirati"
- + "on_policy\030\013 \001(\0132\".google.pubsub.v1.Expir"
- + "ationPolicyB\003\340A\001\022\023\n\006filter\030\014 \001(\tB\003\340A\001\022C\n"
- + "\022dead_letter_policy\030\r \001(\0132\".google.pubsu"
- + "b.v1.DeadLetterPolicyB\003\340A\001\0228\n\014retry_poli"
- + "cy\030\016 \001(\0132\035.google.pubsub.v1.RetryPolicyB"
- + "\003\340A\001\022\025\n\010detached\030\017 \001(\010B\003\340A\001\022)\n\034enable_ex"
- + "actly_once_delivery\030\020 \001(\010B\003\340A\001\022H\n topic_"
- + "message_retention_duration\030\021 \001(\0132\031.googl"
- + "e.protobuf.DurationB\003\340A\003\0228\n\005state\030\023 \001(\0162"
- + "$.google.pubsub.v1.Subscription.StateB\003\340"
- + "A\003\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030"
- + "\002 \001(\t:\0028\001\">\n\005State\022\025\n\021STATE_UNSPECIFIED\020"
- + "\000\022\n\n\006ACTIVE\020\001\022\022\n\016RESOURCE_ERROR\020\002:X\352AU\n\""
- + "pubsub.googleapis.com/Subscription\022/proj"
- + "ects/{project}/subscriptions/{subscripti"
- + "on}\"\177\n\013RetryPolicy\0227\n\017minimum_backoff\030\001 "
- + "\001(\0132\031.google.protobuf.DurationB\003\340A\001\0227\n\017m"
- + "aximum_backoff\030\002 \001(\0132\031.google.protobuf.D"
- + "urationB\003\340A\001\"V\n\020DeadLetterPolicy\022\036\n\021dead"
- + "_letter_topic\030\001 \001(\tB\003\340A\001\022\"\n\025max_delivery"
- + "_attempts\030\002 \001(\005B\003\340A\001\"?\n\020ExpirationPolicy"
- + "\022+\n\003ttl\030\001 \001(\0132\031.google.protobuf.Duration"
- + "B\003\340A\001\"\232\004\n\nPushConfig\022\032\n\rpush_endpoint\030\001 "
- + "\001(\tB\003\340A\001\022E\n\nattributes\030\002 \003(\0132,.google.pu"
- + "bsub.v1.PushConfig.AttributesEntryB\003\340A\001\022"
- + "A\n\noidc_token\030\003 \001(\0132&.google.pubsub.v1.P"
- + "ushConfig.OidcTokenB\003\340A\001H\000\022I\n\016pubsub_wra"
- + "pper\030\004 \001(\0132*.google.pubsub.v1.PushConfig"
- + ".PubsubWrapperB\003\340A\001H\001\022A\n\nno_wrapper\030\005 \001("
- + "\0132&.google.pubsub.v1.PushConfig.NoWrappe"
- + "rB\003\340A\001H\001\032F\n\tOidcToken\022\"\n\025service_account"
- + "_email\030\001 \001(\tB\003\340A\001\022\025\n\010audience\030\002 \001(\tB\003\340A\001"
- + "\032\017\n\rPubsubWrapper\032(\n\tNoWrapper\022\033\n\016write_"
- + "metadata\030\001 \001(\010B\003\340A\001\0321\n\017AttributesEntry\022\013"
- + "\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001B\027\n\025authen"
- + "tication_methodB\t\n\007wrapper\"\216\003\n\016BigQueryC"
- + "onfig\022\022\n\005table\030\001 \001(\tB\003\340A\001\022\035\n\020use_topic_s"
- + "chema\030\002 \001(\010B\003\340A\001\022\033\n\016write_metadata\030\003 \001(\010"
- + "B\003\340A\001\022 \n\023drop_unknown_fields\030\004 \001(\010B\003\340A\001\022"
- + ":\n\005state\030\005 \001(\0162&.google.pubsub.v1.BigQue"
- + "ryConfig.StateB\003\340A\003\022\035\n\020use_table_schema\030"
- + "\006 \001(\010B\003\340A\001\022\"\n\025service_account_email\030\007 \001("
- + "\tB\003\340A\001\"\212\001\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022"
- + "\n\n\006ACTIVE\020\001\022\025\n\021PERMISSION_DENIED\020\002\022\r\n\tNO"
- + "T_FOUND\020\003\022\023\n\017SCHEMA_MISMATCH\020\004\022#\n\037IN_TRA"
- + "NSIT_LOCATION_RESTRICTION\020\005\"\351\005\n\022CloudSto"
- + "rageConfig\022\023\n\006bucket\030\001 \001(\tB\003\340A\002\022\034\n\017filen"
- + "ame_prefix\030\002 \001(\tB\003\340A\001\022\034\n\017filename_suffix"
- + "\030\003 \001(\tB\003\340A\001\022%\n\030filename_datetime_format\030"
- + "\n \001(\tB\003\340A\001\022K\n\013text_config\030\004 \001(\0132/.google"
- + ".pubsub.v1.CloudStorageConfig.TextConfig"
- + "B\003\340A\001H\000\022K\n\013avro_config\030\005 \001(\0132/.google.pu"
- + "bsub.v1.CloudStorageConfig.AvroConfigB\003\340"
- + "A\001H\000\0224\n\014max_duration\030\006 \001(\0132\031.google.prot"
- + "obuf.DurationB\003\340A\001\022\026\n\tmax_bytes\030\007 \001(\003B\003\340"
- + "A\001\022\031\n\014max_messages\030\010 \001(\003B\003\340A\001\022>\n\005state\030\t"
- + " \001(\0162*.google.pubsub.v1.CloudStorageConf"
- + "ig.StateB\003\340A\003\022\"\n\025service_account_email\030\013"
- + " \001(\tB\003\340A\001\032\014\n\nTextConfig\032H\n\nAvroConfig\022\033\n"
- + "\016write_metadata\030\001 \001(\010B\003\340A\001\022\035\n\020use_topic_"
- + "schema\030\002 \001(\010B\003\340A\001\"\212\001\n\005State\022\025\n\021STATE_UNS"
- + "PECIFIED\020\000\022\n\n\006ACTIVE\020\001\022\025\n\021PERMISSION_DEN"
- + "IED\020\002\022\r\n\tNOT_FOUND\020\003\022#\n\037IN_TRANSIT_LOCAT"
- + "ION_RESTRICTION\020\004\022\023\n\017SCHEMA_MISMATCH\020\005B\017"
- + "\n\routput_format\"|\n\017ReceivedMessage\022\023\n\006ac"
- + "k_id\030\001 \001(\tB\003\340A\001\0225\n\007message\030\002 \001(\0132\037.googl"
- + "e.pubsub.v1.PubsubMessageB\003\340A\001\022\035\n\020delive"
- + "ry_attempt\030\003 \001(\005B\003\340A\001\"Z\n\026GetSubscription"
- + "Request\022@\n\014subscription\030\001 \001(\tB*\340A\002\372A$\n\"p"
- + "ubsub.googleapis.com/Subscription\"\214\001\n\031Up"
- + "dateSubscriptionRequest\0229\n\014subscription\030"
- + "\001 \001(\0132\036.google.pubsub.v1.SubscriptionB\003\340"
- + "A\002\0224\n\013update_mask\030\002 \001(\0132\032.google.protobu"
- + "f.FieldMaskB\003\340A\002\"\221\001\n\030ListSubscriptionsRe"
- + "quest\022D\n\007project\030\001 \001(\tB3\340A\002\372A-\n+cloudres"
- + "ourcemanager.googleapis.com/Project\022\026\n\tp"
- + "age_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(\tB"
- + "\003\340A\001\"u\n\031ListSubscriptionsResponse\022:\n\rsub"
- + "scriptions\030\001 \003(\0132\036.google.pubsub.v1.Subs"
- + "criptionB\003\340A\001\022\034\n\017next_page_token\030\002 \001(\tB\003"
- + "\340A\001\"]\n\031DeleteSubscriptionRequest\022@\n\014subs"
- + "cription\030\001 \001(\tB*\340A\002\372A$\n\"pubsub.googleapi"
- + "s.com/Subscription\"\223\001\n\027ModifyPushConfigR"
- + "equest\022@\n\014subscription\030\001 \001(\tB*\340A\002\372A$\n\"pu"
- + "bsub.googleapis.com/Subscription\0226\n\013push"
- + "_config\030\002 \001(\0132\034.google.pubsub.v1.PushCon"
- + "figB\003\340A\002\"\215\001\n\013PullRequest\022@\n\014subscription"
- + "\030\001 \001(\tB*\340A\002\372A$\n\"pubsub.googleapis.com/Su"
- + "bscription\022!\n\022return_immediately\030\002 \001(\010B\005"
- + "\030\001\340A\001\022\031\n\014max_messages\030\003 \001(\005B\003\340A\002\"Q\n\014Pull"
- + "Response\022A\n\021received_messages\030\001 \003(\0132!.go"
- + "ogle.pubsub.v1.ReceivedMessageB\003\340A\001\"\225\001\n\030"
- + "ModifyAckDeadlineRequest\022@\n\014subscription"
- + "\030\001 \001(\tB*\340A\002\372A$\n\"pubsub.googleapis.com/Su"
- + "bscription\022\024\n\007ack_ids\030\004 \003(\tB\003\340A\002\022!\n\024ack_"
- + "deadline_seconds\030\003 \001(\005B\003\340A\002\"l\n\022Acknowled"
- + "geRequest\022@\n\014subscription\030\001 \001(\tB*\340A\002\372A$\n"
- + "\"pubsub.googleapis.com/Subscription\022\024\n\007a"
- + "ck_ids\030\002 \003(\tB\003\340A\002\"\307\002\n\024StreamingPullReque"
+ + "pis.com/Topic\"]\n\031DetachSubscriptionReque"
+ "st\022@\n\014subscription\030\001 \001(\tB*\340A\002\372A$\n\"pubsub"
- + ".googleapis.com/Subscription\022\024\n\007ack_ids\030"
- + "\002 \003(\tB\003\340A\001\022$\n\027modify_deadline_seconds\030\003 "
- + "\003(\005B\003\340A\001\022$\n\027modify_deadline_ack_ids\030\004 \003("
- + "\tB\003\340A\001\022(\n\033stream_ack_deadline_seconds\030\005 "
- + "\001(\005B\003\340A\002\022\026\n\tclient_id\030\006 \001(\tB\003\340A\001\022%\n\030max_"
- + "outstanding_messages\030\007 \001(\003B\003\340A\001\022\"\n\025max_o"
- + "utstanding_bytes\030\010 \001(\003B\003\340A\001\"\236\006\n\025Streamin"
- + "gPullResponse\022A\n\021received_messages\030\001 \003(\013"
- + "2!.google.pubsub.v1.ReceivedMessageB\003\340A\001"
- + "\022f\n\030acknowledge_confirmation\030\005 \001(\0132?.goo"
- + "gle.pubsub.v1.StreamingPullResponse.Ackn"
- + "owledgeConfirmationB\003\340A\001\022t\n modify_ack_d"
- + "eadline_confirmation\030\003 \001(\0132E.google.pubs"
- + "ub.v1.StreamingPullResponse.ModifyAckDea"
- + "dlineConfirmationB\003\340A\001\022d\n\027subscription_p"
- + "roperties\030\004 \001(\0132>.google.pubsub.v1.Strea"
- + "mingPullResponse.SubscriptionPropertiesB"
- + "\003\340A\001\032\224\001\n\027AcknowledgeConfirmation\022\024\n\007ack_"
- + "ids\030\001 \003(\tB\003\340A\001\022\034\n\017invalid_ack_ids\030\002 \003(\tB"
- + "\003\340A\001\022\036\n\021unordered_ack_ids\030\003 \003(\tB\003\340A\001\022%\n\030"
- + "temporary_failed_ack_ids\030\004 \003(\tB\003\340A\001\032z\n\035M"
- + "odifyAckDeadlineConfirmation\022\024\n\007ack_ids\030"
- + "\001 \003(\tB\003\340A\001\022\034\n\017invalid_ack_ids\030\002 \003(\tB\003\340A\001"
- + "\022%\n\030temporary_failed_ack_ids\030\003 \003(\tB\003\340A\001\032"
- + "k\n\026SubscriptionProperties\022*\n\035exactly_onc"
- + "e_delivery_enabled\030\001 \001(\010B\003\340A\001\022%\n\030message"
- + "_ordering_enabled\030\002 \001(\010B\003\340A\001\"\210\002\n\025CreateS"
- + "napshotRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036pu"
- + "bsub.googleapis.com/Snapshot\022@\n\014subscrip"
- + "tion\030\002 \001(\tB*\340A\002\372A$\n\"pubsub.googleapis.co"
- + "m/Subscription\022H\n\006labels\030\003 \003(\01323.google."
- + "pubsub.v1.CreateSnapshotRequest.LabelsEn"
- + "tryB\003\340A\001\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005"
- + "value\030\002 \001(\t:\0028\001\"\200\001\n\025UpdateSnapshotReques"
- + "t\0221\n\010snapshot\030\001 \001(\0132\032.google.pubsub.v1.S"
- + "napshotB\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.goog"
- + "le.protobuf.FieldMaskB\003\340A\002\"\301\002\n\010Snapshot\022"
- + "\021\n\004name\030\001 \001(\tB\003\340A\001\0222\n\005topic\030\002 \001(\tB#\340A\001\372A"
- + "\035\n\033pubsub.googleapis.com/Topic\0224\n\013expire"
- + "_time\030\003 \001(\0132\032.google.protobuf.TimestampB"
- + "\003\340A\001\022;\n\006labels\030\004 \003(\0132&.google.pubsub.v1."
- + "Snapshot.LabelsEntryB\003\340A\001\032-\n\013LabelsEntry"
- + "\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:L\352AI\n\036p"
- + "ubsub.googleapis.com/Snapshot\022\'projects/"
- + "{project}/snapshots/{snapshot}\"N\n\022GetSna"
- + "pshotRequest\0228\n\010snapshot\030\001 \001(\tB&\340A\002\372A \n\036"
- + "pubsub.googleapis.com/Snapshot\"\215\001\n\024ListS"
- + "napshotsRequest\022D\n\007project\030\001 \001(\tB3\340A\002\372A-"
- + "\n+cloudresourcemanager.googleapis.com/Pr"
- + "oject\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_to"
- + "ken\030\003 \001(\tB\003\340A\001\"i\n\025ListSnapshotsResponse\022"
- + "2\n\tsnapshots\030\001 \003(\0132\032.google.pubsub.v1.Sn"
- + "apshotB\003\340A\001\022\034\n\017next_page_token\030\002 \001(\tB\003\340A"
- + "\001\"Q\n\025DeleteSnapshotRequest\0228\n\010snapshot\030\001"
- + " \001(\tB&\340A\002\372A \n\036pubsub.googleapis.com/Snap"
- + "shot\"\306\001\n\013SeekRequest\022@\n\014subscription\030\001 \001"
- + "(\tB*\340A\002\372A$\n\"pubsub.googleapis.com/Subscr"
- + "iption\022/\n\004time\030\002 \001(\0132\032.google.protobuf.T"
- + "imestampB\003\340A\001H\000\022:\n\010snapshot\030\003 \001(\tB&\340A\001\372A"
- + " \n\036pubsub.googleapis.com/SnapshotH\000B\010\n\006t"
- + "arget\"\016\n\014SeekResponse2\270\013\n\tPublisher\022q\n\013C"
- + "reateTopic\022\027.google.pubsub.v1.Topic\032\027.go"
- + "ogle.pubsub.v1.Topic\"0\332A\004name\202\323\344\223\002#\032\036/v1"
- + "/{name=projects/*/topics/*}:\001*\022\221\001\n\013Updat"
- + "eTopic\022$.google.pubsub.v1.UpdateTopicReq"
- + "uest\032\027.google.pubsub.v1.Topic\"C\332A\021topic,"
- + "update_mask\202\323\344\223\002)2$/v1/{topic.name=proje"
- + "cts/*/topics/*}:\001*\022\223\001\n\007Publish\022 .google."
- + "pubsub.v1.PublishRequest\032!.google.pubsub"
- + ".v1.PublishResponse\"C\332A\016topic,messages\202\323"
- + "\344\223\002,\"\'/v1/{topic=projects/*/topics/*}:pu"
- + "blish:\001*\022w\n\010GetTopic\022!.google.pubsub.v1."
- + "GetTopicRequest\032\027.google.pubsub.v1.Topic"
- + "\"/\332A\005topic\202\323\344\223\002!\022\037/v1/{topic=projects/*/"
- + "topics/*}\022\212\001\n\nListTopics\022#.google.pubsub"
- + ".v1.ListTopicsRequest\032$.google.pubsub.v1"
- + ".ListTopicsResponse\"1\332A\007project\202\323\344\223\002!\022\037/"
- + "v1/{project=projects/*}/topics\022\272\001\n\026ListT"
- + "opicSubscriptions\022/.google.pubsub.v1.Lis"
- + "tTopicSubscriptionsRequest\0320.google.pubs"
- + "ub.v1.ListTopicSubscriptionsResponse\"=\332A"
- + "\005topic\202\323\344\223\002/\022-/v1/{topic=projects/*/topi"
- + "cs/*}/subscriptions\022\252\001\n\022ListTopicSnapsho"
- + "ts\022+.google.pubsub.v1.ListTopicSnapshots"
- + "Request\032,.google.pubsub.v1.ListTopicSnap"
- + "shotsResponse\"9\332A\005topic\202\323\344\223\002+\022)/v1/{topi"
- + "c=projects/*/topics/*}/snapshots\022|\n\013Dele"
- + "teTopic\022$.google.pubsub.v1.DeleteTopicRe"
- + "quest\032\026.google.protobuf.Empty\"/\332A\005topic\202"
- + "\323\344\223\002!*\037/v1/{topic=projects/*/topics/*}\022\255"
- + "\001\n\022DetachSubscription\022+.google.pubsub.v1"
- + ".DetachSubscriptionRequest\032,.google.pubs"
- + "ub.v1.DetachSubscriptionResponse\"<\202\323\344\223\0026"
- + "\"4/v1/{subscription=projects/*/subscript"
- + "ions/*}:detach\032p\312A\025pubsub.googleapis.com"
- + "\322AUhttps://www.googleapis.com/auth/cloud"
- + "-platform,https://www.googleapis.com/aut"
- + "h/pubsub2\322\025\n\nSubscriber\022\264\001\n\022CreateSubscr"
- + "iption\022\036.google.pubsub.v1.Subscription\032\036"
- + ".google.pubsub.v1.Subscription\"^\332A+name,"
- + "topic,push_config,ack_deadline_seconds\202\323"
- + "\344\223\002*\032%/v1/{name=projects/*/subscriptions"
- + "/*}:\001*\022\241\001\n\017GetSubscription\022(.google.pubs"
- + "ub.v1.GetSubscriptionRequest\032\036.google.pu"
- + "bsub.v1.Subscription\"D\332A\014subscription\202\323\344"
- + "\223\002/\022-/v1/{subscription=projects/*/subscr"
- + "iptions/*}\022\273\001\n\022UpdateSubscription\022+.goog"
- + "le.pubsub.v1.UpdateSubscriptionRequest\032\036"
- + ".google.pubsub.v1.Subscription\"X\332A\030subsc"
- + "ription,update_mask\202\323\344\223\002722/v1/{subscrip"
- + "tion.name=projects/*/subscriptions/*}:\001*"
- + "\022\246\001\n\021ListSubscriptions\022*.google.pubsub.v"
- + "1.ListSubscriptionsRequest\032+.google.pubs"
- + "ub.v1.ListSubscriptionsResponse\"8\332A\007proj"
- + "ect\202\323\344\223\002(\022&/v1/{project=projects/*}/subs"
- + "criptions\022\237\001\n\022DeleteSubscription\022+.googl"
- + "e.pubsub.v1.DeleteSubscriptionRequest\032\026."
- + "google.protobuf.Empty\"D\332A\014subscription\202\323"
- + "\344\223\002/*-/v1/{subscription=projects/*/subsc"
- + "riptions/*}\022\317\001\n\021ModifyAckDeadline\022*.goog"
- + "le.pubsub.v1.ModifyAckDeadlineRequest\032\026."
- + "google.protobuf.Empty\"v\332A)subscription,a"
- + "ck_ids,ack_deadline_seconds\202\323\344\223\002D\"?/v1/{"
+ + ".googleapis.com/Subscription\"\034\n\032DetachSu"
+ + "bscriptionResponse\"\253\n\n\014Subscription\022\021\n\004n"
+ + "ame\030\001 \001(\tB\003\340A\002\0222\n\005topic\030\002 \001(\tB#\340A\002\372A\035\n\033p"
+ + "ubsub.googleapis.com/Topic\0226\n\013push_confi"
+ + "g\030\004 \001(\0132\034.google.pubsub.v1.PushConfigB\003\340"
+ + "A\001\022>\n\017bigquery_config\030\022 \001(\0132 .google.pub"
+ + "sub.v1.BigQueryConfigB\003\340A\001\022G\n\024cloud_stor"
+ + "age_config\030\026 \001(\0132$.google.pubsub.v1.Clou"
+ + "dStorageConfigB\003\340A\001\022!\n\024ack_deadline_seco"
+ + "nds\030\005 \001(\005B\003\340A\001\022\"\n\025retain_acked_messages\030"
+ + "\007 \001(\010B\003\340A\001\022B\n\032message_retention_duration"
+ + "\030\010 \001(\0132\031.google.protobuf.DurationB\003\340A\001\022?"
+ + "\n\006labels\030\t \003(\0132*.google.pubsub.v1.Subscr"
+ + "iption.LabelsEntryB\003\340A\001\022$\n\027enable_messag"
+ + "e_ordering\030\n \001(\010B\003\340A\001\022B\n\021expiration_poli"
+ + "cy\030\013 \001(\0132\".google.pubsub.v1.ExpirationPo"
+ + "licyB\003\340A\001\022\023\n\006filter\030\014 \001(\tB\003\340A\001\022C\n\022dead_l"
+ + "etter_policy\030\r \001(\0132\".google.pubsub.v1.De"
+ + "adLetterPolicyB\003\340A\001\0228\n\014retry_policy\030\016 \001("
+ + "\0132\035.google.pubsub.v1.RetryPolicyB\003\340A\001\022\025\n"
+ + "\010detached\030\017 \001(\010B\003\340A\001\022)\n\034enable_exactly_o"
+ + "nce_delivery\030\020 \001(\010B\003\340A\001\022H\n topic_message"
+ + "_retention_duration\030\021 \001(\0132\031.google.proto"
+ + "buf.DurationB\003\340A\003\0228\n\005state\030\023 \001(\0162$.googl"
+ + "e.pubsub.v1.Subscription.StateB\003\340A\003\022i\n\037a"
+ + "nalytics_hub_subscription_info\030\027 \001(\0132;.g"
+ + "oogle.pubsub.v1.Subscription.AnalyticsHu"
+ + "bSubscriptionInfoB\003\340A\003\032O\n\034AnalyticsHubSu"
+ + "bscriptionInfo\022\024\n\007listing\030\001 \001(\tB\003\340A\001\022\031\n\014"
+ + "subscription\030\002 \001(\tB\003\340A\001\032-\n\013LabelsEntry\022\013"
+ + "\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\">\n\005State\022"
+ + "\025\n\021STATE_UNSPECIFIED\020\000\022\n\n\006ACTIVE\020\001\022\022\n\016RE"
+ + "SOURCE_ERROR\020\002:X\352AU\n\"pubsub.googleapis.c"
+ + "om/Subscription\022/projects/{project}/subs"
+ + "criptions/{subscription}\"\177\n\013RetryPolicy\022"
+ + "7\n\017minimum_backoff\030\001 \001(\0132\031.google.protob"
+ + "uf.DurationB\003\340A\001\0227\n\017maximum_backoff\030\002 \001("
+ + "\0132\031.google.protobuf.DurationB\003\340A\001\"V\n\020Dea"
+ + "dLetterPolicy\022\036\n\021dead_letter_topic\030\001 \001(\t"
+ + "B\003\340A\001\022\"\n\025max_delivery_attempts\030\002 \001(\005B\003\340A"
+ + "\001\"?\n\020ExpirationPolicy\022+\n\003ttl\030\001 \001(\0132\031.goo"
+ + "gle.protobuf.DurationB\003\340A\001\"\232\004\n\nPushConfi"
+ + "g\022\032\n\rpush_endpoint\030\001 \001(\tB\003\340A\001\022E\n\nattribu"
+ + "tes\030\002 \003(\0132,.google.pubsub.v1.PushConfig."
+ + "AttributesEntryB\003\340A\001\022A\n\noidc_token\030\003 \001(\013"
+ + "2&.google.pubsub.v1.PushConfig.OidcToken"
+ + "B\003\340A\001H\000\022I\n\016pubsub_wrapper\030\004 \001(\0132*.google"
+ + ".pubsub.v1.PushConfig.PubsubWrapperB\003\340A\001"
+ + "H\001\022A\n\nno_wrapper\030\005 \001(\0132&.google.pubsub.v"
+ + "1.PushConfig.NoWrapperB\003\340A\001H\001\032F\n\tOidcTok"
+ + "en\022\"\n\025service_account_email\030\001 \001(\tB\003\340A\001\022\025"
+ + "\n\010audience\030\002 \001(\tB\003\340A\001\032\017\n\rPubsubWrapper\032("
+ + "\n\tNoWrapper\022\033\n\016write_metadata\030\001 \001(\010B\003\340A\001"
+ + "\0321\n\017AttributesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005valu"
+ + "e\030\002 \001(\t:\0028\001B\027\n\025authentication_methodB\t\n\007"
+ + "wrapper\"\216\003\n\016BigQueryConfig\022\022\n\005table\030\001 \001("
+ + "\tB\003\340A\001\022\035\n\020use_topic_schema\030\002 \001(\010B\003\340A\001\022\033\n"
+ + "\016write_metadata\030\003 \001(\010B\003\340A\001\022 \n\023drop_unkno"
+ + "wn_fields\030\004 \001(\010B\003\340A\001\022:\n\005state\030\005 \001(\0162&.go"
+ + "ogle.pubsub.v1.BigQueryConfig.StateB\003\340A\003"
+ + "\022\035\n\020use_table_schema\030\006 \001(\010B\003\340A\001\022\"\n\025servi"
+ + "ce_account_email\030\007 \001(\tB\003\340A\001\"\212\001\n\005State\022\025\n"
+ + "\021STATE_UNSPECIFIED\020\000\022\n\n\006ACTIVE\020\001\022\025\n\021PERM"
+ + "ISSION_DENIED\020\002\022\r\n\tNOT_FOUND\020\003\022\023\n\017SCHEMA"
+ + "_MISMATCH\020\004\022#\n\037IN_TRANSIT_LOCATION_RESTR"
+ + "ICTION\020\005\"\351\005\n\022CloudStorageConfig\022\023\n\006bucke"
+ + "t\030\001 \001(\tB\003\340A\002\022\034\n\017filename_prefix\030\002 \001(\tB\003\340"
+ + "A\001\022\034\n\017filename_suffix\030\003 \001(\tB\003\340A\001\022%\n\030file"
+ + "name_datetime_format\030\n \001(\tB\003\340A\001\022K\n\013text_"
+ + "config\030\004 \001(\0132/.google.pubsub.v1.CloudSto"
+ + "rageConfig.TextConfigB\003\340A\001H\000\022K\n\013avro_con"
+ + "fig\030\005 \001(\0132/.google.pubsub.v1.CloudStorag"
+ + "eConfig.AvroConfigB\003\340A\001H\000\0224\n\014max_duratio"
+ + "n\030\006 \001(\0132\031.google.protobuf.DurationB\003\340A\001\022"
+ + "\026\n\tmax_bytes\030\007 \001(\003B\003\340A\001\022\031\n\014max_messages\030"
+ + "\010 \001(\003B\003\340A\001\022>\n\005state\030\t \001(\0162*.google.pubsu"
+ + "b.v1.CloudStorageConfig.StateB\003\340A\003\022\"\n\025se"
+ + "rvice_account_email\030\013 \001(\tB\003\340A\001\032\014\n\nTextCo"
+ + "nfig\032H\n\nAvroConfig\022\033\n\016write_metadata\030\001 \001"
+ + "(\010B\003\340A\001\022\035\n\020use_topic_schema\030\002 \001(\010B\003\340A\001\"\212"
+ + "\001\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\n\n\006ACTIV"
+ + "E\020\001\022\025\n\021PERMISSION_DENIED\020\002\022\r\n\tNOT_FOUND\020"
+ + "\003\022#\n\037IN_TRANSIT_LOCATION_RESTRICTION\020\004\022\023"
+ + "\n\017SCHEMA_MISMATCH\020\005B\017\n\routput_format\"|\n\017"
+ + "ReceivedMessage\022\023\n\006ack_id\030\001 \001(\tB\003\340A\001\0225\n\007"
+ + "message\030\002 \001(\0132\037.google.pubsub.v1.PubsubM"
+ + "essageB\003\340A\001\022\035\n\020delivery_attempt\030\003 \001(\005B\003\340"
+ + "A\001\"Z\n\026GetSubscriptionRequest\022@\n\014subscrip"
+ + "tion\030\001 \001(\tB*\340A\002\372A$\n\"pubsub.googleapis.co"
+ + "m/Subscription\"\214\001\n\031UpdateSubscriptionReq"
+ + "uest\0229\n\014subscription\030\001 \001(\0132\036.google.pubs"
+ + "ub.v1.SubscriptionB\003\340A\002\0224\n\013update_mask\030\002"
+ + " \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\"\221\001"
+ + "\n\030ListSubscriptionsRequest\022D\n\007project\030\001 "
+ + "\001(\tB3\340A\002\372A-\n+cloudresourcemanager.google"
+ + "apis.com/Project\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001"
+ + "\022\027\n\npage_token\030\003 \001(\tB\003\340A\001\"u\n\031ListSubscri"
+ + "ptionsResponse\022:\n\rsubscriptions\030\001 \003(\0132\036."
+ + "google.pubsub.v1.SubscriptionB\003\340A\001\022\034\n\017ne"
+ + "xt_page_token\030\002 \001(\tB\003\340A\001\"]\n\031DeleteSubscr"
+ + "iptionRequest\022@\n\014subscription\030\001 \001(\tB*\340A\002"
+ + "\372A$\n\"pubsub.googleapis.com/Subscription\""
+ + "\223\001\n\027ModifyPushConfigRequest\022@\n\014subscript"
+ + "ion\030\001 \001(\tB*\340A\002\372A$\n\"pubsub.googleapis.com"
+ + "/Subscription\0226\n\013push_config\030\002 \001(\0132\034.goo"
+ + "gle.pubsub.v1.PushConfigB\003\340A\002\"\215\001\n\013PullRe"
+ + "quest\022@\n\014subscription\030\001 \001(\tB*\340A\002\372A$\n\"pub"
+ + "sub.googleapis.com/Subscription\022!\n\022retur"
+ + "n_immediately\030\002 \001(\010B\005\030\001\340A\001\022\031\n\014max_messag"
+ + "es\030\003 \001(\005B\003\340A\002\"Q\n\014PullResponse\022A\n\021receive"
+ + "d_messages\030\001 \003(\0132!.google.pubsub.v1.Rece"
+ + "ivedMessageB\003\340A\001\"\225\001\n\030ModifyAckDeadlineRe"
+ + "quest\022@\n\014subscription\030\001 \001(\tB*\340A\002\372A$\n\"pub"
+ + "sub.googleapis.com/Subscription\022\024\n\007ack_i"
+ + "ds\030\004 \003(\tB\003\340A\002\022!\n\024ack_deadline_seconds\030\003 "
+ + "\001(\005B\003\340A\002\"l\n\022AcknowledgeRequest\022@\n\014subscr"
+ + "iption\030\001 \001(\tB*\340A\002\372A$\n\"pubsub.googleapis."
+ + "com/Subscription\022\024\n\007ack_ids\030\002 \003(\tB\003\340A\002\"\307"
+ + "\002\n\024StreamingPullRequest\022@\n\014subscription\030"
+ + "\001 \001(\tB*\340A\002\372A$\n\"pubsub.googleapis.com/Sub"
+ + "scription\022\024\n\007ack_ids\030\002 \003(\tB\003\340A\001\022$\n\027modif"
+ + "y_deadline_seconds\030\003 \003(\005B\003\340A\001\022$\n\027modify_"
+ + "deadline_ack_ids\030\004 \003(\tB\003\340A\001\022(\n\033stream_ac"
+ + "k_deadline_seconds\030\005 \001(\005B\003\340A\002\022\026\n\tclient_"
+ + "id\030\006 \001(\tB\003\340A\001\022%\n\030max_outstanding_message"
+ + "s\030\007 \001(\003B\003\340A\001\022\"\n\025max_outstanding_bytes\030\010 "
+ + "\001(\003B\003\340A\001\"\236\006\n\025StreamingPullResponse\022A\n\021re"
+ + "ceived_messages\030\001 \003(\0132!.google.pubsub.v1"
+ + ".ReceivedMessageB\003\340A\001\022f\n\030acknowledge_con"
+ + "firmation\030\005 \001(\0132?.google.pubsub.v1.Strea"
+ + "mingPullResponse.AcknowledgeConfirmation"
+ + "B\003\340A\001\022t\n modify_ack_deadline_confirmatio"
+ + "n\030\003 \001(\0132E.google.pubsub.v1.StreamingPull"
+ + "Response.ModifyAckDeadlineConfirmationB\003"
+ + "\340A\001\022d\n\027subscription_properties\030\004 \001(\0132>.g"
+ + "oogle.pubsub.v1.StreamingPullResponse.Su"
+ + "bscriptionPropertiesB\003\340A\001\032\224\001\n\027Acknowledg"
+ + "eConfirmation\022\024\n\007ack_ids\030\001 \003(\tB\003\340A\001\022\034\n\017i"
+ + "nvalid_ack_ids\030\002 \003(\tB\003\340A\001\022\036\n\021unordered_a"
+ + "ck_ids\030\003 \003(\tB\003\340A\001\022%\n\030temporary_failed_ac"
+ + "k_ids\030\004 \003(\tB\003\340A\001\032z\n\035ModifyAckDeadlineCon"
+ + "firmation\022\024\n\007ack_ids\030\001 \003(\tB\003\340A\001\022\034\n\017inval"
+ + "id_ack_ids\030\002 \003(\tB\003\340A\001\022%\n\030temporary_faile"
+ + "d_ack_ids\030\003 \003(\tB\003\340A\001\032k\n\026SubscriptionProp"
+ + "erties\022*\n\035exactly_once_delivery_enabled\030"
+ + "\001 \001(\010B\003\340A\001\022%\n\030message_ordering_enabled\030\002"
+ + " \001(\010B\003\340A\001\"\210\002\n\025CreateSnapshotRequest\0224\n\004n"
+ + "ame\030\001 \001(\tB&\340A\002\372A \n\036pubsub.googleapis.com"
+ + "/Snapshot\022@\n\014subscription\030\002 \001(\tB*\340A\002\372A$\n"
+ + "\"pubsub.googleapis.com/Subscription\022H\n\006l"
+ + "abels\030\003 \003(\01323.google.pubsub.v1.CreateSna"
+ + "pshotRequest.LabelsEntryB\003\340A\001\032-\n\013LabelsE"
+ + "ntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\200\001\n"
+ + "\025UpdateSnapshotRequest\0221\n\010snapshot\030\001 \001(\013"
+ + "2\032.google.pubsub.v1.SnapshotB\003\340A\002\0224\n\013upd"
+ + "ate_mask\030\002 \001(\0132\032.google.protobuf.FieldMa"
+ + "skB\003\340A\002\"\301\002\n\010Snapshot\022\021\n\004name\030\001 \001(\tB\003\340A\001\022"
+ + "2\n\005topic\030\002 \001(\tB#\340A\001\372A\035\n\033pubsub.googleapi"
+ + "s.com/Topic\0224\n\013expire_time\030\003 \001(\0132\032.googl"
+ + "e.protobuf.TimestampB\003\340A\001\022;\n\006labels\030\004 \003("
+ + "\0132&.google.pubsub.v1.Snapshot.LabelsEntr"
+ + "yB\003\340A\001\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005va"
+ + "lue\030\002 \001(\t:\0028\001:L\352AI\n\036pubsub.googleapis.co"
+ + "m/Snapshot\022\'projects/{project}/snapshots"
+ + "/{snapshot}\"N\n\022GetSnapshotRequest\0228\n\010sna"
+ + "pshot\030\001 \001(\tB&\340A\002\372A \n\036pubsub.googleapis.c"
+ + "om/Snapshot\"\215\001\n\024ListSnapshotsRequest\022D\n\007"
+ + "project\030\001 \001(\tB3\340A\002\372A-\n+cloudresourcemana"
+ + "ger.googleapis.com/Project\022\026\n\tpage_size\030"
+ + "\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(\tB\003\340A\001\"i\n\025L"
+ + "istSnapshotsResponse\0222\n\tsnapshots\030\001 \003(\0132"
+ + "\032.google.pubsub.v1.SnapshotB\003\340A\001\022\034\n\017next"
+ + "_page_token\030\002 \001(\tB\003\340A\001\"Q\n\025DeleteSnapshot"
+ + "Request\0228\n\010snapshot\030\001 \001(\tB&\340A\002\372A \n\036pubsu"
+ + "b.googleapis.com/Snapshot\"\306\001\n\013SeekReques"
+ + "t\022@\n\014subscription\030\001 \001(\tB*\340A\002\372A$\n\"pubsub."
+ + "googleapis.com/Subscription\022/\n\004time\030\002 \001("
+ + "\0132\032.google.protobuf.TimestampB\003\340A\001H\000\022:\n\010"
+ + "snapshot\030\003 \001(\tB&\340A\001\372A \n\036pubsub.googleapi"
+ + "s.com/SnapshotH\000B\010\n\006target\"\016\n\014SeekRespon"
+ + "se2\270\013\n\tPublisher\022q\n\013CreateTopic\022\027.google"
+ + ".pubsub.v1.Topic\032\027.google.pubsub.v1.Topi"
+ + "c\"0\332A\004name\202\323\344\223\002#\032\036/v1/{name=projects/*/t"
+ + "opics/*}:\001*\022\221\001\n\013UpdateTopic\022$.google.pub"
+ + "sub.v1.UpdateTopicRequest\032\027.google.pubsu"
+ + "b.v1.Topic\"C\332A\021topic,update_mask\202\323\344\223\002)2$"
+ + "/v1/{topic.name=projects/*/topics/*}:\001*\022"
+ + "\223\001\n\007Publish\022 .google.pubsub.v1.PublishRe"
+ + "quest\032!.google.pubsub.v1.PublishResponse"
+ + "\"C\332A\016topic,messages\202\323\344\223\002,\"\'/v1/{topic=pr"
+ + "ojects/*/topics/*}:publish:\001*\022w\n\010GetTopi"
+ + "c\022!.google.pubsub.v1.GetTopicRequest\032\027.g"
+ + "oogle.pubsub.v1.Topic\"/\332A\005topic\202\323\344\223\002!\022\037/"
+ + "v1/{topic=projects/*/topics/*}\022\212\001\n\nListT"
+ + "opics\022#.google.pubsub.v1.ListTopicsReque"
+ + "st\032$.google.pubsub.v1.ListTopicsResponse"
+ + "\"1\332A\007project\202\323\344\223\002!\022\037/v1/{project=project"
+ + "s/*}/topics\022\272\001\n\026ListTopicSubscriptions\022/"
+ + ".google.pubsub.v1.ListTopicSubscriptions"
+ + "Request\0320.google.pubsub.v1.ListTopicSubs"
+ + "criptionsResponse\"=\332A\005topic\202\323\344\223\002/\022-/v1/{"
+ + "topic=projects/*/topics/*}/subscriptions"
+ + "\022\252\001\n\022ListTopicSnapshots\022+.google.pubsub."
+ + "v1.ListTopicSnapshotsRequest\032,.google.pu"
+ + "bsub.v1.ListTopicSnapshotsResponse\"9\332A\005t"
+ + "opic\202\323\344\223\002+\022)/v1/{topic=projects/*/topics"
+ + "/*}/snapshots\022|\n\013DeleteTopic\022$.google.pu"
+ + "bsub.v1.DeleteTopicRequest\032\026.google.prot"
+ + "obuf.Empty\"/\332A\005topic\202\323\344\223\002!*\037/v1/{topic=p"
+ + "rojects/*/topics/*}\022\255\001\n\022DetachSubscripti"
+ + "on\022+.google.pubsub.v1.DetachSubscription"
+ + "Request\032,.google.pubsub.v1.DetachSubscri"
+ + "ptionResponse\"<\202\323\344\223\0026\"4/v1/{subscription"
+ + "=projects/*/subscriptions/*}:detach\032p\312A\025"
+ + "pubsub.googleapis.com\322AUhttps://www.goog"
+ + "leapis.com/auth/cloud-platform,https://w"
+ + "ww.googleapis.com/auth/pubsub2\322\025\n\nSubscr"
+ + "iber\022\264\001\n\022CreateSubscription\022\036.google.pub"
+ + "sub.v1.Subscription\032\036.google.pubsub.v1.S"
+ + "ubscription\"^\332A+name,topic,push_config,a"
+ + "ck_deadline_seconds\202\323\344\223\002*\032%/v1/{name=pro"
+ + "jects/*/subscriptions/*}:\001*\022\241\001\n\017GetSubsc"
+ + "ription\022(.google.pubsub.v1.GetSubscripti"
+ + "onRequest\032\036.google.pubsub.v1.Subscriptio"
+ + "n\"D\332A\014subscription\202\323\344\223\002/\022-/v1/{subscript"
+ + "ion=projects/*/subscriptions/*}\022\273\001\n\022Upda"
+ + "teSubscription\022+.google.pubsub.v1.Update"
+ + "SubscriptionRequest\032\036.google.pubsub.v1.S"
+ + "ubscription\"X\332A\030subscription,update_mask"
+ + "\202\323\344\223\002722/v1/{subscription.name=projects/"
+ + "*/subscriptions/*}:\001*\022\246\001\n\021ListSubscripti"
+ + "ons\022*.google.pubsub.v1.ListSubscriptions"
+ + "Request\032+.google.pubsub.v1.ListSubscript"
+ + "ionsResponse\"8\332A\007project\202\323\344\223\002(\022&/v1/{pro"
+ + "ject=projects/*}/subscriptions\022\237\001\n\022Delet"
+ + "eSubscription\022+.google.pubsub.v1.DeleteS"
+ + "ubscriptionRequest\032\026.google.protobuf.Emp"
+ + "ty\"D\332A\014subscription\202\323\344\223\002/*-/v1/{subscrip"
+ + "tion=projects/*/subscriptions/*}\022\317\001\n\021Mod"
+ + "ifyAckDeadline\022*.google.pubsub.v1.Modify"
+ + "AckDeadlineRequest\032\026.google.protobuf.Emp"
+ + "ty\"v\332A)subscription,ack_ids,ack_deadline"
+ + "_seconds\202\323\344\223\002D\"?/v1/{subscription=projec"
+ + "ts/*/subscriptions/*}:modifyAckDeadline:"
+ + "\001*\022\250\001\n\013Acknowledge\022$.google.pubsub.v1.Ac"
+ + "knowledgeRequest\032\026.google.protobuf.Empty"
+ + "\"[\332A\024subscription,ack_ids\202\323\344\223\002>\"9/v1/{su"
+ + "bscription=projects/*/subscriptions/*}:a"
+ + "cknowledge:\001*\022\320\001\n\004Pull\022\035.google.pubsub.v"
+ + "1.PullRequest\032\036.google.pubsub.v1.PullRes"
+ + "ponse\"\210\001\332A,subscription,return_immediate"
+ + "ly,max_messages\332A\031subscription,max_messa"
+ + "ges\202\323\344\223\0027\"2/v1/{subscription=projects/*/"
+ + "subscriptions/*}:pull:\001*\022f\n\rStreamingPul"
+ + "l\022&.google.pubsub.v1.StreamingPullReques"
+ + "t\032\'.google.pubsub.v1.StreamingPullRespon"
+ + "se\"\000(\0010\001\022\273\001\n\020ModifyPushConfig\022).google.p"
+ + "ubsub.v1.ModifyPushConfigRequest\032\026.googl"
+ + "e.protobuf.Empty\"d\332A\030subscription,push_c"
+ + "onfig\202\323\344\223\002C\">/v1/{subscription=projects/"
+ + "*/subscriptions/*}:modifyPushConfig:\001*\022\211"
+ + "\001\n\013GetSnapshot\022$.google.pubsub.v1.GetSna"
+ + "pshotRequest\032\032.google.pubsub.v1.Snapshot"
+ + "\"8\332A\010snapshot\202\323\344\223\002\'\022%/v1/{snapshot=proje"
+ + "cts/*/snapshots/*}\022\226\001\n\rListSnapshots\022&.g"
+ + "oogle.pubsub.v1.ListSnapshotsRequest\032\'.g"
+ + "oogle.pubsub.v1.ListSnapshotsResponse\"4\332"
+ + "A\007project\202\323\344\223\002$\022\"/v1/{project=projects/*"
+ + "}/snapshots\022\227\001\n\016CreateSnapshot\022\'.google."
+ + "pubsub.v1.CreateSnapshotRequest\032\032.google"
+ + ".pubsub.v1.Snapshot\"@\332A\021name,subscriptio"
+ + "n\202\323\344\223\002&\032!/v1/{name=projects/*/snapshots/"
+ + "*}:\001*\022\243\001\n\016UpdateSnapshot\022\'.google.pubsub"
+ + ".v1.UpdateSnapshotRequest\032\032.google.pubsu"
+ + "b.v1.Snapshot\"L\332A\024snapshot,update_mask\202\323"
+ + "\344\223\002/2*/v1/{snapshot.name=projects/*/snap"
+ + "shots/*}:\001*\022\213\001\n\016DeleteSnapshot\022\'.google."
+ + "pubsub.v1.DeleteSnapshotRequest\032\026.google"
+ + ".protobuf.Empty\"8\332A\010snapshot\202\323\344\223\002\'*%/v1/"
+ + "{snapshot=projects/*/snapshots/*}\022\204\001\n\004Se"
+ + "ek\022\035.google.pubsub.v1.SeekRequest\032\036.goog"
+ + "le.pubsub.v1.SeekResponse\"=\202\323\344\223\0027\"2/v1/{"
+ "subscription=projects/*/subscriptions/*}"
- + ":modifyAckDeadline:\001*\022\250\001\n\013Acknowledge\022$."
- + "google.pubsub.v1.AcknowledgeRequest\032\026.go"
- + "ogle.protobuf.Empty\"[\332A\024subscription,ack"
- + "_ids\202\323\344\223\002>\"9/v1/{subscription=projects/*"
- + "/subscriptions/*}:acknowledge:\001*\022\320\001\n\004Pul"
- + "l\022\035.google.pubsub.v1.PullRequest\032\036.googl"
- + "e.pubsub.v1.PullResponse\"\210\001\332A,subscripti"
- + "on,return_immediately,max_messages\332A\031sub"
- + "scription,max_messages\202\323\344\223\0027\"2/v1/{subsc"
- + "ription=projects/*/subscriptions/*}:pull"
- + ":\001*\022f\n\rStreamingPull\022&.google.pubsub.v1."
- + "StreamingPullRequest\032\'.google.pubsub.v1."
- + "StreamingPullResponse\"\000(\0010\001\022\273\001\n\020ModifyPu"
- + "shConfig\022).google.pubsub.v1.ModifyPushCo"
- + "nfigRequest\032\026.google.protobuf.Empty\"d\332A\030"
- + "subscription,push_config\202\323\344\223\002C\">/v1/{sub"
- + "scription=projects/*/subscriptions/*}:mo"
- + "difyPushConfig:\001*\022\211\001\n\013GetSnapshot\022$.goog"
- + "le.pubsub.v1.GetSnapshotRequest\032\032.google"
- + ".pubsub.v1.Snapshot\"8\332A\010snapshot\202\323\344\223\002\'\022%"
- + "/v1/{snapshot=projects/*/snapshots/*}\022\226\001"
- + "\n\rListSnapshots\022&.google.pubsub.v1.ListS"
- + "napshotsRequest\032\'.google.pubsub.v1.ListS"
- + "napshotsResponse\"4\332A\007project\202\323\344\223\002$\022\"/v1/"
- + "{project=projects/*}/snapshots\022\227\001\n\016Creat"
- + "eSnapshot\022\'.google.pubsub.v1.CreateSnaps"
- + "hotRequest\032\032.google.pubsub.v1.Snapshot\"@"
- + "\332A\021name,subscription\202\323\344\223\002&\032!/v1/{name=pr"
- + "ojects/*/snapshots/*}:\001*\022\243\001\n\016UpdateSnaps"
- + "hot\022\'.google.pubsub.v1.UpdateSnapshotReq"
- + "uest\032\032.google.pubsub.v1.Snapshot\"L\332A\024sna"
- + "pshot,update_mask\202\323\344\223\002/2*/v1/{snapshot.n"
- + "ame=projects/*/snapshots/*}:\001*\022\213\001\n\016Delet"
- + "eSnapshot\022\'.google.pubsub.v1.DeleteSnaps"
- + "hotRequest\032\026.google.protobuf.Empty\"8\332A\010s"
- + "napshot\202\323\344\223\002\'*%/v1/{snapshot=projects/*/"
- + "snapshots/*}\022\204\001\n\004Seek\022\035.google.pubsub.v1"
- + ".SeekRequest\032\036.google.pubsub.v1.SeekResp"
- + "onse\"=\202\323\344\223\0027\"2/v1/{subscription=projects"
- + "/*/subscriptions/*}:seek:\001*\032p\312A\025pubsub.g"
- + "oogleapis.com\322AUhttps://www.googleapis.c"
- + "om/auth/cloud-platform,https://www.googl"
- + "eapis.com/auth/pubsubB\252\001\n\024com.google.pub"
- + "sub.v1B\013PubsubProtoP\001Z2cloud.google.com/"
- + "go/pubsub/apiv1/pubsubpb;pubsubpb\370\001\001\252\002\026G"
- + "oogle.Cloud.PubSub.V1\312\002\026Google\\Cloud\\Pub"
- + "Sub\\V1\352\002\031Google::Cloud::PubSub::V1b\006prot"
- + "o3"
+ + ":seek:\001*\032p\312A\025pubsub.googleapis.com\322AUhtt"
+ + "ps://www.googleapis.com/auth/cloud-platf"
+ + "orm,https://www.googleapis.com/auth/pubs"
+ + "ubB\252\001\n\024com.google.pubsub.v1B\013PubsubProto"
+ + "P\001Z2cloud.google.com/go/pubsub/apiv1/pub"
+ + "subpb;pubsubpb\370\001\001\252\002\026Google.Cloud.PubSub.",
+ "V1\312\002\026Google\\Cloud\\PubSub\\V1\352\002\031Google::Cl" + "oud::PubSub::V1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -691,7 +747,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_pubsub_v1_IngestionDataSourceSettings_descriptor,
new java.lang.String[] {
- "AwsKinesis", "Source",
+ "AwsKinesis", "CloudStorage", "PlatformLogsSettings", "Source",
});
internal_static_google_pubsub_v1_IngestionDataSourceSettings_AwsKinesis_descriptor =
internal_static_google_pubsub_v1_IngestionDataSourceSettings_descriptor
@@ -703,7 +759,58 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new java.lang.String[] {
"State", "StreamArn", "ConsumerArn", "AwsRoleArn", "GcpServiceAccount",
});
- internal_static_google_pubsub_v1_Topic_descriptor = getDescriptor().getMessageTypes().get(3);
+ internal_static_google_pubsub_v1_IngestionDataSourceSettings_CloudStorage_descriptor =
+ internal_static_google_pubsub_v1_IngestionDataSourceSettings_descriptor
+ .getNestedTypes()
+ .get(1);
+ internal_static_google_pubsub_v1_IngestionDataSourceSettings_CloudStorage_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_pubsub_v1_IngestionDataSourceSettings_CloudStorage_descriptor,
+ new java.lang.String[] {
+ "State",
+ "Bucket",
+ "TextFormat",
+ "AvroFormat",
+ "PubsubAvroFormat",
+ "MinimumObjectCreateTime",
+ "MatchGlob",
+ "InputFormat",
+ });
+ internal_static_google_pubsub_v1_IngestionDataSourceSettings_CloudStorage_TextFormat_descriptor =
+ internal_static_google_pubsub_v1_IngestionDataSourceSettings_CloudStorage_descriptor
+ .getNestedTypes()
+ .get(0);
+ internal_static_google_pubsub_v1_IngestionDataSourceSettings_CloudStorage_TextFormat_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_pubsub_v1_IngestionDataSourceSettings_CloudStorage_TextFormat_descriptor,
+ new java.lang.String[] {
+ "Delimiter",
+ });
+ internal_static_google_pubsub_v1_IngestionDataSourceSettings_CloudStorage_AvroFormat_descriptor =
+ internal_static_google_pubsub_v1_IngestionDataSourceSettings_CloudStorage_descriptor
+ .getNestedTypes()
+ .get(1);
+ internal_static_google_pubsub_v1_IngestionDataSourceSettings_CloudStorage_AvroFormat_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_pubsub_v1_IngestionDataSourceSettings_CloudStorage_AvroFormat_descriptor,
+ new java.lang.String[] {});
+ internal_static_google_pubsub_v1_IngestionDataSourceSettings_CloudStorage_PubSubAvroFormat_descriptor =
+ internal_static_google_pubsub_v1_IngestionDataSourceSettings_CloudStorage_descriptor
+ .getNestedTypes()
+ .get(2);
+ internal_static_google_pubsub_v1_IngestionDataSourceSettings_CloudStorage_PubSubAvroFormat_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_pubsub_v1_IngestionDataSourceSettings_CloudStorage_PubSubAvroFormat_descriptor,
+ new java.lang.String[] {});
+ internal_static_google_pubsub_v1_PlatformLogsSettings_descriptor =
+ getDescriptor().getMessageTypes().get(3);
+ internal_static_google_pubsub_v1_PlatformLogsSettings_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_pubsub_v1_PlatformLogsSettings_descriptor,
+ new java.lang.String[] {
+ "Severity",
+ });
+ internal_static_google_pubsub_v1_Topic_descriptor = getDescriptor().getMessageTypes().get(4);
internal_static_google_pubsub_v1_Topic_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_pubsub_v1_Topic_descriptor,
@@ -727,7 +834,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Key", "Value",
});
internal_static_google_pubsub_v1_PubsubMessage_descriptor =
- getDescriptor().getMessageTypes().get(4);
+ getDescriptor().getMessageTypes().get(5);
internal_static_google_pubsub_v1_PubsubMessage_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_pubsub_v1_PubsubMessage_descriptor,
@@ -743,7 +850,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Key", "Value",
});
internal_static_google_pubsub_v1_GetTopicRequest_descriptor =
- getDescriptor().getMessageTypes().get(5);
+ getDescriptor().getMessageTypes().get(6);
internal_static_google_pubsub_v1_GetTopicRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_pubsub_v1_GetTopicRequest_descriptor,
@@ -751,7 +858,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Topic",
});
internal_static_google_pubsub_v1_UpdateTopicRequest_descriptor =
- getDescriptor().getMessageTypes().get(6);
+ getDescriptor().getMessageTypes().get(7);
internal_static_google_pubsub_v1_UpdateTopicRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_pubsub_v1_UpdateTopicRequest_descriptor,
@@ -759,7 +866,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Topic", "UpdateMask",
});
internal_static_google_pubsub_v1_PublishRequest_descriptor =
- getDescriptor().getMessageTypes().get(7);
+ getDescriptor().getMessageTypes().get(8);
internal_static_google_pubsub_v1_PublishRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_pubsub_v1_PublishRequest_descriptor,
@@ -767,7 +874,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Topic", "Messages",
});
internal_static_google_pubsub_v1_PublishResponse_descriptor =
- getDescriptor().getMessageTypes().get(8);
+ getDescriptor().getMessageTypes().get(9);
internal_static_google_pubsub_v1_PublishResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_pubsub_v1_PublishResponse_descriptor,
@@ -775,7 +882,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"MessageIds",
});
internal_static_google_pubsub_v1_ListTopicsRequest_descriptor =
- getDescriptor().getMessageTypes().get(9);
+ getDescriptor().getMessageTypes().get(10);
internal_static_google_pubsub_v1_ListTopicsRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_pubsub_v1_ListTopicsRequest_descriptor,
@@ -783,7 +890,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Project", "PageSize", "PageToken",
});
internal_static_google_pubsub_v1_ListTopicsResponse_descriptor =
- getDescriptor().getMessageTypes().get(10);
+ getDescriptor().getMessageTypes().get(11);
internal_static_google_pubsub_v1_ListTopicsResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_pubsub_v1_ListTopicsResponse_descriptor,
@@ -791,7 +898,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Topics", "NextPageToken",
});
internal_static_google_pubsub_v1_ListTopicSubscriptionsRequest_descriptor =
- getDescriptor().getMessageTypes().get(11);
+ getDescriptor().getMessageTypes().get(12);
internal_static_google_pubsub_v1_ListTopicSubscriptionsRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_pubsub_v1_ListTopicSubscriptionsRequest_descriptor,
@@ -799,7 +906,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Topic", "PageSize", "PageToken",
});
internal_static_google_pubsub_v1_ListTopicSubscriptionsResponse_descriptor =
- getDescriptor().getMessageTypes().get(12);
+ getDescriptor().getMessageTypes().get(13);
internal_static_google_pubsub_v1_ListTopicSubscriptionsResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_pubsub_v1_ListTopicSubscriptionsResponse_descriptor,
@@ -807,7 +914,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Subscriptions", "NextPageToken",
});
internal_static_google_pubsub_v1_ListTopicSnapshotsRequest_descriptor =
- getDescriptor().getMessageTypes().get(13);
+ getDescriptor().getMessageTypes().get(14);
internal_static_google_pubsub_v1_ListTopicSnapshotsRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_pubsub_v1_ListTopicSnapshotsRequest_descriptor,
@@ -815,7 +922,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Topic", "PageSize", "PageToken",
});
internal_static_google_pubsub_v1_ListTopicSnapshotsResponse_descriptor =
- getDescriptor().getMessageTypes().get(14);
+ getDescriptor().getMessageTypes().get(15);
internal_static_google_pubsub_v1_ListTopicSnapshotsResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_pubsub_v1_ListTopicSnapshotsResponse_descriptor,
@@ -823,7 +930,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Snapshots", "NextPageToken",
});
internal_static_google_pubsub_v1_DeleteTopicRequest_descriptor =
- getDescriptor().getMessageTypes().get(15);
+ getDescriptor().getMessageTypes().get(16);
internal_static_google_pubsub_v1_DeleteTopicRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_pubsub_v1_DeleteTopicRequest_descriptor,
@@ -831,7 +938,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Topic",
});
internal_static_google_pubsub_v1_DetachSubscriptionRequest_descriptor =
- getDescriptor().getMessageTypes().get(16);
+ getDescriptor().getMessageTypes().get(17);
internal_static_google_pubsub_v1_DetachSubscriptionRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_pubsub_v1_DetachSubscriptionRequest_descriptor,
@@ -839,13 +946,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Subscription",
});
internal_static_google_pubsub_v1_DetachSubscriptionResponse_descriptor =
- getDescriptor().getMessageTypes().get(17);
+ getDescriptor().getMessageTypes().get(18);
internal_static_google_pubsub_v1_DetachSubscriptionResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_pubsub_v1_DetachSubscriptionResponse_descriptor,
new java.lang.String[] {});
internal_static_google_pubsub_v1_Subscription_descriptor =
- getDescriptor().getMessageTypes().get(18);
+ getDescriptor().getMessageTypes().get(19);
internal_static_google_pubsub_v1_Subscription_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_pubsub_v1_Subscription_descriptor,
@@ -868,9 +975,18 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"EnableExactlyOnceDelivery",
"TopicMessageRetentionDuration",
"State",
+ "AnalyticsHubSubscriptionInfo",
});
- internal_static_google_pubsub_v1_Subscription_LabelsEntry_descriptor =
+ internal_static_google_pubsub_v1_Subscription_AnalyticsHubSubscriptionInfo_descriptor =
internal_static_google_pubsub_v1_Subscription_descriptor.getNestedTypes().get(0);
+ internal_static_google_pubsub_v1_Subscription_AnalyticsHubSubscriptionInfo_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_pubsub_v1_Subscription_AnalyticsHubSubscriptionInfo_descriptor,
+ new java.lang.String[] {
+ "Listing", "Subscription",
+ });
+ internal_static_google_pubsub_v1_Subscription_LabelsEntry_descriptor =
+ internal_static_google_pubsub_v1_Subscription_descriptor.getNestedTypes().get(1);
internal_static_google_pubsub_v1_Subscription_LabelsEntry_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_pubsub_v1_Subscription_LabelsEntry_descriptor,
@@ -878,7 +994,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Key", "Value",
});
internal_static_google_pubsub_v1_RetryPolicy_descriptor =
- getDescriptor().getMessageTypes().get(19);
+ getDescriptor().getMessageTypes().get(20);
internal_static_google_pubsub_v1_RetryPolicy_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_pubsub_v1_RetryPolicy_descriptor,
@@ -886,7 +1002,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"MinimumBackoff", "MaximumBackoff",
});
internal_static_google_pubsub_v1_DeadLetterPolicy_descriptor =
- getDescriptor().getMessageTypes().get(20);
+ getDescriptor().getMessageTypes().get(21);
internal_static_google_pubsub_v1_DeadLetterPolicy_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_pubsub_v1_DeadLetterPolicy_descriptor,
@@ -894,7 +1010,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"DeadLetterTopic", "MaxDeliveryAttempts",
});
internal_static_google_pubsub_v1_ExpirationPolicy_descriptor =
- getDescriptor().getMessageTypes().get(21);
+ getDescriptor().getMessageTypes().get(22);
internal_static_google_pubsub_v1_ExpirationPolicy_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_pubsub_v1_ExpirationPolicy_descriptor,
@@ -902,7 +1018,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Ttl",
});
internal_static_google_pubsub_v1_PushConfig_descriptor =
- getDescriptor().getMessageTypes().get(22);
+ getDescriptor().getMessageTypes().get(23);
internal_static_google_pubsub_v1_PushConfig_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_pubsub_v1_PushConfig_descriptor,
@@ -946,7 +1062,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Key", "Value",
});
internal_static_google_pubsub_v1_BigQueryConfig_descriptor =
- getDescriptor().getMessageTypes().get(23);
+ getDescriptor().getMessageTypes().get(24);
internal_static_google_pubsub_v1_BigQueryConfig_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_pubsub_v1_BigQueryConfig_descriptor,
@@ -960,7 +1076,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"ServiceAccountEmail",
});
internal_static_google_pubsub_v1_CloudStorageConfig_descriptor =
- getDescriptor().getMessageTypes().get(24);
+ getDescriptor().getMessageTypes().get(25);
internal_static_google_pubsub_v1_CloudStorageConfig_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_pubsub_v1_CloudStorageConfig_descriptor,
@@ -993,7 +1109,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"WriteMetadata", "UseTopicSchema",
});
internal_static_google_pubsub_v1_ReceivedMessage_descriptor =
- getDescriptor().getMessageTypes().get(25);
+ getDescriptor().getMessageTypes().get(26);
internal_static_google_pubsub_v1_ReceivedMessage_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_pubsub_v1_ReceivedMessage_descriptor,
@@ -1001,7 +1117,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"AckId", "Message", "DeliveryAttempt",
});
internal_static_google_pubsub_v1_GetSubscriptionRequest_descriptor =
- getDescriptor().getMessageTypes().get(26);
+ getDescriptor().getMessageTypes().get(27);
internal_static_google_pubsub_v1_GetSubscriptionRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_pubsub_v1_GetSubscriptionRequest_descriptor,
@@ -1009,7 +1125,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Subscription",
});
internal_static_google_pubsub_v1_UpdateSubscriptionRequest_descriptor =
- getDescriptor().getMessageTypes().get(27);
+ getDescriptor().getMessageTypes().get(28);
internal_static_google_pubsub_v1_UpdateSubscriptionRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_pubsub_v1_UpdateSubscriptionRequest_descriptor,
@@ -1017,7 +1133,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Subscription", "UpdateMask",
});
internal_static_google_pubsub_v1_ListSubscriptionsRequest_descriptor =
- getDescriptor().getMessageTypes().get(28);
+ getDescriptor().getMessageTypes().get(29);
internal_static_google_pubsub_v1_ListSubscriptionsRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_pubsub_v1_ListSubscriptionsRequest_descriptor,
@@ -1025,7 +1141,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Project", "PageSize", "PageToken",
});
internal_static_google_pubsub_v1_ListSubscriptionsResponse_descriptor =
- getDescriptor().getMessageTypes().get(29);
+ getDescriptor().getMessageTypes().get(30);
internal_static_google_pubsub_v1_ListSubscriptionsResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_pubsub_v1_ListSubscriptionsResponse_descriptor,
@@ -1033,7 +1149,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Subscriptions", "NextPageToken",
});
internal_static_google_pubsub_v1_DeleteSubscriptionRequest_descriptor =
- getDescriptor().getMessageTypes().get(30);
+ getDescriptor().getMessageTypes().get(31);
internal_static_google_pubsub_v1_DeleteSubscriptionRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_pubsub_v1_DeleteSubscriptionRequest_descriptor,
@@ -1041,7 +1157,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Subscription",
});
internal_static_google_pubsub_v1_ModifyPushConfigRequest_descriptor =
- getDescriptor().getMessageTypes().get(31);
+ getDescriptor().getMessageTypes().get(32);
internal_static_google_pubsub_v1_ModifyPushConfigRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_pubsub_v1_ModifyPushConfigRequest_descriptor,
@@ -1049,7 +1165,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Subscription", "PushConfig",
});
internal_static_google_pubsub_v1_PullRequest_descriptor =
- getDescriptor().getMessageTypes().get(32);
+ getDescriptor().getMessageTypes().get(33);
internal_static_google_pubsub_v1_PullRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_pubsub_v1_PullRequest_descriptor,
@@ -1057,7 +1173,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Subscription", "ReturnImmediately", "MaxMessages",
});
internal_static_google_pubsub_v1_PullResponse_descriptor =
- getDescriptor().getMessageTypes().get(33);
+ getDescriptor().getMessageTypes().get(34);
internal_static_google_pubsub_v1_PullResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_pubsub_v1_PullResponse_descriptor,
@@ -1065,7 +1181,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"ReceivedMessages",
});
internal_static_google_pubsub_v1_ModifyAckDeadlineRequest_descriptor =
- getDescriptor().getMessageTypes().get(34);
+ getDescriptor().getMessageTypes().get(35);
internal_static_google_pubsub_v1_ModifyAckDeadlineRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_pubsub_v1_ModifyAckDeadlineRequest_descriptor,
@@ -1073,7 +1189,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Subscription", "AckIds", "AckDeadlineSeconds",
});
internal_static_google_pubsub_v1_AcknowledgeRequest_descriptor =
- getDescriptor().getMessageTypes().get(35);
+ getDescriptor().getMessageTypes().get(36);
internal_static_google_pubsub_v1_AcknowledgeRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_pubsub_v1_AcknowledgeRequest_descriptor,
@@ -1081,7 +1197,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Subscription", "AckIds",
});
internal_static_google_pubsub_v1_StreamingPullRequest_descriptor =
- getDescriptor().getMessageTypes().get(36);
+ getDescriptor().getMessageTypes().get(37);
internal_static_google_pubsub_v1_StreamingPullRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_pubsub_v1_StreamingPullRequest_descriptor,
@@ -1096,7 +1212,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"MaxOutstandingBytes",
});
internal_static_google_pubsub_v1_StreamingPullResponse_descriptor =
- getDescriptor().getMessageTypes().get(37);
+ getDescriptor().getMessageTypes().get(38);
internal_static_google_pubsub_v1_StreamingPullResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_pubsub_v1_StreamingPullResponse_descriptor,
@@ -1131,7 +1247,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"ExactlyOnceDeliveryEnabled", "MessageOrderingEnabled",
});
internal_static_google_pubsub_v1_CreateSnapshotRequest_descriptor =
- getDescriptor().getMessageTypes().get(38);
+ getDescriptor().getMessageTypes().get(39);
internal_static_google_pubsub_v1_CreateSnapshotRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_pubsub_v1_CreateSnapshotRequest_descriptor,
@@ -1147,7 +1263,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Key", "Value",
});
internal_static_google_pubsub_v1_UpdateSnapshotRequest_descriptor =
- getDescriptor().getMessageTypes().get(39);
+ getDescriptor().getMessageTypes().get(40);
internal_static_google_pubsub_v1_UpdateSnapshotRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_pubsub_v1_UpdateSnapshotRequest_descriptor,
@@ -1155,7 +1271,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Snapshot", "UpdateMask",
});
internal_static_google_pubsub_v1_Snapshot_descriptor =
- getDescriptor().getMessageTypes().get(40);
+ getDescriptor().getMessageTypes().get(41);
internal_static_google_pubsub_v1_Snapshot_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_pubsub_v1_Snapshot_descriptor,
@@ -1171,7 +1287,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Key", "Value",
});
internal_static_google_pubsub_v1_GetSnapshotRequest_descriptor =
- getDescriptor().getMessageTypes().get(41);
+ getDescriptor().getMessageTypes().get(42);
internal_static_google_pubsub_v1_GetSnapshotRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_pubsub_v1_GetSnapshotRequest_descriptor,
@@ -1179,7 +1295,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Snapshot",
});
internal_static_google_pubsub_v1_ListSnapshotsRequest_descriptor =
- getDescriptor().getMessageTypes().get(42);
+ getDescriptor().getMessageTypes().get(43);
internal_static_google_pubsub_v1_ListSnapshotsRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_pubsub_v1_ListSnapshotsRequest_descriptor,
@@ -1187,7 +1303,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Project", "PageSize", "PageToken",
});
internal_static_google_pubsub_v1_ListSnapshotsResponse_descriptor =
- getDescriptor().getMessageTypes().get(43);
+ getDescriptor().getMessageTypes().get(44);
internal_static_google_pubsub_v1_ListSnapshotsResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_pubsub_v1_ListSnapshotsResponse_descriptor,
@@ -1195,7 +1311,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Snapshots", "NextPageToken",
});
internal_static_google_pubsub_v1_DeleteSnapshotRequest_descriptor =
- getDescriptor().getMessageTypes().get(44);
+ getDescriptor().getMessageTypes().get(45);
internal_static_google_pubsub_v1_DeleteSnapshotRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_pubsub_v1_DeleteSnapshotRequest_descriptor,
@@ -1203,7 +1319,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Snapshot",
});
internal_static_google_pubsub_v1_SeekRequest_descriptor =
- getDescriptor().getMessageTypes().get(45);
+ getDescriptor().getMessageTypes().get(46);
internal_static_google_pubsub_v1_SeekRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_pubsub_v1_SeekRequest_descriptor,
@@ -1211,7 +1327,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Subscription", "Time", "Snapshot", "Target",
});
internal_static_google_pubsub_v1_SeekResponse_descriptor =
- getDescriptor().getMessageTypes().get(46);
+ getDescriptor().getMessageTypes().get(47);
internal_static_google_pubsub_v1_SeekResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_pubsub_v1_SeekResponse_descriptor, new java.lang.String[] {});
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PullRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PullRequest.java
index aa05afd08..339188193 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PullRequest.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PullRequest.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/pubsub.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
/**
@@ -137,7 +137,7 @@ public com.google.protobuf.ByteString getSubscriptionBytes() {
*
*
* @deprecated google.pubsub.v1.PullRequest.return_immediately is deprecated. See
- * google/pubsub/v1/pubsub.proto;l=1391
+ * google/pubsub/v1/pubsub.proto;l=1531
* @return The returnImmediately.
*/
@java.lang.Override
@@ -688,7 +688,7 @@ public Builder setSubscriptionBytes(com.google.protobuf.ByteString value) {
*
*
* @deprecated google.pubsub.v1.PullRequest.return_immediately is deprecated. See
- * google/pubsub/v1/pubsub.proto;l=1391
+ * google/pubsub/v1/pubsub.proto;l=1531
* @return The returnImmediately.
*/
@java.lang.Override
@@ -714,7 +714,7 @@ public boolean getReturnImmediately() {
*
*
* @deprecated google.pubsub.v1.PullRequest.return_immediately is deprecated. See
- * google/pubsub/v1/pubsub.proto;l=1391
+ * google/pubsub/v1/pubsub.proto;l=1531
* @param value The returnImmediately to set.
* @return This builder for chaining.
*/
@@ -744,7 +744,7 @@ public Builder setReturnImmediately(boolean value) {
*
*
* @deprecated google.pubsub.v1.PullRequest.return_immediately is deprecated. See
- * google/pubsub/v1/pubsub.proto;l=1391
+ * google/pubsub/v1/pubsub.proto;l=1531
* @return This builder for chaining.
*/
@java.lang.Deprecated
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PullRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PullRequestOrBuilder.java
index 4fb6915aa..bbd1aadfb 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PullRequestOrBuilder.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PullRequestOrBuilder.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/pubsub.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
public interface PullRequestOrBuilder
@@ -72,7 +72,7 @@ public interface PullRequestOrBuilder
*
*
* @deprecated google.pubsub.v1.PullRequest.return_immediately is deprecated. See
- * google/pubsub/v1/pubsub.proto;l=1391
+ * google/pubsub/v1/pubsub.proto;l=1531
* @return The returnImmediately.
*/
@java.lang.Deprecated
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PullResponse.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PullResponse.java
index 137ff8e9a..b8c01469c 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PullResponse.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PullResponse.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/pubsub.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
/**
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PullResponseOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PullResponseOrBuilder.java
index af3fa138a..13591fc31 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PullResponseOrBuilder.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PullResponseOrBuilder.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/pubsub.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
public interface PullResponseOrBuilder
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PushConfig.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PushConfig.java
index 7273fef24..c2b62ad70 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PushConfig.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PushConfig.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/pubsub.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
/**
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PushConfigOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PushConfigOrBuilder.java
index 2065ca62a..b3aec3d61 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PushConfigOrBuilder.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/PushConfigOrBuilder.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/pubsub.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
public interface PushConfigOrBuilder
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ReceivedMessage.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ReceivedMessage.java
index 682c8c482..96e7b7c19 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ReceivedMessage.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ReceivedMessage.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/pubsub.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
/**
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ReceivedMessageOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ReceivedMessageOrBuilder.java
index dcc73e449..f352ff532 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ReceivedMessageOrBuilder.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ReceivedMessageOrBuilder.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/pubsub.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
public interface ReceivedMessageOrBuilder
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/RetryPolicy.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/RetryPolicy.java
index bff5aa7ef..ba9ea8952 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/RetryPolicy.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/RetryPolicy.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/pubsub.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
/**
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/RetryPolicyOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/RetryPolicyOrBuilder.java
index 664f80bc4..3437158f7 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/RetryPolicyOrBuilder.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/RetryPolicyOrBuilder.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/pubsub.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
public interface RetryPolicyOrBuilder
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/RollbackSchemaRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/RollbackSchemaRequest.java
index 0b0ee8797..cde07f4aa 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/RollbackSchemaRequest.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/RollbackSchemaRequest.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/schema.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
/**
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/RollbackSchemaRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/RollbackSchemaRequestOrBuilder.java
index 9d7f1e83d..d3be6be3c 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/RollbackSchemaRequestOrBuilder.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/RollbackSchemaRequestOrBuilder.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/schema.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
public interface RollbackSchemaRequestOrBuilder
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Schema.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Schema.java
index 1bf0ac5ad..52357cf32 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Schema.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Schema.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/schema.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
/**
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaOrBuilder.java
index 12d4bb2fb..6974c7663 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaOrBuilder.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaOrBuilder.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/schema.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
public interface SchemaOrBuilder
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaProto.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaProto.java
index e4ea22273..4f028362a 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaProto.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaProto.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/schema.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
public final class SchemaProto {
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaSettings.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaSettings.java
index c375beb9a..834e3dbf2 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaSettings.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaSettings.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/pubsub.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
/**
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaSettingsOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaSettingsOrBuilder.java
index 4189cf811..979132348 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaSettingsOrBuilder.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaSettingsOrBuilder.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/pubsub.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
public interface SchemaSettingsOrBuilder
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaView.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaView.java
index 0a10fac7e..d2964ddc8 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaView.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SchemaView.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/schema.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
/**
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SeekRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SeekRequest.java
index a8393bb10..ce9a01558 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SeekRequest.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SeekRequest.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/pubsub.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
/**
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SeekRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SeekRequestOrBuilder.java
index a2788628c..70b5a13ae 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SeekRequestOrBuilder.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SeekRequestOrBuilder.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/pubsub.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
public interface SeekRequestOrBuilder
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SeekResponse.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SeekResponse.java
index 79b37b7ba..9a9f4c4a3 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SeekResponse.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SeekResponse.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/pubsub.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
/**
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SeekResponseOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SeekResponseOrBuilder.java
index c47b0596e..0b47b94e2 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SeekResponseOrBuilder.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SeekResponseOrBuilder.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/pubsub.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
public interface SeekResponseOrBuilder
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Snapshot.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Snapshot.java
index bd753b6da..36faa854d 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Snapshot.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Snapshot.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/pubsub.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
/**
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SnapshotOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SnapshotOrBuilder.java
index 2840f7849..2d406705b 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SnapshotOrBuilder.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SnapshotOrBuilder.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/pubsub.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
public interface SnapshotOrBuilder
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/StreamingPullRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/StreamingPullRequest.java
index eecbd908f..48afa860b 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/StreamingPullRequest.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/StreamingPullRequest.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/pubsub.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
/**
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/StreamingPullRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/StreamingPullRequestOrBuilder.java
index 57c301ba9..5c4af96cb 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/StreamingPullRequestOrBuilder.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/StreamingPullRequestOrBuilder.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/pubsub.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
public interface StreamingPullRequestOrBuilder
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/StreamingPullResponse.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/StreamingPullResponse.java
index e571996f5..d262e7ca1 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/StreamingPullResponse.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/StreamingPullResponse.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/pubsub.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
/**
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/StreamingPullResponseOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/StreamingPullResponseOrBuilder.java
index 7c399b69e..a20bf8572 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/StreamingPullResponseOrBuilder.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/StreamingPullResponseOrBuilder.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/pubsub.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
public interface StreamingPullResponseOrBuilder
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Subscription.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Subscription.java
index 5c5c8519f..8554197d0 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Subscription.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Subscription.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/pubsub.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
/**
@@ -241,6 +241,902 @@ private State(int value) {
// @@protoc_insertion_point(enum_scope:google.pubsub.v1.Subscription.State)
}
+ public interface AnalyticsHubSubscriptionInfoOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ *
+ * + * Optional. The name of the associated Analytics Hub listing resource. + * Pattern: + * "projects/{project}/locations/{location}/dataExchanges/{data_exchange}/listings/{listing}" + *+ * + *
string listing = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The listing.
+ */
+ java.lang.String getListing();
+ /**
+ *
+ *
+ * + * Optional. The name of the associated Analytics Hub listing resource. + * Pattern: + * "projects/{project}/locations/{location}/dataExchanges/{data_exchange}/listings/{listing}" + *+ * + *
string listing = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for listing.
+ */
+ com.google.protobuf.ByteString getListingBytes();
+
+ /**
+ *
+ *
+ * + * Optional. The name of the associated Analytics Hub subscription resource. + * Pattern: + * "projects/{project}/locations/{location}/subscriptions/{subscription}" + *+ * + *
string subscription = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The subscription.
+ */
+ java.lang.String getSubscription();
+ /**
+ *
+ *
+ * + * Optional. The name of the associated Analytics Hub subscription resource. + * Pattern: + * "projects/{project}/locations/{location}/subscriptions/{subscription}" + *+ * + *
string subscription = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for subscription.
+ */
+ com.google.protobuf.ByteString getSubscriptionBytes();
+ }
+ /**
+ *
+ *
+ * + * Information about an associated Analytics Hub subscription + * (https://cloud.google.com/bigquery/docs/analytics-hub-manage-subscriptions). + *+ * + * Protobuf type {@code google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo} + */ + public static final class AnalyticsHubSubscriptionInfo + extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo) + AnalyticsHubSubscriptionInfoOrBuilder { + private static final long serialVersionUID = 0L; + // Use AnalyticsHubSubscriptionInfo.newBuilder() to construct. + private AnalyticsHubSubscriptionInfo( + com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private AnalyticsHubSubscriptionInfo() { + listing_ = ""; + subscription_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new AnalyticsHubSubscriptionInfo(); + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.pubsub.v1.PubsubProto + .internal_static_google_pubsub_v1_Subscription_AnalyticsHubSubscriptionInfo_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.pubsub.v1.PubsubProto + .internal_static_google_pubsub_v1_Subscription_AnalyticsHubSubscriptionInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo.class, + com.google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo.Builder.class); + } + + public static final int LISTING_FIELD_NUMBER = 1; + + @SuppressWarnings("serial") + private volatile java.lang.Object listing_ = ""; + /** + * + * + *
+ * Optional. The name of the associated Analytics Hub listing resource. + * Pattern: + * "projects/{project}/locations/{location}/dataExchanges/{data_exchange}/listings/{listing}" + *+ * + *
string listing = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The listing.
+ */
+ @java.lang.Override
+ public java.lang.String getListing() {
+ java.lang.Object ref = listing_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ listing_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. The name of the associated Analytics Hub listing resource. + * Pattern: + * "projects/{project}/locations/{location}/dataExchanges/{data_exchange}/listings/{listing}" + *+ * + *
string listing = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for listing.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getListingBytes() {
+ java.lang.Object ref = listing_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ listing_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int SUBSCRIPTION_FIELD_NUMBER = 2;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object subscription_ = "";
+ /**
+ *
+ *
+ * + * Optional. The name of the associated Analytics Hub subscription resource. + * Pattern: + * "projects/{project}/locations/{location}/subscriptions/{subscription}" + *+ * + *
string subscription = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The subscription.
+ */
+ @java.lang.Override
+ public java.lang.String getSubscription() {
+ java.lang.Object ref = subscription_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ subscription_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. The name of the associated Analytics Hub subscription resource. + * Pattern: + * "projects/{project}/locations/{location}/subscriptions/{subscription}" + *+ * + *
string subscription = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for subscription.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getSubscriptionBytes() {
+ java.lang.Object ref = subscription_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ subscription_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(listing_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, listing_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subscription_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, subscription_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(listing_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, listing_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subscription_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, subscription_);
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo)) {
+ return super.equals(obj);
+ }
+ com.google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo other =
+ (com.google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo) obj;
+
+ if (!getListing().equals(other.getListing())) return false;
+ if (!getSubscription().equals(other.getSubscription())) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + LISTING_FIELD_NUMBER;
+ hash = (53 * hash) + getListing().hashCode();
+ hash = (37 * hash) + SUBSCRIPTION_FIELD_NUMBER;
+ hash = (53 * hash) + getSubscription().hashCode();
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo parseFrom(
+ byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
+
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
+ public static Builder newBuilder(
+ com.google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ *
+ * + * Information about an associated Analytics Hub subscription + * (https://cloud.google.com/bigquery/docs/analytics-hub-manage-subscriptions). + *+ * + * Protobuf type {@code google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Optional. The name of the associated Analytics Hub listing resource. + * Pattern: + * "projects/{project}/locations/{location}/dataExchanges/{data_exchange}/listings/{listing}" + *+ * + *
string listing = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The listing.
+ */
+ public java.lang.String getListing() {
+ java.lang.Object ref = listing_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ listing_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. The name of the associated Analytics Hub listing resource. + * Pattern: + * "projects/{project}/locations/{location}/dataExchanges/{data_exchange}/listings/{listing}" + *+ * + *
string listing = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for listing.
+ */
+ public com.google.protobuf.ByteString getListingBytes() {
+ java.lang.Object ref = listing_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ listing_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. The name of the associated Analytics Hub listing resource. + * Pattern: + * "projects/{project}/locations/{location}/dataExchanges/{data_exchange}/listings/{listing}" + *+ * + *
string listing = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The listing to set.
+ * @return This builder for chaining.
+ */
+ public Builder setListing(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ listing_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. The name of the associated Analytics Hub listing resource. + * Pattern: + * "projects/{project}/locations/{location}/dataExchanges/{data_exchange}/listings/{listing}" + *+ * + *
string listing = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearListing() {
+ listing_ = getDefaultInstance().getListing();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. The name of the associated Analytics Hub listing resource. + * Pattern: + * "projects/{project}/locations/{location}/dataExchanges/{data_exchange}/listings/{listing}" + *+ * + *
string listing = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The bytes for listing to set.
+ * @return This builder for chaining.
+ */
+ public Builder setListingBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ listing_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object subscription_ = "";
+ /**
+ *
+ *
+ * + * Optional. The name of the associated Analytics Hub subscription resource. + * Pattern: + * "projects/{project}/locations/{location}/subscriptions/{subscription}" + *+ * + *
string subscription = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The subscription.
+ */
+ public java.lang.String getSubscription() {
+ java.lang.Object ref = subscription_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ subscription_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. The name of the associated Analytics Hub subscription resource. + * Pattern: + * "projects/{project}/locations/{location}/subscriptions/{subscription}" + *+ * + *
string subscription = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for subscription.
+ */
+ public com.google.protobuf.ByteString getSubscriptionBytes() {
+ java.lang.Object ref = subscription_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ subscription_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. The name of the associated Analytics Hub subscription resource. + * Pattern: + * "projects/{project}/locations/{location}/subscriptions/{subscription}" + *+ * + *
string subscription = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The subscription to set.
+ * @return This builder for chaining.
+ */
+ public Builder setSubscription(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ subscription_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. The name of the associated Analytics Hub subscription resource. + * Pattern: + * "projects/{project}/locations/{location}/subscriptions/{subscription}" + *+ * + *
string subscription = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearSubscription() {
+ subscription_ = getDefaultInstance().getSubscription();
+ bitField0_ = (bitField0_ & ~0x00000002);
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. The name of the associated Analytics Hub subscription resource. + * Pattern: + * "projects/{project}/locations/{location}/subscriptions/{subscription}" + *+ * + *
string subscription = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The bytes for subscription to set.
+ * @return This builder for chaining.
+ */
+ public Builder setSubscriptionBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ subscription_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ 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.Subscription.AnalyticsHubSubscriptionInfo)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo)
+ private static final com.google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo
+ DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo();
+ }
+
+ public static com.google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo
+ getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
@@ -623,7 +1519,7 @@ public boolean hasMessageRetentionDuration() {
* backlog, from the moment a message is published. If `retain_acked_messages`
* is true, then this also configures the retention of acknowledged messages,
* and thus configures how far back in time a `Seek` can be done. Defaults to
- * 7 days. Cannot be more than 7 days or less than 10 minutes.
+ * 7 days. Cannot be more than 31 days or less than 10 minutes.
*
*
*
@@ -646,7 +1542,7 @@ public com.google.protobuf.Duration getMessageRetentionDuration() {
* backlog, from the moment a message is published. If `retain_acked_messages`
* is true, then this also configures the retention of acknowledged messages,
* and thus configures how far back in time a `Seek` can be done. Defaults to
- * 7 days. Cannot be more than 7 days or less than 10 minutes.
+ * 7 days. Cannot be more than 31 days or less than 10 minutes.
*
*
*
@@ -1234,6 +2130,68 @@ public com.google.pubsub.v1.Subscription.State getState() {
return result == null ? com.google.pubsub.v1.Subscription.State.UNRECOGNIZED : result;
}
+ public static final int ANALYTICS_HUB_SUBSCRIPTION_INFO_FIELD_NUMBER = 23;
+ private com.google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo
+ analyticsHubSubscriptionInfo_;
+ /**
+ *
+ *
+ *
+ * Output only. Information about the associated Analytics Hub subscription.
+ * Only set if the subscritpion is created by Analytics Hub.
+ *
+ *
+ *
+ * .google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo analytics_hub_subscription_info = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the analyticsHubSubscriptionInfo field is set.
+ */
+ @java.lang.Override
+ public boolean hasAnalyticsHubSubscriptionInfo() {
+ return ((bitField0_ & 0x00000100) != 0);
+ }
+ /**
+ *
+ *
+ *
+ * Output only. Information about the associated Analytics Hub subscription.
+ * Only set if the subscritpion is created by Analytics Hub.
+ *
+ *
+ *
+ * .google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo analytics_hub_subscription_info = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The analyticsHubSubscriptionInfo.
+ */
+ @java.lang.Override
+ public com.google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo
+ getAnalyticsHubSubscriptionInfo() {
+ return analyticsHubSubscriptionInfo_ == null
+ ? com.google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo.getDefaultInstance()
+ : analyticsHubSubscriptionInfo_;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. Information about the associated Analytics Hub subscription.
+ * Only set if the subscritpion is created by Analytics Hub.
+ *
+ *
+ *
+ * .google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo analytics_hub_subscription_info = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public com.google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfoOrBuilder
+ getAnalyticsHubSubscriptionInfoOrBuilder() {
+ return analyticsHubSubscriptionInfo_ == null
+ ? com.google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo.getDefaultInstance()
+ : analyticsHubSubscriptionInfo_;
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -1301,6 +2259,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (((bitField0_ & 0x00000004) != 0)) {
output.writeMessage(22, getCloudStorageConfig());
}
+ if (((bitField0_ & 0x00000100) != 0)) {
+ output.writeMessage(23, getAnalyticsHubSubscriptionInfo());
+ }
getUnknownFields().writeTo(output);
}
@@ -1375,6 +2336,11 @@ public int getSerializedSize() {
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(22, getCloudStorageConfig());
}
+ if (((bitField0_ & 0x00000100) != 0)) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 23, getAnalyticsHubSubscriptionInfo());
+ }
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
@@ -1434,6 +2400,11 @@ public boolean equals(final java.lang.Object obj) {
return false;
}
if (state_ != other.state_) return false;
+ if (hasAnalyticsHubSubscriptionInfo() != other.hasAnalyticsHubSubscriptionInfo()) return false;
+ if (hasAnalyticsHubSubscriptionInfo()) {
+ if (!getAnalyticsHubSubscriptionInfo().equals(other.getAnalyticsHubSubscriptionInfo()))
+ return false;
+ }
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -1499,6 +2470,10 @@ public int hashCode() {
}
hash = (37 * hash) + STATE_FIELD_NUMBER;
hash = (53 * hash) + state_;
+ if (hasAnalyticsHubSubscriptionInfo()) {
+ hash = (37 * hash) + ANALYTICS_HUB_SUBSCRIPTION_INFO_FIELD_NUMBER;
+ hash = (53 * hash) + getAnalyticsHubSubscriptionInfo().hashCode();
+ }
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
@@ -1670,6 +2645,7 @@ private void maybeForceBuilderInitialization() {
getDeadLetterPolicyFieldBuilder();
getRetryPolicyFieldBuilder();
getTopicMessageRetentionDurationFieldBuilder();
+ getAnalyticsHubSubscriptionInfoFieldBuilder();
}
}
@@ -1727,6 +2703,11 @@ public Builder clear() {
topicMessageRetentionDurationBuilder_ = null;
}
state_ = 0;
+ analyticsHubSubscriptionInfo_ = null;
+ if (analyticsHubSubscriptionInfoBuilder_ != null) {
+ analyticsHubSubscriptionInfoBuilder_.dispose();
+ analyticsHubSubscriptionInfoBuilder_ = null;
+ }
return this;
}
@@ -1839,6 +2820,13 @@ private void buildPartial0(com.google.pubsub.v1.Subscription result) {
if (((from_bitField0_ & 0x00020000) != 0)) {
result.state_ = state_;
}
+ if (((from_bitField0_ & 0x00040000) != 0)) {
+ result.analyticsHubSubscriptionInfo_ =
+ analyticsHubSubscriptionInfoBuilder_ == null
+ ? analyticsHubSubscriptionInfo_
+ : analyticsHubSubscriptionInfoBuilder_.build();
+ to_bitField0_ |= 0x00000100;
+ }
result.bitField0_ |= to_bitField0_;
}
@@ -1946,6 +2934,9 @@ public Builder mergeFrom(com.google.pubsub.v1.Subscription other) {
if (other.state_ != 0) {
setStateValue(other.getStateValue());
}
+ if (other.hasAnalyticsHubSubscriptionInfo()) {
+ mergeAnalyticsHubSubscriptionInfo(other.getAnalyticsHubSubscriptionInfo());
+ }
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
@@ -2091,6 +3082,13 @@ public Builder mergeFrom(
bitField0_ |= 0x00000010;
break;
} // case 178
+ case 186:
+ {
+ input.readMessage(
+ getAnalyticsHubSubscriptionInfoFieldBuilder().getBuilder(), extensionRegistry);
+ bitField0_ |= 0x00040000;
+ break;
+ } // case 186
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
@@ -3188,7 +4186,7 @@ public Builder clearRetainAckedMessages() {
* backlog, from the moment a message is published. If `retain_acked_messages`
* is true, then this also configures the retention of acknowledged messages,
* and thus configures how far back in time a `Seek` can be done. Defaults to
- * 7 days. Cannot be more than 7 days or less than 10 minutes.
+ * 7 days. Cannot be more than 31 days or less than 10 minutes.
*
*
*
@@ -3208,7 +4206,7 @@ public boolean hasMessageRetentionDuration() {
* backlog, from the moment a message is published. If `retain_acked_messages`
* is true, then this also configures the retention of acknowledged messages,
* and thus configures how far back in time a `Seek` can be done. Defaults to
- * 7 days. Cannot be more than 7 days or less than 10 minutes.
+ * 7 days. Cannot be more than 31 days or less than 10 minutes.
*
*
*
@@ -3234,7 +4232,7 @@ public com.google.protobuf.Duration getMessageRetentionDuration() {
* backlog, from the moment a message is published. If `retain_acked_messages`
* is true, then this also configures the retention of acknowledged messages,
* and thus configures how far back in time a `Seek` can be done. Defaults to
- * 7 days. Cannot be more than 7 days or less than 10 minutes.
+ * 7 days. Cannot be more than 31 days or less than 10 minutes.
*
*
*
@@ -3262,7 +4260,7 @@ public Builder setMessageRetentionDuration(com.google.protobuf.Duration value) {
* backlog, from the moment a message is published. If `retain_acked_messages`
* is true, then this also configures the retention of acknowledged messages,
* and thus configures how far back in time a `Seek` can be done. Defaults to
- * 7 days. Cannot be more than 7 days or less than 10 minutes.
+ * 7 days. Cannot be more than 31 days or less than 10 minutes.
*
*
*
@@ -3288,7 +4286,7 @@ public Builder setMessageRetentionDuration(
* backlog, from the moment a message is published. If `retain_acked_messages`
* is true, then this also configures the retention of acknowledged messages,
* and thus configures how far back in time a `Seek` can be done. Defaults to
- * 7 days. Cannot be more than 7 days or less than 10 minutes.
+ * 7 days. Cannot be more than 31 days or less than 10 minutes.
*
*
*
@@ -3321,7 +4319,7 @@ public Builder mergeMessageRetentionDuration(com.google.protobuf.Duration value)
* backlog, from the moment a message is published. If `retain_acked_messages`
* is true, then this also configures the retention of acknowledged messages,
* and thus configures how far back in time a `Seek` can be done. Defaults to
- * 7 days. Cannot be more than 7 days or less than 10 minutes.
+ * 7 days. Cannot be more than 31 days or less than 10 minutes.
*
*
*
@@ -3346,7 +4344,7 @@ public Builder clearMessageRetentionDuration() {
* backlog, from the moment a message is published. If `retain_acked_messages`
* is true, then this also configures the retention of acknowledged messages,
* and thus configures how far back in time a `Seek` can be done. Defaults to
- * 7 days. Cannot be more than 7 days or less than 10 minutes.
+ * 7 days. Cannot be more than 31 days or less than 10 minutes.
*
*
*
@@ -3366,7 +4364,7 @@ public com.google.protobuf.Duration.Builder getMessageRetentionDurationBuilder()
* backlog, from the moment a message is published. If `retain_acked_messages`
* is true, then this also configures the retention of acknowledged messages,
* and thus configures how far back in time a `Seek` can be done. Defaults to
- * 7 days. Cannot be more than 7 days or less than 10 minutes.
+ * 7 days. Cannot be more than 31 days or less than 10 minutes.
*
*
*
@@ -3390,7 +4388,7 @@ public com.google.protobuf.DurationOrBuilder getMessageRetentionDurationOrBuilde
* backlog, from the moment a message is published. If `retain_acked_messages`
* is true, then this also configures the retention of acknowledged messages,
* and thus configures how far back in time a `Seek` can be done. Defaults to
- * 7 days. Cannot be more than 7 days or less than 10 minutes.
+ * 7 days. Cannot be more than 31 days or less than 10 minutes.
*
*
*
@@ -5063,6 +6061,227 @@ public Builder clearState() {
return this;
}
+ private com.google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo
+ analyticsHubSubscriptionInfo_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo,
+ com.google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo.Builder,
+ com.google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfoOrBuilder>
+ analyticsHubSubscriptionInfoBuilder_;
+ /**
+ *
+ *
+ *
+ * Output only. Information about the associated Analytics Hub subscription.
+ * Only set if the subscritpion is created by Analytics Hub.
+ *
+ *
+ *
+ * .google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo analytics_hub_subscription_info = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the analyticsHubSubscriptionInfo field is set.
+ */
+ public boolean hasAnalyticsHubSubscriptionInfo() {
+ return ((bitField0_ & 0x00040000) != 0);
+ }
+ /**
+ *
+ *
+ *
+ * Output only. Information about the associated Analytics Hub subscription.
+ * Only set if the subscritpion is created by Analytics Hub.
+ *
+ *
+ *
+ * .google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo analytics_hub_subscription_info = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The analyticsHubSubscriptionInfo.
+ */
+ public com.google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo
+ getAnalyticsHubSubscriptionInfo() {
+ if (analyticsHubSubscriptionInfoBuilder_ == null) {
+ return analyticsHubSubscriptionInfo_ == null
+ ? com.google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo.getDefaultInstance()
+ : analyticsHubSubscriptionInfo_;
+ } else {
+ return analyticsHubSubscriptionInfoBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Output only. Information about the associated Analytics Hub subscription.
+ * Only set if the subscritpion is created by Analytics Hub.
+ *
+ *
+ *
+ * .google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo analytics_hub_subscription_info = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder setAnalyticsHubSubscriptionInfo(
+ com.google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo value) {
+ if (analyticsHubSubscriptionInfoBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ analyticsHubSubscriptionInfo_ = value;
+ } else {
+ analyticsHubSubscriptionInfoBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00040000;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. Information about the associated Analytics Hub subscription.
+ * Only set if the subscritpion is created by Analytics Hub.
+ *
+ *
+ *
+ * .google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo analytics_hub_subscription_info = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder setAnalyticsHubSubscriptionInfo(
+ com.google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo.Builder builderForValue) {
+ if (analyticsHubSubscriptionInfoBuilder_ == null) {
+ analyticsHubSubscriptionInfo_ = builderForValue.build();
+ } else {
+ analyticsHubSubscriptionInfoBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00040000;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. Information about the associated Analytics Hub subscription.
+ * Only set if the subscritpion is created by Analytics Hub.
+ *
+ *
+ *
+ * .google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo analytics_hub_subscription_info = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder mergeAnalyticsHubSubscriptionInfo(
+ com.google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo value) {
+ if (analyticsHubSubscriptionInfoBuilder_ == null) {
+ if (((bitField0_ & 0x00040000) != 0)
+ && analyticsHubSubscriptionInfo_ != null
+ && analyticsHubSubscriptionInfo_
+ != com.google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo
+ .getDefaultInstance()) {
+ getAnalyticsHubSubscriptionInfoBuilder().mergeFrom(value);
+ } else {
+ analyticsHubSubscriptionInfo_ = value;
+ }
+ } else {
+ analyticsHubSubscriptionInfoBuilder_.mergeFrom(value);
+ }
+ if (analyticsHubSubscriptionInfo_ != null) {
+ bitField0_ |= 0x00040000;
+ onChanged();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. Information about the associated Analytics Hub subscription.
+ * Only set if the subscritpion is created by Analytics Hub.
+ *
+ *
+ *
+ * .google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo analytics_hub_subscription_info = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder clearAnalyticsHubSubscriptionInfo() {
+ bitField0_ = (bitField0_ & ~0x00040000);
+ analyticsHubSubscriptionInfo_ = null;
+ if (analyticsHubSubscriptionInfoBuilder_ != null) {
+ analyticsHubSubscriptionInfoBuilder_.dispose();
+ analyticsHubSubscriptionInfoBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. Information about the associated Analytics Hub subscription.
+ * Only set if the subscritpion is created by Analytics Hub.
+ *
+ *
+ *
+ * .google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo analytics_hub_subscription_info = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo.Builder
+ getAnalyticsHubSubscriptionInfoBuilder() {
+ bitField0_ |= 0x00040000;
+ onChanged();
+ return getAnalyticsHubSubscriptionInfoFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ *
+ * Output only. Information about the associated Analytics Hub subscription.
+ * Only set if the subscritpion is created by Analytics Hub.
+ *
+ *
+ *
+ * .google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo analytics_hub_subscription_info = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfoOrBuilder
+ getAnalyticsHubSubscriptionInfoOrBuilder() {
+ if (analyticsHubSubscriptionInfoBuilder_ != null) {
+ return analyticsHubSubscriptionInfoBuilder_.getMessageOrBuilder();
+ } else {
+ return analyticsHubSubscriptionInfo_ == null
+ ? com.google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo.getDefaultInstance()
+ : analyticsHubSubscriptionInfo_;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Output only. Information about the associated Analytics Hub subscription.
+ * Only set if the subscritpion is created by Analytics Hub.
+ *
+ *
+ *
+ * .google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo analytics_hub_subscription_info = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo,
+ com.google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo.Builder,
+ com.google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfoOrBuilder>
+ getAnalyticsHubSubscriptionInfoFieldBuilder() {
+ if (analyticsHubSubscriptionInfoBuilder_ == null) {
+ analyticsHubSubscriptionInfoBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo,
+ com.google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo.Builder,
+ com.google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfoOrBuilder>(
+ getAnalyticsHubSubscriptionInfo(), getParentForChildren(), isClean());
+ analyticsHubSubscriptionInfo_ = null;
+ }
+ return analyticsHubSubscriptionInfoBuilder_;
+ }
+
@java.lang.Override
public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SubscriptionOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SubscriptionOrBuilder.java
index f0aec914b..51ea4432a 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SubscriptionOrBuilder.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/SubscriptionOrBuilder.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/pubsub.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
public interface SubscriptionOrBuilder
@@ -279,7 +279,7 @@ public interface SubscriptionOrBuilder
* backlog, from the moment a message is published. If `retain_acked_messages`
* is true, then this also configures the retention of acknowledged messages,
* and thus configures how far back in time a `Seek` can be done. Defaults to
- * 7 days. Cannot be more than 7 days or less than 10 minutes.
+ * 7 days. Cannot be more than 31 days or less than 10 minutes.
*
*
*
@@ -297,7 +297,7 @@ public interface SubscriptionOrBuilder
* backlog, from the moment a message is published. If `retain_acked_messages`
* is true, then this also configures the retention of acknowledged messages,
* and thus configures how far back in time a `Seek` can be done. Defaults to
- * 7 days. Cannot be more than 7 days or less than 10 minutes.
+ * 7 days. Cannot be more than 31 days or less than 10 minutes.
*
*
*
@@ -315,7 +315,7 @@ public interface SubscriptionOrBuilder
* backlog, from the moment a message is published. If `retain_acked_messages`
* is true, then this also configures the retention of acknowledged messages,
* and thus configures how far back in time a `Seek` can be done. Defaults to
- * 7 days. Cannot be more than 7 days or less than 10 minutes.
+ * 7 days. Cannot be more than 31 days or less than 10 minutes.
*
*
*
@@ -743,4 +743,49 @@ java.lang.String getLabelsOrDefault(
* @return The state.
*/
com.google.pubsub.v1.Subscription.State getState();
+
+ /**
+ *
+ *
+ *
+ * Output only. Information about the associated Analytics Hub subscription.
+ * Only set if the subscritpion is created by Analytics Hub.
+ *
+ *
+ *
+ * .google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo analytics_hub_subscription_info = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the analyticsHubSubscriptionInfo field is set.
+ */
+ boolean hasAnalyticsHubSubscriptionInfo();
+ /**
+ *
+ *
+ *
+ * Output only. Information about the associated Analytics Hub subscription.
+ * Only set if the subscritpion is created by Analytics Hub.
+ *
+ *
+ *
+ * .google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo analytics_hub_subscription_info = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The analyticsHubSubscriptionInfo.
+ */
+ com.google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo getAnalyticsHubSubscriptionInfo();
+ /**
+ *
+ *
+ *
+ * Output only. Information about the associated Analytics Hub subscription.
+ * Only set if the subscritpion is created by Analytics Hub.
+ *
+ *
+ *
+ * .google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo analytics_hub_subscription_info = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ com.google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfoOrBuilder
+ getAnalyticsHubSubscriptionInfoOrBuilder();
}
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Topic.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Topic.java
index 34686b53a..0f8477e86 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Topic.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/Topic.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/pubsub.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
/**
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/TopicOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/TopicOrBuilder.java
index 6d003e9f0..38b54f234 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/TopicOrBuilder.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/TopicOrBuilder.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/pubsub.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
public interface TopicOrBuilder
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateSnapshotRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateSnapshotRequest.java
index 8e7ac0c43..adae2a400 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateSnapshotRequest.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateSnapshotRequest.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/pubsub.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
/**
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateSnapshotRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateSnapshotRequestOrBuilder.java
index 636f84656..45bdef5dd 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateSnapshotRequestOrBuilder.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateSnapshotRequestOrBuilder.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/pubsub.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
public interface UpdateSnapshotRequestOrBuilder
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateSubscriptionRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateSubscriptionRequest.java
index b1e13a170..8bf7d85d6 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateSubscriptionRequest.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateSubscriptionRequest.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/pubsub.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
/**
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateSubscriptionRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateSubscriptionRequestOrBuilder.java
index 5fba8ab02..469ccb8e5 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateSubscriptionRequestOrBuilder.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateSubscriptionRequestOrBuilder.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/pubsub.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
public interface UpdateSubscriptionRequestOrBuilder
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateTopicRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateTopicRequest.java
index f09ac1478..fa2713ec6 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateTopicRequest.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateTopicRequest.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/pubsub.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
/**
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateTopicRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateTopicRequestOrBuilder.java
index 967c56743..cbac7a5a5 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateTopicRequestOrBuilder.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/UpdateTopicRequestOrBuilder.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/pubsub.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
public interface UpdateTopicRequestOrBuilder
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateMessageRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateMessageRequest.java
index 0a0802f11..994119324 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateMessageRequest.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateMessageRequest.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/schema.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
/**
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateMessageRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateMessageRequestOrBuilder.java
index 7645082b0..3eb379d3d 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateMessageRequestOrBuilder.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateMessageRequestOrBuilder.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/schema.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
public interface ValidateMessageRequestOrBuilder
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateMessageResponse.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateMessageResponse.java
index 8db831a83..96999cf11 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateMessageResponse.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateMessageResponse.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/schema.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
/**
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateMessageResponseOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateMessageResponseOrBuilder.java
index c5dd24535..f66974da0 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateMessageResponseOrBuilder.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateMessageResponseOrBuilder.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/schema.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
public interface ValidateMessageResponseOrBuilder
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateSchemaRequest.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateSchemaRequest.java
index f40b82c0c..60a92235f 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateSchemaRequest.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateSchemaRequest.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/schema.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
/**
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateSchemaRequestOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateSchemaRequestOrBuilder.java
index 19bb6dfd0..824700d69 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateSchemaRequestOrBuilder.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateSchemaRequestOrBuilder.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/schema.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
public interface ValidateSchemaRequestOrBuilder
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateSchemaResponse.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateSchemaResponse.java
index 603a5d5c6..afc2763c3 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateSchemaResponse.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateSchemaResponse.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/schema.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
/**
diff --git a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateSchemaResponseOrBuilder.java b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateSchemaResponseOrBuilder.java
index 13217bd5f..f9378438b 100644
--- a/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateSchemaResponseOrBuilder.java
+++ b/proto-google-cloud-pubsub-v1/src/main/java/com/google/pubsub/v1/ValidateSchemaResponseOrBuilder.java
@@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/pubsub/v1/schema.proto
-// Protobuf Java Version: 3.25.4
+// Protobuf Java Version: 3.25.5
package com.google.pubsub.v1;
public interface ValidateSchemaResponseOrBuilder
diff --git a/proto-google-cloud-pubsub-v1/src/main/proto/google/pubsub/v1/pubsub.proto b/proto-google-cloud-pubsub-v1/src/main/proto/google/pubsub/v1/pubsub.proto
index b5092087a..54b44b822 100644
--- a/proto-google-cloud-pubsub-v1/src/main/proto/google/pubsub/v1/pubsub.proto
+++ b/proto-google-cloud-pubsub-v1/src/main/proto/google/pubsub/v1/pubsub.proto
@@ -237,11 +237,132 @@ message IngestionDataSourceSettings {
string gcp_service_account = 5 [(google.api.field_behavior) = REQUIRED];
}
+ // Ingestion settings for Cloud Storage.
+ message CloudStorage {
+ // Possible states for ingestion from Cloud Storage.
+ enum State {
+ // Default value. This value is unused.
+ STATE_UNSPECIFIED = 0;
+
+ // Ingestion is active.
+ ACTIVE = 1;
+
+ // Permission denied encountered while calling the Cloud Storage API. This
+ // can happen if the Pub/Sub SA has not been granted the
+ // [appropriate
+ // permissions](https://cloud.google.com/storage/docs/access-control/iam-permissions):
+ // - storage.objects.list: to list the objects in a bucket.
+ // - storage.objects.get: to read the objects in a bucket.
+ // - storage.buckets.get: to verify the bucket exists.
+ CLOUD_STORAGE_PERMISSION_DENIED = 2;
+
+ // Permission denied encountered while publishing to the topic. This can
+ // happen if the Pub/Sub SA has not been granted the [appropriate publish
+ // permissions](https://cloud.google.com/pubsub/docs/access-control#pubsub.publisher)
+ PUBLISH_PERMISSION_DENIED = 3;
+
+ // The provided Cloud Storage bucket doesn't exist.
+ BUCKET_NOT_FOUND = 4;
+
+ // The Cloud Storage bucket has too many objects, ingestion will be
+ // paused.
+ TOO_MANY_OBJECTS = 5;
+ }
+
+ // Configuration for reading Cloud Storage data in text format. Each line of
+ // text as specified by the delimiter will be set to the `data` field of a
+ // Pub/Sub message.
+ message TextFormat {
+ // Optional. When unset, '\n' is used.
+ optional string delimiter = 1 [(google.api.field_behavior) = OPTIONAL];
+ }
+
+ // Configuration for reading Cloud Storage data in Avro binary format. The
+ // bytes of each object will be set to the `data` field of a Pub/Sub
+ // message.
+ message AvroFormat {}
+
+ // Configuration for reading Cloud Storage data written via [Cloud Storage
+ // subscriptions](https://cloud.google.com/pubsub/docs/cloudstorage). The
+ // data and attributes fields of the originally exported Pub/Sub message
+ // will be restored when publishing.
+ message PubSubAvroFormat {}
+
+ // Output only. An output-only field that indicates the state of the Cloud
+ // Storage ingestion source.
+ State state = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Optional. Cloud Storage bucket. The bucket name must be without any
+ // prefix like "gs://". See the [bucket naming requirements]
+ // (https://cloud.google.com/storage/docs/buckets#naming).
+ string bucket = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Defaults to text format.
+ oneof input_format {
+ // Optional. Data from Cloud Storage will be interpreted as text.
+ TextFormat text_format = 3 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Data from Cloud Storage will be interpreted in Avro format.
+ AvroFormat avro_format = 4 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. It will be assumed data from Cloud Storage was written via
+ // [Cloud Storage
+ // subscriptions](https://cloud.google.com/pubsub/docs/cloudstorage).
+ PubSubAvroFormat pubsub_avro_format = 5
+ [(google.api.field_behavior) = OPTIONAL];
+ }
+
+ // Optional. Only objects with a larger or equal creation timestamp will be
+ // ingested.
+ google.protobuf.Timestamp minimum_object_create_time = 6
+ [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Glob pattern used to match objects that will be ingested. If
+ // unset, all objects will be ingested. See the [supported
+ // patterns](https://cloud.google.com/storage/docs/json_api/v1/objects/list#list-objects-and-prefixes-using-glob).
+ string match_glob = 9 [(google.api.field_behavior) = OPTIONAL];
+ }
+
// Only one source type can have settings set.
oneof source {
// Optional. Amazon Kinesis Data Streams.
AwsKinesis aws_kinesis = 1 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Cloud Storage.
+ CloudStorage cloud_storage = 2 [(google.api.field_behavior) = OPTIONAL];
+ }
+
+ // Optional. Platform Logs settings. If unset, no Platform Logs will be
+ // generated.
+ PlatformLogsSettings platform_logs_settings = 4
+ [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Settings for Platform Logs produced by Pub/Sub.
+message PlatformLogsSettings {
+ // Severity levels of Platform Logs.
+ enum Severity {
+ // Default value. Logs level is unspecified. Logs will be disabled.
+ SEVERITY_UNSPECIFIED = 0;
+
+ // Logs will be disabled.
+ DISABLED = 1;
+
+ // Debug logs and higher-severity logs will be written.
+ DEBUG = 2;
+
+ // Info logs and higher-severity logs will be written.
+ INFO = 3;
+
+ // Warning logs and higher-severity logs will be written.
+ WARNING = 4;
+
+ // Only error logs will be written.
+ ERROR = 5;
}
+
+ // Optional. The minimum severity level of Platform Logs that will be written.
+ Severity severity = 1 [(google.api.field_behavior) = OPTIONAL];
}
// A topic resource.
@@ -774,6 +895,20 @@ message Subscription {
RESOURCE_ERROR = 2;
}
+ // Information about an associated Analytics Hub subscription
+ // (https://cloud.google.com/bigquery/docs/analytics-hub-manage-subscriptions).
+ message AnalyticsHubSubscriptionInfo {
+ // Optional. The name of the associated Analytics Hub listing resource.
+ // Pattern:
+ // "projects/{project}/locations/{location}/dataExchanges/{data_exchange}/listings/{listing}"
+ string listing = 1 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The name of the associated Analytics Hub subscription resource.
+ // Pattern:
+ // "projects/{project}/locations/{location}/subscriptions/{subscription}"
+ string subscription = 2 [(google.api.field_behavior) = OPTIONAL];
+ }
+
// Required. The name of the subscription. It must have the format
// `"projects/{project}/subscriptions/{subscription}"`. `{subscription}` must
// start with a letter, and contain only letters (`[A-Za-z]`), numbers
@@ -837,7 +972,7 @@ message Subscription {
// backlog, from the moment a message is published. If `retain_acked_messages`
// is true, then this also configures the retention of acknowledged messages,
// and thus configures how far back in time a `Seek` can be done. Defaults to
- // 7 days. Cannot be more than 7 days or less than 10 minutes.
+ // 7 days. Cannot be more than 31 days or less than 10 minutes.
google.protobuf.Duration message_retention_duration = 8
[(google.api.field_behavior) = OPTIONAL];
@@ -922,6 +1057,11 @@ message Subscription {
// Output only. An output-only field indicating whether or not the
// subscription can receive messages.
State state = 19 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. Information about the associated Analytics Hub subscription.
+ // Only set if the subscritpion is created by Analytics Hub.
+ AnalyticsHubSubscriptionInfo analytics_hub_subscription_info = 23
+ [(google.api.field_behavior) = OUTPUT_ONLY];
}
// A policy that specifies how Pub/Sub retries message delivery.