@@ -110,28 +110,23 @@ message CapacitySpec {
110110 }
111111}
112112
113- // temporal:versioning:min_version=v0.10.0
114113message Capacity {
115114
116- // temporal:versioning:min_version=v0.10.0
117115 oneof current_mode {
118116 // the current capacity is on-demand
119117 OnDemand on_demand = 1 ;
120118 // the current capacity is provisioned
121119 Provisioned provisioned = 2 ;
122120 }
123121
124- // temporal:versioning:min_version=v0.10.0
125122 message OnDemand {
126123 }
127124
128- // temporal:versioning:min_version=v0.10.0
129125 message Provisioned {
130126 // the current unit of the provisioned capacity (Temporal Resource Units)
131127 double current_value = 1 ;
132128 }
133129
134- // temporal:versioning:min_version=v0.10.0
135130 message Request {
136131 // the current state of the capacity request (e.g. in-progress, completed, failed)
137132 State state = 1 ;
@@ -144,7 +139,6 @@ message Capacity {
144139 // The requested capacity specification.
145140 CapacitySpec spec = 5 ;
146141
147- // temporal:versioning:min_version=v0.10.0
148142 enum State {
149143 STATE_CAPACITY_REQUEST_UNSPECIFIED = 0 ;
150144 STATE_CAPACITY_REQUEST_COMPLETED = 1 ;
@@ -154,7 +148,6 @@ message Capacity {
154148 }
155149
156150 // The latest capacity request, if any.
157- // temporal:versioning:min_version=v0.10.0
158151 Request latest_request = 3 ;
159152}
160153
@@ -304,7 +297,6 @@ message Namespace {
304297 map <string , string > tags = 15 ;
305298
306299 // The capacity of the namespace.
307- // temporal:versioning:min_version=v0.10.0
308300 Capacity capacity = 16 ;
309301}
310302
0 commit comments