From b8d2bbbd03ac411fe8f924ab8c9d59b18b705ad7 Mon Sep 17 00:00:00 2001 From: Sanjay Vasandani Date: Mon, 16 Oct 2023 08:33:06 -0700 Subject: [PATCH] Change type of exchange_workflow field in RecurringExchange. This resource type is not used by any service so this is a safe change. --- .../proto/wfa/measurement/api/v2alpha/exchange_step.proto | 6 +++--- .../wfa/measurement/api/v2alpha/recurring_exchange.proto | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/proto/wfa/measurement/api/v2alpha/exchange_step.proto b/src/main/proto/wfa/measurement/api/v2alpha/exchange_step.proto index 91df85a10..fccf8a296 100644 --- a/src/main/proto/wfa/measurement/api/v2alpha/exchange_step.proto +++ b/src/main/proto/wfa/measurement/api/v2alpha/exchange_step.proto @@ -46,7 +46,7 @@ message ExchangeStep { (google.api.field_behavior) = IMMUTABLE ]; - // Current index of the step inside the serialized_exchange_workflow. + // Current index of the step inside `exchange_workflow`. int32 step_index = 5 [ (google.api.field_behavior) = REQUIRED, (google.api.field_behavior) = IMMUTABLE @@ -68,9 +68,9 @@ message ExchangeStep { ]; } - // Serialized denormalized `exchange_workflow` field from the ancestor + // Denormalized `exchange_workflow` field from the ancestor // `RecurringExchange`. - bytes serialized_exchange_workflow = 3 [ + bytes exchange_workflow = 3 [ (google.api.field_behavior) = OUTPUT_ONLY, (google.api.field_behavior) = IMMUTABLE ]; diff --git a/src/main/proto/wfa/measurement/api/v2alpha/recurring_exchange.proto b/src/main/proto/wfa/measurement/api/v2alpha/recurring_exchange.proto index 552d331df..a1eed3267 100644 --- a/src/main/proto/wfa/measurement/api/v2alpha/recurring_exchange.proto +++ b/src/main/proto/wfa/measurement/api/v2alpha/recurring_exchange.proto @@ -41,8 +41,8 @@ message RecurringExchange { // Resource name. string name = 1; - // The ExchangeWorkflow for this recurring exchange. - ExchangeWorkflow exchange_workflow = 2 [ + // Serialized `ExchangeWorkflow` for this `RecurringExchange`. + bytes exchange_workflow = 2 [ (google.api.field_behavior) = REQUIRED, (google.api.field_behavior) = IMMUTABLE ];