Skip to content

Commit

Permalink
docs: clarified where ordering_key will be written if write_metadata …
Browse files Browse the repository at this point in the history
…is set (#1675)

* docs: clarified where ordering_key will be written if write_metadata is set

PiperOrigin-RevId: 551210991

Source-Link: googleapis/googleapis@7c762d7

Source-Link: googleapis/googleapis-gen@15fe4c5
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMTVmZTRjNWZmNWViZDUyOTExYjQyOWIwNWI5OTJlMjMyZjUzMzUxZSJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] committed Jul 26, 2023
1 parent a7eb5c1 commit 462746c
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -682,7 +682,11 @@ public interface AvroConfigOrBuilder
*
* <pre>
* When true, write the subscription name, message_id, publish_time,
* attributes, and ordering_key as additional fields in the output.
* attributes, and ordering_key as additional fields in the output. The
* subscription name, message_id, and publish_time fields are put in their
* own fields while all other message properties other than data (for
* example, an ordering_key, if present) are added as entries in the
* attributes map.
* </pre>
*
* <code>bool write_metadata = 1;</code>
Expand Down Expand Up @@ -741,7 +745,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* <pre>
* When true, write the subscription name, message_id, publish_time,
* attributes, and ordering_key as additional fields in the output.
* attributes, and ordering_key as additional fields in the output. The
* subscription name, message_id, and publish_time fields are put in their
* own fields while all other message properties other than data (for
* example, an ordering_key, if present) are added as entries in the
* attributes map.
* </pre>
*
* <code>bool write_metadata = 1;</code>
Expand Down Expand Up @@ -1104,7 +1112,11 @@ public Builder mergeFrom(
*
* <pre>
* When true, write the subscription name, message_id, publish_time,
* attributes, and ordering_key as additional fields in the output.
* attributes, and ordering_key as additional fields in the output. The
* subscription name, message_id, and publish_time fields are put in their
* own fields while all other message properties other than data (for
* example, an ordering_key, if present) are added as entries in the
* attributes map.
* </pre>
*
* <code>bool write_metadata = 1;</code>
Expand All @@ -1120,7 +1132,11 @@ public boolean getWriteMetadata() {
*
* <pre>
* When true, write the subscription name, message_id, publish_time,
* attributes, and ordering_key as additional fields in the output.
* attributes, and ordering_key as additional fields in the output. The
* subscription name, message_id, and publish_time fields are put in their
* own fields while all other message properties other than data (for
* example, an ordering_key, if present) are added as entries in the
* attributes map.
* </pre>
*
* <code>bool write_metadata = 1;</code>
Expand All @@ -1140,7 +1156,11 @@ public Builder setWriteMetadata(boolean value) {
*
* <pre>
* When true, write the subscription name, message_id, publish_time,
* attributes, and ordering_key as additional fields in the output.
* attributes, and ordering_key as additional fields in the output. The
* subscription name, message_id, and publish_time fields are put in their
* own fields while all other message properties other than data (for
* example, an ordering_key, if present) are added as entries in the
* attributes map.
* </pre>
*
* <code>bool write_metadata = 1;</code>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ public com.google.protobuf.ByteString getSubscriptionBytes() {
* </code>
*
* @deprecated google.pubsub.v1.PullRequest.return_immediately is deprecated. See
* google/pubsub/v1/pubsub.proto;l=1222
* google/pubsub/v1/pubsub.proto;l=1226
* @return The returnImmediately.
*/
@java.lang.Override
Expand Down Expand Up @@ -687,7 +687,7 @@ public Builder setSubscriptionBytes(com.google.protobuf.ByteString value) {
* </code>
*
* @deprecated google.pubsub.v1.PullRequest.return_immediately is deprecated. See
* google/pubsub/v1/pubsub.proto;l=1222
* google/pubsub/v1/pubsub.proto;l=1226
* @return The returnImmediately.
*/
@java.lang.Override
Expand All @@ -713,7 +713,7 @@ public boolean getReturnImmediately() {
* </code>
*
* @deprecated google.pubsub.v1.PullRequest.return_immediately is deprecated. See
* google/pubsub/v1/pubsub.proto;l=1222
* google/pubsub/v1/pubsub.proto;l=1226
* @param value The returnImmediately to set.
* @return This builder for chaining.
*/
Expand Down Expand Up @@ -743,7 +743,7 @@ public Builder setReturnImmediately(boolean value) {
* </code>
*
* @deprecated google.pubsub.v1.PullRequest.return_immediately is deprecated. See
* google/pubsub/v1/pubsub.proto;l=1222
* google/pubsub/v1/pubsub.proto;l=1226
* @return This builder for chaining.
*/
@java.lang.Deprecated
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public interface PullRequestOrBuilder
* </code>
*
* @deprecated google.pubsub.v1.PullRequest.return_immediately is deprecated. See
* google/pubsub/v1/pubsub.proto;l=1222
* google/pubsub/v1/pubsub.proto;l=1226
* @return The returnImmediately.
*/
@java.lang.Deprecated
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1030,7 +1030,11 @@ message CloudStorageConfig {
// Message payloads and metadata will be written to files as an Avro binary.
message AvroConfig {
// When true, write the subscription name, message_id, publish_time,
// attributes, and ordering_key as additional fields in the output.
// attributes, and ordering_key as additional fields in the output. The
// subscription name, message_id, and publish_time fields are put in their
// own fields while all other message properties other than data (for
// example, an ordering_key, if present) are added as entries in the
// attributes map.
bool write_metadata = 1;
}

Expand Down

0 comments on commit 462746c

Please sign in to comment.