From 64d16b2ebb49bc462335f7eda90158c57f13817f Mon Sep 17 00:00:00 2001 From: Vytautas Date: Thu, 11 Nov 2021 11:13:11 +0200 Subject: [PATCH] Compile go proto types (#94) * Compile go proto types * Fix build on M1 macs * License header for generated files --- LICENSE | 2 +- Makefile | 62 +- go.mod | 9 + go.sum | 295 + go/proto/api/v1/common.pb.go | 3296 +++ go/proto/api/v1/common.pb.yarpc.go | 98 + go/proto/api/v1/decision.pb.go | 6651 +++++ go/proto/api/v1/decision.pb.yarpc.go | 429 + go/proto/api/v1/domain.pb.go | 2567 ++ go/proto/api/v1/domain.pb.yarpc.go | 123 + go/proto/api/v1/error.pb.go | 2180 ++ go/proto/api/v1/error.pb.yarpc.go | 62 + go/proto/api/v1/history.pb.go | 21264 ++++++++++++++++ go/proto/api/v1/history.pb.yarpc.go | 557 + go/proto/api/v1/query.pb.go | 964 + go/proto/api/v1/query.pb.yarpc.go | 366 + go/proto/api/v1/service_domain.pb.go | 3835 +++ go/proto/api/v1/service_domain.pb.yarpc.go | 634 + go/proto/api/v1/service_meta.pb.go | 526 + go/proto/api/v1/service_meta.pb.yarpc.go | 276 + go/proto/api/v1/service_visibility.pb.go | 4338 ++++ .../api/v1/service_visibility.pb.yarpc.go | 944 + go/proto/api/v1/service_worker.pb.go | 9376 +++++++ go/proto/api/v1/service_worker.pb.yarpc.go | 1699 ++ go/proto/api/v1/service_workflow.pb.go | 8588 +++++++ go/proto/api/v1/service_workflow.pb.yarpc.go | 1559 ++ go/proto/api/v1/tasklist.pb.go | 1946 ++ go/proto/api/v1/tasklist.pb.yarpc.go | 129 + go/proto/api/v1/visibility.pb.go | 1058 + go/proto/api/v1/visibility.pb.yarpc.go | 361 + go/proto/api/v1/workflow.pb.go | 4922 ++++ go/proto/api/v1/workflow.pb.yarpc.go | 329 + 32 files changed, 79441 insertions(+), 4 deletions(-) create mode 100644 go.mod create mode 100644 go.sum create mode 100644 go/proto/api/v1/common.pb.go create mode 100644 go/proto/api/v1/common.pb.yarpc.go create mode 100644 go/proto/api/v1/decision.pb.go create mode 100644 go/proto/api/v1/decision.pb.yarpc.go create mode 100644 go/proto/api/v1/domain.pb.go create mode 100644 go/proto/api/v1/domain.pb.yarpc.go create mode 100644 go/proto/api/v1/error.pb.go create mode 100644 go/proto/api/v1/error.pb.yarpc.go create mode 100644 go/proto/api/v1/history.pb.go create mode 100644 go/proto/api/v1/history.pb.yarpc.go create mode 100644 go/proto/api/v1/query.pb.go create mode 100644 go/proto/api/v1/query.pb.yarpc.go create mode 100644 go/proto/api/v1/service_domain.pb.go create mode 100644 go/proto/api/v1/service_domain.pb.yarpc.go create mode 100644 go/proto/api/v1/service_meta.pb.go create mode 100644 go/proto/api/v1/service_meta.pb.yarpc.go create mode 100644 go/proto/api/v1/service_visibility.pb.go create mode 100644 go/proto/api/v1/service_visibility.pb.yarpc.go create mode 100644 go/proto/api/v1/service_worker.pb.go create mode 100644 go/proto/api/v1/service_worker.pb.yarpc.go create mode 100644 go/proto/api/v1/service_workflow.pb.go create mode 100644 go/proto/api/v1/service_workflow.pb.yarpc.go create mode 100644 go/proto/api/v1/tasklist.pb.go create mode 100644 go/proto/api/v1/tasklist.pb.yarpc.go create mode 100644 go/proto/api/v1/visibility.pb.go create mode 100644 go/proto/api/v1/visibility.pb.yarpc.go create mode 100644 go/proto/api/v1/workflow.pb.go create mode 100644 go/proto/api/v1/workflow.pb.yarpc.go diff --git a/LICENSE b/LICENSE index 4fe1f5b..40d3a83 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2019 Uber Technologies, Inc. +Copyright (c) 2021 Uber Technologies, Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/Makefile b/Makefile index 290b126..7a0a58e 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,13 @@ -.DEFAULT_GOAL := proto-lint +.DEFAULT_GOAL := all + +# M1 macs may need to switch back to x86, until arm releases are available +EMULATE_X86 = +ifeq ($(shell uname -sm),Darwin arm64) +EMULATE_X86 = arch -x86_64 +endif + +OS = $(shell uname -s) +ARCH = $(shell $(EMULATE_X86) uname -m) BIN := .bin $(BIN): @@ -7,8 +16,6 @@ $(BIN): # https://docs.buf.build/ # changing BUF_VERSION will automatically download and use the specified version. BUF_VERSION = 0.36.0 -OS = $(shell uname -s) -ARCH = $(shell uname -m) BUF_URL = https://github.com/bufbuild/buf/releases/download/v$(BUF_VERSION)/buf-$(OS)-$(ARCH) # use BUF_VERSION_BIN as a bin prerequisite, not "buf", so the correct version will be used. BUF_VERSION_BIN = buf-$(BUF_VERSION) @@ -21,3 +28,52 @@ PROTO_ROOT := proto PROTO_FILES = $(shell find ./$(PROTO_ROOT) -name "*.proto") proto-lint: $(PROTO_FILES) $(BIN)/$(BUF_VERSION_BIN) @$(BIN)/$(BUF_VERSION_BIN) lint + +# https://www.grpc.io/docs/languages/go/quickstart/ +# protoc-gen-gogofast (yarpc) are versioned via tools.go + go.mod (built above) and will be rebuilt as needed. +# changing PROTOC_VERSION will automatically download and use the specified version +PROTOC_VERSION = 3.14.0 +PROTOC_URL = https://github.com/protocolbuffers/protobuf/releases/download/v$(PROTOC_VERSION)/protoc-$(PROTOC_VERSION)-$(subst Darwin,osx,$(OS))-$(ARCH).zip +# the zip contains an /include folder that we need to use to learn the well-known types +PROTOC_UNZIP_DIR = $(BIN)/protoc-$(PROTOC_VERSION)-zip +# use PROTOC_VERSION_BIN as a bin prerequisite, not "protoc", so the correct version will be used. +# otherwise this must be a .PHONY rule, or the buf bin / symlink could become out of date. +PROTOC_VERSION_BIN = protoc-$(PROTOC_VERSION) +$(BIN)/$(PROTOC_VERSION_BIN): | $(BIN) + @echo "downloading protoc $(PROTOC_VERSION)" + @# recover from partial success + @rm -rf $(BIN)/protoc.zip $(PROTOC_UNZIP_DIR) + @# download, unzip, copy to a normal location + @curl -sSL $(PROTOC_URL) -o $(BIN)/protoc.zip + @unzip -q $(BIN)/protoc.zip -d $(PROTOC_UNZIP_DIR) + @cp $(PROTOC_UNZIP_DIR)/bin/protoc $@ + +$(BIN)/protoc-gen-gogofast: go.mod | $(BIN) + go build -o $(BIN)/protoc-gen-gogofast github.com/gogo/protobuf/protoc-gen-gogofast + +$(BIN)/protoc-gen-yarpc-go: go.mod | $(BIN) + go build -o $(BIN)/protoc-gen-yarpc-go go.uber.org/yarpc/encoding/protobuf/protoc-gen-yarpc-go + +PROTO_GO_OUT := go/proto +LICENSE_GO := LICENSE.go +proto-go: $(PROTO_FILES) $(BIN)/$(PROTOC_VERSION_BIN) $(BIN)/protoc-gen-gogofast $(BIN)/protoc-gen-yarpc-go + @mkdir -p $(PROTO_GO_OUT) + @echo "protoc..." + @$(EMULATE_X86) $(BIN)/$(PROTOC_VERSION_BIN) \ + --plugin $(BIN)/protoc-gen-gogofast \ + --plugin $(BIN)/protoc-gen-yarpc-go \ + -I=$(PROTO_ROOT) \ + -I=$(PROTOC_UNZIP_DIR)/include \ + --gogofast_out=Mgoogle/protobuf/duration.proto=github.com/gogo/protobuf/types,Mgoogle/protobuf/field_mask.proto=github.com/gogo/protobuf/types,Mgoogle/protobuf/timestamp.proto=github.com/gogo/protobuf/types,Mgoogle/protobuf/wrappers.proto=github.com/gogo/protobuf/types,paths=source_relative:$(PROTO_GO_OUT) \ + --yarpc-go_out=$(PROTO_GO_OUT) \ + $(PROTO_FILES); + @rm -r $(PROTO_GO_OUT)/api + @mv $(PROTO_GO_OUT)/uber/cadence/api $(PROTO_GO_OUT) + @rm -r $(PROTO_GO_OUT)/uber + + @sed 's/^/\/\/ /' LICENSE > $(LICENSE_GO) + @echo >> $(LICENSE_GO) + find $(PROTO_GO_OUT) -type f -exec sh -c 'cat $(LICENSE_GO) $$1 > $$1.tmp; mv $$1.tmp $$1' sh {} \; + @rm $(LICENSE_GO) + +all: proto-lint proto-go diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..3436862 --- /dev/null +++ b/go.mod @@ -0,0 +1,9 @@ +module github.com/uber/cadence-idl + +go 1.16 + +require ( + github.com/gogo/protobuf v1.3.2 + go.uber.org/fx v1.10.0 + go.uber.org/yarpc v1.55.0 +) diff --git a/go.sum b/go.sum new file mode 100644 index 0000000..93210e7 --- /dev/null +++ b/go.sum @@ -0,0 +1,295 @@ +cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ= +github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= +github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= +github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= +github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= +github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= +github.com/anmitsu/go-shlex v0.0.0-20161002113705-648efa622239 h1:kFOfPq6dUM1hTo4JG6LR5AXSUEsOjtdm0kw0FtQtMJA= +github.com/anmitsu/go-shlex v0.0.0-20161002113705-648efa622239/go.mod h1:2FmKhYUyUczH0OGQWaF5ceTx0UBShxjsH6f8oGKYe2c= +github.com/apache/thrift v0.0.0-20161221203622-b2a4d4ae21c7 h1:Fv9bK1Q+ly/ROk4aJsVMeuIwPel4bEnD8EPiI91nZMg= +github.com/apache/thrift v0.0.0-20161221203622-b2a4d4ae21c7/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ= +github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= +github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8= +github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM= +github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw= +github.com/bmizerany/perks v0.0.0-20141205001514-d9a9656a3a4b h1:AP/Y7sqYicnjGDfD5VcY4CIfh1hRXBUavxrvELjTiOE= +github.com/bmizerany/perks v0.0.0-20141205001514-d9a9656a3a4b/go.mod h1:ac9efd0D1fsDb3EJvhqgXRbFx7bs2wqZ10HQPeU8U/Q= +github.com/cactus/go-statsd-client/statsd v0.0.0-20191106001114-12b4e2b38748/go.mod h1:l/bIBLeOl9eX+wxJAzxS4TveKRtAqlyDpHjhkfO0MEI= +github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= +github.com/cespare/xxhash/v2 v2.1.1 h1:6MnRN8NT7+YBpUIWxHtefFZOKTAPgGjpQSxqLNn0+qY= +github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= +github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= +github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= +github.com/codahale/hdrhistogram v0.0.0-20161010025455-3a0bb77429bd/go.mod h1:sE/e/2PUdi/liOCUjSTXgM1o87ZssimdTWN964YiIeI= +github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= +github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= +github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/dgryski/go-farm v0.0.0-20200201041132-a6ae2369ad13/go.mod h1:SqUrOPUnsFjfmXRMNPybcSiG0BgUW2AuFH8PAnS2iTw= +github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= +github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= +github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= +github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= +github.com/fatih/structtag v1.0.0/go.mod h1:IKitwq45uXL/yqi5mYghiD3w9H6eTOvI9vnk8tXMphA= +github.com/fatih/structtag v1.2.0 h1:/OdNE99OxoI/PqaW/SuSK9uxxT3f/tcSZgon/ssNSx4= +github.com/fatih/structtag v1.2.0/go.mod h1:mBJUNpUnHmRKrKlQQlmCrh5PuhftFbNv8Ys4/aAZl94= +github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568/go.mod h1:xEzjJPgXI435gkrCt3MPfRiAkVrwSbHsst4LCFVfpJc= +github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= +github.com/go-kit/kit v0.9.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= +github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE= +github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V4qmtdjCk= +github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= +github.com/gogo/googleapis v0.0.0-20180223154316-0cd9801be74a/go.mod h1:gf4bu3Q80BeJ6H1S1vYPm8/ELATdvryBaNFGgqEef3s= +github.com/gogo/googleapis v1.3.2 h1:kX1es4djPJrsDhY7aZKJy7aZasdcB5oSOEphMjSB53c= +github.com/gogo/googleapis v1.3.2/go.mod h1:5YRNX2z1oM5gXdAkurHa942MDgEJyk02w4OecKY87+c= +github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= +github.com/gogo/protobuf v1.2.0/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= +github.com/gogo/protobuf v1.3.1/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= +github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q= +github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= +github.com/gogo/status v1.1.0 h1:+eIkrewn5q6b30y+g/BJINVVdi2xH7je5MPJ3ZPK3JA= +github.com/gogo/status v1.1.0/go.mod h1:BFv9nrluPLmrS0EmGVvLaPNmRosr9KapBYd5/hpY1WM= +github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= +github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= +github.com/golang/mock v1.2.0/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= +github.com/golang/mock v1.4.0 h1:Rd1kQnQu0Hq3qvJppYSG0HtP+f5LPPUiDswTLiEegLg= +github.com/golang/mock v1.4.0/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= +github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.3.3-0.20190920234318-1680a479a2cf/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= +github.com/golang/protobuf v1.3.3 h1:gyjaxf+svBWX08ZjK86iN9geUJF0H6gp2IRKX6Nf6/I= +github.com/golang/protobuf v1.3.3/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= +github.com/golang/snappy v0.0.1/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= +github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= +github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= +github.com/google/go-cmp v0.4.0 h1:xsAVV57WRhGj6kEIi8ReJzQlHHqcBYCElAvkovg3B/4= +github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= +github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= +github.com/jessevdk/go-flags v1.4.0 h1:4IU2WS7AumrZ/40jfhf4QVDMsQwqA7VEHozFRrGARJA= +github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= +github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU= +github.com/json-iterator/go v1.1.8/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= +github.com/json-iterator/go v1.1.9/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= +github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w= +github.com/kisielk/errcheck v1.2.0/go.mod h1:/BMXB+zMLi60iA8Vv6Ksmxu/1UDYcXs4uQLJ+jE2L00= +github.com/kisielk/errcheck v1.5.0 h1:e8esj/e4R+SAOwFwN+n3zr0nYeCyeweozKfO23MvHzY= +github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8= +github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= +github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= +github.com/konsorten/go-windows-terminal-sequences v1.0.2/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= +github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc= +github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= +github.com/kr/pretty v0.2.0/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= +github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= +github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= +github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= +github.com/mattn/go-shellwords v1.0.10/go.mod h1:EZzvwXDESEeg03EKmM+RmDnNOPKG4lLtQsUlTZDWQ8Y= +github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= +github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 h1:I0XW9+e1XWDxdcEniV4rQAIOPUGDq67JSCiRCgGCZLI= +github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369/go.mod h1:BSXmuO+STAnVfrANrmjBb36TMTDstsz7MSK+HVaYKv4= +github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= +github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= +github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= +github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= +github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= +github.com/opentracing/opentracing-go v1.1.0 h1:pWlfV3Bxv7k65HYwkikxat0+s3pV4bsqf19k25Ur8rU= +github.com/opentracing/opentracing-go v1.1.0/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= +github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= +github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= +github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= +github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= +github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= +github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/prashantv/protectmem v0.0.0-20171002184600-e20412882b3a h1:AA9vgIBDjMHPC2McaGPojgV2dcI78ZC0TLNhYCXEKH8= +github.com/prashantv/protectmem v0.0.0-20171002184600-e20412882b3a/go.mod h1:lzZQ3Noex5pfAy7mkAeCjcBDteYU85uWWnJ/y6gKU8k= +github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= +github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5FsnadC4Ky3P0J6CfImo= +github.com/prometheus/client_golang v1.3.0/go.mod h1:hJaj2vgQTGQmVCsAACORcieXFeDPbaTKGT+JTgUa3og= +github.com/prometheus/client_golang v1.4.1 h1:FFSuS004yOQEtDdTq+TAOLP5xUq63KqAFYyOi8zA+Y8= +github.com/prometheus/client_golang v1.4.1/go.mod h1:e9GMxYsXl05ICDXkRhurwBS4Q3OK1iX/F2sw+iXX5zU= +github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= +github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= +github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= +github.com/prometheus/client_model v0.1.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= +github.com/prometheus/client_model v0.2.0 h1:uq5h0d+GuxiXLJLNABMgp2qUWDPiLvgCzz2dUR+/W/M= +github.com/prometheus/client_model v0.2.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= +github.com/prometheus/common v0.4.1/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= +github.com/prometheus/common v0.7.0/go.mod h1:DjGbpBbp5NYNiECxcL/VnbXCCaQpKd3tt26CguLLsqA= +github.com/prometheus/common v0.8.0/go.mod h1:PC/OgXc+UN7B4ALwvn1yzVZmVwvhXp5JsbBv6wSv6i0= +github.com/prometheus/common v0.9.1 h1:KOMtN28tlbam3/7ZKEYKHhKoJZYYj3gMH4uc62x7X7U= +github.com/prometheus/common v0.9.1/go.mod h1:yhUN8i9wzaXS3w1O07YhxHEBxD+W35wd8bs7vj7HSQ4= +github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= +github.com/prometheus/procfs v0.0.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= +github.com/prometheus/procfs v0.0.8/go.mod h1:7Qr8sr6344vo1JqZ6HhLceV9o3AJ1Ff+GxbHq6oeK9A= +github.com/prometheus/procfs v0.0.9 h1:DksSrntiTPE63NQuxGcFa1OS/odKfwJu3PJHrhKAy7Q= +github.com/prometheus/procfs v0.0.9/go.mod h1:7Qr8sr6344vo1JqZ6HhLceV9o3AJ1Ff+GxbHq6oeK9A= +github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= +github.com/samuel/go-thrift v0.0.0-20191111193933-5165175b40af h1:EiWVfh8mr40yFZEui2oF0d45KgH48PkB2H0Z0GANvSI= +github.com/samuel/go-thrift v0.0.0-20191111193933-5165175b40af/go.mod h1:Vrkh1pnjV9Bl8c3P9zH0/D4NlOHWP5d4/hF4YTULaec= +github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= +github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= +github.com/streadway/quantile v0.0.0-20150917103942-b0c588724d25 h1:7z3LSn867ex6VSaahyKadf4WtSsJIgne6A1WLOAGM8A= +github.com/streadway/quantile v0.0.0-20150917103942-b0c588724d25/go.mod h1:lbP8tGiBjZ5YWIc2fzuRpTaz0b/53vT6PEs3QuAWzuU= +github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/objx v0.2.0/go.mod h1:qt09Ya8vawLte6SNmTgCsAVtYtaKzEcn8ATUoHMkEqE= +github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= +github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= +github.com/stretchr/testify v1.4.0 h1:2E4SXV/wtOkTonXsotYi4li6zVWxYlZuYNCXe9XRJyk= +github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= +github.com/uber-common/bark v1.2.1/go.mod h1:g0ZuPcD7XiExKHynr93Q742G/sbrdVQkghrqLGOoFuY= +github.com/uber-go/mapdecode v1.0.0 h1:euUEFM9KnuCa1OBixz1xM+FIXmpixyay5DLymceOVrU= +github.com/uber-go/mapdecode v1.0.0/go.mod h1:b5nP15FwXTgpjTjeA9A2uTHXV5UJCl4arwKpP0FP1Hw= +github.com/uber-go/tally v3.3.12+incompatible/go.mod h1:YDTIBxdXyOU/sCWilKB4bgyufu1cEi0jdVnRdxvjnmU= +github.com/uber-go/tally v3.3.15+incompatible h1:9hLSgNBP28CjIaDmAuRTq9qV+UZY+9PcvAkXO4nNMwg= +github.com/uber-go/tally v3.3.15+incompatible/go.mod h1:YDTIBxdXyOU/sCWilKB4bgyufu1cEi0jdVnRdxvjnmU= +github.com/uber/jaeger-client-go v2.22.1+incompatible h1:NHcubEkVbahf9t3p75TOCR83gdUHXjRJvjoBh1yACsM= +github.com/uber/jaeger-client-go v2.22.1+incompatible/go.mod h1:WVhlPFC8FDjOFMMWRy2pZqQJSXxYSwNYOkTr/Z6d3Kk= +github.com/uber/jaeger-lib v2.2.0+incompatible h1:MxZXOiR2JuoANZ3J6DE/U0kSFv/eJ/GfSYVCjK7dyaw= +github.com/uber/jaeger-lib v2.2.0+incompatible/go.mod h1:ComeNDZlWwrWnDv8aPp0Ba6+uUTzImX/AauajbLI56U= +github.com/uber/ringpop-go v0.8.5/go.mod h1:zVI6eGO6L7pG14GkntHsSOfmUAWQ7B4lvmzly4IT4ls= +github.com/uber/tchannel-go v1.16.0 h1:B7dirDs15/vJJYDeoHpv3xaEUjuRZ38Rvt1qq9g7pSo= +github.com/uber/tchannel-go v1.16.0/go.mod h1:Rrgz1eL8kMjW/nEzZos0t+Heq0O4LhnUJVA32OvWKHo= +github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= +github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= +go.uber.org/atomic v1.3.2/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= +go.uber.org/atomic v1.5.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ= +go.uber.org/atomic v1.5.1 h1:rsqfU5vBkVknbhUGbAUwQKR2H4ItV8tjJ+6kJX4cxHM= +go.uber.org/atomic v1.5.1/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ= +go.uber.org/dig v1.8.0 h1:1rR6hnL/bu1EVcjnRDN5kx1vbIjEJDTGhSQ2B3ddpcI= +go.uber.org/dig v1.8.0/go.mod h1:X34SnWGr8Fyla9zQNO2GSO2D+TIuqB14OS8JhYocIyw= +go.uber.org/fx v1.10.0 h1:S2K/H8oNied0Je/mLKdWzEWKZfv9jtxSDm8CnwK+5Fg= +go.uber.org/fx v1.10.0/go.mod h1:vLRicqpG/qQEzno4SYU86iCwfT95EZza+Eba0ItuxqY= +go.uber.org/goleak v0.10.0/go.mod h1:VCZuO8V8mFPlL0F5J5GK1rtHV3DrFcQ1R8ryq7FK0aI= +go.uber.org/goleak v1.0.0/go.mod h1:8a7PlsEVH3e/a/GLqe5IIrQx6GzcnRmZEufDUTk4A7A= +go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0= +go.uber.org/multierr v1.3.0/go.mod h1:VgVr7evmIr6uPjLBxg28wmKNXyqE9akIJ5XnfpiKl+4= +go.uber.org/multierr v1.4.0 h1:f3WCSC2KzAcBXGATIxAB1E2XuCpNU255wNKZ505qi3E= +go.uber.org/multierr v1.4.0/go.mod h1:VgVr7evmIr6uPjLBxg28wmKNXyqE9akIJ5XnfpiKl+4= +go.uber.org/net/metrics v1.3.0 h1:iRLPuVecNYf/wIV+mQaA4IgN8ghifu3q1B4IT6HfwyY= +go.uber.org/net/metrics v1.3.0/go.mod h1:pEQrSDGNWT5IVpekWzee5//uHjI4gmgZFkobfw3bv8I= +go.uber.org/thriftrw v1.25.0 h1:x0Omju0vwFn4JniYUqB0w1nycxjE42wNptB7DAtZG/Y= +go.uber.org/thriftrw v1.25.0/go.mod h1:IcIfSeZgc59AlYb0xr0DlDKIdD7SgjnFpG9BXCPyy9g= +go.uber.org/tools v0.0.0-20190618225709-2cfd321de3ee h1:0mgffUl7nfd+FpvXMVz4IDEaUSmT1ysygQC7qYo7sG4= +go.uber.org/tools v0.0.0-20190618225709-2cfd321de3ee/go.mod h1:vJERXedbb3MVM5f9Ejo0C68/HhF8uaILCdgjnY+goOA= +go.uber.org/yarpc v1.55.0 h1:kd9jbG12t6GkSMRzPx8VcgdQxh8hhjSZX85FtSrzgZ0= +go.uber.org/yarpc v1.55.0/go.mod h1:V2JUPDWHYGNpvyuroYjf0KFjwvBCtcFJLuvZqv7TWA0= +go.uber.org/zap v1.9.1/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= +go.uber.org/zap v1.13.0 h1:nR6NoDBgAf67s68NhaXbsojM+2gxp3S1hWkHDl27pVU= +go.uber.org/zap v1.13.0/go.mod h1:zwrFLgMcdUuIBviXEYEH1YKNaOBnKXsx2IPda5bBwHM= +golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= +golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= +golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= +golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= +golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= +golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= +golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f/go.mod h1:5qLYkcX4OjUUV8bRuDixDT3tpyyb+LUpUlRWLxfhWrs= +golang.org/x/lint v0.0.0-20200130185559-910be7a94367 h1:0IiAsCRByjO2QjX7ZPkw5oU9x+n1YqRL802rjC0c3Aw= +golang.org/x/lint v0.0.0-20200130185559-910be7a94367/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= +golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc= +golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= +golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= +golang.org/x/mod v0.3.0 h1:RM4zey1++hCTbCVQfnWeKs9/IEsaBLA8vTkd0WVtmH4= +golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= +golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190613194153-d28f0bde5980/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200202094626-16171245cfb2/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20201021035429-f5854403a974 h1:IX6qOQeG5uLjB/hjjwjedwfjND0hgjPMMyO1RoIXQNI= +golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= +golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= +golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191220142924-d4481acd189f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200117145432-59e60aa80a0c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200122134326-e047566fdf82/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200212091648-12a6c2dcc1e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f h1:+Nyd8tzPX9R7BWHguqsrbFdRx3WQ/1ib8I44HXV5yTA= +golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= +golang.org/x/text v0.3.3 h1:cokOdA+Jmi5PJGXLlLllQSgYigAEfHXJAERHVMaCc2k= +golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20181030221726-6c7e314b6563/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= +golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= +golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= +golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= +golang.org/x/tools v0.0.0-20191029041327-9cc4af7d6b2c/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191029190741-b9c20aec41a5/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191030062658-86caa796c7ab/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191108193012-7d206e10da11/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191114200427-caa0b0f7d508/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191125144606-a911d9008d1f/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191226212025-6b505debf4bc/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200117215004-fe56e6335763/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200216192241-b320d3a0f5a2/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= +golang.org/x/tools v0.0.0-20210106214847-113979e3529a h1:CB3a9Nez8M13wwlr/E2YtwoU+qYHKfC+JrDa45RXXoQ= +golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= +golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE= +golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= +google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= +google.golang.org/genproto v0.0.0-20180518175338-11a468237815/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= +google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= +google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= +google.golang.org/genproto v0.0.0-20200212174721-66ed5ce911ce h1:1mbrb1tUU+Zmt5C94IGKADBTJZjZXAd+BubWi7r9EiI= +google.golang.org/genproto v0.0.0-20200212174721-66ed5ce911ce/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= +google.golang.org/grpc v1.12.0/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= +google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= +google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= +google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= +google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= +google.golang.org/grpc v1.28.0 h1:bO/TA4OxCOummhSf10siHuG7vJOiwh7SpRpFZDkOgl4= +google.golang.org/grpc v1.28.0/go.mod h1:rpkK4SK4GF4Ach/+MFLZUBavHOvF2JJB5uozKKal+60= +gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= +gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= +gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.2.5/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= +gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +honnef.co/go/tools v0.0.1-2019.2.3 h1:3JgtbtFHMiCmsznwGVTUWbgGov+pVqnlf1dEJTNAXeM= +honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg= +rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= +rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA= diff --git a/go/proto/api/v1/common.pb.go b/go/proto/api/v1/common.pb.go new file mode 100644 index 0000000..0fd9d94 --- /dev/null +++ b/go/proto/api/v1/common.pb.go @@ -0,0 +1,3296 @@ +// The MIT License (MIT) +// +// Copyright (c) 2021 Uber Technologies, Inc. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +// SOFTWARE. + +// Code generated by protoc-gen-gogo. DO NOT EDIT. +// source: uber/cadence/api/v1/common.proto + +package apiv1 + +import ( + encoding_binary "encoding/binary" + fmt "fmt" + proto "github.com/gogo/protobuf/proto" + types "github.com/gogo/protobuf/types" + io "io" + math "math" + math_bits "math/bits" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package + +type EncodingType int32 + +const ( + EncodingType_ENCODING_TYPE_INVALID EncodingType = 0 + EncodingType_ENCODING_TYPE_THRIFTRW EncodingType = 1 + EncodingType_ENCODING_TYPE_JSON EncodingType = 2 + EncodingType_ENCODING_TYPE_PROTO3 EncodingType = 3 +) + +var EncodingType_name = map[int32]string{ + 0: "ENCODING_TYPE_INVALID", + 1: "ENCODING_TYPE_THRIFTRW", + 2: "ENCODING_TYPE_JSON", + 3: "ENCODING_TYPE_PROTO3", +} + +var EncodingType_value = map[string]int32{ + "ENCODING_TYPE_INVALID": 0, + "ENCODING_TYPE_THRIFTRW": 1, + "ENCODING_TYPE_JSON": 2, + "ENCODING_TYPE_PROTO3": 3, +} + +func (x EncodingType) String() string { + return proto.EnumName(EncodingType_name, int32(x)) +} + +func (EncodingType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_0ff151d4a308b356, []int{0} +} + +type WorkflowExecution struct { + WorkflowId string `protobuf:"bytes,1,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"` + RunId string `protobuf:"bytes,2,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *WorkflowExecution) Reset() { *m = WorkflowExecution{} } +func (m *WorkflowExecution) String() string { return proto.CompactTextString(m) } +func (*WorkflowExecution) ProtoMessage() {} +func (*WorkflowExecution) Descriptor() ([]byte, []int) { + return fileDescriptor_0ff151d4a308b356, []int{0} +} +func (m *WorkflowExecution) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *WorkflowExecution) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_WorkflowExecution.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *WorkflowExecution) XXX_Merge(src proto.Message) { + xxx_messageInfo_WorkflowExecution.Merge(m, src) +} +func (m *WorkflowExecution) XXX_Size() int { + return m.Size() +} +func (m *WorkflowExecution) XXX_DiscardUnknown() { + xxx_messageInfo_WorkflowExecution.DiscardUnknown(m) +} + +var xxx_messageInfo_WorkflowExecution proto.InternalMessageInfo + +func (m *WorkflowExecution) GetWorkflowId() string { + if m != nil { + return m.WorkflowId + } + return "" +} + +func (m *WorkflowExecution) GetRunId() string { + if m != nil { + return m.RunId + } + return "" +} + +type WorkflowType struct { + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *WorkflowType) Reset() { *m = WorkflowType{} } +func (m *WorkflowType) String() string { return proto.CompactTextString(m) } +func (*WorkflowType) ProtoMessage() {} +func (*WorkflowType) Descriptor() ([]byte, []int) { + return fileDescriptor_0ff151d4a308b356, []int{1} +} +func (m *WorkflowType) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *WorkflowType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_WorkflowType.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *WorkflowType) XXX_Merge(src proto.Message) { + xxx_messageInfo_WorkflowType.Merge(m, src) +} +func (m *WorkflowType) XXX_Size() int { + return m.Size() +} +func (m *WorkflowType) XXX_DiscardUnknown() { + xxx_messageInfo_WorkflowType.DiscardUnknown(m) +} + +var xxx_messageInfo_WorkflowType proto.InternalMessageInfo + +func (m *WorkflowType) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +type ActivityType struct { + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ActivityType) Reset() { *m = ActivityType{} } +func (m *ActivityType) String() string { return proto.CompactTextString(m) } +func (*ActivityType) ProtoMessage() {} +func (*ActivityType) Descriptor() ([]byte, []int) { + return fileDescriptor_0ff151d4a308b356, []int{2} +} +func (m *ActivityType) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ActivityType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ActivityType.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ActivityType) XXX_Merge(src proto.Message) { + xxx_messageInfo_ActivityType.Merge(m, src) +} +func (m *ActivityType) XXX_Size() int { + return m.Size() +} +func (m *ActivityType) XXX_DiscardUnknown() { + xxx_messageInfo_ActivityType.DiscardUnknown(m) +} + +var xxx_messageInfo_ActivityType proto.InternalMessageInfo + +func (m *ActivityType) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +type Payload struct { + Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Payload) Reset() { *m = Payload{} } +func (m *Payload) String() string { return proto.CompactTextString(m) } +func (*Payload) ProtoMessage() {} +func (*Payload) Descriptor() ([]byte, []int) { + return fileDescriptor_0ff151d4a308b356, []int{3} +} +func (m *Payload) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Payload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Payload.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Payload) XXX_Merge(src proto.Message) { + xxx_messageInfo_Payload.Merge(m, src) +} +func (m *Payload) XXX_Size() int { + return m.Size() +} +func (m *Payload) XXX_DiscardUnknown() { + xxx_messageInfo_Payload.DiscardUnknown(m) +} + +var xxx_messageInfo_Payload proto.InternalMessageInfo + +func (m *Payload) GetData() []byte { + if m != nil { + return m.Data + } + return nil +} + +type Failure struct { + Reason string `protobuf:"bytes,1,opt,name=reason,proto3" json:"reason,omitempty"` + Details []byte `protobuf:"bytes,2,opt,name=details,proto3" json:"details,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Failure) Reset() { *m = Failure{} } +func (m *Failure) String() string { return proto.CompactTextString(m) } +func (*Failure) ProtoMessage() {} +func (*Failure) Descriptor() ([]byte, []int) { + return fileDescriptor_0ff151d4a308b356, []int{4} +} +func (m *Failure) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Failure) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Failure.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Failure) XXX_Merge(src proto.Message) { + xxx_messageInfo_Failure.Merge(m, src) +} +func (m *Failure) XXX_Size() int { + return m.Size() +} +func (m *Failure) XXX_DiscardUnknown() { + xxx_messageInfo_Failure.DiscardUnknown(m) +} + +var xxx_messageInfo_Failure proto.InternalMessageInfo + +func (m *Failure) GetReason() string { + if m != nil { + return m.Reason + } + return "" +} + +func (m *Failure) GetDetails() []byte { + if m != nil { + return m.Details + } + return nil +} + +type Memo struct { + Fields map[string]*Payload `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Memo) Reset() { *m = Memo{} } +func (m *Memo) String() string { return proto.CompactTextString(m) } +func (*Memo) ProtoMessage() {} +func (*Memo) Descriptor() ([]byte, []int) { + return fileDescriptor_0ff151d4a308b356, []int{5} +} +func (m *Memo) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Memo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Memo.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Memo) XXX_Merge(src proto.Message) { + xxx_messageInfo_Memo.Merge(m, src) +} +func (m *Memo) XXX_Size() int { + return m.Size() +} +func (m *Memo) XXX_DiscardUnknown() { + xxx_messageInfo_Memo.DiscardUnknown(m) +} + +var xxx_messageInfo_Memo proto.InternalMessageInfo + +func (m *Memo) GetFields() map[string]*Payload { + if m != nil { + return m.Fields + } + return nil +} + +type Header struct { + Fields map[string]*Payload `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Header) Reset() { *m = Header{} } +func (m *Header) String() string { return proto.CompactTextString(m) } +func (*Header) ProtoMessage() {} +func (*Header) Descriptor() ([]byte, []int) { + return fileDescriptor_0ff151d4a308b356, []int{6} +} +func (m *Header) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Header) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Header.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Header) XXX_Merge(src proto.Message) { + xxx_messageInfo_Header.Merge(m, src) +} +func (m *Header) XXX_Size() int { + return m.Size() +} +func (m *Header) XXX_DiscardUnknown() { + xxx_messageInfo_Header.DiscardUnknown(m) +} + +var xxx_messageInfo_Header proto.InternalMessageInfo + +func (m *Header) GetFields() map[string]*Payload { + if m != nil { + return m.Fields + } + return nil +} + +type SearchAttributes struct { + IndexedFields map[string]*Payload `protobuf:"bytes,1,rep,name=indexed_fields,json=indexedFields,proto3" json:"indexed_fields,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SearchAttributes) Reset() { *m = SearchAttributes{} } +func (m *SearchAttributes) String() string { return proto.CompactTextString(m) } +func (*SearchAttributes) ProtoMessage() {} +func (*SearchAttributes) Descriptor() ([]byte, []int) { + return fileDescriptor_0ff151d4a308b356, []int{7} +} +func (m *SearchAttributes) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *SearchAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_SearchAttributes.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *SearchAttributes) XXX_Merge(src proto.Message) { + xxx_messageInfo_SearchAttributes.Merge(m, src) +} +func (m *SearchAttributes) XXX_Size() int { + return m.Size() +} +func (m *SearchAttributes) XXX_DiscardUnknown() { + xxx_messageInfo_SearchAttributes.DiscardUnknown(m) +} + +var xxx_messageInfo_SearchAttributes proto.InternalMessageInfo + +func (m *SearchAttributes) GetIndexedFields() map[string]*Payload { + if m != nil { + return m.IndexedFields + } + return nil +} + +type DataBlob struct { + EncodingType EncodingType `protobuf:"varint,1,opt,name=encoding_type,json=encodingType,proto3,enum=uber.cadence.api.v1.EncodingType" json:"encoding_type,omitempty"` + Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DataBlob) Reset() { *m = DataBlob{} } +func (m *DataBlob) String() string { return proto.CompactTextString(m) } +func (*DataBlob) ProtoMessage() {} +func (*DataBlob) Descriptor() ([]byte, []int) { + return fileDescriptor_0ff151d4a308b356, []int{8} +} +func (m *DataBlob) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *DataBlob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_DataBlob.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *DataBlob) XXX_Merge(src proto.Message) { + xxx_messageInfo_DataBlob.Merge(m, src) +} +func (m *DataBlob) XXX_Size() int { + return m.Size() +} +func (m *DataBlob) XXX_DiscardUnknown() { + xxx_messageInfo_DataBlob.DiscardUnknown(m) +} + +var xxx_messageInfo_DataBlob proto.InternalMessageInfo + +func (m *DataBlob) GetEncodingType() EncodingType { + if m != nil { + return m.EncodingType + } + return EncodingType_ENCODING_TYPE_INVALID +} + +func (m *DataBlob) GetData() []byte { + if m != nil { + return m.Data + } + return nil +} + +type WorkerVersionInfo struct { + Impl string `protobuf:"bytes,1,opt,name=impl,proto3" json:"impl,omitempty"` + FeatureVersion string `protobuf:"bytes,2,opt,name=feature_version,json=featureVersion,proto3" json:"feature_version,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *WorkerVersionInfo) Reset() { *m = WorkerVersionInfo{} } +func (m *WorkerVersionInfo) String() string { return proto.CompactTextString(m) } +func (*WorkerVersionInfo) ProtoMessage() {} +func (*WorkerVersionInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_0ff151d4a308b356, []int{9} +} +func (m *WorkerVersionInfo) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *WorkerVersionInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_WorkerVersionInfo.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *WorkerVersionInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_WorkerVersionInfo.Merge(m, src) +} +func (m *WorkerVersionInfo) XXX_Size() int { + return m.Size() +} +func (m *WorkerVersionInfo) XXX_DiscardUnknown() { + xxx_messageInfo_WorkerVersionInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_WorkerVersionInfo proto.InternalMessageInfo + +func (m *WorkerVersionInfo) GetImpl() string { + if m != nil { + return m.Impl + } + return "" +} + +func (m *WorkerVersionInfo) GetFeatureVersion() string { + if m != nil { + return m.FeatureVersion + } + return "" +} + +type SupportedClientVersions struct { + // Indicates the highest Go SDK version server will accept requests from. + GoSdk string `protobuf:"bytes,1,opt,name=go_sdk,json=goSdk,proto3" json:"go_sdk,omitempty"` + // Indicates the highest Java SDK version server will accept requests from. + JavaSdk string `protobuf:"bytes,2,opt,name=java_sdk,json=javaSdk,proto3" json:"java_sdk,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SupportedClientVersions) Reset() { *m = SupportedClientVersions{} } +func (m *SupportedClientVersions) String() string { return proto.CompactTextString(m) } +func (*SupportedClientVersions) ProtoMessage() {} +func (*SupportedClientVersions) Descriptor() ([]byte, []int) { + return fileDescriptor_0ff151d4a308b356, []int{10} +} +func (m *SupportedClientVersions) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *SupportedClientVersions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_SupportedClientVersions.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *SupportedClientVersions) XXX_Merge(src proto.Message) { + xxx_messageInfo_SupportedClientVersions.Merge(m, src) +} +func (m *SupportedClientVersions) XXX_Size() int { + return m.Size() +} +func (m *SupportedClientVersions) XXX_DiscardUnknown() { + xxx_messageInfo_SupportedClientVersions.DiscardUnknown(m) +} + +var xxx_messageInfo_SupportedClientVersions proto.InternalMessageInfo + +func (m *SupportedClientVersions) GetGoSdk() string { + if m != nil { + return m.GoSdk + } + return "" +} + +func (m *SupportedClientVersions) GetJavaSdk() string { + if m != nil { + return m.JavaSdk + } + return "" +} + +type RetryPolicy struct { + // Interval of the first retry. If backoffCoefficient is 1.0 then it is used for all retries. + InitialInterval *types.Duration `protobuf:"bytes,1,opt,name=initial_interval,json=initialInterval,proto3" json:"initial_interval,omitempty"` + // Coefficient used to calculate the next retry interval. + // The next retry interval is previous interval multiplied by the coefficient. + // Must be 1 or larger. + BackoffCoefficient float64 `protobuf:"fixed64,2,opt,name=backoff_coefficient,json=backoffCoefficient,proto3" json:"backoff_coefficient,omitempty"` + // Maximum interval between retries. Exponential backoff leads to interval increase. + // This value is the cap of the increase. Default is 100x of initial interval. + MaximumInterval *types.Duration `protobuf:"bytes,3,opt,name=maximum_interval,json=maximumInterval,proto3" json:"maximum_interval,omitempty"` + // Maximum number of attempts. When exceeded the retries stop even if not expired yet. + // Must be 1 or bigger. Default is unlimited. + MaximumAttempts int32 `protobuf:"varint,4,opt,name=maximum_attempts,json=maximumAttempts,proto3" json:"maximum_attempts,omitempty"` + // Non-Retryable errors. Will stop retrying if error type matches this list. + NonRetryableErrorReasons []string `protobuf:"bytes,5,rep,name=non_retryable_error_reasons,json=nonRetryableErrorReasons,proto3" json:"non_retryable_error_reasons,omitempty"` + // Expiration time for the whole retry process. + ExpirationInterval *types.Duration `protobuf:"bytes,6,opt,name=expiration_interval,json=expirationInterval,proto3" json:"expiration_interval,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RetryPolicy) Reset() { *m = RetryPolicy{} } +func (m *RetryPolicy) String() string { return proto.CompactTextString(m) } +func (*RetryPolicy) ProtoMessage() {} +func (*RetryPolicy) Descriptor() ([]byte, []int) { + return fileDescriptor_0ff151d4a308b356, []int{11} +} +func (m *RetryPolicy) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RetryPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RetryPolicy.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RetryPolicy) XXX_Merge(src proto.Message) { + xxx_messageInfo_RetryPolicy.Merge(m, src) +} +func (m *RetryPolicy) XXX_Size() int { + return m.Size() +} +func (m *RetryPolicy) XXX_DiscardUnknown() { + xxx_messageInfo_RetryPolicy.DiscardUnknown(m) +} + +var xxx_messageInfo_RetryPolicy proto.InternalMessageInfo + +func (m *RetryPolicy) GetInitialInterval() *types.Duration { + if m != nil { + return m.InitialInterval + } + return nil +} + +func (m *RetryPolicy) GetBackoffCoefficient() float64 { + if m != nil { + return m.BackoffCoefficient + } + return 0 +} + +func (m *RetryPolicy) GetMaximumInterval() *types.Duration { + if m != nil { + return m.MaximumInterval + } + return nil +} + +func (m *RetryPolicy) GetMaximumAttempts() int32 { + if m != nil { + return m.MaximumAttempts + } + return 0 +} + +func (m *RetryPolicy) GetNonRetryableErrorReasons() []string { + if m != nil { + return m.NonRetryableErrorReasons + } + return nil +} + +func (m *RetryPolicy) GetExpirationInterval() *types.Duration { + if m != nil { + return m.ExpirationInterval + } + return nil +} + +func init() { + proto.RegisterEnum("uber.cadence.api.v1.EncodingType", EncodingType_name, EncodingType_value) + proto.RegisterType((*WorkflowExecution)(nil), "uber.cadence.api.v1.WorkflowExecution") + proto.RegisterType((*WorkflowType)(nil), "uber.cadence.api.v1.WorkflowType") + proto.RegisterType((*ActivityType)(nil), "uber.cadence.api.v1.ActivityType") + proto.RegisterType((*Payload)(nil), "uber.cadence.api.v1.Payload") + proto.RegisterType((*Failure)(nil), "uber.cadence.api.v1.Failure") + proto.RegisterType((*Memo)(nil), "uber.cadence.api.v1.Memo") + proto.RegisterMapType((map[string]*Payload)(nil), "uber.cadence.api.v1.Memo.FieldsEntry") + proto.RegisterType((*Header)(nil), "uber.cadence.api.v1.Header") + proto.RegisterMapType((map[string]*Payload)(nil), "uber.cadence.api.v1.Header.FieldsEntry") + proto.RegisterType((*SearchAttributes)(nil), "uber.cadence.api.v1.SearchAttributes") + proto.RegisterMapType((map[string]*Payload)(nil), "uber.cadence.api.v1.SearchAttributes.IndexedFieldsEntry") + proto.RegisterType((*DataBlob)(nil), "uber.cadence.api.v1.DataBlob") + proto.RegisterType((*WorkerVersionInfo)(nil), "uber.cadence.api.v1.WorkerVersionInfo") + proto.RegisterType((*SupportedClientVersions)(nil), "uber.cadence.api.v1.SupportedClientVersions") + proto.RegisterType((*RetryPolicy)(nil), "uber.cadence.api.v1.RetryPolicy") +} + +func init() { proto.RegisterFile("uber/cadence/api/v1/common.proto", fileDescriptor_0ff151d4a308b356) } + +var fileDescriptor_0ff151d4a308b356 = []byte{ + // 829 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x55, 0x4f, 0x6f, 0xe3, 0x44, + 0x14, 0xc7, 0xcd, 0x26, 0xed, 0xbe, 0x64, 0xbb, 0x61, 0xca, 0x76, 0xd3, 0x02, 0x25, 0x44, 0x42, + 0x5b, 0x38, 0xd8, 0x6a, 0xf6, 0xb2, 0x62, 0xb5, 0x42, 0x69, 0x93, 0xb2, 0xde, 0x85, 0x36, 0x72, + 0xa2, 0xad, 0xe0, 0x80, 0x35, 0xb6, 0x9f, 0xb3, 0x43, 0xec, 0x19, 0x6b, 0x3c, 0x4e, 0x9b, 0x1b, + 0x9f, 0x84, 0x03, 0x9f, 0x86, 0x23, 0x12, 0x5f, 0x00, 0xf5, 0x93, 0x20, 0xdb, 0x93, 0x26, 0x59, + 0x82, 0xf6, 0x82, 0xb8, 0xcd, 0xbc, 0xdf, 0x9f, 0xf9, 0x3d, 0xeb, 0xcd, 0x18, 0xda, 0x99, 0x87, + 0xd2, 0xf2, 0x69, 0x80, 0xdc, 0x47, 0x8b, 0x26, 0xcc, 0x9a, 0x9d, 0x58, 0xbe, 0x88, 0x63, 0xc1, + 0xcd, 0x44, 0x0a, 0x25, 0xc8, 0x5e, 0xce, 0x30, 0x35, 0xc3, 0xa4, 0x09, 0x33, 0x67, 0x27, 0x87, + 0x47, 0x13, 0x21, 0x26, 0x11, 0x5a, 0x05, 0xc5, 0xcb, 0x42, 0x2b, 0xc8, 0x24, 0x55, 0x6c, 0x21, + 0xea, 0xbc, 0x86, 0x0f, 0xaf, 0x84, 0x9c, 0x86, 0x91, 0xb8, 0x1e, 0xdc, 0xa0, 0x9f, 0xe5, 0x10, + 0xf9, 0x0c, 0xea, 0xd7, 0xba, 0xe8, 0xb2, 0xa0, 0x65, 0xb4, 0x8d, 0xe3, 0xfb, 0x0e, 0x2c, 0x4a, + 0x76, 0x40, 0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 0xcd, 0x11, 0x52, 0xe9, 0xbf, 0xed, 0x29, + 0x25, 0x99, 0x97, 0x29, 0x4c, 0x89, 0x0b, 0xbb, 0x8c, 0x07, 0x78, 0x83, 0x81, 0xbb, 0x16, 0xfb, + 0xd9, 0x46, 0xd7, 0x77, 0xe5, 0xa6, 0x5d, 0x6a, 0x57, 0xfb, 0x78, 0xc0, 0x56, 0x6b, 0x87, 0x3f, + 0x01, 0xf9, 0x27, 0xe9, 0x3f, 0xec, 0x2a, 0x84, 0x9d, 0x3e, 0x55, 0xf4, 0x34, 0x12, 0x1e, 0x39, + 0x87, 0x07, 0xc8, 0x7d, 0x11, 0x30, 0x3e, 0x71, 0xd5, 0x3c, 0x29, 0x07, 0x74, 0xb7, 0xfb, 0xf9, + 0x46, 0xaf, 0x81, 0x66, 0xe6, 0x13, 0xed, 0x34, 0x70, 0x65, 0x77, 0x37, 0xc0, 0x5b, 0x2b, 0x03, + 0x3c, 0x2c, 0x2f, 0x1d, 0xca, 0x37, 0x28, 0x53, 0x26, 0xb8, 0xcd, 0x43, 0x91, 0x13, 0x59, 0x9c, + 0x44, 0x8b, 0x8b, 0x90, 0xaf, 0xc9, 0x13, 0x78, 0x18, 0x22, 0x55, 0x99, 0x44, 0x77, 0x56, 0x52, + 0xf5, 0x85, 0xdb, 0xd5, 0x65, 0x6d, 0xd0, 0x79, 0x0d, 0x8f, 0x47, 0x59, 0x92, 0x08, 0xa9, 0x30, + 0x38, 0x8b, 0x18, 0x72, 0xa5, 0x91, 0x34, 0xbf, 0xab, 0x13, 0xe1, 0xa6, 0xc1, 0x54, 0x3b, 0x57, + 0x27, 0x62, 0x14, 0x4c, 0xc9, 0x01, 0xec, 0xfc, 0x4c, 0x67, 0xb4, 0x00, 0x4a, 0xcf, 0xed, 0x7c, + 0x3f, 0x0a, 0xa6, 0x9d, 0x5f, 0x2a, 0x50, 0x77, 0x50, 0xc9, 0xf9, 0x50, 0x44, 0xcc, 0x9f, 0x93, + 0x3e, 0x34, 0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x74, 0xec, 0xf3, 0xb1, 0x73, 0xd5, 0x34, 0xc8, 0x3e, 0x90, + 0x75, 0xec, 0xd5, 0xe8, 0xf2, 0xa2, 0xb9, 0x45, 0x5a, 0xf0, 0xd1, 0x7a, 0x7d, 0xe8, 0x5c, 0x8e, + 0x2f, 0x9f, 0x36, 0x2b, 0xa7, 0xde, 0xef, 0xb7, 0x47, 0xc6, 0x1f, 0xb7, 0x47, 0xc6, 0x5f, 0xb7, + 0x47, 0x06, 0x3c, 0xf6, 0x45, 0xbc, 0x69, 0xe0, 0x4f, 0x77, 0x7a, 0x09, 0x1b, 0xe6, 0x9d, 0x0c, + 0x8d, 0x1f, 0xad, 0x09, 0x53, 0x6f, 0x33, 0xcf, 0xf4, 0x45, 0x6c, 0xad, 0xfd, 0xa4, 0xcc, 0x09, + 0xf2, 0xf2, 0xc7, 0xa3, 0xff, 0x57, 0xcf, 0x69, 0xc2, 0x66, 0x27, 0x5e, 0xad, 0xa8, 0x3d, 0xfd, + 0x3b, 0x00, 0x00, 0xff, 0xff, 0xf9, 0x8a, 0xf4, 0x9b, 0xd3, 0x06, 0x00, 0x00, +} + +func (m *WorkflowExecution) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *WorkflowExecution) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *WorkflowExecution) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.RunId) > 0 { + i -= len(m.RunId) + copy(dAtA[i:], m.RunId) + i = encodeVarintCommon(dAtA, i, uint64(len(m.RunId))) + i-- + dAtA[i] = 0x12 + } + if len(m.WorkflowId) > 0 { + i -= len(m.WorkflowId) + copy(dAtA[i:], m.WorkflowId) + i = encodeVarintCommon(dAtA, i, uint64(len(m.WorkflowId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *WorkflowType) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *WorkflowType) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *WorkflowType) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarintCommon(dAtA, i, uint64(len(m.Name))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ActivityType) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ActivityType) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ActivityType) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarintCommon(dAtA, i, uint64(len(m.Name))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *Payload) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Payload) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Payload) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.Data) > 0 { + i -= len(m.Data) + copy(dAtA[i:], m.Data) + i = encodeVarintCommon(dAtA, i, uint64(len(m.Data))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *Failure) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Failure) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Failure) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.Details) > 0 { + i -= len(m.Details) + copy(dAtA[i:], m.Details) + i = encodeVarintCommon(dAtA, i, uint64(len(m.Details))) + i-- + dAtA[i] = 0x12 + } + if len(m.Reason) > 0 { + i -= len(m.Reason) + copy(dAtA[i:], m.Reason) + i = encodeVarintCommon(dAtA, i, uint64(len(m.Reason))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *Memo) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Memo) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Memo) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.Fields) > 0 { + for k := range m.Fields { + v := m.Fields[k] + baseI := i + if v != nil { + { + size, err := v.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintCommon(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarintCommon(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarintCommon(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *Header) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Header) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Header) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.Fields) > 0 { + for k := range m.Fields { + v := m.Fields[k] + baseI := i + if v != nil { + { + size, err := v.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintCommon(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarintCommon(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarintCommon(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *SearchAttributes) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *SearchAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *SearchAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.IndexedFields) > 0 { + for k := range m.IndexedFields { + v := m.IndexedFields[k] + baseI := i + if v != nil { + { + size, err := v.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintCommon(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarintCommon(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarintCommon(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *DataBlob) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *DataBlob) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *DataBlob) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.Data) > 0 { + i -= len(m.Data) + copy(dAtA[i:], m.Data) + i = encodeVarintCommon(dAtA, i, uint64(len(m.Data))) + i-- + dAtA[i] = 0x12 + } + if m.EncodingType != 0 { + i = encodeVarintCommon(dAtA, i, uint64(m.EncodingType)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *WorkerVersionInfo) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *WorkerVersionInfo) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *WorkerVersionInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.FeatureVersion) > 0 { + i -= len(m.FeatureVersion) + copy(dAtA[i:], m.FeatureVersion) + i = encodeVarintCommon(dAtA, i, uint64(len(m.FeatureVersion))) + i-- + dAtA[i] = 0x12 + } + if len(m.Impl) > 0 { + i -= len(m.Impl) + copy(dAtA[i:], m.Impl) + i = encodeVarintCommon(dAtA, i, uint64(len(m.Impl))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *SupportedClientVersions) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *SupportedClientVersions) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *SupportedClientVersions) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.JavaSdk) > 0 { + i -= len(m.JavaSdk) + copy(dAtA[i:], m.JavaSdk) + i = encodeVarintCommon(dAtA, i, uint64(len(m.JavaSdk))) + i-- + dAtA[i] = 0x12 + } + if len(m.GoSdk) > 0 { + i -= len(m.GoSdk) + copy(dAtA[i:], m.GoSdk) + i = encodeVarintCommon(dAtA, i, uint64(len(m.GoSdk))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *RetryPolicy) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RetryPolicy) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *RetryPolicy) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.ExpirationInterval != nil { + { + size, err := m.ExpirationInterval.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintCommon(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x32 + } + if len(m.NonRetryableErrorReasons) > 0 { + for iNdEx := len(m.NonRetryableErrorReasons) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.NonRetryableErrorReasons[iNdEx]) + copy(dAtA[i:], m.NonRetryableErrorReasons[iNdEx]) + i = encodeVarintCommon(dAtA, i, uint64(len(m.NonRetryableErrorReasons[iNdEx]))) + i-- + dAtA[i] = 0x2a + } + } + if m.MaximumAttempts != 0 { + i = encodeVarintCommon(dAtA, i, uint64(m.MaximumAttempts)) + i-- + dAtA[i] = 0x20 + } + if m.MaximumInterval != nil { + { + size, err := m.MaximumInterval.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintCommon(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + if m.BackoffCoefficient != 0 { + i -= 8 + encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.BackoffCoefficient)))) + i-- + dAtA[i] = 0x11 + } + if m.InitialInterval != nil { + { + size, err := m.InitialInterval.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintCommon(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func encodeVarintCommon(dAtA []byte, offset int, v uint64) int { + offset -= sovCommon(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *WorkflowExecution) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.WorkflowId) + if l > 0 { + n += 1 + l + sovCommon(uint64(l)) + } + l = len(m.RunId) + if l > 0 { + n += 1 + l + sovCommon(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *WorkflowType) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Name) + if l > 0 { + n += 1 + l + sovCommon(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *ActivityType) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Name) + if l > 0 { + n += 1 + l + sovCommon(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *Payload) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Data) + if l > 0 { + n += 1 + l + sovCommon(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *Failure) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Reason) + if l > 0 { + n += 1 + l + sovCommon(uint64(l)) + } + l = len(m.Details) + if l > 0 { + n += 1 + l + sovCommon(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *Memo) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Fields) > 0 { + for k, v := range m.Fields { + _ = k + _ = v + l = 0 + if v != nil { + l = v.Size() + l += 1 + sovCommon(uint64(l)) + } + mapEntrySize := 1 + len(k) + sovCommon(uint64(len(k))) + l + n += mapEntrySize + 1 + sovCommon(uint64(mapEntrySize)) + } + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *Header) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Fields) > 0 { + for k, v := range m.Fields { + _ = k + _ = v + l = 0 + if v != nil { + l = v.Size() + l += 1 + sovCommon(uint64(l)) + } + mapEntrySize := 1 + len(k) + sovCommon(uint64(len(k))) + l + n += mapEntrySize + 1 + sovCommon(uint64(mapEntrySize)) + } + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *SearchAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.IndexedFields) > 0 { + for k, v := range m.IndexedFields { + _ = k + _ = v + l = 0 + if v != nil { + l = v.Size() + l += 1 + sovCommon(uint64(l)) + } + mapEntrySize := 1 + len(k) + sovCommon(uint64(len(k))) + l + n += mapEntrySize + 1 + sovCommon(uint64(mapEntrySize)) + } + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *DataBlob) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.EncodingType != 0 { + n += 1 + sovCommon(uint64(m.EncodingType)) + } + l = len(m.Data) + if l > 0 { + n += 1 + l + sovCommon(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *WorkerVersionInfo) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Impl) + if l > 0 { + n += 1 + l + sovCommon(uint64(l)) + } + l = len(m.FeatureVersion) + if l > 0 { + n += 1 + l + sovCommon(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *SupportedClientVersions) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.GoSdk) + if l > 0 { + n += 1 + l + sovCommon(uint64(l)) + } + l = len(m.JavaSdk) + if l > 0 { + n += 1 + l + sovCommon(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *RetryPolicy) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.InitialInterval != nil { + l = m.InitialInterval.Size() + n += 1 + l + sovCommon(uint64(l)) + } + if m.BackoffCoefficient != 0 { + n += 9 + } + if m.MaximumInterval != nil { + l = m.MaximumInterval.Size() + n += 1 + l + sovCommon(uint64(l)) + } + if m.MaximumAttempts != 0 { + n += 1 + sovCommon(uint64(m.MaximumAttempts)) + } + if len(m.NonRetryableErrorReasons) > 0 { + for _, s := range m.NonRetryableErrorReasons { + l = len(s) + n += 1 + l + sovCommon(uint64(l)) + } + } + if m.ExpirationInterval != nil { + l = m.ExpirationInterval.Size() + n += 1 + l + sovCommon(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func sovCommon(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozCommon(x uint64) (n int) { + return sovCommon(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *WorkflowExecution) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCommon + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: WorkflowExecution: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: WorkflowExecution: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCommon + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthCommon + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthCommon + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.WorkflowId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RunId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCommon + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthCommon + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthCommon + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.RunId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipCommon(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthCommon + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *WorkflowType) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCommon + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: WorkflowType: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: WorkflowType: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCommon + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthCommon + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthCommon + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipCommon(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthCommon + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ActivityType) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCommon + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ActivityType: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ActivityType: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCommon + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthCommon + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthCommon + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipCommon(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthCommon + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Payload) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCommon + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Payload: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Payload: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCommon + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthCommon + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthCommon + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Data = append(m.Data[:0], dAtA[iNdEx:postIndex]...) + if m.Data == nil { + m.Data = []byte{} + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipCommon(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthCommon + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Failure) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCommon + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Failure: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Failure: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCommon + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthCommon + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthCommon + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Reason = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Details", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCommon + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthCommon + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthCommon + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Details = append(m.Details[:0], dAtA[iNdEx:postIndex]...) + if m.Details == nil { + m.Details = []byte{} + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipCommon(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthCommon + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Memo) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCommon + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Memo: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Memo: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Fields", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCommon + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthCommon + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthCommon + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Fields == nil { + m.Fields = make(map[string]*Payload) + } + var mapkey string + var mapvalue *Payload + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCommon + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCommon + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLengthCommon + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLengthCommon + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var mapmsglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCommon + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapmsglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if mapmsglen < 0 { + return ErrInvalidLengthCommon + } + postmsgIndex := iNdEx + mapmsglen + if postmsgIndex < 0 { + return ErrInvalidLengthCommon + } + if postmsgIndex > l { + return io.ErrUnexpectedEOF + } + mapvalue = &Payload{} + if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { + return err + } + iNdEx = postmsgIndex + } else { + iNdEx = entryPreIndex + skippy, err := skipCommon(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthCommon + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.Fields[mapkey] = mapvalue + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipCommon(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthCommon + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Header) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCommon + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Header: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Header: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Fields", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCommon + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthCommon + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthCommon + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Fields == nil { + m.Fields = make(map[string]*Payload) + } + var mapkey string + var mapvalue *Payload + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCommon + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCommon + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLengthCommon + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLengthCommon + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var mapmsglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCommon + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapmsglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if mapmsglen < 0 { + return ErrInvalidLengthCommon + } + postmsgIndex := iNdEx + mapmsglen + if postmsgIndex < 0 { + return ErrInvalidLengthCommon + } + if postmsgIndex > l { + return io.ErrUnexpectedEOF + } + mapvalue = &Payload{} + if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { + return err + } + iNdEx = postmsgIndex + } else { + iNdEx = entryPreIndex + skippy, err := skipCommon(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthCommon + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.Fields[mapkey] = mapvalue + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipCommon(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthCommon + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SearchAttributes) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCommon + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: SearchAttributes: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SearchAttributes: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field IndexedFields", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCommon + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthCommon + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthCommon + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.IndexedFields == nil { + m.IndexedFields = make(map[string]*Payload) + } + var mapkey string + var mapvalue *Payload + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCommon + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCommon + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLengthCommon + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLengthCommon + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var mapmsglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCommon + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapmsglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if mapmsglen < 0 { + return ErrInvalidLengthCommon + } + postmsgIndex := iNdEx + mapmsglen + if postmsgIndex < 0 { + return ErrInvalidLengthCommon + } + if postmsgIndex > l { + return io.ErrUnexpectedEOF + } + mapvalue = &Payload{} + if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { + return err + } + iNdEx = postmsgIndex + } else { + iNdEx = entryPreIndex + skippy, err := skipCommon(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthCommon + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.IndexedFields[mapkey] = mapvalue + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipCommon(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthCommon + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *DataBlob) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCommon + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: DataBlob: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: DataBlob: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field EncodingType", wireType) + } + m.EncodingType = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCommon + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.EncodingType |= EncodingType(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCommon + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthCommon + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthCommon + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Data = append(m.Data[:0], dAtA[iNdEx:postIndex]...) + if m.Data == nil { + m.Data = []byte{} + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipCommon(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthCommon + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *WorkerVersionInfo) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCommon + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: WorkerVersionInfo: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: WorkerVersionInfo: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Impl", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCommon + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthCommon + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthCommon + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Impl = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field FeatureVersion", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCommon + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthCommon + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthCommon + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.FeatureVersion = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipCommon(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthCommon + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SupportedClientVersions) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCommon + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: SupportedClientVersions: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SupportedClientVersions: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field GoSdk", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCommon + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthCommon + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthCommon + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.GoSdk = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field JavaSdk", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCommon + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthCommon + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthCommon + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.JavaSdk = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipCommon(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthCommon + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RetryPolicy) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCommon + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RetryPolicy: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RetryPolicy: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field InitialInterval", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCommon + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthCommon + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthCommon + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.InitialInterval == nil { + m.InitialInterval = &types.Duration{} + } + if err := m.InitialInterval.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 1 { + return fmt.Errorf("proto: wrong wireType = %d for field BackoffCoefficient", wireType) + } + var v uint64 + if (iNdEx + 8) > l { + return io.ErrUnexpectedEOF + } + v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) + iNdEx += 8 + m.BackoffCoefficient = float64(math.Float64frombits(v)) + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field MaximumInterval", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCommon + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthCommon + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthCommon + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.MaximumInterval == nil { + m.MaximumInterval = &types.Duration{} + } + if err := m.MaximumInterval.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MaximumAttempts", wireType) + } + m.MaximumAttempts = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCommon + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.MaximumAttempts |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field NonRetryableErrorReasons", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCommon + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthCommon + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthCommon + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.NonRetryableErrorReasons = append(m.NonRetryableErrorReasons, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ExpirationInterval", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCommon + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthCommon + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthCommon + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.ExpirationInterval == nil { + m.ExpirationInterval = &types.Duration{} + } + if err := m.ExpirationInterval.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipCommon(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthCommon + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func skipCommon(dAtA []byte) (n int, err error) { + l := len(dAtA) + iNdEx := 0 + depth := 0 + for iNdEx < l { + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowCommon + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + wireType := int(wire & 0x7) + switch wireType { + case 0: + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowCommon + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + iNdEx++ + if dAtA[iNdEx-1] < 0x80 { + break + } + } + case 1: + iNdEx += 8 + case 2: + var length int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowCommon + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + length |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if length < 0 { + return 0, ErrInvalidLengthCommon + } + iNdEx += length + case 3: + depth++ + case 4: + if depth == 0 { + return 0, ErrUnexpectedEndOfGroupCommon + } + depth-- + case 5: + iNdEx += 4 + default: + return 0, fmt.Errorf("proto: illegal wireType %d", wireType) + } + if iNdEx < 0 { + return 0, ErrInvalidLengthCommon + } + if depth == 0 { + return iNdEx, nil + } + } + return 0, io.ErrUnexpectedEOF +} + +var ( + ErrInvalidLengthCommon = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflowCommon = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroupCommon = fmt.Errorf("proto: unexpected end of group") +) diff --git a/go/proto/api/v1/common.pb.yarpc.go b/go/proto/api/v1/common.pb.yarpc.go new file mode 100644 index 0000000..223afec --- /dev/null +++ b/go/proto/api/v1/common.pb.yarpc.go @@ -0,0 +1,98 @@ +// The MIT License (MIT) +// +// Copyright (c) 2021 Uber Technologies, Inc. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +// SOFTWARE. + +// Code generated by protoc-gen-yarpc-go. DO NOT EDIT. +// source: uber/cadence/api/v1/common.proto + +package apiv1 + +var yarpcFileDescriptorClosure0ff151d4a308b356 = [][]byte{ + // uber/cadence/api/v1/common.proto + []byte{ + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x55, 0x4f, 0x6f, 0xdb, 0x36, + 0x14, 0x9f, 0xe2, 0xda, 0x49, 0x9f, 0xdd, 0xd4, 0x63, 0xd6, 0xd4, 0xc9, 0xfe, 0x79, 0x06, 0x86, + 0x66, 0x3b, 0x48, 0x88, 0x7b, 0x29, 0x56, 0x14, 0x83, 0x13, 0x3b, 0xab, 0xda, 0x2d, 0x31, 0x64, + 0x23, 0xc1, 0x76, 0x98, 0x40, 0x4b, 0x4f, 0x2e, 0x67, 0x89, 0x14, 0x28, 0xca, 0x89, 0x6f, 0xfb, + 0x24, 0x3b, 0xec, 0x2b, 0xed, 0x0b, 0x0d, 0x94, 0xe8, 0xd8, 0xee, 0x3c, 0xf4, 0x32, 0xec, 0x46, + 0xbe, 0xdf, 0x9f, 0xf7, 0xa3, 0xf0, 0x48, 0x41, 0x3b, 0x9f, 0xa0, 0x74, 0x02, 0x1a, 0x22, 0x0f, + 0xd0, 0xa1, 0x29, 0x73, 0xe6, 0xa7, 0x4e, 0x20, 0x92, 0x44, 0x70, 0x3b, 0x95, 0x42, 0x09, 0x72, + 0xa0, 0x19, 0xb6, 0x61, 0xd8, 0x34, 0x65, 0xf6, 0xfc, 0xf4, 0xf8, 0x8b, 0xa9, 0x10, 0xd3, 0x18, + 0x9d, 0x82, 0x32,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 0x93, 0x95, 0x6a, 0x99, 0xfa, 0xdb, 0x5b, 0x68, 0xac, 0xcf, 0x14, + 0x39, 0x82, 0x27, 0x83, 0xcb, 0xf3, 0xab, 0xbe, 0x7b, 0xf9, 0x83, 0x3f, 0xfe, 0x79, 0x38, 0xf0, + 0xdd, 0xcb, 0xeb, 0xde, 0x8f, 0x6e, 0xbf, 0xf9, 0x11, 0x39, 0x86, 0xc3, 0x4d, 0x68, 0xfc, 0xda, + 0x73, 0x2f, 0xc6, 0xde, 0x4d, 0xd3, 0x22, 0x87, 0x40, 0x36, 0xb1, 0x37, 0xa3, 0xab, 0xcb, 0xe6, + 0x0e, 0x69, 0xc1, 0x27, 0x9b, 0xf5, 0xa1, 0x77, 0x35, 0xbe, 0x7a, 0xde, 0xac, 0x9c, 0x5d, 0xc3, + 0xd3, 0x40, 0x24, 0xdb, 0x86, 0xfc, 0x6c, 0xaf, 0x97, 0xb2, 0xa1, 0x4e, 0x3f, 0xb4, 0x7e, 0x71, + 0xa6, 0x4c, 0xbd, 0xcb, 0x27, 0x76, 0x20, 0x12, 0x67, 0xe3, 0xc7, 0x64, 0x4f, 0x91, 0x97, 0x3f, + 0x1b, 0xf3, 0x8f, 0x7a, 0x49, 0x53, 0x36, 0x3f, 0x9d, 0xd4, 0x8a, 0xda, 0xf3, 0xbf, 0x03, 0x00, + 0x00, 0xff, 0xff, 0xdc, 0x8c, 0x77, 0x9a, 0xc7, 0x06, 0x00, 0x00, + }, + // google/protobuf/duration.proto + []byte{ + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4b, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x2f, 0x28, 0xca, 0x2f, 0xc9, 0x4f, 0x2a, 0x4d, 0xd3, 0x4f, 0x29, 0x2d, 0x4a, + 0x2c, 0xc9, 0xcc, 0xcf, 0xd3, 0x03, 0x8b, 0x08, 0xf1, 0x43, 0xe4, 0xf5, 0x60, 0xf2, 0x4a, 0x56, + 0x5c, 0x1c, 0x2e, 0x50, 0x25, 0x42, 0x12, 0x5c, 0xec, 0xc5, 0xa9, 0xc9, 0xf9, 0x79, 0x29, 0xc5, + 0x12, 0x8c, 0x0a, 0x8c, 0x1a, 0xcc, 0x41, 0x30, 0xae, 0x90, 0x08, 0x17, 0x6b, 0x5e, 0x62, 0x5e, + 0x7e, 0xb1, 0x04, 0x93, 0x02, 0xa3, 0x06, 0x6b, 0x10, 0x84, 0xe3, 0xd4, 0xcc, 0xc8, 0x25, 0x9c, + 0x9c, 0x9f, 0xab, 0x87, 0x66, 0xa6, 0x13, 0x2f, 0xcc, 0xc4, 0x00, 0x90, 0x48, 0x00, 0x63, 0x94, + 0x21, 0x54, 0x45, 0x7a, 0x7e, 0x4e, 0x62, 0x5e, 0xba, 0x5e, 0x7e, 0x51, 0x3a, 0xc2, 0x81, 0x25, + 0x95, 0x05, 0xa9, 0xc5, 0xfa, 0xd9, 0x79, 0xf9, 0xe5, 0x79, 0x70, 0xc7, 0x16, 0x24, 0xfd, 0x60, + 0x64, 0x5c, 0xc4, 0xc4, 0xec, 0x1e, 0xe0, 0xb4, 0x8a, 0x49, 0xce, 0x1d, 0xa2, 0x39, 0x00, 0xaa, + 0x43, 0x2f, 0x3c, 0x35, 0x27, 0xc7, 0x1b, 0xa4, 0x3e, 0x04, 0xa4, 0x35, 0x89, 0x0d, 0x6c, 0x94, + 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0xef, 0x8a, 0xb4, 0xc3, 0xfb, 0x00, 0x00, 0x00, + }, +} diff --git a/go/proto/api/v1/decision.pb.go b/go/proto/api/v1/decision.pb.go new file mode 100644 index 0000000..7797772 --- /dev/null +++ b/go/proto/api/v1/decision.pb.go @@ -0,0 +1,6651 @@ +// The MIT License (MIT) +// +// Copyright (c) 2021 Uber Technologies, Inc. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +// SOFTWARE. + +// Code generated by protoc-gen-gogo. DO NOT EDIT. +// source: uber/cadence/api/v1/decision.proto + +package apiv1 + +import ( + fmt "fmt" + proto "github.com/gogo/protobuf/proto" + types "github.com/gogo/protobuf/types" + io "io" + math "math" + math_bits "math/bits" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package + +type Decision struct { + // Types that are valid to be assigned to Attributes: + // *Decision_ScheduleActivityTaskDecisionAttributes + // *Decision_StartTimerDecisionAttributes + // *Decision_CompleteWorkflowExecutionDecisionAttributes + // *Decision_FailWorkflowExecutionDecisionAttributes + // *Decision_RequestCancelActivityTaskDecisionAttributes + // *Decision_CancelTimerDecisionAttributes + // *Decision_CancelWorkflowExecutionDecisionAttributes + // *Decision_RequestCancelExternalWorkflowExecutionDecisionAttributes + // *Decision_RecordMarkerDecisionAttributes + // *Decision_ContinueAsNewWorkflowExecutionDecisionAttributes + // *Decision_StartChildWorkflowExecutionDecisionAttributes + // *Decision_SignalExternalWorkflowExecutionDecisionAttributes + // *Decision_UpsertWorkflowSearchAttributesDecisionAttributes + Attributes isDecision_Attributes `protobuf_oneof:"attributes"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Decision) Reset() { *m = Decision{} } +func (m *Decision) String() string { return proto.CompactTextString(m) } +func (*Decision) ProtoMessage() {} +func (*Decision) Descriptor() ([]byte, []int) { + return fileDescriptor_fb529b236ea74dc2, []int{0} +} +func (m *Decision) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Decision) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Decision.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Decision) XXX_Merge(src proto.Message) { + xxx_messageInfo_Decision.Merge(m, src) +} +func (m *Decision) XXX_Size() int { + return m.Size() +} +func (m *Decision) XXX_DiscardUnknown() { + xxx_messageInfo_Decision.DiscardUnknown(m) +} + +var xxx_messageInfo_Decision proto.InternalMessageInfo + +type isDecision_Attributes interface { + isDecision_Attributes() + MarshalTo([]byte) (int, error) + Size() int +} + +type Decision_ScheduleActivityTaskDecisionAttributes struct { + ScheduleActivityTaskDecisionAttributes *ScheduleActivityTaskDecisionAttributes `protobuf:"bytes,1,opt,name=schedule_activity_task_decision_attributes,json=scheduleActivityTaskDecisionAttributes,proto3,oneof" json:"schedule_activity_task_decision_attributes,omitempty"` +} +type Decision_StartTimerDecisionAttributes struct { + StartTimerDecisionAttributes *StartTimerDecisionAttributes `protobuf:"bytes,2,opt,name=start_timer_decision_attributes,json=startTimerDecisionAttributes,proto3,oneof" json:"start_timer_decision_attributes,omitempty"` +} +type Decision_CompleteWorkflowExecutionDecisionAttributes struct { + CompleteWorkflowExecutionDecisionAttributes *CompleteWorkflowExecutionDecisionAttributes `protobuf:"bytes,3,opt,name=complete_workflow_execution_decision_attributes,json=completeWorkflowExecutionDecisionAttributes,proto3,oneof" json:"complete_workflow_execution_decision_attributes,omitempty"` +} +type Decision_FailWorkflowExecutionDecisionAttributes struct { + FailWorkflowExecutionDecisionAttributes *FailWorkflowExecutionDecisionAttributes `protobuf:"bytes,4,opt,name=fail_workflow_execution_decision_attributes,json=failWorkflowExecutionDecisionAttributes,proto3,oneof" json:"fail_workflow_execution_decision_attributes,omitempty"` +} +type Decision_RequestCancelActivityTaskDecisionAttributes struct { + RequestCancelActivityTaskDecisionAttributes *RequestCancelActivityTaskDecisionAttributes `protobuf:"bytes,5,opt,name=request_cancel_activity_task_decision_attributes,json=requestCancelActivityTaskDecisionAttributes,proto3,oneof" json:"request_cancel_activity_task_decision_attributes,omitempty"` +} +type Decision_CancelTimerDecisionAttributes struct { + CancelTimerDecisionAttributes *CancelTimerDecisionAttributes `protobuf:"bytes,6,opt,name=cancel_timer_decision_attributes,json=cancelTimerDecisionAttributes,proto3,oneof" json:"cancel_timer_decision_attributes,omitempty"` +} +type Decision_CancelWorkflowExecutionDecisionAttributes struct { + CancelWorkflowExecutionDecisionAttributes *CancelWorkflowExecutionDecisionAttributes `protobuf:"bytes,7,opt,name=cancel_workflow_execution_decision_attributes,json=cancelWorkflowExecutionDecisionAttributes,proto3,oneof" json:"cancel_workflow_execution_decision_attributes,omitempty"` +} +type Decision_RequestCancelExternalWorkflowExecutionDecisionAttributes struct { + RequestCancelExternalWorkflowExecutionDecisionAttributes *RequestCancelExternalWorkflowExecutionDecisionAttributes `protobuf:"bytes,8,opt,name=request_cancel_external_workflow_execution_decision_attributes,json=requestCancelExternalWorkflowExecutionDecisionAttributes,proto3,oneof" json:"request_cancel_external_workflow_execution_decision_attributes,omitempty"` +} +type Decision_RecordMarkerDecisionAttributes struct { + RecordMarkerDecisionAttributes *RecordMarkerDecisionAttributes `protobuf:"bytes,9,opt,name=record_marker_decision_attributes,json=recordMarkerDecisionAttributes,proto3,oneof" json:"record_marker_decision_attributes,omitempty"` +} +type Decision_ContinueAsNewWorkflowExecutionDecisionAttributes struct { + ContinueAsNewWorkflowExecutionDecisionAttributes *ContinueAsNewWorkflowExecutionDecisionAttributes `protobuf:"bytes,10,opt,name=continue_as_new_workflow_execution_decision_attributes,json=continueAsNewWorkflowExecutionDecisionAttributes,proto3,oneof" json:"continue_as_new_workflow_execution_decision_attributes,omitempty"` +} +type Decision_StartChildWorkflowExecutionDecisionAttributes struct { + StartChildWorkflowExecutionDecisionAttributes *StartChildWorkflowExecutionDecisionAttributes `protobuf:"bytes,11,opt,name=start_child_workflow_execution_decision_attributes,json=startChildWorkflowExecutionDecisionAttributes,proto3,oneof" json:"start_child_workflow_execution_decision_attributes,omitempty"` +} +type Decision_SignalExternalWorkflowExecutionDecisionAttributes struct { + SignalExternalWorkflowExecutionDecisionAttributes *SignalExternalWorkflowExecutionDecisionAttributes `protobuf:"bytes,12,opt,name=signal_external_workflow_execution_decision_attributes,json=signalExternalWorkflowExecutionDecisionAttributes,proto3,oneof" json:"signal_external_workflow_execution_decision_attributes,omitempty"` +} +type Decision_UpsertWorkflowSearchAttributesDecisionAttributes struct { + UpsertWorkflowSearchAttributesDecisionAttributes *UpsertWorkflowSearchAttributesDecisionAttributes `protobuf:"bytes,13,opt,name=upsert_workflow_search_attributes_decision_attributes,json=upsertWorkflowSearchAttributesDecisionAttributes,proto3,oneof" json:"upsert_workflow_search_attributes_decision_attributes,omitempty"` +} + +func (*Decision_ScheduleActivityTaskDecisionAttributes) isDecision_Attributes() {} +func (*Decision_StartTimerDecisionAttributes) isDecision_Attributes() {} +func (*Decision_CompleteWorkflowExecutionDecisionAttributes) isDecision_Attributes() {} +func (*Decision_FailWorkflowExecutionDecisionAttributes) isDecision_Attributes() {} +func (*Decision_RequestCancelActivityTaskDecisionAttributes) isDecision_Attributes() {} +func (*Decision_CancelTimerDecisionAttributes) isDecision_Attributes() {} +func (*Decision_CancelWorkflowExecutionDecisionAttributes) isDecision_Attributes() {} +func (*Decision_RequestCancelExternalWorkflowExecutionDecisionAttributes) isDecision_Attributes() {} +func (*Decision_RecordMarkerDecisionAttributes) isDecision_Attributes() {} +func (*Decision_ContinueAsNewWorkflowExecutionDecisionAttributes) isDecision_Attributes() {} +func (*Decision_StartChildWorkflowExecutionDecisionAttributes) isDecision_Attributes() {} +func (*Decision_SignalExternalWorkflowExecutionDecisionAttributes) isDecision_Attributes() {} +func (*Decision_UpsertWorkflowSearchAttributesDecisionAttributes) isDecision_Attributes() {} + +func (m *Decision) GetAttributes() isDecision_Attributes { + if m != nil { + return m.Attributes + } + return nil +} + +func (m *Decision) GetScheduleActivityTaskDecisionAttributes() *ScheduleActivityTaskDecisionAttributes { + if x, ok := m.GetAttributes().(*Decision_ScheduleActivityTaskDecisionAttributes); ok { + return x.ScheduleActivityTaskDecisionAttributes + } + return nil +} + +func (m *Decision) GetStartTimerDecisionAttributes() *StartTimerDecisionAttributes { + if x, ok := m.GetAttributes().(*Decision_StartTimerDecisionAttributes); ok { + return x.StartTimerDecisionAttributes + } + return nil +} + +func (m *Decision) GetCompleteWorkflowExecutionDecisionAttributes() *CompleteWorkflowExecutionDecisionAttributes { + if x, ok := m.GetAttributes().(*Decision_CompleteWorkflowExecutionDecisionAttributes); ok { + return x.CompleteWorkflowExecutionDecisionAttributes + } + return nil +} + +func (m *Decision) GetFailWorkflowExecutionDecisionAttributes() *FailWorkflowExecutionDecisionAttributes { + if x, ok := m.GetAttributes().(*Decision_FailWorkflowExecutionDecisionAttributes); ok { + return x.FailWorkflowExecutionDecisionAttributes + } + return nil +} + +func (m *Decision) GetRequestCancelActivityTaskDecisionAttributes() *RequestCancelActivityTaskDecisionAttributes { + if x, ok := m.GetAttributes().(*Decision_RequestCancelActivityTaskDecisionAttributes); ok { + return x.RequestCancelActivityTaskDecisionAttributes + } + return nil +} + +func (m *Decision) GetCancelTimerDecisionAttributes() *CancelTimerDecisionAttributes { + if x, ok := m.GetAttributes().(*Decision_CancelTimerDecisionAttributes); ok { + return x.CancelTimerDecisionAttributes + } + return nil +} + +func (m *Decision) GetCancelWorkflowExecutionDecisionAttributes() *CancelWorkflowExecutionDecisionAttributes { + if x, ok := m.GetAttributes().(*Decision_CancelWorkflowExecutionDecisionAttributes); ok { + return x.CancelWorkflowExecutionDecisionAttributes + } + return nil +} + +func (m *Decision) GetRequestCancelExternalWorkflowExecutionDecisionAttributes() *RequestCancelExternalWorkflowExecutionDecisionAttributes { + if x, ok := m.GetAttributes().(*Decision_RequestCancelExternalWorkflowExecutionDecisionAttributes); ok { + return x.RequestCancelExternalWorkflowExecutionDecisionAttributes + } + return nil +} + +func (m *Decision) GetRecordMarkerDecisionAttributes() *RecordMarkerDecisionAttributes { + if x, ok := m.GetAttributes().(*Decision_RecordMarkerDecisionAttributes); ok { + return x.RecordMarkerDecisionAttributes + } + return nil +} + +func (m *Decision) GetContinueAsNewWorkflowExecutionDecisionAttributes() *ContinueAsNewWorkflowExecutionDecisionAttributes { + if x, ok := m.GetAttributes().(*Decision_ContinueAsNewWorkflowExecutionDecisionAttributes); ok { + return x.ContinueAsNewWorkflowExecutionDecisionAttributes + } + return nil +} + +func (m *Decision) GetStartChildWorkflowExecutionDecisionAttributes() *StartChildWorkflowExecutionDecisionAttributes { + if x, ok := m.GetAttributes().(*Decision_StartChildWorkflowExecutionDecisionAttributes); ok { + return x.StartChildWorkflowExecutionDecisionAttributes + } + return nil +} + +func (m *Decision) GetSignalExternalWorkflowExecutionDecisionAttributes() *SignalExternalWorkflowExecutionDecisionAttributes { + if x, ok := m.GetAttributes().(*Decision_SignalExternalWorkflowExecutionDecisionAttributes); ok { + return x.SignalExternalWorkflowExecutionDecisionAttributes + } + return nil +} + +func (m *Decision) GetUpsertWorkflowSearchAttributesDecisionAttributes() *UpsertWorkflowSearchAttributesDecisionAttributes { + if x, ok := m.GetAttributes().(*Decision_UpsertWorkflowSearchAttributesDecisionAttributes); ok { + return x.UpsertWorkflowSearchAttributesDecisionAttributes + } + return nil +} + +// XXX_OneofWrappers is for the internal use of the proto package. +func (*Decision) XXX_OneofWrappers() []interface{} { + return []interface{}{ + (*Decision_ScheduleActivityTaskDecisionAttributes)(nil), + (*Decision_StartTimerDecisionAttributes)(nil), + (*Decision_CompleteWorkflowExecutionDecisionAttributes)(nil), + (*Decision_FailWorkflowExecutionDecisionAttributes)(nil), + (*Decision_RequestCancelActivityTaskDecisionAttributes)(nil), + (*Decision_CancelTimerDecisionAttributes)(nil), + (*Decision_CancelWorkflowExecutionDecisionAttributes)(nil), + (*Decision_RequestCancelExternalWorkflowExecutionDecisionAttributes)(nil), + (*Decision_RecordMarkerDecisionAttributes)(nil), + (*Decision_ContinueAsNewWorkflowExecutionDecisionAttributes)(nil), + (*Decision_StartChildWorkflowExecutionDecisionAttributes)(nil), + (*Decision_SignalExternalWorkflowExecutionDecisionAttributes)(nil), + (*Decision_UpsertWorkflowSearchAttributesDecisionAttributes)(nil), + } +} + +type ScheduleActivityTaskDecisionAttributes struct { + ActivityId string `protobuf:"bytes,1,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"` + ActivityType *ActivityType `protobuf:"bytes,2,opt,name=activity_type,json=activityType,proto3" json:"activity_type,omitempty"` + Domain string `protobuf:"bytes,3,opt,name=domain,proto3" json:"domain,omitempty"` + TaskList *TaskList `protobuf:"bytes,4,opt,name=task_list,json=taskList,proto3" json:"task_list,omitempty"` + Input *Payload `protobuf:"bytes,5,opt,name=input,proto3" json:"input,omitempty"` + ScheduleToCloseTimeout *types.Duration `protobuf:"bytes,6,opt,name=schedule_to_close_timeout,json=scheduleToCloseTimeout,proto3" json:"schedule_to_close_timeout,omitempty"` + ScheduleToStartTimeout *types.Duration `protobuf:"bytes,7,opt,name=schedule_to_start_timeout,json=scheduleToStartTimeout,proto3" json:"schedule_to_start_timeout,omitempty"` + StartToCloseTimeout *types.Duration `protobuf:"bytes,8,opt,name=start_to_close_timeout,json=startToCloseTimeout,proto3" json:"start_to_close_timeout,omitempty"` + HeartbeatTimeout *types.Duration `protobuf:"bytes,9,opt,name=heartbeat_timeout,json=heartbeatTimeout,proto3" json:"heartbeat_timeout,omitempty"` + RetryPolicy *RetryPolicy `protobuf:"bytes,11,opt,name=retry_policy,json=retryPolicy,proto3" json:"retry_policy,omitempty"` + Header *Header `protobuf:"bytes,12,opt,name=header,proto3" json:"header,omitempty"` + RequestLocalDispatch bool `protobuf:"varint,13,opt,name=request_local_dispatch,json=requestLocalDispatch,proto3" json:"request_local_dispatch,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ScheduleActivityTaskDecisionAttributes) Reset() { + *m = ScheduleActivityTaskDecisionAttributes{} +} +func (m *ScheduleActivityTaskDecisionAttributes) String() string { return proto.CompactTextString(m) } +func (*ScheduleActivityTaskDecisionAttributes) ProtoMessage() {} +func (*ScheduleActivityTaskDecisionAttributes) Descriptor() ([]byte, []int) { + return fileDescriptor_fb529b236ea74dc2, []int{1} +} +func (m *ScheduleActivityTaskDecisionAttributes) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ScheduleActivityTaskDecisionAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ScheduleActivityTaskDecisionAttributes.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ScheduleActivityTaskDecisionAttributes) XXX_Merge(src proto.Message) { + xxx_messageInfo_ScheduleActivityTaskDecisionAttributes.Merge(m, src) +} +func (m *ScheduleActivityTaskDecisionAttributes) XXX_Size() int { + return m.Size() +} +func (m *ScheduleActivityTaskDecisionAttributes) XXX_DiscardUnknown() { + xxx_messageInfo_ScheduleActivityTaskDecisionAttributes.DiscardUnknown(m) +} + +var xxx_messageInfo_ScheduleActivityTaskDecisionAttributes proto.InternalMessageInfo + +func (m *ScheduleActivityTaskDecisionAttributes) GetActivityId() string { + if m != nil { + return m.ActivityId + } + return "" +} + +func (m *ScheduleActivityTaskDecisionAttributes) GetActivityType() *ActivityType { + if m != nil { + return m.ActivityType + } + return nil +} + +func (m *ScheduleActivityTaskDecisionAttributes) GetDomain() string { + if m != nil { + return m.Domain + } + return "" +} + +func (m *ScheduleActivityTaskDecisionAttributes) GetTaskList() *TaskList { + if m != nil { + return m.TaskList + } + return nil +} + +func (m *ScheduleActivityTaskDecisionAttributes) GetInput() *Payload { + if m != nil { + return m.Input + } + return nil +} + +func (m *ScheduleActivityTaskDecisionAttributes) GetScheduleToCloseTimeout() *types.Duration { + if m != nil { + return m.ScheduleToCloseTimeout + } + return nil +} + +func (m *ScheduleActivityTaskDecisionAttributes) GetScheduleToStartTimeout() *types.Duration { + if m != nil { + return m.ScheduleToStartTimeout + } + return nil +} + +func (m *ScheduleActivityTaskDecisionAttributes) GetStartToCloseTimeout() *types.Duration { + if m != nil { + return m.StartToCloseTimeout + } + return nil +} + +func (m *ScheduleActivityTaskDecisionAttributes) GetHeartbeatTimeout() *types.Duration { + if m != nil { + return m.HeartbeatTimeout + } + return nil +} + +func (m *ScheduleActivityTaskDecisionAttributes) GetRetryPolicy() *RetryPolicy { + if m != nil { + return m.RetryPolicy + } + return nil +} + +func (m *ScheduleActivityTaskDecisionAttributes) GetHeader() *Header { + if m != nil { + return m.Header + } + return nil +} + +func (m *ScheduleActivityTaskDecisionAttributes) GetRequestLocalDispatch() bool { + if m != nil { + return m.RequestLocalDispatch + } + return false +} + +type StartTimerDecisionAttributes struct { + TimerId string `protobuf:"bytes,1,opt,name=timer_id,json=timerId,proto3" json:"timer_id,omitempty"` + StartToFireTimeout *types.Duration `protobuf:"bytes,2,opt,name=start_to_fire_timeout,json=startToFireTimeout,proto3" json:"start_to_fire_timeout,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *StartTimerDecisionAttributes) Reset() { *m = StartTimerDecisionAttributes{} } +func (m *StartTimerDecisionAttributes) String() string { return proto.CompactTextString(m) } +func (*StartTimerDecisionAttributes) ProtoMessage() {} +func (*StartTimerDecisionAttributes) Descriptor() ([]byte, []int) { + return fileDescriptor_fb529b236ea74dc2, []int{2} +} +func (m *StartTimerDecisionAttributes) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *StartTimerDecisionAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_StartTimerDecisionAttributes.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *StartTimerDecisionAttributes) XXX_Merge(src proto.Message) { + xxx_messageInfo_StartTimerDecisionAttributes.Merge(m, src) +} +func (m *StartTimerDecisionAttributes) XXX_Size() int { + return m.Size() +} +func (m *StartTimerDecisionAttributes) XXX_DiscardUnknown() { + xxx_messageInfo_StartTimerDecisionAttributes.DiscardUnknown(m) +} + +var xxx_messageInfo_StartTimerDecisionAttributes proto.InternalMessageInfo + +func (m *StartTimerDecisionAttributes) GetTimerId() string { + if m != nil { + return m.TimerId + } + return "" +} + +func (m *StartTimerDecisionAttributes) GetStartToFireTimeout() *types.Duration { + if m != nil { + return m.StartToFireTimeout + } + return nil +} + +type CompleteWorkflowExecutionDecisionAttributes struct { + Result *Payload `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CompleteWorkflowExecutionDecisionAttributes) Reset() { + *m = CompleteWorkflowExecutionDecisionAttributes{} +} +func (m *CompleteWorkflowExecutionDecisionAttributes) String() string { + return proto.CompactTextString(m) +} +func (*CompleteWorkflowExecutionDecisionAttributes) ProtoMessage() {} +func (*CompleteWorkflowExecutionDecisionAttributes) Descriptor() ([]byte, []int) { + return fileDescriptor_fb529b236ea74dc2, []int{3} +} +func (m *CompleteWorkflowExecutionDecisionAttributes) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *CompleteWorkflowExecutionDecisionAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_CompleteWorkflowExecutionDecisionAttributes.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *CompleteWorkflowExecutionDecisionAttributes) XXX_Merge(src proto.Message) { + xxx_messageInfo_CompleteWorkflowExecutionDecisionAttributes.Merge(m, src) +} +func (m *CompleteWorkflowExecutionDecisionAttributes) XXX_Size() int { + return m.Size() +} +func (m *CompleteWorkflowExecutionDecisionAttributes) XXX_DiscardUnknown() { + xxx_messageInfo_CompleteWorkflowExecutionDecisionAttributes.DiscardUnknown(m) +} + +var xxx_messageInfo_CompleteWorkflowExecutionDecisionAttributes proto.InternalMessageInfo + +func (m *CompleteWorkflowExecutionDecisionAttributes) GetResult() *Payload { + if m != nil { + return m.Result + } + return nil +} + +type FailWorkflowExecutionDecisionAttributes struct { + Failure *Failure `protobuf:"bytes,1,opt,name=failure,proto3" json:"failure,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FailWorkflowExecutionDecisionAttributes) Reset() { + *m = FailWorkflowExecutionDecisionAttributes{} +} +func (m *FailWorkflowExecutionDecisionAttributes) String() string { return proto.CompactTextString(m) } +func (*FailWorkflowExecutionDecisionAttributes) ProtoMessage() {} +func (*FailWorkflowExecutionDecisionAttributes) Descriptor() ([]byte, []int) { + return fileDescriptor_fb529b236ea74dc2, []int{4} +} +func (m *FailWorkflowExecutionDecisionAttributes) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *FailWorkflowExecutionDecisionAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_FailWorkflowExecutionDecisionAttributes.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *FailWorkflowExecutionDecisionAttributes) XXX_Merge(src proto.Message) { + xxx_messageInfo_FailWorkflowExecutionDecisionAttributes.Merge(m, src) +} +func (m *FailWorkflowExecutionDecisionAttributes) XXX_Size() int { + return m.Size() +} +func (m *FailWorkflowExecutionDecisionAttributes) XXX_DiscardUnknown() { + xxx_messageInfo_FailWorkflowExecutionDecisionAttributes.DiscardUnknown(m) +} + +var xxx_messageInfo_FailWorkflowExecutionDecisionAttributes proto.InternalMessageInfo + +func (m *FailWorkflowExecutionDecisionAttributes) GetFailure() *Failure { + if m != nil { + return m.Failure + } + return nil +} + +type RequestCancelActivityTaskDecisionAttributes struct { + ActivityId string `protobuf:"bytes,1,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RequestCancelActivityTaskDecisionAttributes) Reset() { + *m = RequestCancelActivityTaskDecisionAttributes{} +} +func (m *RequestCancelActivityTaskDecisionAttributes) String() string { + return proto.CompactTextString(m) +} +func (*RequestCancelActivityTaskDecisionAttributes) ProtoMessage() {} +func (*RequestCancelActivityTaskDecisionAttributes) Descriptor() ([]byte, []int) { + return fileDescriptor_fb529b236ea74dc2, []int{5} +} +func (m *RequestCancelActivityTaskDecisionAttributes) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RequestCancelActivityTaskDecisionAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RequestCancelActivityTaskDecisionAttributes.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RequestCancelActivityTaskDecisionAttributes) XXX_Merge(src proto.Message) { + xxx_messageInfo_RequestCancelActivityTaskDecisionAttributes.Merge(m, src) +} +func (m *RequestCancelActivityTaskDecisionAttributes) XXX_Size() int { + return m.Size() +} +func (m *RequestCancelActivityTaskDecisionAttributes) XXX_DiscardUnknown() { + xxx_messageInfo_RequestCancelActivityTaskDecisionAttributes.DiscardUnknown(m) +} + +var xxx_messageInfo_RequestCancelActivityTaskDecisionAttributes proto.InternalMessageInfo + +func (m *RequestCancelActivityTaskDecisionAttributes) GetActivityId() string { + if m != nil { + return m.ActivityId + } + return "" +} + +type CancelTimerDecisionAttributes struct { + TimerId string `protobuf:"bytes,1,opt,name=timer_id,json=timerId,proto3" json:"timer_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CancelTimerDecisionAttributes) Reset() { *m = CancelTimerDecisionAttributes{} } +func (m *CancelTimerDecisionAttributes) String() string { return proto.CompactTextString(m) } +func (*CancelTimerDecisionAttributes) ProtoMessage() {} +func (*CancelTimerDecisionAttributes) Descriptor() ([]byte, []int) { + return fileDescriptor_fb529b236ea74dc2, []int{6} +} +func (m *CancelTimerDecisionAttributes) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *CancelTimerDecisionAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_CancelTimerDecisionAttributes.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *CancelTimerDecisionAttributes) XXX_Merge(src proto.Message) { + xxx_messageInfo_CancelTimerDecisionAttributes.Merge(m, src) +} +func (m *CancelTimerDecisionAttributes) XXX_Size() int { + return m.Size() +} +func (m *CancelTimerDecisionAttributes) XXX_DiscardUnknown() { + xxx_messageInfo_CancelTimerDecisionAttributes.DiscardUnknown(m) +} + +var xxx_messageInfo_CancelTimerDecisionAttributes proto.InternalMessageInfo + +func (m *CancelTimerDecisionAttributes) GetTimerId() string { + if m != nil { + return m.TimerId + } + return "" +} + +type CancelWorkflowExecutionDecisionAttributes struct { + Details *Payload `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CancelWorkflowExecutionDecisionAttributes) Reset() { + *m = CancelWorkflowExecutionDecisionAttributes{} +} +func (m *CancelWorkflowExecutionDecisionAttributes) String() string { + return proto.CompactTextString(m) +} +func (*CancelWorkflowExecutionDecisionAttributes) ProtoMessage() {} +func (*CancelWorkflowExecutionDecisionAttributes) Descriptor() ([]byte, []int) { + return fileDescriptor_fb529b236ea74dc2, []int{7} +} +func (m *CancelWorkflowExecutionDecisionAttributes) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *CancelWorkflowExecutionDecisionAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_CancelWorkflowExecutionDecisionAttributes.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *CancelWorkflowExecutionDecisionAttributes) XXX_Merge(src proto.Message) { + xxx_messageInfo_CancelWorkflowExecutionDecisionAttributes.Merge(m, src) +} +func (m *CancelWorkflowExecutionDecisionAttributes) XXX_Size() int { + return m.Size() +} +func (m *CancelWorkflowExecutionDecisionAttributes) XXX_DiscardUnknown() { + xxx_messageInfo_CancelWorkflowExecutionDecisionAttributes.DiscardUnknown(m) +} + +var xxx_messageInfo_CancelWorkflowExecutionDecisionAttributes proto.InternalMessageInfo + +func (m *CancelWorkflowExecutionDecisionAttributes) GetDetails() *Payload { + if m != nil { + return m.Details + } + return nil +} + +type RequestCancelExternalWorkflowExecutionDecisionAttributes struct { + Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` + WorkflowExecution *WorkflowExecution `protobuf:"bytes,2,opt,name=workflow_execution,json=workflowExecution,proto3" json:"workflow_execution,omitempty"` + Control []byte `protobuf:"bytes,3,opt,name=control,proto3" json:"control,omitempty"` + ChildWorkflowOnly bool `protobuf:"varint,4,opt,name=child_workflow_only,json=childWorkflowOnly,proto3" json:"child_workflow_only,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RequestCancelExternalWorkflowExecutionDecisionAttributes) Reset() { + *m = RequestCancelExternalWorkflowExecutionDecisionAttributes{} +} +func (m *RequestCancelExternalWorkflowExecutionDecisionAttributes) String() string { + return proto.CompactTextString(m) +} +func (*RequestCancelExternalWorkflowExecutionDecisionAttributes) ProtoMessage() {} +func (*RequestCancelExternalWorkflowExecutionDecisionAttributes) Descriptor() ([]byte, []int) { + return fileDescriptor_fb529b236ea74dc2, []int{8} +} +func (m *RequestCancelExternalWorkflowExecutionDecisionAttributes) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RequestCancelExternalWorkflowExecutionDecisionAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RequestCancelExternalWorkflowExecutionDecisionAttributes.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RequestCancelExternalWorkflowExecutionDecisionAttributes) XXX_Merge(src proto.Message) { + xxx_messageInfo_RequestCancelExternalWorkflowExecutionDecisionAttributes.Merge(m, src) +} +func (m *RequestCancelExternalWorkflowExecutionDecisionAttributes) XXX_Size() int { + return m.Size() +} +func (m *RequestCancelExternalWorkflowExecutionDecisionAttributes) XXX_DiscardUnknown() { + xxx_messageInfo_RequestCancelExternalWorkflowExecutionDecisionAttributes.DiscardUnknown(m) +} + +var xxx_messageInfo_RequestCancelExternalWorkflowExecutionDecisionAttributes proto.InternalMessageInfo + +func (m *RequestCancelExternalWorkflowExecutionDecisionAttributes) GetDomain() string { + if m != nil { + return m.Domain + } + return "" +} + +func (m *RequestCancelExternalWorkflowExecutionDecisionAttributes) GetWorkflowExecution() *WorkflowExecution { + if m != nil { + return m.WorkflowExecution + } + return nil +} + +func (m *RequestCancelExternalWorkflowExecutionDecisionAttributes) GetControl() []byte { + if m != nil { + return m.Control + } + return nil +} + +func (m *RequestCancelExternalWorkflowExecutionDecisionAttributes) GetChildWorkflowOnly() bool { + if m != nil { + return m.ChildWorkflowOnly + } + return false +} + +type RecordMarkerDecisionAttributes struct { + MarkerName string `protobuf:"bytes,1,opt,name=marker_name,json=markerName,proto3" json:"marker_name,omitempty"` + Details *Payload `protobuf:"bytes,2,opt,name=details,proto3" json:"details,omitempty"` + Header *Header `protobuf:"bytes,3,opt,name=header,proto3" json:"header,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RecordMarkerDecisionAttributes) Reset() { *m = RecordMarkerDecisionAttributes{} } +func (m *RecordMarkerDecisionAttributes) String() string { return proto.CompactTextString(m) } +func (*RecordMarkerDecisionAttributes) ProtoMessage() {} +func (*RecordMarkerDecisionAttributes) Descriptor() ([]byte, []int) { + return fileDescriptor_fb529b236ea74dc2, []int{9} +} +func (m *RecordMarkerDecisionAttributes) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RecordMarkerDecisionAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RecordMarkerDecisionAttributes.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RecordMarkerDecisionAttributes) XXX_Merge(src proto.Message) { + xxx_messageInfo_RecordMarkerDecisionAttributes.Merge(m, src) +} +func (m *RecordMarkerDecisionAttributes) XXX_Size() int { + return m.Size() +} +func (m *RecordMarkerDecisionAttributes) XXX_DiscardUnknown() { + xxx_messageInfo_RecordMarkerDecisionAttributes.DiscardUnknown(m) +} + +var xxx_messageInfo_RecordMarkerDecisionAttributes proto.InternalMessageInfo + +func (m *RecordMarkerDecisionAttributes) GetMarkerName() string { + if m != nil { + return m.MarkerName + } + return "" +} + +func (m *RecordMarkerDecisionAttributes) GetDetails() *Payload { + if m != nil { + return m.Details + } + return nil +} + +func (m *RecordMarkerDecisionAttributes) GetHeader() *Header { + if m != nil { + return m.Header + } + return nil +} + +type ContinueAsNewWorkflowExecutionDecisionAttributes struct { + WorkflowType *WorkflowType `protobuf:"bytes,1,opt,name=workflow_type,json=workflowType,proto3" json:"workflow_type,omitempty"` + TaskList *TaskList `protobuf:"bytes,2,opt,name=task_list,json=taskList,proto3" json:"task_list,omitempty"` + Input *Payload `protobuf:"bytes,3,opt,name=input,proto3" json:"input,omitempty"` + ExecutionStartToCloseTimeout *types.Duration `protobuf:"bytes,4,opt,name=execution_start_to_close_timeout,json=executionStartToCloseTimeout,proto3" json:"execution_start_to_close_timeout,omitempty"` + TaskStartToCloseTimeout *types.Duration `protobuf:"bytes,5,opt,name=task_start_to_close_timeout,json=taskStartToCloseTimeout,proto3" json:"task_start_to_close_timeout,omitempty"` + BackoffStartInterval *types.Duration `protobuf:"bytes,6,opt,name=backoff_start_interval,json=backoffStartInterval,proto3" json:"backoff_start_interval,omitempty"` + RetryPolicy *RetryPolicy `protobuf:"bytes,7,opt,name=retry_policy,json=retryPolicy,proto3" json:"retry_policy,omitempty"` + Initiator ContinueAsNewInitiator `protobuf:"varint,8,opt,name=initiator,proto3,enum=uber.cadence.api.v1.ContinueAsNewInitiator" json:"initiator,omitempty"` + Failure *Failure `protobuf:"bytes,9,opt,name=failure,proto3" json:"failure,omitempty"` + LastCompletionResult *Payload `protobuf:"bytes,10,opt,name=last_completion_result,json=lastCompletionResult,proto3" json:"last_completion_result,omitempty"` + CronSchedule string `protobuf:"bytes,11,opt,name=cron_schedule,json=cronSchedule,proto3" json:"cron_schedule,omitempty"` + Header *Header `protobuf:"bytes,12,opt,name=header,proto3" json:"header,omitempty"` + Memo *Memo `protobuf:"bytes,13,opt,name=memo,proto3" json:"memo,omitempty"` + SearchAttributes *SearchAttributes `protobuf:"bytes,14,opt,name=search_attributes,json=searchAttributes,proto3" json:"search_attributes,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ContinueAsNewWorkflowExecutionDecisionAttributes) Reset() { + *m = ContinueAsNewWorkflowExecutionDecisionAttributes{} +} +func (m *ContinueAsNewWorkflowExecutionDecisionAttributes) String() string { + return proto.CompactTextString(m) +} +func (*ContinueAsNewWorkflowExecutionDecisionAttributes) ProtoMessage() {} +func (*ContinueAsNewWorkflowExecutionDecisionAttributes) Descriptor() ([]byte, []int) { + return fileDescriptor_fb529b236ea74dc2, []int{10} +} +func (m *ContinueAsNewWorkflowExecutionDecisionAttributes) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ContinueAsNewWorkflowExecutionDecisionAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ContinueAsNewWorkflowExecutionDecisionAttributes.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ContinueAsNewWorkflowExecutionDecisionAttributes) XXX_Merge(src proto.Message) { + xxx_messageInfo_ContinueAsNewWorkflowExecutionDecisionAttributes.Merge(m, src) +} +func (m *ContinueAsNewWorkflowExecutionDecisionAttributes) XXX_Size() int { + return m.Size() +} +func (m *ContinueAsNewWorkflowExecutionDecisionAttributes) XXX_DiscardUnknown() { + xxx_messageInfo_ContinueAsNewWorkflowExecutionDecisionAttributes.DiscardUnknown(m) +} + +var xxx_messageInfo_ContinueAsNewWorkflowExecutionDecisionAttributes proto.InternalMessageInfo + +func (m *ContinueAsNewWorkflowExecutionDecisionAttributes) GetWorkflowType() *WorkflowType { + if m != nil { + return m.WorkflowType + } + return nil +} + +func (m *ContinueAsNewWorkflowExecutionDecisionAttributes) GetTaskList() *TaskList { + if m != nil { + return m.TaskList + } + return nil +} + +func (m *ContinueAsNewWorkflowExecutionDecisionAttributes) GetInput() *Payload { + if m != nil { + return m.Input + } + return nil +} + +func (m *ContinueAsNewWorkflowExecutionDecisionAttributes) GetExecutionStartToCloseTimeout() *types.Duration { + if m != nil { + return m.ExecutionStartToCloseTimeout + } + return nil +} + +func (m *ContinueAsNewWorkflowExecutionDecisionAttributes) GetTaskStartToCloseTimeout() *types.Duration { + if m != nil { + return m.TaskStartToCloseTimeout + } + return nil +} + +func (m *ContinueAsNewWorkflowExecutionDecisionAttributes) GetBackoffStartInterval() *types.Duration { + if m != nil { + return m.BackoffStartInterval + } + return nil +} + +func (m *ContinueAsNewWorkflowExecutionDecisionAttributes) GetRetryPolicy() *RetryPolicy { + if m != nil { + return m.RetryPolicy + } + return nil +} + +func (m *ContinueAsNewWorkflowExecutionDecisionAttributes) GetInitiator() ContinueAsNewInitiator { + if m != nil { + return m.Initiator + } + return ContinueAsNewInitiator_CONTINUE_AS_NEW_INITIATOR_INVALID +} + +func (m *ContinueAsNewWorkflowExecutionDecisionAttributes) GetFailure() *Failure { + if m != nil { + return m.Failure + } + return nil +} + +func (m *ContinueAsNewWorkflowExecutionDecisionAttributes) GetLastCompletionResult() *Payload { + if m != nil { + return m.LastCompletionResult + } + return nil +} + +func (m *ContinueAsNewWorkflowExecutionDecisionAttributes) GetCronSchedule() string { + if m != nil { + return m.CronSchedule + } + return "" +} + +func (m *ContinueAsNewWorkflowExecutionDecisionAttributes) GetHeader() *Header { + if m != nil { + return m.Header + } + return nil +} + +func (m *ContinueAsNewWorkflowExecutionDecisionAttributes) GetMemo() *Memo { + if m != nil { + return m.Memo + } + return nil +} + +func (m *ContinueAsNewWorkflowExecutionDecisionAttributes) GetSearchAttributes() *SearchAttributes { + if m != nil { + return m.SearchAttributes + } + return nil +} + +type StartChildWorkflowExecutionDecisionAttributes struct { + Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` + WorkflowId string `protobuf:"bytes,2,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"` + WorkflowType *WorkflowType `protobuf:"bytes,3,opt,name=workflow_type,json=workflowType,proto3" json:"workflow_type,omitempty"` + TaskList *TaskList `protobuf:"bytes,4,opt,name=task_list,json=taskList,proto3" json:"task_list,omitempty"` + Input *Payload `protobuf:"bytes,5,opt,name=input,proto3" json:"input,omitempty"` + ExecutionStartToCloseTimeout *types.Duration `protobuf:"bytes,6,opt,name=execution_start_to_close_timeout,json=executionStartToCloseTimeout,proto3" json:"execution_start_to_close_timeout,omitempty"` + TaskStartToCloseTimeout *types.Duration `protobuf:"bytes,7,opt,name=task_start_to_close_timeout,json=taskStartToCloseTimeout,proto3" json:"task_start_to_close_timeout,omitempty"` + ParentClosePolicy ParentClosePolicy `protobuf:"varint,8,opt,name=parent_close_policy,json=parentClosePolicy,proto3,enum=uber.cadence.api.v1.ParentClosePolicy" json:"parent_close_policy,omitempty"` + Control []byte `protobuf:"bytes,9,opt,name=control,proto3" json:"control,omitempty"` + WorkflowIdReusePolicy WorkflowIdReusePolicy `protobuf:"varint,10,opt,name=workflow_id_reuse_policy,json=workflowIdReusePolicy,proto3,enum=uber.cadence.api.v1.WorkflowIdReusePolicy" json:"workflow_id_reuse_policy,omitempty"` + RetryPolicy *RetryPolicy `protobuf:"bytes,11,opt,name=retry_policy,json=retryPolicy,proto3" json:"retry_policy,omitempty"` + CronSchedule string `protobuf:"bytes,12,opt,name=cron_schedule,json=cronSchedule,proto3" json:"cron_schedule,omitempty"` + Header *Header `protobuf:"bytes,13,opt,name=header,proto3" json:"header,omitempty"` + Memo *Memo `protobuf:"bytes,14,opt,name=memo,proto3" json:"memo,omitempty"` + SearchAttributes *SearchAttributes `protobuf:"bytes,15,opt,name=search_attributes,json=searchAttributes,proto3" json:"search_attributes,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *StartChildWorkflowExecutionDecisionAttributes) Reset() { + *m = StartChildWorkflowExecutionDecisionAttributes{} +} +func (m *StartChildWorkflowExecutionDecisionAttributes) String() string { + return proto.CompactTextString(m) +} +func (*StartChildWorkflowExecutionDecisionAttributes) ProtoMessage() {} +func (*StartChildWorkflowExecutionDecisionAttributes) Descriptor() ([]byte, []int) { + return fileDescriptor_fb529b236ea74dc2, []int{11} +} +func (m *StartChildWorkflowExecutionDecisionAttributes) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *StartChildWorkflowExecutionDecisionAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_StartChildWorkflowExecutionDecisionAttributes.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *StartChildWorkflowExecutionDecisionAttributes) XXX_Merge(src proto.Message) { + xxx_messageInfo_StartChildWorkflowExecutionDecisionAttributes.Merge(m, src) +} +func (m *StartChildWorkflowExecutionDecisionAttributes) XXX_Size() int { + return m.Size() +} +func (m *StartChildWorkflowExecutionDecisionAttributes) XXX_DiscardUnknown() { + xxx_messageInfo_StartChildWorkflowExecutionDecisionAttributes.DiscardUnknown(m) +} + +var xxx_messageInfo_StartChildWorkflowExecutionDecisionAttributes proto.InternalMessageInfo + +func (m *StartChildWorkflowExecutionDecisionAttributes) GetDomain() string { + if m != nil { + return m.Domain + } + return "" +} + +func (m *StartChildWorkflowExecutionDecisionAttributes) GetWorkflowId() string { + if m != nil { + return m.WorkflowId + } + return "" +} + +func (m *StartChildWorkflowExecutionDecisionAttributes) GetWorkflowType() *WorkflowType { + if m != nil { + return m.WorkflowType + } + return nil +} + +func (m *StartChildWorkflowExecutionDecisionAttributes) GetTaskList() *TaskList { + if m != nil { + return m.TaskList + } + return nil +} + +func (m *StartChildWorkflowExecutionDecisionAttributes) GetInput() *Payload { + if m != nil { + return m.Input + } + return nil +} + +func (m *StartChildWorkflowExecutionDecisionAttributes) GetExecutionStartToCloseTimeout() *types.Duration { + if m != nil { + return m.ExecutionStartToCloseTimeout + } + return nil +} + +func (m *StartChildWorkflowExecutionDecisionAttributes) GetTaskStartToCloseTimeout() *types.Duration { + if m != nil { + return m.TaskStartToCloseTimeout + } + return nil +} + +func (m *StartChildWorkflowExecutionDecisionAttributes) GetParentClosePolicy() ParentClosePolicy { + if m != nil { + return m.ParentClosePolicy + } + return ParentClosePolicy_PARENT_CLOSE_POLICY_INVALID +} + +func (m *StartChildWorkflowExecutionDecisionAttributes) GetControl() []byte { + if m != nil { + return m.Control + } + return nil +} + +func (m *StartChildWorkflowExecutionDecisionAttributes) GetWorkflowIdReusePolicy() WorkflowIdReusePolicy { + if m != nil { + return m.WorkflowIdReusePolicy + } + return WorkflowIdReusePolicy_WORKFLOW_ID_REUSE_POLICY_INVALID +} + +func (m *StartChildWorkflowExecutionDecisionAttributes) GetRetryPolicy() *RetryPolicy { + if m != nil { + return m.RetryPolicy + } + return nil +} + +func (m *StartChildWorkflowExecutionDecisionAttributes) GetCronSchedule() string { + if m != nil { + return m.CronSchedule + } + return "" +} + +func (m *StartChildWorkflowExecutionDecisionAttributes) GetHeader() *Header { + if m != nil { + return m.Header + } + return nil +} + +func (m *StartChildWorkflowExecutionDecisionAttributes) GetMemo() *Memo { + if m != nil { + return m.Memo + } + return nil +} + +func (m *StartChildWorkflowExecutionDecisionAttributes) GetSearchAttributes() *SearchAttributes { + if m != nil { + return m.SearchAttributes + } + return nil +} + +type SignalExternalWorkflowExecutionDecisionAttributes struct { + Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` + WorkflowExecution *WorkflowExecution `protobuf:"bytes,2,opt,name=workflow_execution,json=workflowExecution,proto3" json:"workflow_execution,omitempty"` + SignalName string `protobuf:"bytes,3,opt,name=signal_name,json=signalName,proto3" json:"signal_name,omitempty"` + Input *Payload `protobuf:"bytes,4,opt,name=input,proto3" json:"input,omitempty"` + Control []byte `protobuf:"bytes,5,opt,name=control,proto3" json:"control,omitempty"` + ChildWorkflowOnly bool `protobuf:"varint,6,opt,name=child_workflow_only,json=childWorkflowOnly,proto3" json:"child_workflow_only,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SignalExternalWorkflowExecutionDecisionAttributes) Reset() { + *m = SignalExternalWorkflowExecutionDecisionAttributes{} +} +func (m *SignalExternalWorkflowExecutionDecisionAttributes) String() string { + return proto.CompactTextString(m) +} +func (*SignalExternalWorkflowExecutionDecisionAttributes) ProtoMessage() {} +func (*SignalExternalWorkflowExecutionDecisionAttributes) Descriptor() ([]byte, []int) { + return fileDescriptor_fb529b236ea74dc2, []int{12} +} +func (m *SignalExternalWorkflowExecutionDecisionAttributes) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *SignalExternalWorkflowExecutionDecisionAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_SignalExternalWorkflowExecutionDecisionAttributes.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *SignalExternalWorkflowExecutionDecisionAttributes) XXX_Merge(src proto.Message) { + xxx_messageInfo_SignalExternalWorkflowExecutionDecisionAttributes.Merge(m, src) +} +func (m *SignalExternalWorkflowExecutionDecisionAttributes) XXX_Size() int { + return m.Size() +} +func (m *SignalExternalWorkflowExecutionDecisionAttributes) XXX_DiscardUnknown() { + xxx_messageInfo_SignalExternalWorkflowExecutionDecisionAttributes.DiscardUnknown(m) +} + +var xxx_messageInfo_SignalExternalWorkflowExecutionDecisionAttributes proto.InternalMessageInfo + +func (m *SignalExternalWorkflowExecutionDecisionAttributes) GetDomain() string { + if m != nil { + return m.Domain + } + return "" +} + +func (m *SignalExternalWorkflowExecutionDecisionAttributes) GetWorkflowExecution() *WorkflowExecution { + if m != nil { + return m.WorkflowExecution + } + return nil +} + +func (m *SignalExternalWorkflowExecutionDecisionAttributes) GetSignalName() string { + if m != nil { + return m.SignalName + } + return "" +} + +func (m *SignalExternalWorkflowExecutionDecisionAttributes) GetInput() *Payload { + if m != nil { + return m.Input + } + return nil +} + +func (m *SignalExternalWorkflowExecutionDecisionAttributes) GetControl() []byte { + if m != nil { + return m.Control + } + return nil +} + +func (m *SignalExternalWorkflowExecutionDecisionAttributes) GetChildWorkflowOnly() bool { + if m != nil { + return m.ChildWorkflowOnly + } + return false +} + +type UpsertWorkflowSearchAttributesDecisionAttributes struct { + SearchAttributes *SearchAttributes `protobuf:"bytes,1,opt,name=search_attributes,json=searchAttributes,proto3" json:"search_attributes,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UpsertWorkflowSearchAttributesDecisionAttributes) Reset() { + *m = UpsertWorkflowSearchAttributesDecisionAttributes{} +} +func (m *UpsertWorkflowSearchAttributesDecisionAttributes) String() string { + return proto.CompactTextString(m) +} +func (*UpsertWorkflowSearchAttributesDecisionAttributes) ProtoMessage() {} +func (*UpsertWorkflowSearchAttributesDecisionAttributes) Descriptor() ([]byte, []int) { + return fileDescriptor_fb529b236ea74dc2, []int{13} +} +func (m *UpsertWorkflowSearchAttributesDecisionAttributes) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *UpsertWorkflowSearchAttributesDecisionAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_UpsertWorkflowSearchAttributesDecisionAttributes.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *UpsertWorkflowSearchAttributesDecisionAttributes) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpsertWorkflowSearchAttributesDecisionAttributes.Merge(m, src) +} +func (m *UpsertWorkflowSearchAttributesDecisionAttributes) XXX_Size() int { + return m.Size() +} +func (m *UpsertWorkflowSearchAttributesDecisionAttributes) XXX_DiscardUnknown() { + xxx_messageInfo_UpsertWorkflowSearchAttributesDecisionAttributes.DiscardUnknown(m) +} + +var xxx_messageInfo_UpsertWorkflowSearchAttributesDecisionAttributes proto.InternalMessageInfo + +func (m *UpsertWorkflowSearchAttributesDecisionAttributes) GetSearchAttributes() *SearchAttributes { + if m != nil { + return m.SearchAttributes + } + return nil +} + +func init() { + proto.RegisterType((*Decision)(nil), "uber.cadence.api.v1.Decision") + proto.RegisterType((*ScheduleActivityTaskDecisionAttributes)(nil), "uber.cadence.api.v1.ScheduleActivityTaskDecisionAttributes") + proto.RegisterType((*StartTimerDecisionAttributes)(nil), "uber.cadence.api.v1.StartTimerDecisionAttributes") + proto.RegisterType((*CompleteWorkflowExecutionDecisionAttributes)(nil), "uber.cadence.api.v1.CompleteWorkflowExecutionDecisionAttributes") + proto.RegisterType((*FailWorkflowExecutionDecisionAttributes)(nil), "uber.cadence.api.v1.FailWorkflowExecutionDecisionAttributes") + proto.RegisterType((*RequestCancelActivityTaskDecisionAttributes)(nil), "uber.cadence.api.v1.RequestCancelActivityTaskDecisionAttributes") + proto.RegisterType((*CancelTimerDecisionAttributes)(nil), "uber.cadence.api.v1.CancelTimerDecisionAttributes") + proto.RegisterType((*CancelWorkflowExecutionDecisionAttributes)(nil), "uber.cadence.api.v1.CancelWorkflowExecutionDecisionAttributes") + proto.RegisterType((*RequestCancelExternalWorkflowExecutionDecisionAttributes)(nil), "uber.cadence.api.v1.RequestCancelExternalWorkflowExecutionDecisionAttributes") + proto.RegisterType((*RecordMarkerDecisionAttributes)(nil), "uber.cadence.api.v1.RecordMarkerDecisionAttributes") + proto.RegisterType((*ContinueAsNewWorkflowExecutionDecisionAttributes)(nil), "uber.cadence.api.v1.ContinueAsNewWorkflowExecutionDecisionAttributes") + proto.RegisterType((*StartChildWorkflowExecutionDecisionAttributes)(nil), "uber.cadence.api.v1.StartChildWorkflowExecutionDecisionAttributes") + proto.RegisterType((*SignalExternalWorkflowExecutionDecisionAttributes)(nil), "uber.cadence.api.v1.SignalExternalWorkflowExecutionDecisionAttributes") + proto.RegisterType((*UpsertWorkflowSearchAttributesDecisionAttributes)(nil), "uber.cadence.api.v1.UpsertWorkflowSearchAttributesDecisionAttributes") +} + +func init() { + proto.RegisterFile("uber/cadence/api/v1/decision.proto", fileDescriptor_fb529b236ea74dc2) +} + +var fileDescriptor_fb529b236ea74dc2 = []byte{ + // 1564 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x59, 0x4d, 0x4f, 0x1c, 0xc7, + 0x16, 0x7d, 0xcd, 0xc7, 0x7c, 0x5c, 0xc0, 0xcf, 0x14, 0x36, 0x06, 0x1b, 0x03, 0x9e, 0xa7, 0x87, + 0x9f, 0x8d, 0x98, 0x01, 0xec, 0x67, 0x59, 0xf6, 0x93, 0xf5, 0x00, 0x1b, 0x19, 0xc9, 0xc6, 0xa8, + 0x8d, 0x63, 0x29, 0x9b, 0x56, 0x4d, 0x75, 0x01, 0x25, 0x7a, 0xba, 0x27, 0xd5, 0xd5, 0xe0, 0x89, + 0x14, 0x29, 0xab, 0x24, 0x9b, 0xfc, 0x80, 0x48, 0x59, 0x65, 0x95, 0x6c, 0x92, 0x6d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x27, 0x7d, 0x25, 0x28, 0x77, 0x71, + 0x66, 0xd6, 0x25, 0xc5, 0xfa, 0x69, 0xff, 0xea, 0x3e, 0xd2, 0xc0, 0xd9, 0x16, 0x71, 0x97, 0x9f, + 0x31, 0x17, 0x7d, 0x6c, 0xc0, 0x35, 0x4e, 0x89, 0xc7, 0x6d, 0xab, 0x81, 0xf9, 0x61, 0x8f, 0xca, + 0x97, 0x15, 0xed, 0x5b, 0x3d, 0x68, 0xcb, 0xec, 0xa7, 0x2a, 0x39, 0x91, 0xdc, 0x2c, 0x4f, 0x8d, + 0x40, 0x3f, 0x18, 0x70, 0x87, 0x78, 0xae, 0x60, 0x6e, 0x40, 0x2d, 0xec, 0x5b, 0x2e, 0x3d, 0xce, + 0xba, 0x9d, 0xa0, 0x78, 0x3d, 0xea, 0xd1, 0x77, 0x42, 0xc8, 0x35, 0x7f, 0x9b, 0x1e, 0x67, 0xdb, + 0xc6, 0x65, 0x92, 0x33, 0x07, 0x7d, 0x67, 0xc0, 0x6a, 0xd8, 0xa9, 0xc9, 0x01, 0x73, 0xec, 0xac, + 0xbc, 0x47, 0x14, 0xef, 0xf5, 0xde, 0xcd, 0x7b, 0x43, 0xa2, 0x65, 0x23, 0xbd, 0xe4, 0xe7, 0x49, + 0x40, 0x3f, 0x1a, 0x70, 0xc7, 0x67, 0xfb, 0xf2, 0xcc, 0xe6, 0x3d, 0xbc, 0xa3, 0x8a, 0xf5, 0x66, + 0x32, 0x6b, 0x05, 0x99, 0xef, 0xd4, 0xae, 0xf8, 0x79, 0x93, 0xd0, 0xf7, 0x06, 0xfc, 0x37, 0x68, + 0xfa, 0x94, 0x8b, 0x36, 0x69, 0x9f, 0x62, 0x4e, 0x0e, 0x3a, 0x88, 0x26, 0x92, 0x1f, 0x4b, 0x39, + 0x2a, 0x2f, 0x14, 0x62, 0x34, 0xff, 0x73, 0x85, 0xd7, 0x9e, 0x34, 0xf9, 0xa8, 0x04, 0x39, 0x73, + 0xd6, 0x47, 0x01,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, 0xf4, 0x2f, 0x31, 0xf7, 0x71, 0x93, 0x1d, 0xad, 0xd4, 0x0b, 0x6a, 0xec, 0xd6, 0x5f, 0x01, + 0x00, 0x00, 0xff, 0xff, 0xdf, 0xda, 0xbb, 0xfb, 0x4c, 0x1a, 0x00, 0x00, +} + +func (m *Decision) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Decision) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Decision) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.Attributes != nil { + { + size := m.Attributes.Size() + i -= size + if _, err := m.Attributes.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + } + } + return len(dAtA) - i, nil +} + +func (m *Decision_ScheduleActivityTaskDecisionAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Decision_ScheduleActivityTaskDecisionAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.ScheduleActivityTaskDecisionAttributes != nil { + { + size, err := m.ScheduleActivityTaskDecisionAttributes.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDecision(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} +func (m *Decision_StartTimerDecisionAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Decision_StartTimerDecisionAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.StartTimerDecisionAttributes != nil { + { + size, err := m.StartTimerDecisionAttributes.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDecision(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + return len(dAtA) - i, nil +} +func (m *Decision_CompleteWorkflowExecutionDecisionAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Decision_CompleteWorkflowExecutionDecisionAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.CompleteWorkflowExecutionDecisionAttributes != nil { + { + size, err := m.CompleteWorkflowExecutionDecisionAttributes.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDecision(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + return len(dAtA) - i, nil +} +func (m *Decision_FailWorkflowExecutionDecisionAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Decision_FailWorkflowExecutionDecisionAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.FailWorkflowExecutionDecisionAttributes != nil { + { + size, err := m.FailWorkflowExecutionDecisionAttributes.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDecision(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 + } + return len(dAtA) - i, nil +} +func (m *Decision_RequestCancelActivityTaskDecisionAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Decision_RequestCancelActivityTaskDecisionAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.RequestCancelActivityTaskDecisionAttributes != nil { + { + size, err := m.RequestCancelActivityTaskDecisionAttributes.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDecision(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a + } + return len(dAtA) - i, nil +} +func (m *Decision_CancelTimerDecisionAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Decision_CancelTimerDecisionAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.CancelTimerDecisionAttributes != nil { + { + size, err := m.CancelTimerDecisionAttributes.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDecision(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x32 + } + return len(dAtA) - i, nil +} +func (m *Decision_CancelWorkflowExecutionDecisionAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Decision_CancelWorkflowExecutionDecisionAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.CancelWorkflowExecutionDecisionAttributes != nil { + { + size, err := m.CancelWorkflowExecutionDecisionAttributes.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDecision(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x3a + } + return len(dAtA) - i, nil +} +func (m *Decision_RequestCancelExternalWorkflowExecutionDecisionAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Decision_RequestCancelExternalWorkflowExecutionDecisionAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.RequestCancelExternalWorkflowExecutionDecisionAttributes != nil { + { + size, err := m.RequestCancelExternalWorkflowExecutionDecisionAttributes.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDecision(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x42 + } + return len(dAtA) - i, nil +} +func (m *Decision_RecordMarkerDecisionAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Decision_RecordMarkerDecisionAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.RecordMarkerDecisionAttributes != nil { + { + size, err := m.RecordMarkerDecisionAttributes.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDecision(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x4a + } + return len(dAtA) - i, nil +} +func (m *Decision_ContinueAsNewWorkflowExecutionDecisionAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Decision_ContinueAsNewWorkflowExecutionDecisionAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.ContinueAsNewWorkflowExecutionDecisionAttributes != nil { + { + size, err := m.ContinueAsNewWorkflowExecutionDecisionAttributes.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDecision(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x52 + } + return len(dAtA) - i, nil +} +func (m *Decision_StartChildWorkflowExecutionDecisionAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Decision_StartChildWorkflowExecutionDecisionAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.StartChildWorkflowExecutionDecisionAttributes != nil { + { + size, err := m.StartChildWorkflowExecutionDecisionAttributes.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDecision(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x5a + } + return len(dAtA) - i, nil +} +func (m *Decision_SignalExternalWorkflowExecutionDecisionAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Decision_SignalExternalWorkflowExecutionDecisionAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.SignalExternalWorkflowExecutionDecisionAttributes != nil { + { + size, err := m.SignalExternalWorkflowExecutionDecisionAttributes.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDecision(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x62 + } + return len(dAtA) - i, nil +} +func (m *Decision_UpsertWorkflowSearchAttributesDecisionAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Decision_UpsertWorkflowSearchAttributesDecisionAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.UpsertWorkflowSearchAttributesDecisionAttributes != nil { + { + size, err := m.UpsertWorkflowSearchAttributesDecisionAttributes.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDecision(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x6a + } + return len(dAtA) - i, nil +} +func (m *ScheduleActivityTaskDecisionAttributes) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ScheduleActivityTaskDecisionAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ScheduleActivityTaskDecisionAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.RequestLocalDispatch { + i-- + if m.RequestLocalDispatch { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x68 + } + if m.Header != nil { + { + size, err := m.Header.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDecision(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x62 + } + if m.RetryPolicy != nil { + { + size, err := m.RetryPolicy.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDecision(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x5a + } + if m.HeartbeatTimeout != nil { + { + size, err := m.HeartbeatTimeout.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDecision(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x4a + } + if m.StartToCloseTimeout != nil { + { + size, err := m.StartToCloseTimeout.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDecision(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x42 + } + if m.ScheduleToStartTimeout != nil { + { + size, err := m.ScheduleToStartTimeout.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDecision(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x3a + } + if m.ScheduleToCloseTimeout != nil { + { + size, err := m.ScheduleToCloseTimeout.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDecision(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x32 + } + if m.Input != nil { + { + size, err := m.Input.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDecision(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a + } + if m.TaskList != nil { + { + size, err := m.TaskList.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDecision(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 + } + if len(m.Domain) > 0 { + i -= len(m.Domain) + copy(dAtA[i:], m.Domain) + i = encodeVarintDecision(dAtA, i, uint64(len(m.Domain))) + i-- + dAtA[i] = 0x1a + } + if m.ActivityType != nil { + { + size, err := m.ActivityType.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDecision(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if len(m.ActivityId) > 0 { + i -= len(m.ActivityId) + copy(dAtA[i:], m.ActivityId) + i = encodeVarintDecision(dAtA, i, uint64(len(m.ActivityId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *StartTimerDecisionAttributes) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *StartTimerDecisionAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *StartTimerDecisionAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.StartToFireTimeout != nil { + { + size, err := m.StartToFireTimeout.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDecision(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if len(m.TimerId) > 0 { + i -= len(m.TimerId) + copy(dAtA[i:], m.TimerId) + i = encodeVarintDecision(dAtA, i, uint64(len(m.TimerId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *CompleteWorkflowExecutionDecisionAttributes) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *CompleteWorkflowExecutionDecisionAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *CompleteWorkflowExecutionDecisionAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.Result != nil { + { + size, err := m.Result.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDecision(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *FailWorkflowExecutionDecisionAttributes) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *FailWorkflowExecutionDecisionAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *FailWorkflowExecutionDecisionAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.Failure != nil { + { + size, err := m.Failure.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDecision(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *RequestCancelActivityTaskDecisionAttributes) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RequestCancelActivityTaskDecisionAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *RequestCancelActivityTaskDecisionAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.ActivityId) > 0 { + i -= len(m.ActivityId) + copy(dAtA[i:], m.ActivityId) + i = encodeVarintDecision(dAtA, i, uint64(len(m.ActivityId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *CancelTimerDecisionAttributes) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *CancelTimerDecisionAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *CancelTimerDecisionAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.TimerId) > 0 { + i -= len(m.TimerId) + copy(dAtA[i:], m.TimerId) + i = encodeVarintDecision(dAtA, i, uint64(len(m.TimerId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *CancelWorkflowExecutionDecisionAttributes) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *CancelWorkflowExecutionDecisionAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *CancelWorkflowExecutionDecisionAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.Details != nil { + { + size, err := m.Details.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDecision(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *RequestCancelExternalWorkflowExecutionDecisionAttributes) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RequestCancelExternalWorkflowExecutionDecisionAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *RequestCancelExternalWorkflowExecutionDecisionAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.ChildWorkflowOnly { + i-- + if m.ChildWorkflowOnly { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x20 + } + if len(m.Control) > 0 { + i -= len(m.Control) + copy(dAtA[i:], m.Control) + i = encodeVarintDecision(dAtA, i, uint64(len(m.Control))) + i-- + dAtA[i] = 0x1a + } + if m.WorkflowExecution != nil { + { + size, err := m.WorkflowExecution.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDecision(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if len(m.Domain) > 0 { + i -= len(m.Domain) + copy(dAtA[i:], m.Domain) + i = encodeVarintDecision(dAtA, i, uint64(len(m.Domain))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *RecordMarkerDecisionAttributes) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RecordMarkerDecisionAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *RecordMarkerDecisionAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.Header != nil { + { + size, err := m.Header.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDecision(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + if m.Details != nil { + { + size, err := m.Details.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDecision(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if len(m.MarkerName) > 0 { + i -= len(m.MarkerName) + copy(dAtA[i:], m.MarkerName) + i = encodeVarintDecision(dAtA, i, uint64(len(m.MarkerName))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ContinueAsNewWorkflowExecutionDecisionAttributes) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ContinueAsNewWorkflowExecutionDecisionAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ContinueAsNewWorkflowExecutionDecisionAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.SearchAttributes != nil { + { + size, err := m.SearchAttributes.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDecision(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x72 + } + if m.Memo != nil { + { + size, err := m.Memo.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDecision(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x6a + } + if m.Header != nil { + { + size, err := m.Header.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDecision(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x62 + } + if len(m.CronSchedule) > 0 { + i -= len(m.CronSchedule) + copy(dAtA[i:], m.CronSchedule) + i = encodeVarintDecision(dAtA, i, uint64(len(m.CronSchedule))) + i-- + dAtA[i] = 0x5a + } + if m.LastCompletionResult != nil { + { + size, err := m.LastCompletionResult.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDecision(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x52 + } + if m.Failure != nil { + { + size, err := m.Failure.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDecision(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x4a + } + if m.Initiator != 0 { + i = encodeVarintDecision(dAtA, i, uint64(m.Initiator)) + i-- + dAtA[i] = 0x40 + } + if m.RetryPolicy != nil { + { + size, err := m.RetryPolicy.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDecision(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x3a + } + if m.BackoffStartInterval != nil { + { + size, err := m.BackoffStartInterval.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDecision(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x32 + } + if m.TaskStartToCloseTimeout != nil { + { + size, err := m.TaskStartToCloseTimeout.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDecision(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a + } + if m.ExecutionStartToCloseTimeout != nil { + { + size, err := m.ExecutionStartToCloseTimeout.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDecision(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 + } + if m.Input != nil { + { + size, err := m.Input.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDecision(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + if m.TaskList != nil { + { + size, err := m.TaskList.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDecision(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if m.WorkflowType != nil { + { + size, err := m.WorkflowType.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDecision(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *StartChildWorkflowExecutionDecisionAttributes) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *StartChildWorkflowExecutionDecisionAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *StartChildWorkflowExecutionDecisionAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.SearchAttributes != nil { + { + size, err := m.SearchAttributes.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDecision(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x7a + } + if m.Memo != nil { + { + size, err := m.Memo.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDecision(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x72 + } + if m.Header != nil { + { + size, err := m.Header.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDecision(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x6a + } + if len(m.CronSchedule) > 0 { + i -= len(m.CronSchedule) + copy(dAtA[i:], m.CronSchedule) + i = encodeVarintDecision(dAtA, i, uint64(len(m.CronSchedule))) + i-- + dAtA[i] = 0x62 + } + if m.RetryPolicy != nil { + { + size, err := m.RetryPolicy.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDecision(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x5a + } + if m.WorkflowIdReusePolicy != 0 { + i = encodeVarintDecision(dAtA, i, uint64(m.WorkflowIdReusePolicy)) + i-- + dAtA[i] = 0x50 + } + if len(m.Control) > 0 { + i -= len(m.Control) + copy(dAtA[i:], m.Control) + i = encodeVarintDecision(dAtA, i, uint64(len(m.Control))) + i-- + dAtA[i] = 0x4a + } + if m.ParentClosePolicy != 0 { + i = encodeVarintDecision(dAtA, i, uint64(m.ParentClosePolicy)) + i-- + dAtA[i] = 0x40 + } + if m.TaskStartToCloseTimeout != nil { + { + size, err := m.TaskStartToCloseTimeout.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDecision(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x3a + } + if m.ExecutionStartToCloseTimeout != nil { + { + size, err := m.ExecutionStartToCloseTimeout.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDecision(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x32 + } + if m.Input != nil { + { + size, err := m.Input.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDecision(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a + } + if m.TaskList != nil { + { + size, err := m.TaskList.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDecision(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 + } + if m.WorkflowType != nil { + { + size, err := m.WorkflowType.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDecision(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + if len(m.WorkflowId) > 0 { + i -= len(m.WorkflowId) + copy(dAtA[i:], m.WorkflowId) + i = encodeVarintDecision(dAtA, i, uint64(len(m.WorkflowId))) + i-- + dAtA[i] = 0x12 + } + if len(m.Domain) > 0 { + i -= len(m.Domain) + copy(dAtA[i:], m.Domain) + i = encodeVarintDecision(dAtA, i, uint64(len(m.Domain))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *SignalExternalWorkflowExecutionDecisionAttributes) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *SignalExternalWorkflowExecutionDecisionAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *SignalExternalWorkflowExecutionDecisionAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.ChildWorkflowOnly { + i-- + if m.ChildWorkflowOnly { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x30 + } + if len(m.Control) > 0 { + i -= len(m.Control) + copy(dAtA[i:], m.Control) + i = encodeVarintDecision(dAtA, i, uint64(len(m.Control))) + i-- + dAtA[i] = 0x2a + } + if m.Input != nil { + { + size, err := m.Input.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDecision(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 + } + if len(m.SignalName) > 0 { + i -= len(m.SignalName) + copy(dAtA[i:], m.SignalName) + i = encodeVarintDecision(dAtA, i, uint64(len(m.SignalName))) + i-- + dAtA[i] = 0x1a + } + if m.WorkflowExecution != nil { + { + size, err := m.WorkflowExecution.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDecision(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if len(m.Domain) > 0 { + i -= len(m.Domain) + copy(dAtA[i:], m.Domain) + i = encodeVarintDecision(dAtA, i, uint64(len(m.Domain))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *UpsertWorkflowSearchAttributesDecisionAttributes) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *UpsertWorkflowSearchAttributesDecisionAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *UpsertWorkflowSearchAttributesDecisionAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.SearchAttributes != nil { + { + size, err := m.SearchAttributes.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDecision(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func encodeVarintDecision(dAtA []byte, offset int, v uint64) int { + offset -= sovDecision(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *Decision) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Attributes != nil { + n += m.Attributes.Size() + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *Decision_ScheduleActivityTaskDecisionAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.ScheduleActivityTaskDecisionAttributes != nil { + l = m.ScheduleActivityTaskDecisionAttributes.Size() + n += 1 + l + sovDecision(uint64(l)) + } + return n +} +func (m *Decision_StartTimerDecisionAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.StartTimerDecisionAttributes != nil { + l = m.StartTimerDecisionAttributes.Size() + n += 1 + l + sovDecision(uint64(l)) + } + return n +} +func (m *Decision_CompleteWorkflowExecutionDecisionAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.CompleteWorkflowExecutionDecisionAttributes != nil { + l = m.CompleteWorkflowExecutionDecisionAttributes.Size() + n += 1 + l + sovDecision(uint64(l)) + } + return n +} +func (m *Decision_FailWorkflowExecutionDecisionAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.FailWorkflowExecutionDecisionAttributes != nil { + l = m.FailWorkflowExecutionDecisionAttributes.Size() + n += 1 + l + sovDecision(uint64(l)) + } + return n +} +func (m *Decision_RequestCancelActivityTaskDecisionAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.RequestCancelActivityTaskDecisionAttributes != nil { + l = m.RequestCancelActivityTaskDecisionAttributes.Size() + n += 1 + l + sovDecision(uint64(l)) + } + return n +} +func (m *Decision_CancelTimerDecisionAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.CancelTimerDecisionAttributes != nil { + l = m.CancelTimerDecisionAttributes.Size() + n += 1 + l + sovDecision(uint64(l)) + } + return n +} +func (m *Decision_CancelWorkflowExecutionDecisionAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.CancelWorkflowExecutionDecisionAttributes != nil { + l = m.CancelWorkflowExecutionDecisionAttributes.Size() + n += 1 + l + sovDecision(uint64(l)) + } + return n +} +func (m *Decision_RequestCancelExternalWorkflowExecutionDecisionAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.RequestCancelExternalWorkflowExecutionDecisionAttributes != nil { + l = m.RequestCancelExternalWorkflowExecutionDecisionAttributes.Size() + n += 1 + l + sovDecision(uint64(l)) + } + return n +} +func (m *Decision_RecordMarkerDecisionAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.RecordMarkerDecisionAttributes != nil { + l = m.RecordMarkerDecisionAttributes.Size() + n += 1 + l + sovDecision(uint64(l)) + } + return n +} +func (m *Decision_ContinueAsNewWorkflowExecutionDecisionAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.ContinueAsNewWorkflowExecutionDecisionAttributes != nil { + l = m.ContinueAsNewWorkflowExecutionDecisionAttributes.Size() + n += 1 + l + sovDecision(uint64(l)) + } + return n +} +func (m *Decision_StartChildWorkflowExecutionDecisionAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.StartChildWorkflowExecutionDecisionAttributes != nil { + l = m.StartChildWorkflowExecutionDecisionAttributes.Size() + n += 1 + l + sovDecision(uint64(l)) + } + return n +} +func (m *Decision_SignalExternalWorkflowExecutionDecisionAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.SignalExternalWorkflowExecutionDecisionAttributes != nil { + l = m.SignalExternalWorkflowExecutionDecisionAttributes.Size() + n += 1 + l + sovDecision(uint64(l)) + } + return n +} +func (m *Decision_UpsertWorkflowSearchAttributesDecisionAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.UpsertWorkflowSearchAttributesDecisionAttributes != nil { + l = m.UpsertWorkflowSearchAttributesDecisionAttributes.Size() + n += 1 + l + sovDecision(uint64(l)) + } + return n +} +func (m *ScheduleActivityTaskDecisionAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ActivityId) + if l > 0 { + n += 1 + l + sovDecision(uint64(l)) + } + if m.ActivityType != nil { + l = m.ActivityType.Size() + n += 1 + l + sovDecision(uint64(l)) + } + l = len(m.Domain) + if l > 0 { + n += 1 + l + sovDecision(uint64(l)) + } + if m.TaskList != nil { + l = m.TaskList.Size() + n += 1 + l + sovDecision(uint64(l)) + } + if m.Input != nil { + l = m.Input.Size() + n += 1 + l + sovDecision(uint64(l)) + } + if m.ScheduleToCloseTimeout != nil { + l = m.ScheduleToCloseTimeout.Size() + n += 1 + l + sovDecision(uint64(l)) + } + if m.ScheduleToStartTimeout != nil { + l = m.ScheduleToStartTimeout.Size() + n += 1 + l + sovDecision(uint64(l)) + } + if m.StartToCloseTimeout != nil { + l = m.StartToCloseTimeout.Size() + n += 1 + l + sovDecision(uint64(l)) + } + if m.HeartbeatTimeout != nil { + l = m.HeartbeatTimeout.Size() + n += 1 + l + sovDecision(uint64(l)) + } + if m.RetryPolicy != nil { + l = m.RetryPolicy.Size() + n += 1 + l + sovDecision(uint64(l)) + } + if m.Header != nil { + l = m.Header.Size() + n += 1 + l + sovDecision(uint64(l)) + } + if m.RequestLocalDispatch { + n += 2 + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *StartTimerDecisionAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.TimerId) + if l > 0 { + n += 1 + l + sovDecision(uint64(l)) + } + if m.StartToFireTimeout != nil { + l = m.StartToFireTimeout.Size() + n += 1 + l + sovDecision(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *CompleteWorkflowExecutionDecisionAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Result != nil { + l = m.Result.Size() + n += 1 + l + sovDecision(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *FailWorkflowExecutionDecisionAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Failure != nil { + l = m.Failure.Size() + n += 1 + l + sovDecision(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *RequestCancelActivityTaskDecisionAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ActivityId) + if l > 0 { + n += 1 + l + sovDecision(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *CancelTimerDecisionAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.TimerId) + if l > 0 { + n += 1 + l + sovDecision(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *CancelWorkflowExecutionDecisionAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Details != nil { + l = m.Details.Size() + n += 1 + l + sovDecision(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *RequestCancelExternalWorkflowExecutionDecisionAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Domain) + if l > 0 { + n += 1 + l + sovDecision(uint64(l)) + } + if m.WorkflowExecution != nil { + l = m.WorkflowExecution.Size() + n += 1 + l + sovDecision(uint64(l)) + } + l = len(m.Control) + if l > 0 { + n += 1 + l + sovDecision(uint64(l)) + } + if m.ChildWorkflowOnly { + n += 2 + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *RecordMarkerDecisionAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.MarkerName) + if l > 0 { + n += 1 + l + sovDecision(uint64(l)) + } + if m.Details != nil { + l = m.Details.Size() + n += 1 + l + sovDecision(uint64(l)) + } + if m.Header != nil { + l = m.Header.Size() + n += 1 + l + sovDecision(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *ContinueAsNewWorkflowExecutionDecisionAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.WorkflowType != nil { + l = m.WorkflowType.Size() + n += 1 + l + sovDecision(uint64(l)) + } + if m.TaskList != nil { + l = m.TaskList.Size() + n += 1 + l + sovDecision(uint64(l)) + } + if m.Input != nil { + l = m.Input.Size() + n += 1 + l + sovDecision(uint64(l)) + } + if m.ExecutionStartToCloseTimeout != nil { + l = m.ExecutionStartToCloseTimeout.Size() + n += 1 + l + sovDecision(uint64(l)) + } + if m.TaskStartToCloseTimeout != nil { + l = m.TaskStartToCloseTimeout.Size() + n += 1 + l + sovDecision(uint64(l)) + } + if m.BackoffStartInterval != nil { + l = m.BackoffStartInterval.Size() + n += 1 + l + sovDecision(uint64(l)) + } + if m.RetryPolicy != nil { + l = m.RetryPolicy.Size() + n += 1 + l + sovDecision(uint64(l)) + } + if m.Initiator != 0 { + n += 1 + sovDecision(uint64(m.Initiator)) + } + if m.Failure != nil { + l = m.Failure.Size() + n += 1 + l + sovDecision(uint64(l)) + } + if m.LastCompletionResult != nil { + l = m.LastCompletionResult.Size() + n += 1 + l + sovDecision(uint64(l)) + } + l = len(m.CronSchedule) + if l > 0 { + n += 1 + l + sovDecision(uint64(l)) + } + if m.Header != nil { + l = m.Header.Size() + n += 1 + l + sovDecision(uint64(l)) + } + if m.Memo != nil { + l = m.Memo.Size() + n += 1 + l + sovDecision(uint64(l)) + } + if m.SearchAttributes != nil { + l = m.SearchAttributes.Size() + n += 1 + l + sovDecision(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *StartChildWorkflowExecutionDecisionAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Domain) + if l > 0 { + n += 1 + l + sovDecision(uint64(l)) + } + l = len(m.WorkflowId) + if l > 0 { + n += 1 + l + sovDecision(uint64(l)) + } + if m.WorkflowType != nil { + l = m.WorkflowType.Size() + n += 1 + l + sovDecision(uint64(l)) + } + if m.TaskList != nil { + l = m.TaskList.Size() + n += 1 + l + sovDecision(uint64(l)) + } + if m.Input != nil { + l = m.Input.Size() + n += 1 + l + sovDecision(uint64(l)) + } + if m.ExecutionStartToCloseTimeout != nil { + l = m.ExecutionStartToCloseTimeout.Size() + n += 1 + l + sovDecision(uint64(l)) + } + if m.TaskStartToCloseTimeout != nil { + l = m.TaskStartToCloseTimeout.Size() + n += 1 + l + sovDecision(uint64(l)) + } + if m.ParentClosePolicy != 0 { + n += 1 + sovDecision(uint64(m.ParentClosePolicy)) + } + l = len(m.Control) + if l > 0 { + n += 1 + l + sovDecision(uint64(l)) + } + if m.WorkflowIdReusePolicy != 0 { + n += 1 + sovDecision(uint64(m.WorkflowIdReusePolicy)) + } + if m.RetryPolicy != nil { + l = m.RetryPolicy.Size() + n += 1 + l + sovDecision(uint64(l)) + } + l = len(m.CronSchedule) + if l > 0 { + n += 1 + l + sovDecision(uint64(l)) + } + if m.Header != nil { + l = m.Header.Size() + n += 1 + l + sovDecision(uint64(l)) + } + if m.Memo != nil { + l = m.Memo.Size() + n += 1 + l + sovDecision(uint64(l)) + } + if m.SearchAttributes != nil { + l = m.SearchAttributes.Size() + n += 1 + l + sovDecision(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *SignalExternalWorkflowExecutionDecisionAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Domain) + if l > 0 { + n += 1 + l + sovDecision(uint64(l)) + } + if m.WorkflowExecution != nil { + l = m.WorkflowExecution.Size() + n += 1 + l + sovDecision(uint64(l)) + } + l = len(m.SignalName) + if l > 0 { + n += 1 + l + sovDecision(uint64(l)) + } + if m.Input != nil { + l = m.Input.Size() + n += 1 + l + sovDecision(uint64(l)) + } + l = len(m.Control) + if l > 0 { + n += 1 + l + sovDecision(uint64(l)) + } + if m.ChildWorkflowOnly { + n += 2 + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *UpsertWorkflowSearchAttributesDecisionAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.SearchAttributes != nil { + l = m.SearchAttributes.Size() + n += 1 + l + sovDecision(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func sovDecision(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozDecision(x uint64) (n int) { + return sovDecision(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *Decision) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Decision: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Decision: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ScheduleActivityTaskDecisionAttributes", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDecision + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDecision + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &ScheduleActivityTaskDecisionAttributes{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Attributes = &Decision_ScheduleActivityTaskDecisionAttributes{v} + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field StartTimerDecisionAttributes", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDecision + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDecision + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &StartTimerDecisionAttributes{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Attributes = &Decision_StartTimerDecisionAttributes{v} + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CompleteWorkflowExecutionDecisionAttributes", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDecision + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDecision + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &CompleteWorkflowExecutionDecisionAttributes{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Attributes = &Decision_CompleteWorkflowExecutionDecisionAttributes{v} + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field FailWorkflowExecutionDecisionAttributes", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDecision + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDecision + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &FailWorkflowExecutionDecisionAttributes{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Attributes = &Decision_FailWorkflowExecutionDecisionAttributes{v} + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RequestCancelActivityTaskDecisionAttributes", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDecision + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDecision + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &RequestCancelActivityTaskDecisionAttributes{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Attributes = &Decision_RequestCancelActivityTaskDecisionAttributes{v} + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CancelTimerDecisionAttributes", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDecision + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDecision + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &CancelTimerDecisionAttributes{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Attributes = &Decision_CancelTimerDecisionAttributes{v} + iNdEx = postIndex + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CancelWorkflowExecutionDecisionAttributes", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDecision + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDecision + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &CancelWorkflowExecutionDecisionAttributes{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Attributes = &Decision_CancelWorkflowExecutionDecisionAttributes{v} + iNdEx = postIndex + case 8: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RequestCancelExternalWorkflowExecutionDecisionAttributes", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDecision + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDecision + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &RequestCancelExternalWorkflowExecutionDecisionAttributes{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Attributes = &Decision_RequestCancelExternalWorkflowExecutionDecisionAttributes{v} + iNdEx = postIndex + case 9: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RecordMarkerDecisionAttributes", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDecision + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDecision + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &RecordMarkerDecisionAttributes{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Attributes = &Decision_RecordMarkerDecisionAttributes{v} + iNdEx = postIndex + case 10: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ContinueAsNewWorkflowExecutionDecisionAttributes", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDecision + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDecision + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &ContinueAsNewWorkflowExecutionDecisionAttributes{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Attributes = &Decision_ContinueAsNewWorkflowExecutionDecisionAttributes{v} + iNdEx = postIndex + case 11: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field StartChildWorkflowExecutionDecisionAttributes", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDecision + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDecision + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &StartChildWorkflowExecutionDecisionAttributes{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Attributes = &Decision_StartChildWorkflowExecutionDecisionAttributes{v} + iNdEx = postIndex + case 12: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SignalExternalWorkflowExecutionDecisionAttributes", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDecision + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDecision + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &SignalExternalWorkflowExecutionDecisionAttributes{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Attributes = &Decision_SignalExternalWorkflowExecutionDecisionAttributes{v} + iNdEx = postIndex + case 13: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field UpsertWorkflowSearchAttributesDecisionAttributes", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDecision + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDecision + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &UpsertWorkflowSearchAttributesDecisionAttributes{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Attributes = &Decision_UpsertWorkflowSearchAttributesDecisionAttributes{v} + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipDecision(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthDecision + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ScheduleActivityTaskDecisionAttributes) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ScheduleActivityTaskDecisionAttributes: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ScheduleActivityTaskDecisionAttributes: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ActivityId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthDecision + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthDecision + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ActivityId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ActivityType", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDecision + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDecision + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.ActivityType == nil { + m.ActivityType = &ActivityType{} + } + if err := m.ActivityType.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Domain", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthDecision + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthDecision + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Domain = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TaskList", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDecision + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDecision + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.TaskList == nil { + m.TaskList = &TaskList{} + } + if err := m.TaskList.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Input", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDecision + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDecision + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Input == nil { + m.Input = &Payload{} + } + if err := m.Input.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ScheduleToCloseTimeout", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDecision + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDecision + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.ScheduleToCloseTimeout == nil { + m.ScheduleToCloseTimeout = &types.Duration{} + } + if err := m.ScheduleToCloseTimeout.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ScheduleToStartTimeout", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDecision + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDecision + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.ScheduleToStartTimeout == nil { + m.ScheduleToStartTimeout = &types.Duration{} + } + if err := m.ScheduleToStartTimeout.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 8: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field StartToCloseTimeout", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDecision + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDecision + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.StartToCloseTimeout == nil { + m.StartToCloseTimeout = &types.Duration{} + } + if err := m.StartToCloseTimeout.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 9: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field HeartbeatTimeout", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDecision + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDecision + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.HeartbeatTimeout == nil { + m.HeartbeatTimeout = &types.Duration{} + } + if err := m.HeartbeatTimeout.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 11: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RetryPolicy", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDecision + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDecision + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.RetryPolicy == nil { + m.RetryPolicy = &RetryPolicy{} + } + if err := m.RetryPolicy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 12: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Header", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDecision + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDecision + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Header == nil { + m.Header = &Header{} + } + if err := m.Header.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 13: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field RequestLocalDispatch", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.RequestLocalDispatch = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skipDecision(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthDecision + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *StartTimerDecisionAttributes) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: StartTimerDecisionAttributes: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: StartTimerDecisionAttributes: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TimerId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthDecision + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthDecision + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TimerId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field StartToFireTimeout", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDecision + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDecision + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.StartToFireTimeout == nil { + m.StartToFireTimeout = &types.Duration{} + } + if err := m.StartToFireTimeout.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipDecision(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthDecision + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *CompleteWorkflowExecutionDecisionAttributes) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: CompleteWorkflowExecutionDecisionAttributes: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: CompleteWorkflowExecutionDecisionAttributes: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Result", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDecision + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDecision + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Result == nil { + m.Result = &Payload{} + } + if err := m.Result.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipDecision(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthDecision + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *FailWorkflowExecutionDecisionAttributes) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: FailWorkflowExecutionDecisionAttributes: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: FailWorkflowExecutionDecisionAttributes: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Failure", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDecision + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDecision + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Failure == nil { + m.Failure = &Failure{} + } + if err := m.Failure.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipDecision(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthDecision + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RequestCancelActivityTaskDecisionAttributes) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RequestCancelActivityTaskDecisionAttributes: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RequestCancelActivityTaskDecisionAttributes: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ActivityId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthDecision + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthDecision + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ActivityId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipDecision(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthDecision + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *CancelTimerDecisionAttributes) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: CancelTimerDecisionAttributes: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: CancelTimerDecisionAttributes: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TimerId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthDecision + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthDecision + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TimerId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipDecision(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthDecision + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *CancelWorkflowExecutionDecisionAttributes) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: CancelWorkflowExecutionDecisionAttributes: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: CancelWorkflowExecutionDecisionAttributes: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Details", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDecision + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDecision + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Details == nil { + m.Details = &Payload{} + } + if err := m.Details.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipDecision(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthDecision + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RequestCancelExternalWorkflowExecutionDecisionAttributes) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RequestCancelExternalWorkflowExecutionDecisionAttributes: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RequestCancelExternalWorkflowExecutionDecisionAttributes: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Domain", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthDecision + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthDecision + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Domain = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowExecution", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDecision + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDecision + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.WorkflowExecution == nil { + m.WorkflowExecution = &WorkflowExecution{} + } + if err := m.WorkflowExecution.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Control", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthDecision + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthDecision + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Control = append(m.Control[:0], dAtA[iNdEx:postIndex]...) + if m.Control == nil { + m.Control = []byte{} + } + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ChildWorkflowOnly", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.ChildWorkflowOnly = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skipDecision(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthDecision + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RecordMarkerDecisionAttributes) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RecordMarkerDecisionAttributes: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RecordMarkerDecisionAttributes: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field MarkerName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthDecision + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthDecision + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.MarkerName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Details", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDecision + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDecision + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Details == nil { + m.Details = &Payload{} + } + if err := m.Details.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Header", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDecision + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDecision + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Header == nil { + m.Header = &Header{} + } + if err := m.Header.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipDecision(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthDecision + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ContinueAsNewWorkflowExecutionDecisionAttributes) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ContinueAsNewWorkflowExecutionDecisionAttributes: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ContinueAsNewWorkflowExecutionDecisionAttributes: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowType", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDecision + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDecision + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.WorkflowType == nil { + m.WorkflowType = &WorkflowType{} + } + if err := m.WorkflowType.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TaskList", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDecision + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDecision + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.TaskList == nil { + m.TaskList = &TaskList{} + } + if err := m.TaskList.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Input", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDecision + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDecision + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Input == nil { + m.Input = &Payload{} + } + if err := m.Input.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ExecutionStartToCloseTimeout", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDecision + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDecision + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.ExecutionStartToCloseTimeout == nil { + m.ExecutionStartToCloseTimeout = &types.Duration{} + } + if err := m.ExecutionStartToCloseTimeout.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TaskStartToCloseTimeout", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDecision + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDecision + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.TaskStartToCloseTimeout == nil { + m.TaskStartToCloseTimeout = &types.Duration{} + } + if err := m.TaskStartToCloseTimeout.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field BackoffStartInterval", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDecision + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDecision + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.BackoffStartInterval == nil { + m.BackoffStartInterval = &types.Duration{} + } + if err := m.BackoffStartInterval.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RetryPolicy", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDecision + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDecision + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.RetryPolicy == nil { + m.RetryPolicy = &RetryPolicy{} + } + if err := m.RetryPolicy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 8: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Initiator", wireType) + } + m.Initiator = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Initiator |= ContinueAsNewInitiator(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 9: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Failure", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDecision + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDecision + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Failure == nil { + m.Failure = &Failure{} + } + if err := m.Failure.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 10: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field LastCompletionResult", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDecision + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDecision + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.LastCompletionResult == nil { + m.LastCompletionResult = &Payload{} + } + if err := m.LastCompletionResult.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 11: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CronSchedule", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthDecision + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthDecision + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.CronSchedule = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 12: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Header", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDecision + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDecision + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Header == nil { + m.Header = &Header{} + } + if err := m.Header.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 13: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Memo", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDecision + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDecision + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Memo == nil { + m.Memo = &Memo{} + } + if err := m.Memo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 14: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SearchAttributes", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDecision + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDecision + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.SearchAttributes == nil { + m.SearchAttributes = &SearchAttributes{} + } + if err := m.SearchAttributes.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipDecision(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthDecision + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *StartChildWorkflowExecutionDecisionAttributes) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: StartChildWorkflowExecutionDecisionAttributes: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: StartChildWorkflowExecutionDecisionAttributes: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Domain", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthDecision + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthDecision + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Domain = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthDecision + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthDecision + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.WorkflowId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowType", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDecision + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDecision + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.WorkflowType == nil { + m.WorkflowType = &WorkflowType{} + } + if err := m.WorkflowType.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TaskList", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDecision + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDecision + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.TaskList == nil { + m.TaskList = &TaskList{} + } + if err := m.TaskList.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Input", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDecision + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDecision + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Input == nil { + m.Input = &Payload{} + } + if err := m.Input.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ExecutionStartToCloseTimeout", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDecision + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDecision + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.ExecutionStartToCloseTimeout == nil { + m.ExecutionStartToCloseTimeout = &types.Duration{} + } + if err := m.ExecutionStartToCloseTimeout.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TaskStartToCloseTimeout", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDecision + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDecision + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.TaskStartToCloseTimeout == nil { + m.TaskStartToCloseTimeout = &types.Duration{} + } + if err := m.TaskStartToCloseTimeout.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 8: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ParentClosePolicy", wireType) + } + m.ParentClosePolicy = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ParentClosePolicy |= ParentClosePolicy(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 9: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Control", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthDecision + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthDecision + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Control = append(m.Control[:0], dAtA[iNdEx:postIndex]...) + if m.Control == nil { + m.Control = []byte{} + } + iNdEx = postIndex + case 10: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowIdReusePolicy", wireType) + } + m.WorkflowIdReusePolicy = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.WorkflowIdReusePolicy |= WorkflowIdReusePolicy(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 11: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RetryPolicy", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDecision + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDecision + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.RetryPolicy == nil { + m.RetryPolicy = &RetryPolicy{} + } + if err := m.RetryPolicy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 12: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CronSchedule", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthDecision + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthDecision + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.CronSchedule = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 13: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Header", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDecision + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDecision + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Header == nil { + m.Header = &Header{} + } + if err := m.Header.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 14: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Memo", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDecision + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDecision + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Memo == nil { + m.Memo = &Memo{} + } + if err := m.Memo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 15: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SearchAttributes", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDecision + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDecision + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.SearchAttributes == nil { + m.SearchAttributes = &SearchAttributes{} + } + if err := m.SearchAttributes.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipDecision(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthDecision + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SignalExternalWorkflowExecutionDecisionAttributes) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: SignalExternalWorkflowExecutionDecisionAttributes: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SignalExternalWorkflowExecutionDecisionAttributes: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Domain", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthDecision + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthDecision + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Domain = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowExecution", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDecision + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDecision + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.WorkflowExecution == nil { + m.WorkflowExecution = &WorkflowExecution{} + } + if err := m.WorkflowExecution.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SignalName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthDecision + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthDecision + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.SignalName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Input", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDecision + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDecision + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Input == nil { + m.Input = &Payload{} + } + if err := m.Input.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Control", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthDecision + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthDecision + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Control = append(m.Control[:0], dAtA[iNdEx:postIndex]...) + if m.Control == nil { + m.Control = []byte{} + } + iNdEx = postIndex + case 6: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ChildWorkflowOnly", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.ChildWorkflowOnly = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skipDecision(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthDecision + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *UpsertWorkflowSearchAttributesDecisionAttributes) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: UpsertWorkflowSearchAttributesDecisionAttributes: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: UpsertWorkflowSearchAttributesDecisionAttributes: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SearchAttributes", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDecision + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDecision + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDecision + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.SearchAttributes == nil { + m.SearchAttributes = &SearchAttributes{} + } + if err := m.SearchAttributes.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipDecision(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthDecision + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func skipDecision(dAtA []byte) (n int, err error) { + l := len(dAtA) + iNdEx := 0 + depth := 0 + for iNdEx < l { + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowDecision + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + wireType := int(wire & 0x7) + switch wireType { + case 0: + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowDecision + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + iNdEx++ + if dAtA[iNdEx-1] < 0x80 { + break + } + } + case 1: + iNdEx += 8 + case 2: + var length int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowDecision + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + length |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if length < 0 { + return 0, ErrInvalidLengthDecision + } + iNdEx += length + case 3: + depth++ + case 4: + if depth == 0 { + return 0, ErrUnexpectedEndOfGroupDecision + } + depth-- + case 5: + iNdEx += 4 + default: + return 0, fmt.Errorf("proto: illegal wireType %d", wireType) + } + if iNdEx < 0 { + return 0, ErrInvalidLengthDecision + } + if depth == 0 { + return iNdEx, nil + } + } + return 0, io.ErrUnexpectedEOF +} + +var ( + ErrInvalidLengthDecision = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflowDecision = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroupDecision = fmt.Errorf("proto: unexpected end of group") +) diff --git a/go/proto/api/v1/decision.pb.yarpc.go b/go/proto/api/v1/decision.pb.yarpc.go new file mode 100644 index 0000000..59a9709 --- /dev/null +++ b/go/proto/api/v1/decision.pb.yarpc.go @@ -0,0 +1,429 @@ +// The MIT License (MIT) +// +// Copyright (c) 2021 Uber Technologies, Inc. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +// SOFTWARE. + +// Code generated by protoc-gen-yarpc-go. DO NOT EDIT. +// source: uber/cadence/api/v1/decision.proto + +package apiv1 + +var yarpcFileDescriptorClosurefb529b236ea74dc2 = [][]byte{ + // uber/cadence/api/v1/decision.proto + []byte{ + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x59, 0x5d, 0x4f, 0xdc, 0x46, + 0x17, 0x7e, 0xcd, 0xc7, 0x7e, 0x1c, 0x20, 0x6f, 0x18, 0x12, 0x02, 0x09, 0x09, 0x64, 0x5f, 0xbd, + 0xa4, 0x09, 0x62, 0x17, 0x48, 0x1a, 0x45, 0x49, 0x15, 0x15, 0x48, 0x50, 0x90, 0x12, 0x82, 0x1c, + 0x92, 0x48, 0xbd, 0xb1, 0x86, 0xf1, 0x00, 0x23, 0xbc, 0xb6, 0x3b, 0x1e, 0x43, 0xb6, 0x52, 0xa5, + 0x5e, 0xb5, 0xbd, 0xe9, 0x0f, 0xa8, 0xd4, 0xab, 0x5e, 0xb5, 0x37, 0xed, 0x6d, 0xab, 0x5e, 0xf5, + 0x27, 0xf4, 0xa2, 0xff, 0xa3, 0x52, 0xff, 0x40, 0x35, 0xe3, 0xb1, 0x77, 0x59, 0xbc, 0x5e, 0x9b, + 0xa4, 0xb9, 0xc3, 0xe3, 0x73, 0x9e, 0x79, 0x66, 0xce, 0xcc, 0x79, 0x1e, 0xb3, 0x50, 0x0b, 0x77, + 0x29, 0x6f, 0x10, 0x6c, 0x53, 0x97, 0xd0, 0x06, 0xf6, 0x59, 0xe3, 0x68, 0xb9, 0x61, 0x53, 0xc2, + 0x02, 0xe6, 0xb9, 0x75, 0x9f, 0x7b, 0xc2, 0x43, 0x13, 0x32, 0xa6, 0xae, 0x63, 0xea, 0xd8, 0x67, + 0xf5, 0xa3, 0xe5, 0xcb, 0xd7, 0xf6, 0x3d, 0x6f, 0xdf, 0xa1, 0x0d, 0x15, 0xb2, 0x1b, 0xee, 0x35, + 0xec, 0x90, 0x63, 0x91, 0x24, 0x5d, 0x9e, 0x4b, 0x03, 0x26, 0x5e, 0xb3, 0x99, 0x44, 0xa4, 0x4e, + 0x2d, 0x70, 0x70, 0xe8, 0xb0, 0x40, 0x64, 0xc5, 0x1c, 0x7b, 0xfc, 0x70, 0xcf, 0xf1, 0x8e, 0xa3, + 0x98, 0xda, 0xd7, 0xe3, 0x50, 0x79, 0xa4, 0x19, 0xa3, 0x6f, 0x0d, 0xb8, 0x15, 0x90, 0x03, 0x6a, + 0x87, 0x0e, 0xb5, 0x30, 0x11, 0xec, 0x88, 0x89, 0x96, 0x25, 0x51, 0xad, 0x78, 0x55, 0x16, 0x16, + 0x82, 0xb3, 0xdd, 0x50, 0xd0, 0x60, 0xca, 0x98, 0x33, 0x3e, 0x18, 0x59, 0x79, 0x50, 0x4f, 0x59, + 0x61, 0xfd, 0x85, 0x86, 0x59, 0xd5, 0x28, 0x3b, 0x38, 0x38, 0x8c, 0xe7, 0x59, 0x4d, 0x20, 0x9e, + 0xfc, 0xc7, 0x9c, 0x0f, 0x72, 0x45, 0xa2, 0xcf, 0x60, 0x36, 0x10, 0x98, 0x0b, 0x4b, 0xb0, 0x26, + 0xe5, 0xa9, 0x7c, 0x06, 0x14, 0x9f, 0xe5, 0x74, 0x3e, 0x32, 0x77, 0x47, 0xa6, 0xa6, 0xb2, 0x98, + 0x09, 0x32, 0xde, 0xa3, 0x1f, 0x0c, 0x90, 0xbb, 0xef, 0x3b, 0x54, 0x50, 0x2b, 0xde, 0x40, 0x8b, + 0xbe, 0xa1, 0x24, 0x94, 0x45, 0x4b, 0x25, 0x33, 0xa8, 0xc8, 0x7c, 0x9c, 0x4a, 0x66, 0x5d, 0x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0x6c, 0x16, + 0xf8, 0x58, 0x90, 0x03, 0x75, 0x05, 0x2b, 0xe6, 0x05, 0xfd, 0xf6, 0xa9, 0x7c, 0xf9, 0x48, 0xbf, + 0xab, 0x7d, 0x65, 0xc0, 0x4c, 0x96, 0x6d, 0x45, 0xd3, 0x50, 0x89, 0x9c, 0x49, 0x72, 0x05, 0xca, + 0xea, 0x79, 0xd3, 0x46, 0x4f, 0xe1, 0x62, 0x52, 0x83, 0x3d, 0xc6, 0xdb, 0x25, 0x18, 0xe8, 0xb7, + 0x6f, 0x48, 0x97, 0x60, 0x83, 0xf1, 0xb8, 0x02, 0x35, 0x02, 0x0b, 0x05, 0x2c, 0x2b, 0xba, 0x03, + 0x25, 0x4e, 0x83, 0xd0, 0x11, 0xfa, 0x0b, 0x21, 0xfb, 0x84, 0xeb, 0xd8, 0x1a, 0x86, 0x1b, 0x39, + 0x0d, 0x27, 0xba, 0x0b, 0x65, 0x69, 0x38, 0x43, 0x4e, 0x33, 0x67, 0xd8, 0x88, 0x62, 0xcc, 0x38, + 0xb8, 0xb6, 0x05, 0x0b, 0x05, 0xfc, 0x62, 0xdf, 0x2e, 0x53, 0xbb, 0x0f, 0x57, 0x33, 0x4d, 0x5e, + 0x46, 0x85, 0x6a, 0x04, 0x6e, 0xe6, 0xf6, 0x64, 0x72, 0xc1, 0x36, 0x15, 0x98, 0x39, 0x41, 0xae, + 0x2d, 0x8d, 0x83, 0x6b, 0x7f, 0x1b, 0x70, 0xef, 0xac, 0x1e, 0xaa, 0xa3, 0xf7, 0x19, 0x27, 0x7a, + 0xdf, 0x4b, 0x40, 0xa7, 0xd5, 0x51, 0x1f, 0xac, 0xf9, 0x54, 0x5e, 0xa7, 0x66, 0x33, 0xc7, 0x8f, + 0xbb, 0x87, 0xd0, 0x14, 0x94, 0xa5, 0xd7, 0xe0, 0x9e, 0xa3, 0x7a, 0xed, 0xa8, 0x19, 0x3f, 0xa2, + 0x3a, 0x4c, 0x74, 0x59, 0x09, 0xcf,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5e, 0x8f, 0x66, 0xde, 0xeb, 0xb1, 0xe2, 0xf7, 0xfa, 0xdc, 0x5b, 0xdc, 0xeb, 0xff, + 0xbe, 0xdd, 0xbd, 0xfe, 0x7d, 0x00, 0x96, 0x0b, 0x7f, 0xf8, 0xbf, 0x6f, 0xab, 0x35, 0x0b, 0x23, + 0xfa, 0xff, 0x1d, 0xca, 0xfd, 0x44, 0x9f, 0xb6, 0x10, 0x0d, 0x29, 0xf7, 0x93, 0x5c, 0xd7, 0xa1, + 0xfc, 0xd7, 0xb5, 0xe3, 0x68, 0x0e, 0xe7, 0xf2, 0x6f, 0xa5, 0x5e, 0xfe, 0xed, 0x4b, 0x03, 0x96, + 0x8a, 0xfe, 0xff, 0x21, 0xbd, 0x98, 0xc6, 0x5b, 0x15, 0x73, 0xed, 0x15, 0x5c, 0x22, 0x5e, 0x33, + 0x2d, 0x7b, 0xad, 0xb2, 0xea, 0xb3, 0x6d, 0xd9, 0x0f, 0xb6, 0x8d, 0x4f, 0x1a, 0xfb, 0x4c, 0x1c, + 0x84, 0xbb, 0x75, 0xe2, 0x35, 0x1b, 0x27, 0x7e, 0x72, 0xa9, 0xef, 0x53, 0x37, 0xfa, 0x8d, 0x47, + 0xff, 0xfa, 0xf2, 0x00, 0xfb, 0xec, 0x68, 0x79, 0xb7, 0xa4, 0xc6, 0x6e, 0xff, 0x13, 0x00, 0x00, + 0xff, 0xff, 0xbc, 0x58, 0xcc, 0x6b, 0x40, 0x1a, 0x00, 0x00, + }, + // google/protobuf/duration.proto + []byte{ + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4b, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x2f, 0x28, 0xca, 0x2f, 0xc9, 0x4f, 0x2a, 0x4d, 0xd3, 0x4f, 0x29, 0x2d, 0x4a, + 0x2c, 0xc9, 0xcc, 0xcf, 0xd3, 0x03, 0x8b, 0x08, 0xf1, 0x43, 0xe4, 0xf5, 0x60, 0xf2, 0x4a, 0x56, + 0x5c, 0x1c, 0x2e, 0x50, 0x25, 0x42, 0x12, 0x5c, 0xec, 0xc5, 0xa9, 0xc9, 0xf9, 0x79, 0x29, 0xc5, + 0x12, 0x8c, 0x0a, 0x8c, 0x1a, 0xcc, 0x41, 0x30, 0xae, 0x90, 0x08, 0x17, 0x6b, 0x5e, 0x62, 0x5e, + 0x7e, 0xb1, 0x04, 0x93, 0x02, 0xa3, 0x06, 0x6b, 0x10, 0x84, 0xe3, 0xd4, 0xcc, 0xc8, 0x25, 0x9c, + 0x9c, 0x9f, 0xab, 0x87, 0x66, 0xa6, 0x13, 0x2f, 0xcc, 0xc4, 0x00, 0x90, 0x48, 0x00, 0x63, 0x94, + 0x21, 0x54, 0x45, 0x7a, 0x7e, 0x4e, 0x62, 0x5e, 0xba, 0x5e, 0x7e, 0x51, 0x3a, 0xc2, 0x81, 0x25, + 0x95, 0x05, 0xa9, 0xc5, 0xfa, 0xd9, 0x79, 0xf9, 0xe5, 0x79, 0x70, 0xc7, 0x16, 0x24, 0xfd, 0x60, + 0x64, 0x5c, 0xc4, 0xc4, 0xec, 0x1e, 0xe0, 0xb4, 0x8a, 0x49, 0xce, 0x1d, 0xa2, 0x39, 0x00, 0xaa, + 0x43, 0x2f, 0x3c, 0x35, 0x27, 0xc7, 0x1b, 0xa4, 0x3e, 0x04, 0xa4, 0x35, 0x89, 0x0d, 0x6c, 0x94, + 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0xef, 0x8a, 0xb4, 0xc3, 0xfb, 0x00, 0x00, 0x00, + }, + // uber/cadence/api/v1/common.proto + []byte{ + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x55, 0x4f, 0x6f, 0xdb, 0x36, + 0x14, 0x9f, 0xe2, 0xda, 0x49, 0x9f, 0xdd, 0xd4, 0x63, 0xd6, 0xd4, 0xc9, 0xfe, 0x79, 0x06, 0x86, + 0x66, 0x3b, 0x48, 0x88, 0x7b, 0x29, 0x56, 0x14, 0x83, 0x13, 0x3b, 0xab, 0xda, 0x2d, 0x31, 0x64, + 0x23, 0xc1, 0x76, 0x98, 0x40, 0x4b, 0x4f, 0x2e, 0x67, 0x89, 0x14, 0x28, 0xca, 0x89, 0x6f, 0xfb, + 0x24, 0x3b, 0xec, 0x2b, 0xed, 0x0b, 0x0d, 0x94, 0xe8, 0xd8, 0xee, 0x3c, 0xf4, 0x32, 0xec, 0x46, + 0xbe, 0xdf, 0x9f, 0xf7, 0xa3, 0xf0, 0x48, 0x41, 0x3b, 0x9f, 0xa0, 0x74, 0x02, 0x1a, 0x22, 0x0f, + 0xd0, 0xa1, 0x29, 0x73, 0xe6, 0xa7, 0x4e, 0x20, 0x92, 0x44, 0x70, 0x3b, 0x95, 0x42, 0x09, 0x72, + 0xa0, 0x19, 0xb6, 0x61, 0xd8, 0x34, 0x65, 0xf6, 0xfc, 0xf4, 0xf8, 0x8b, 0xa9, 0x10, 0xd3, 0x18, + 0x9d, 0x82, 0x32, 0xc9, 0x23, 0x27, 0xcc, 0x25, 0x55, 0x6c, 0x29, 0xea, 0xbc, 0x85, 0x8f, 0x6f, + 0x84, 0x9c, 0x45, 0xb1, 0xb8, 0x1d, 0xdc, 0x61, 0x90, 0x6b, 0x88, 0x7c, 0x09, 0xf5, 0x5b, 0x53, + 0xf4, 0x59, 0xd8, 0xb2, 0xda, 0xd6, 0xc9, 0x43, 0x0f, 0x96, 0x25, 0x37, 0x24, 0x4f, 0xa0, 0x26, + 0x73, 0xae, 0xb1, 0x9d, 0x02, 0xab, 0xca, 0x9c, 0xbb, 0x61, 0xa7, 0x03, 0x8d, 0xa5, 0xd9, 0x78, + 0x91, 0x22, 0x21, 0xf0, 0x80, 0xd3, 0x04, 0x8d, 0x41, 0xb1, 0xd6, 0x9c, 0x5e, 0xa0, 0xd8, 0x9c, + 0xa9, 0xc5, 0xbf, 0x72, 0x3e, 0x87, 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 0x97, 0xb2, 0xa1, 0x4e, 0x3f, 0xb4, 0x7e, 0x71, + 0xa6, 0x4c, 0xbd, 0xcb, 0x27, 0x76, 0x20, 0x12, 0x67, 0xe3, 0xc7, 0x64, 0x4f, 0x91, 0x97, 0x3f, + 0x1b, 0xf3, 0x8f, 0x7a, 0x49, 0x53, 0x36, 0x3f, 0x9d, 0xd4, 0x8a, 0xda, 0xf3, 0xbf, 0x03, 0x00, + 0x00, 0xff, 0xff, 0xdc, 0x8c, 0x77, 0x9a, 0xc7, 0x06, 0x00, 0x00, + }, + // uber/cadence/api/v1/tasklist.proto + []byte{ + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x54, 0xdd, 0x6e, 0xdb, 0x36, + 0x14, 0x9e, 0xe2, 0xb4, 0x73, 0x98, 0x25, 0xd5, 0xb8, 0xb5, 0x8d, 0xdd, 0x75, 0xcb, 0x74, 0x51, + 0x04, 0xc5, 0x20, 0x21, 0x19, 0x76, 0xb5, 0x8b, 0xc1, 0x89, 0x83, 0x55, 0x88, 0xe3, 0x1a, 0x92, + 0x1a, 0x20, 0xbb, 0xe1, 0x28, 0xf1, 0xd4, 0x21, 0xf4, 0x43, 0x81, 0xa4, 0x92, 0xf8, 0x45, 0xf6, + 0x30, 0x7b, 0xa2, 0x3d, 0xc6, 0x40, 0x4a, 0xf6, 0xdc, 0xc4, 0xeb, 0x1d, 0x79, 0xbe, 0xf3, 0x9d, + 0x9f, 0x8f, 0xe7, 0x10, 0x79, 0x4d, 0x0a, 0x32, 0xc8, 0x28, 0x83, 0x2a, 0x83, 0x80, 0xd6, 0x3c, + 0xb8, 0x3d, 0x0e, 0x34, 0x55, 0x79, 0xc1, 0x95, 0xf6, 0x6b, 0x29, 0xb4, 0xc0, 0xdf, 0x18, 0x1f, + 0xbf, 0xf3, 0xf1, 0x69, 0xcd, 0xfd, 0xdb, 0xe3, 0xe1, 0xf7, 0x73, 0x21, 0xe6, 0x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3, 0xf0, 0xfd, + 0xd4, 0x75, 0x36, 0x80, 0xa3, 0xb3, 0x24, 0xbc, 0x0a, 0x93, 0x6b, 0x77, 0xeb, 0xf4, 0x0a, 0xbd, + 0xcc, 0x44, 0xb9, 0x49, 0xd1, 0xd3, 0xfe, 0xa8, 0xe6, 0x33, 0x23, 0xc8, 0xcc, 0xf9, 0x23, 0x98, + 0x73, 0x7d, 0xd3, 0xa4, 0x7e, 0x26, 0xca, 0xe0, 0x93, 0x6f, 0xd2, 0x9f, 0x43, 0xd5, 0xfe, 0x5b, + 0xdd, 0x8f, 0xf9, 0x2b, 0xad, 0xf9, 0xed, 0x71, 0xfa, 0xd4, 0xda, 0x7e, 0xfe, 0x37, 0x00, 0x00, + 0xff, 0xff, 0x58, 0x62, 0x2b, 0xbf, 0x55, 0x05, 0x00, 0x00, + }, + // google/protobuf/timestamp.proto + []byte{ + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4f, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x2f, 0x28, 0xca, 0x2f, 0xc9, 0x4f, 0x2a, 0x4d, 0xd3, 0x2f, 0xc9, 0xcc, 0x4d, + 0x2d, 0x2e, 0x49, 0xcc, 0x2d, 0xd0, 0x03, 0x0b, 0x09, 0xf1, 0x43, 0x14, 0xe8, 0xc1, 0x14, 0x28, + 0x59, 0x73, 0x71, 0x86, 0xc0, 0xd4, 0x08, 0x49, 0x70, 0xb1, 0x17, 0xa7, 0x26, 0xe7, 0xe7, 0xa5, + 0x14, 0x4b, 0x30, 0x2a, 0x30, 0x6a, 0x30, 0x07, 0xc1, 0xb8, 0x42, 0x22, 0x5c, 0xac, 0x79, 0x89, + 0x79, 0xf9, 0xc5, 0x12, 0x4c, 0x0a, 0x8c, 0x1a, 0xac, 0x41, 0x10, 0x8e, 0x53, 0x2b, 0x23, 0x97, + 0x70, 0x72, 0x7e, 0xae, 0x1e, 0x9a, 0xa1, 0x4e, 0x7c, 0x70, 0x23, 0x03, 0x40, 0x42, 0x01, 0x8c, + 0x51, 0x46, 0x50, 0x25, 0xe9, 0xf9, 0x39, 0x89, 0x79, 0xe9, 0x7a, 0xf9, 0x45, 0xe9, 0x48, 0x6e, + 0xac, 0x2c, 0x48, 0x2d, 0xd6, 0xcf, 0xce, 0xcb, 0x2f, 0xcf, 0x43, 0xb8, 0xb7, 0x20, 0xe9, 0x07, + 0x23, 0xe3, 0x22, 0x26, 0x66, 0xf7, 0x00, 0xa7, 0x55, 0x4c, 0x72, 0xee, 0x10, 0xdd, 0x01, 0x50, + 0x2d, 0x7a, 0xe1, 0xa9, 0x39, 0x39, 0xde, 0x20, 0x0d, 0x21, 0x20, 0xbd, 0x49, 0x6c, 0x60, 0xb3, + 0x8c, 0x01, 0x01, 0x00, 0x00, 0xff, 0xff, 0xae, 0x65, 0xce, 0x7d, 0xff, 0x00, 0x00, 0x00, + }, + // google/protobuf/wrappers.proto + []byte{ + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4b, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x2f, 0x28, 0xca, 0x2f, 0xc9, 0x4f, 0x2a, 0x4d, 0xd3, 0x2f, 0x2f, 0x4a, 0x2c, + 0x28, 0x48, 0x2d, 0x2a, 0xd6, 0x03, 0x8b, 0x08, 0xf1, 0x43, 0xe4, 0xf5, 0x60, 0xf2, 0x4a, 0xca, + 0x5c, 0xdc, 0x2e, 0xf9, 0xa5, 0x49, 0x39, 0xa9, 0x61, 0x89, 0x39, 0xa5, 0xa9, 0x42, 0x22, 0x5c, + 0xac, 0x65, 0x20, 0x86, 0x04, 0xa3, 0x02, 0xa3, 0x06, 0x63, 0x10, 0x84, 0xa3, 0xa4, 0xc4, 0xc5, + 0xe5, 0x96, 0x93, 0x9f, 0x58, 0x82, 0x45, 0x0d, 0x13, 0x92, 0x1a, 0xcf, 0xbc, 0x12, 0x33, 0x13, + 0x2c, 0x6a, 0x98, 0x61, 0x6a, 0x94, 0xb9, 0xb8, 0x43, 0x71, 0x29, 0x62, 0x41, 0x35, 0xc8, 0xd8, + 0x08, 0x8b, 0x1a, 0x56, 0x34, 0x83, 0xb0, 0x2a, 0xe2, 0x85, 0x29, 0x52, 0xe4, 0xe2, 0x74, 0xca, + 0xcf, 0xcf, 0xc1, 0xa2, 0x84, 0x03, 0xc9, 0x9c, 0xe0, 0x92, 0xa2, 0xcc, 0xbc, 0x74, 0x2c, 0x8a, + 0x38, 0x91, 0x1c, 0xe4, 0x54, 0x59, 0x92, 0x5a, 0x8c, 0x45, 0x0d, 0x0f, 0x54, 0x8d, 0x53, 0x33, + 0x23, 0x97, 0x70, 0x72, 0x7e, 0xae, 0x1e, 0x5a, 0xf0, 0x3a, 0xf1, 0x86, 0x43, 0xc3, 0x3f, 0x00, + 0x24, 0x12, 0xc0, 0x18, 0x65, 0x08, 0x55, 0x91, 0x9e, 0x9f, 0x93, 0x98, 0x97, 0xae, 0x97, 0x5f, + 0x94, 0x8e, 0x88, 0xab, 0x92, 0xca, 0x82, 0xd4, 0x62, 0xfd, 0xec, 0xbc, 0xfc, 0xf2, 0x3c, 0x78, + 0xbc, 0x15, 0x24, 0xfd, 0x60, 0x64, 0x5c, 0xc4, 0xc4, 0xec, 0x1e, 0xe0, 0xb4, 0x8a, 0x49, 0xce, + 0x1d, 0xa2, 0x39, 0x00, 0xaa, 0x43, 0x2f, 0x3c, 0x35, 0x27, 0xc7, 0x1b, 0xa4, 0x3e, 0x04, 0xa4, + 0x35, 0x89, 0x0d, 0x6c, 0x94, 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0x3c, 0x92, 0x48, 0x30, 0x06, + 0x02, 0x00, 0x00, + }, + // uber/cadence/api/v1/workflow.proto + []byte{ + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x59, 0x4d,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4, 0xfa, + 0x42, 0xde, 0x36, 0x4c, 0xc3, 0x32, 0x14, 0xab, 0x82, 0x13, 0xf5, 0x9d, 0x08, 0x63, 0x03, 0xa9, + 0xe9, 0x38, 0xaa, 0xeb, 0x78, 0x18, 0xd6, 0x2d, 0x7c, 0x24, 0x5a, 0x21, 0x72, 0x98, 0xf1, 0x58, + 0x15, 0xb3, 0xf9, 0x16, 0xf3, 0x2f, 0x67, 0x8b, 0xbf, 0x97, 0x20, 0x27, 0xbe, 0x45, 0xf9, 0xa7, + 0x4a, 0x1e, 0x2e, 0xb3, 0x05, 0x56, 0xea, 0x96, 0x6d, 0x1d, 0x55, 0xf5, 0xc1, 0x1e, 0x1e, 0xb8, + 0xc3, 0xed, 0xc1, 0xb6, 0x2a, 0x51, 0x75, 0x22, 0x27, 0x19, 0x04, 0x88, 0xa7, 0x30, 0x0c, 0x07, + 0xcb, 0x99, 0x89, 0x98, 0x48, 0x27, 0x8b, 0xae, 0xc1, 0x95, 0x01, 0xcc, 0xbe, 0xae, 0x60, 0x6b, + 0x57, 0x57, 0x2c, 0x79, 0xa6, 0xf8, 0x1b, 0x09, 0xae, 0xc6, 0x4e, 0x68, 0xb1, 0x17, 0xab, 0xdb, + 0x26, 0xcd, 0x4a, 0x97, 0xaa, 0x4e, 0x37, 0x24, 0xe8, 0x01, 0xdc, 0xed, 0x79, 0x98, 0xa5, 0xd4, + 0xde, 0xf4, 0xf7, 0xca, 0x56, 0x15, 0x36, 0xdc, 0xfd, 0xd5, 0xa4, 0x42, 0x45, 0x0a, 0xb2, 0x84, + 0xee, 0xc3, 0x17, 0x93, 0xa1, 0x58, 0xaf, 0xe9, 0x96, 0x9c, 0x29, 0xfe, 0x23, 0x07, 0x1b, 0xc9, + 0xe4, 0xd8, 0x81, 0x9e, 0x34, 0xa3, 0xd4, 0xee, 0x41, 0x61, 0x50, 0x44, 0xf8, 0xdc, 0xc5, 0xbc, + 0x76, 0xe0, 0xe1, 0x04, 0x5c, 0xdd, 0xd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0x9c, 0x44, 0x10, 0x8b, 0xa8, 0xb9, 0xa7, 0xfc, 0x9f, 0xc6, 0xd3, 0x2d, 0x42, 0xb4, + 0xdd, 0x7f, 0xb6, 0x88, 0xcf, 0x25, 0x4f, 0xb5, 0x88, 0xdd, 0xb7, 0xb0, 0xd1, 0xf0, 0xdb, 0xa3, + 0xbe, 0xe2, 0x77, 0xe7, 0x95, 0x8e, 0x5b, 0x65, 0x5f, 0xb0, 0x55, 0xe9, 0xbb, 0xed, 0x53, 0x97, + 0x9e, 0x75, 0x8f, 0x4b, 0x0d, 0xbf, 0xbd, 0x3d, 0xf0, 0xfb, 0x63, 0xe9, 0x94, 0x78, 0xd1, 0xaf, + 0x99, 0xe2, 0xa7, 0xc8, 0xe7, 0x4e, 0xc7, 0xfd, 0xb0, 0x73, 0x3c, 0xc7, 0x63, 0x8f, 0xff, 0x1d, + 0x00, 0x00, 0xff, 0xff, 0x1c, 0xfe, 0xdc, 0x7d, 0x4a, 0x1d, 0x00, 0x00, + }, +} diff --git a/go/proto/api/v1/domain.pb.go b/go/proto/api/v1/domain.pb.go new file mode 100644 index 0000000..e9ae445 --- /dev/null +++ b/go/proto/api/v1/domain.pb.go @@ -0,0 +1,2567 @@ +// The MIT License (MIT) +// +// Copyright (c) 2021 Uber Technologies, Inc. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +// SOFTWARE. + +// Code generated by protoc-gen-gogo. DO NOT EDIT. +// source: uber/cadence/api/v1/domain.proto + +package apiv1 + +import ( + fmt "fmt" + proto "github.com/gogo/protobuf/proto" + types "github.com/gogo/protobuf/types" + io "io" + math "math" + math_bits "math/bits" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package + +type DomainStatus int32 + +const ( + DomainStatus_DOMAIN_STATUS_INVALID DomainStatus = 0 + DomainStatus_DOMAIN_STATUS_REGISTERED DomainStatus = 1 + DomainStatus_DOMAIN_STATUS_DEPRECATED DomainStatus = 2 + DomainStatus_DOMAIN_STATUS_DELETED DomainStatus = 3 +) + +var DomainStatus_name = map[int32]string{ + 0: "DOMAIN_STATUS_INVALID", + 1: "DOMAIN_STATUS_REGISTERED", + 2: "DOMAIN_STATUS_DEPRECATED", + 3: "DOMAIN_STATUS_DELETED", +} + +var DomainStatus_value = map[string]int32{ + "DOMAIN_STATUS_INVALID": 0, + "DOMAIN_STATUS_REGISTERED": 1, + "DOMAIN_STATUS_DEPRECATED": 2, + "DOMAIN_STATUS_DELETED": 3, +} + +func (x DomainStatus) String() string { + return proto.EnumName(DomainStatus_name, int32(x)) +} + +func (DomainStatus) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_824795d6ae7d8e2f, []int{0} +} + +type ArchivalStatus int32 + +const ( + ArchivalStatus_ARCHIVAL_STATUS_INVALID ArchivalStatus = 0 + ArchivalStatus_ARCHIVAL_STATUS_DISABLED ArchivalStatus = 1 + ArchivalStatus_ARCHIVAL_STATUS_ENABLED ArchivalStatus = 2 +) + +var ArchivalStatus_name = map[int32]string{ + 0: "ARCHIVAL_STATUS_INVALID", + 1: "ARCHIVAL_STATUS_DISABLED", + 2: "ARCHIVAL_STATUS_ENABLED", +} + +var ArchivalStatus_value = map[string]int32{ + "ARCHIVAL_STATUS_INVALID": 0, + "ARCHIVAL_STATUS_DISABLED": 1, + "ARCHIVAL_STATUS_ENABLED": 2, +} + +func (x ArchivalStatus) String() string { + return proto.EnumName(ArchivalStatus_name, int32(x)) +} + +func (ArchivalStatus) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_824795d6ae7d8e2f, []int{1} +} + +type Domain struct { + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Status DomainStatus `protobuf:"varint,3,opt,name=status,proto3,enum=uber.cadence.api.v1.DomainStatus" json:"status,omitempty"` + Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` + OwnerEmail string `protobuf:"bytes,5,opt,name=owner_email,json=ownerEmail,proto3" json:"owner_email,omitempty"` + Data map[string]string `protobuf:"bytes,6,rep,name=data,proto3" json:"data,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + WorkflowExecutionRetentionPeriod *types.Duration `protobuf:"bytes,7,opt,name=workflow_execution_retention_period,json=workflowExecutionRetentionPeriod,proto3" json:"workflow_execution_retention_period,omitempty"` + BadBinaries *BadBinaries `protobuf:"bytes,8,opt,name=bad_binaries,json=badBinaries,proto3" json:"bad_binaries,omitempty"` + HistoryArchivalStatus ArchivalStatus `protobuf:"varint,9,opt,name=history_archival_status,json=historyArchivalStatus,proto3,enum=uber.cadence.api.v1.ArchivalStatus" json:"history_archival_status,omitempty"` + HistoryArchivalUri string `protobuf:"bytes,10,opt,name=history_archival_uri,json=historyArchivalUri,proto3" json:"history_archival_uri,omitempty"` + VisibilityArchivalStatus ArchivalStatus `protobuf:"varint,11,opt,name=visibility_archival_status,json=visibilityArchivalStatus,proto3,enum=uber.cadence.api.v1.ArchivalStatus" json:"visibility_archival_status,omitempty"` + VisibilityArchivalUri string `protobuf:"bytes,12,opt,name=visibility_archival_uri,json=visibilityArchivalUri,proto3" json:"visibility_archival_uri,omitempty"` + ActiveClusterName string `protobuf:"bytes,13,opt,name=active_cluster_name,json=activeClusterName,proto3" json:"active_cluster_name,omitempty"` + Clusters []*ClusterReplicationConfiguration `protobuf:"bytes,14,rep,name=clusters,proto3" json:"clusters,omitempty"` + FailoverVersion int64 `protobuf:"varint,15,opt,name=failover_version,json=failoverVersion,proto3" json:"failover_version,omitempty"` + IsGlobalDomain bool `protobuf:"varint,16,opt,name=is_global_domain,json=isGlobalDomain,proto3" json:"is_global_domain,omitempty"` + FailoverInfo *FailoverInfo `protobuf:"bytes,17,opt,name=failover_info,json=failoverInfo,proto3" json:"failover_info,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Domain) Reset() { *m = Domain{} } +func (m *Domain) String() string { return proto.CompactTextString(m) } +func (*Domain) ProtoMessage() {} +func (*Domain) Descriptor() ([]byte, []int) { + return fileDescriptor_824795d6ae7d8e2f, []int{0} +} +func (m *Domain) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Domain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Domain.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Domain) XXX_Merge(src proto.Message) { + xxx_messageInfo_Domain.Merge(m, src) +} +func (m *Domain) XXX_Size() int { + return m.Size() +} +func (m *Domain) XXX_DiscardUnknown() { + xxx_messageInfo_Domain.DiscardUnknown(m) +} + +var xxx_messageInfo_Domain proto.InternalMessageInfo + +func (m *Domain) GetId() string { + if m != nil { + return m.Id + } + return "" +} + +func (m *Domain) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *Domain) GetStatus() DomainStatus { + if m != nil { + return m.Status + } + return DomainStatus_DOMAIN_STATUS_INVALID +} + +func (m *Domain) GetDescription() string { + if m != nil { + return m.Description + } + return "" +} + +func (m *Domain) GetOwnerEmail() string { + if m != nil { + return m.OwnerEmail + } + return "" +} + +func (m *Domain) GetData() map[string]string { + if m != nil { + return m.Data + } + return nil +} + +func (m *Domain) GetWorkflowExecutionRetentionPeriod() *types.Duration { + if m != nil { + return m.WorkflowExecutionRetentionPeriod + } + return nil +} + +func (m *Domain) GetBadBinaries() *BadBinaries { + if m != nil { + return m.BadBinaries + } + return nil +} + +func (m *Domain) GetHistoryArchivalStatus() ArchivalStatus { + if m != nil { + return m.HistoryArchivalStatus + } + return ArchivalStatus_ARCHIVAL_STATUS_INVALID +} + +func (m *Domain) GetHistoryArchivalUri() string { + if m != nil { + return m.HistoryArchivalUri + } + return "" +} + +func (m *Domain) GetVisibilityArchivalStatus() ArchivalStatus { + if m != nil { + return m.VisibilityArchivalStatus + } + return ArchivalStatus_ARCHIVAL_STATUS_INVALID +} + +func (m *Domain) GetVisibilityArchivalUri() string { + if m != nil { + return m.VisibilityArchivalUri + } + return "" +} + +func (m *Domain) GetActiveClusterName() string { + if m != nil { + return m.ActiveClusterName + } + return "" +} + +func (m *Domain) GetClusters() []*ClusterReplicationConfiguration { + if m != nil { + return m.Clusters + } + return nil +} + +func (m *Domain) GetFailoverVersion() int64 { + if m != nil { + return m.FailoverVersion + } + return 0 +} + +func (m *Domain) GetIsGlobalDomain() bool { + if m != nil { + return m.IsGlobalDomain + } + return false +} + +func (m *Domain) GetFailoverInfo() *FailoverInfo { + if m != nil { + return m.FailoverInfo + } + return nil +} + +type ClusterReplicationConfiguration struct { + ClusterName string `protobuf:"bytes,1,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ClusterReplicationConfiguration) Reset() { *m = ClusterReplicationConfiguration{} } +func (m *ClusterReplicationConfiguration) String() string { return proto.CompactTextString(m) } +func (*ClusterReplicationConfiguration) ProtoMessage() {} +func (*ClusterReplicationConfiguration) Descriptor() ([]byte, []int) { + return fileDescriptor_824795d6ae7d8e2f, []int{1} +} +func (m *ClusterReplicationConfiguration) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ClusterReplicationConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ClusterReplicationConfiguration.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ClusterReplicationConfiguration) XXX_Merge(src proto.Message) { + xxx_messageInfo_ClusterReplicationConfiguration.Merge(m, src) +} +func (m *ClusterReplicationConfiguration) XXX_Size() int { + return m.Size() +} +func (m *ClusterReplicationConfiguration) XXX_DiscardUnknown() { + xxx_messageInfo_ClusterReplicationConfiguration.DiscardUnknown(m) +} + +var xxx_messageInfo_ClusterReplicationConfiguration proto.InternalMessageInfo + +func (m *ClusterReplicationConfiguration) GetClusterName() string { + if m != nil { + return m.ClusterName + } + return "" +} + +type BadBinaries struct { + Binaries map[string]*BadBinaryInfo `protobuf:"bytes,1,rep,name=binaries,proto3" json:"binaries,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *BadBinaries) Reset() { *m = BadBinaries{} } +func (m *BadBinaries) String() string { return proto.CompactTextString(m) } +func (*BadBinaries) ProtoMessage() {} +func (*BadBinaries) Descriptor() ([]byte, []int) { + return fileDescriptor_824795d6ae7d8e2f, []int{2} +} +func (m *BadBinaries) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *BadBinaries) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_BadBinaries.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *BadBinaries) XXX_Merge(src proto.Message) { + xxx_messageInfo_BadBinaries.Merge(m, src) +} +func (m *BadBinaries) XXX_Size() int { + return m.Size() +} +func (m *BadBinaries) XXX_DiscardUnknown() { + xxx_messageInfo_BadBinaries.DiscardUnknown(m) +} + +var xxx_messageInfo_BadBinaries proto.InternalMessageInfo + +func (m *BadBinaries) GetBinaries() map[string]*BadBinaryInfo { + if m != nil { + return m.Binaries + } + return nil +} + +type BadBinaryInfo struct { + Reason string `protobuf:"bytes,1,opt,name=reason,proto3" json:"reason,omitempty"` + Operator string `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"` + CreatedTime *types.Timestamp `protobuf:"bytes,3,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *BadBinaryInfo) Reset() { *m = BadBinaryInfo{} } +func (m *BadBinaryInfo) String() string { return proto.CompactTextString(m) } +func (*BadBinaryInfo) ProtoMessage() {} +func (*BadBinaryInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_824795d6ae7d8e2f, []int{3} +} +func (m *BadBinaryInfo) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *BadBinaryInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_BadBinaryInfo.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *BadBinaryInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_BadBinaryInfo.Merge(m, src) +} +func (m *BadBinaryInfo) XXX_Size() int { + return m.Size() +} +func (m *BadBinaryInfo) XXX_DiscardUnknown() { + xxx_messageInfo_BadBinaryInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_BadBinaryInfo proto.InternalMessageInfo + +func (m *BadBinaryInfo) GetReason() string { + if m != nil { + return m.Reason + } + return "" +} + +func (m *BadBinaryInfo) GetOperator() string { + if m != nil { + return m.Operator + } + return "" +} + +func (m *BadBinaryInfo) GetCreatedTime() *types.Timestamp { + if m != nil { + return m.CreatedTime + } + return nil +} + +type FailoverInfo struct { + FailoverVersion int64 `protobuf:"varint,1,opt,name=failover_version,json=failoverVersion,proto3" json:"failover_version,omitempty"` + FailoverStartTimestamp *types.Timestamp `protobuf:"bytes,2,opt,name=failover_start_timestamp,json=failoverStartTimestamp,proto3" json:"failover_start_timestamp,omitempty"` + FailoverExpireTimestamp *types.Timestamp `protobuf:"bytes,3,opt,name=failover_expire_timestamp,json=failoverExpireTimestamp,proto3" json:"failover_expire_timestamp,omitempty"` + CompletedShardCount int32 `protobuf:"varint,4,opt,name=completed_shard_count,json=completedShardCount,proto3" json:"completed_shard_count,omitempty"` + PendingShards []int32 `protobuf:"varint,5,rep,packed,name=pending_shards,json=pendingShards,proto3" json:"pending_shards,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FailoverInfo) Reset() { *m = FailoverInfo{} } +func (m *FailoverInfo) String() string { return proto.CompactTextString(m) } +func (*FailoverInfo) ProtoMessage() {} +func (*FailoverInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_824795d6ae7d8e2f, []int{4} +} +func (m *FailoverInfo) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *FailoverInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_FailoverInfo.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *FailoverInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_FailoverInfo.Merge(m, src) +} +func (m *FailoverInfo) XXX_Size() int { + return m.Size() +} +func (m *FailoverInfo) XXX_DiscardUnknown() { + xxx_messageInfo_FailoverInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_FailoverInfo proto.InternalMessageInfo + +func (m *FailoverInfo) GetFailoverVersion() int64 { + if m != nil { + return m.FailoverVersion + } + return 0 +} + +func (m *FailoverInfo) GetFailoverStartTimestamp() *types.Timestamp { + if m != nil { + return m.FailoverStartTimestamp + } + return nil +} + +func (m *FailoverInfo) GetFailoverExpireTimestamp() *types.Timestamp { + if m != nil { + return m.FailoverExpireTimestamp + } + return nil +} + +func (m *FailoverInfo) GetCompletedShardCount() int32 { + if m != nil { + return m.CompletedShardCount + } + return 0 +} + +func (m *FailoverInfo) GetPendingShards() []int32 { + if m != nil { + return m.PendingShards + } + return nil +} + +func init() { + proto.RegisterEnum("uber.cadence.api.v1.DomainStatus", DomainStatus_name, DomainStatus_value) + proto.RegisterEnum("uber.cadence.api.v1.ArchivalStatus", ArchivalStatus_name, ArchivalStatus_value) + proto.RegisterType((*Domain)(nil), "uber.cadence.api.v1.Domain") + proto.RegisterMapType((map[string]string)(nil), "uber.cadence.api.v1.Domain.DataEntry") + proto.RegisterType((*ClusterReplicationConfiguration)(nil), "uber.cadence.api.v1.ClusterReplicationConfiguration") + proto.RegisterType((*BadBinaries)(nil), "uber.cadence.api.v1.BadBinaries") + proto.RegisterMapType((map[string]*BadBinaryInfo)(nil), "uber.cadence.api.v1.BadBinaries.BinariesEntry") + proto.RegisterType((*BadBinaryInfo)(nil), "uber.cadence.api.v1.BadBinaryInfo") + proto.RegisterType((*FailoverInfo)(nil), "uber.cadence.api.v1.FailoverInfo") +} + +func init() { proto.RegisterFile("uber/cadence/api/v1/domain.proto", fileDescriptor_824795d6ae7d8e2f) } + +var fileDescriptor_824795d6ae7d8e2f = []byte{ + // 990 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x56, 0xc1, 0x6e, 0xdb, 0x46, + 0x10, 0x2d, 0x25, 0xdb, 0x95, 0x87, 0xb2, 0xa2, 0xac, 0xe3, 0x98, 0x56, 0x0b, 0x9b, 0x71, 0x10, + 0x40, 0xcd, 0x81, 0xaa, 0xd5, 0xa2, 0x4d, 0x5a, 0xf4, 0x20, 0x8b, 0x4c, 0xaa, 0xc2, 0x75, 0x0d, + 0x4a, 0xf1, 0xa1, 0x3d, 0x10, 0x2b, 0x72, 0x25, 0x2d, 0x42, 0x71, 0x89, 0x25, 0x29, 0xc7, 0xb7, + 0xa2, 0x1f, 0xd1, 0x8f, 0xe9, 0xb1, 0xa7, 0x1e, 0xfb, 0x09, 0x85, 0xbf, 0xa4, 0xe0, 0x72, 0x49, + 0x4b, 0x16, 0x61, 0xe7, 0xb6, 0x3b, 0x33, 0xef, 0xed, 0xe3, 0xe3, 0xcc, 0x92, 0xa0, 0x27, 0x63, + 0xc2, 0x3b, 0x2e, 0xf6, 0x48, 0xe0, 0x92, 0x0e, 0x0e, 0x69, 0x67, 0x71, 0xd2, 0xf1, 0xd8, 0x1c, + 0xd3, 0xc0, 0x08, 0x39, 0x8b, 0x19, 0xda, 0x4d, 0x2b, 0x0c, 0x59, 0x61, 0xe0, 0x90, 0x1a, 0x8b, + 0x93, 0xd6, 0xe1, 0x94, 0xb1, 0xa9, 0x4f, 0x3a, 0xa2, 0x64, 0x9c, 0x4c, 0x3a, 0x5e, 0xc2, 0x71, + 0x4c, 0x99, 0x04, 0xb5, 0x8e, 0xee, 0xe6, 0x63, 0x3a, 0x27, 0x51, 0x8c, 0xe7, 0x61, 0x56, 0x70, + 0xfc, 0x67, 0x0d, 0xb6, 0x4c, 0x71, 0x0c, 0x6a, 0x40, 0x85, 0x7a, 0x9a, 0xa2, 0x2b, 0xed, 0x6d, + 0xbb, 0x42, 0x3d, 0x84, 0x60, 0x23, 0xc0, 0x73, 0xa2, 0x55, 0x44, 0x44, 0xac, 0xd1, 0x6b, 0xd8, + 0x8a, 0x62, 0x1c, 0x27, 0x91, 0x56, 0xd5, 0x95, 0x76, 0xa3, 0xfb, 0xcc, 0x28, 0x51, 0x65, 0x64, + 0x84, 0x43, 0x51, 0x68, 0x4b, 0x00, 0xd2, 0x41, 0xf5, 0x48, 0xe4, 0x72, 0x1a, 0xa6, 0xfa, 0xb4, + 0x0d, 0xc1, 0xba, 0x1c, 0x42, 0x47, 0xa0, 0xb2, 0xab, 0x80, 0x70, 0x87, 0xcc, 0x31, 0xf5, 0xb5, + 0x4d, 0x51, 0x01, 0x22, 0x64, 0xa5, 0x11, 0xf4, 0x1a, 0x36, 0x3c, 0x1c, 0x63, 0x6d, 0x4b, 0xaf, + 0xb6, 0xd5, 0xee, 0x8b, 0x7b, 0xce, 0x36, 0x4c, 0x1c, 0x63, 0x2b, 0x88, 0xf9, 0xb5, 0x2d, 0x20, + 0x68, 0x06, 0xcf, 0xaf, 0x18, 0x7f, 0x3f, 0xf1, 0xd9, 0x95, 0x43, 0x3e, 0x10, 0x37, 0x49, 0x4f, + 0x74, 0x38, 0x89, 0x49, 0x20, 0x56, 0x21, 0xe1, 0x94, 0x79, 0xda, 0xa7, 0xba, 0xd2, 0x56, 0xbb, + 0x07, 0x46, 0x66, 0x9b, 0x91, 0xdb, 0x66, 0x98, 0xd2, 0x56, 0x5b, 0xcf, 0x59, 0xac, 0x9c, 0xc4, + 0xce, 0x39, 0x2e, 0x04, 0x05, 0xea, 0x43, 0x7d, 0x8c, 0x3d, 0x67, 0x4c, 0x03, 0xcc, 0x29, 0x89, + 0xb4, 0x9a, 0xa0, 0xd4, 0x4b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xce, 0x8d, 0xf7, 0x19, 0xec, 0xf7, 0xec, 0xfe, 0x8f, 0x83, 0xcb, + 0xde, 0x59, 0xa9, 0x8a, 0xbb, 0x49, 0x73, 0x30, 0xec, 0x9d, 0x9e, 0x09, 0x15, 0x25, 0x50, 0xeb, + 0x3c, 0x4b, 0x56, 0x4e, 0xc7, 0xff, 0xdc, 0x1c, 0x2a, 0xff, 0xde, 0x1c, 0x2a, 0xff, 0xdd, 0x1c, + 0x2a, 0xb0, 0xef, 0xb2, 0x79, 0x59, 0xdb, 0x9f, 0xd6, 0x7a, 0x21, 0xbd, 0x48, 0x5f, 0xcf, 0x85, + 0xf2, 0x6b, 0x67, 0x4a, 0xe3, 0x59, 0x32, 0x36, 0x5c, 0x36, 0xef, 0xac, 0xfc, 0x88, 0x18, 0x53, + 0x12, 0x64, 0x3f, 0x0f, 0xf2, 0x9f, 0xe4, 0x7b, 0x1c, 0xd2, 0xc5, 0xc9, 0x78, 0x4b, 0xc4, 0xbe, + 0xfa, 0x3f, 0x00, 0x00, 0xff, 0xff, 0x60, 0x70, 0x1d, 0xb3, 0xb7, 0x08, 0x00, 0x00, +} + +func (m *Domain) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Domain) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Domain) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.FailoverInfo != nil { + { + size, err := m.FailoverInfo.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDomain(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x8a + } + if m.IsGlobalDomain { + i-- + if m.IsGlobalDomain { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x80 + } + if m.FailoverVersion != 0 { + i = encodeVarintDomain(dAtA, i, uint64(m.FailoverVersion)) + i-- + dAtA[i] = 0x78 + } + if len(m.Clusters) > 0 { + for iNdEx := len(m.Clusters) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Clusters[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDomain(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x72 + } + } + if len(m.ActiveClusterName) > 0 { + i -= len(m.ActiveClusterName) + copy(dAtA[i:], m.ActiveClusterName) + i = encodeVarintDomain(dAtA, i, uint64(len(m.ActiveClusterName))) + i-- + dAtA[i] = 0x6a + } + if len(m.VisibilityArchivalUri) > 0 { + i -= len(m.VisibilityArchivalUri) + copy(dAtA[i:], m.VisibilityArchivalUri) + i = encodeVarintDomain(dAtA, i, uint64(len(m.VisibilityArchivalUri))) + i-- + dAtA[i] = 0x62 + } + if m.VisibilityArchivalStatus != 0 { + i = encodeVarintDomain(dAtA, i, uint64(m.VisibilityArchivalStatus)) + i-- + dAtA[i] = 0x58 + } + if len(m.HistoryArchivalUri) > 0 { + i -= len(m.HistoryArchivalUri) + copy(dAtA[i:], m.HistoryArchivalUri) + i = encodeVarintDomain(dAtA, i, uint64(len(m.HistoryArchivalUri))) + i-- + dAtA[i] = 0x52 + } + if m.HistoryArchivalStatus != 0 { + i = encodeVarintDomain(dAtA, i, uint64(m.HistoryArchivalStatus)) + i-- + dAtA[i] = 0x48 + } + if m.BadBinaries != nil { + { + size, err := m.BadBinaries.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDomain(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x42 + } + if m.WorkflowExecutionRetentionPeriod != nil { + { + size, err := m.WorkflowExecutionRetentionPeriod.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDomain(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x3a + } + if len(m.Data) > 0 { + for k := range m.Data { + v := m.Data[k] + baseI := i + i -= len(v) + copy(dAtA[i:], v) + i = encodeVarintDomain(dAtA, i, uint64(len(v))) + i-- + dAtA[i] = 0x12 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarintDomain(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarintDomain(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0x32 + } + } + if len(m.OwnerEmail) > 0 { + i -= len(m.OwnerEmail) + copy(dAtA[i:], m.OwnerEmail) + i = encodeVarintDomain(dAtA, i, uint64(len(m.OwnerEmail))) + i-- + dAtA[i] = 0x2a + } + if len(m.Description) > 0 { + i -= len(m.Description) + copy(dAtA[i:], m.Description) + i = encodeVarintDomain(dAtA, i, uint64(len(m.Description))) + i-- + dAtA[i] = 0x22 + } + if m.Status != 0 { + i = encodeVarintDomain(dAtA, i, uint64(m.Status)) + i-- + dAtA[i] = 0x18 + } + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarintDomain(dAtA, i, uint64(len(m.Name))) + i-- + dAtA[i] = 0x12 + } + if len(m.Id) > 0 { + i -= len(m.Id) + copy(dAtA[i:], m.Id) + i = encodeVarintDomain(dAtA, i, uint64(len(m.Id))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ClusterReplicationConfiguration) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ClusterReplicationConfiguration) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ClusterReplicationConfiguration) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.ClusterName) > 0 { + i -= len(m.ClusterName) + copy(dAtA[i:], m.ClusterName) + i = encodeVarintDomain(dAtA, i, uint64(len(m.ClusterName))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *BadBinaries) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *BadBinaries) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *BadBinaries) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.Binaries) > 0 { + for k := range m.Binaries { + v := m.Binaries[k] + baseI := i + if v != nil { + { + size, err := v.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDomain(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarintDomain(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarintDomain(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *BadBinaryInfo) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *BadBinaryInfo) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *BadBinaryInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.CreatedTime != nil { + { + size, err := m.CreatedTime.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDomain(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + if len(m.Operator) > 0 { + i -= len(m.Operator) + copy(dAtA[i:], m.Operator) + i = encodeVarintDomain(dAtA, i, uint64(len(m.Operator))) + i-- + dAtA[i] = 0x12 + } + if len(m.Reason) > 0 { + i -= len(m.Reason) + copy(dAtA[i:], m.Reason) + i = encodeVarintDomain(dAtA, i, uint64(len(m.Reason))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *FailoverInfo) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *FailoverInfo) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *FailoverInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.PendingShards) > 0 { + dAtA7 := make([]byte, len(m.PendingShards)*10) + var j6 int + for _, num1 := range m.PendingShards { + num := uint64(num1) + for num >= 1<<7 { + dAtA7[j6] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j6++ + } + dAtA7[j6] = uint8(num) + j6++ + } + i -= j6 + copy(dAtA[i:], dAtA7[:j6]) + i = encodeVarintDomain(dAtA, i, uint64(j6)) + i-- + dAtA[i] = 0x2a + } + if m.CompletedShardCount != 0 { + i = encodeVarintDomain(dAtA, i, uint64(m.CompletedShardCount)) + i-- + dAtA[i] = 0x20 + } + if m.FailoverExpireTimestamp != nil { + { + size, err := m.FailoverExpireTimestamp.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDomain(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + if m.FailoverStartTimestamp != nil { + { + size, err := m.FailoverStartTimestamp.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintDomain(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if m.FailoverVersion != 0 { + i = encodeVarintDomain(dAtA, i, uint64(m.FailoverVersion)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func encodeVarintDomain(dAtA []byte, offset int, v uint64) int { + offset -= sovDomain(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *Domain) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Id) + if l > 0 { + n += 1 + l + sovDomain(uint64(l)) + } + l = len(m.Name) + if l > 0 { + n += 1 + l + sovDomain(uint64(l)) + } + if m.Status != 0 { + n += 1 + sovDomain(uint64(m.Status)) + } + l = len(m.Description) + if l > 0 { + n += 1 + l + sovDomain(uint64(l)) + } + l = len(m.OwnerEmail) + if l > 0 { + n += 1 + l + sovDomain(uint64(l)) + } + if len(m.Data) > 0 { + for k, v := range m.Data { + _ = k + _ = v + mapEntrySize := 1 + len(k) + sovDomain(uint64(len(k))) + 1 + len(v) + sovDomain(uint64(len(v))) + n += mapEntrySize + 1 + sovDomain(uint64(mapEntrySize)) + } + } + if m.WorkflowExecutionRetentionPeriod != nil { + l = m.WorkflowExecutionRetentionPeriod.Size() + n += 1 + l + sovDomain(uint64(l)) + } + if m.BadBinaries != nil { + l = m.BadBinaries.Size() + n += 1 + l + sovDomain(uint64(l)) + } + if m.HistoryArchivalStatus != 0 { + n += 1 + sovDomain(uint64(m.HistoryArchivalStatus)) + } + l = len(m.HistoryArchivalUri) + if l > 0 { + n += 1 + l + sovDomain(uint64(l)) + } + if m.VisibilityArchivalStatus != 0 { + n += 1 + sovDomain(uint64(m.VisibilityArchivalStatus)) + } + l = len(m.VisibilityArchivalUri) + if l > 0 { + n += 1 + l + sovDomain(uint64(l)) + } + l = len(m.ActiveClusterName) + if l > 0 { + n += 1 + l + sovDomain(uint64(l)) + } + if len(m.Clusters) > 0 { + for _, e := range m.Clusters { + l = e.Size() + n += 1 + l + sovDomain(uint64(l)) + } + } + if m.FailoverVersion != 0 { + n += 1 + sovDomain(uint64(m.FailoverVersion)) + } + if m.IsGlobalDomain { + n += 3 + } + if m.FailoverInfo != nil { + l = m.FailoverInfo.Size() + n += 2 + l + sovDomain(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *ClusterReplicationConfiguration) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ClusterName) + if l > 0 { + n += 1 + l + sovDomain(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *BadBinaries) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Binaries) > 0 { + for k, v := range m.Binaries { + _ = k + _ = v + l = 0 + if v != nil { + l = v.Size() + l += 1 + sovDomain(uint64(l)) + } + mapEntrySize := 1 + len(k) + sovDomain(uint64(len(k))) + l + n += mapEntrySize + 1 + sovDomain(uint64(mapEntrySize)) + } + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *BadBinaryInfo) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Reason) + if l > 0 { + n += 1 + l + sovDomain(uint64(l)) + } + l = len(m.Operator) + if l > 0 { + n += 1 + l + sovDomain(uint64(l)) + } + if m.CreatedTime != nil { + l = m.CreatedTime.Size() + n += 1 + l + sovDomain(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *FailoverInfo) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.FailoverVersion != 0 { + n += 1 + sovDomain(uint64(m.FailoverVersion)) + } + if m.FailoverStartTimestamp != nil { + l = m.FailoverStartTimestamp.Size() + n += 1 + l + sovDomain(uint64(l)) + } + if m.FailoverExpireTimestamp != nil { + l = m.FailoverExpireTimestamp.Size() + n += 1 + l + sovDomain(uint64(l)) + } + if m.CompletedShardCount != 0 { + n += 1 + sovDomain(uint64(m.CompletedShardCount)) + } + if len(m.PendingShards) > 0 { + l = 0 + for _, e := range m.PendingShards { + l += sovDomain(uint64(e)) + } + n += 1 + sovDomain(uint64(l)) + l + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func sovDomain(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozDomain(x uint64) (n int) { + return sovDomain(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *Domain) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Domain: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Domain: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthDomain + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthDomain + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Id = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthDomain + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthDomain + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) + } + m.Status = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Status |= DomainStatus(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthDomain + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthDomain + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Description = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field OwnerEmail", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthDomain + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthDomain + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.OwnerEmail = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDomain + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDomain + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Data == nil { + m.Data = make(map[string]string) + } + var mapkey string + var mapvalue string + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLengthDomain + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLengthDomain + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var stringLenmapvalue uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapvalue |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapvalue := int(stringLenmapvalue) + if intStringLenmapvalue < 0 { + return ErrInvalidLengthDomain + } + postStringIndexmapvalue := iNdEx + intStringLenmapvalue + if postStringIndexmapvalue < 0 { + return ErrInvalidLengthDomain + } + if postStringIndexmapvalue > l { + return io.ErrUnexpectedEOF + } + mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) + iNdEx = postStringIndexmapvalue + } else { + iNdEx = entryPreIndex + skippy, err := skipDomain(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthDomain + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.Data[mapkey] = mapvalue + iNdEx = postIndex + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowExecutionRetentionPeriod", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDomain + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDomain + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.WorkflowExecutionRetentionPeriod == nil { + m.WorkflowExecutionRetentionPeriod = &types.Duration{} + } + if err := m.WorkflowExecutionRetentionPeriod.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 8: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field BadBinaries", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDomain + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDomain + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.BadBinaries == nil { + m.BadBinaries = &BadBinaries{} + } + if err := m.BadBinaries.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 9: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field HistoryArchivalStatus", wireType) + } + m.HistoryArchivalStatus = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.HistoryArchivalStatus |= ArchivalStatus(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 10: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field HistoryArchivalUri", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthDomain + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthDomain + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.HistoryArchivalUri = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 11: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field VisibilityArchivalStatus", wireType) + } + m.VisibilityArchivalStatus = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.VisibilityArchivalStatus |= ArchivalStatus(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 12: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field VisibilityArchivalUri", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthDomain + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthDomain + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.VisibilityArchivalUri = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 13: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ActiveClusterName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthDomain + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthDomain + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ActiveClusterName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 14: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Clusters", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDomain + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDomain + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Clusters = append(m.Clusters, &ClusterReplicationConfiguration{}) + if err := m.Clusters[len(m.Clusters)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 15: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field FailoverVersion", wireType) + } + m.FailoverVersion = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.FailoverVersion |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 16: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IsGlobalDomain", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.IsGlobalDomain = bool(v != 0) + case 17: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field FailoverInfo", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDomain + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDomain + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.FailoverInfo == nil { + m.FailoverInfo = &FailoverInfo{} + } + if err := m.FailoverInfo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipDomain(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthDomain + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ClusterReplicationConfiguration) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ClusterReplicationConfiguration: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ClusterReplicationConfiguration: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ClusterName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthDomain + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthDomain + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ClusterName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipDomain(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthDomain + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *BadBinaries) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: BadBinaries: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: BadBinaries: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Binaries", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDomain + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDomain + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Binaries == nil { + m.Binaries = make(map[string]*BadBinaryInfo) + } + var mapkey string + var mapvalue *BadBinaryInfo + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLengthDomain + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLengthDomain + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var mapmsglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapmsglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if mapmsglen < 0 { + return ErrInvalidLengthDomain + } + postmsgIndex := iNdEx + mapmsglen + if postmsgIndex < 0 { + return ErrInvalidLengthDomain + } + if postmsgIndex > l { + return io.ErrUnexpectedEOF + } + mapvalue = &BadBinaryInfo{} + if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { + return err + } + iNdEx = postmsgIndex + } else { + iNdEx = entryPreIndex + skippy, err := skipDomain(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthDomain + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.Binaries[mapkey] = mapvalue + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipDomain(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthDomain + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *BadBinaryInfo) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: BadBinaryInfo: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: BadBinaryInfo: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthDomain + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthDomain + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Reason = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Operator", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthDomain + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthDomain + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Operator = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CreatedTime", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDomain + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDomain + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.CreatedTime == nil { + m.CreatedTime = &types.Timestamp{} + } + if err := m.CreatedTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipDomain(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthDomain + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *FailoverInfo) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: FailoverInfo: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: FailoverInfo: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field FailoverVersion", wireType) + } + m.FailoverVersion = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.FailoverVersion |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field FailoverStartTimestamp", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDomain + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDomain + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.FailoverStartTimestamp == nil { + m.FailoverStartTimestamp = &types.Timestamp{} + } + if err := m.FailoverStartTimestamp.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field FailoverExpireTimestamp", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthDomain + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDomain + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.FailoverExpireTimestamp == nil { + m.FailoverExpireTimestamp = &types.Timestamp{} + } + if err := m.FailoverExpireTimestamp.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field CompletedShardCount", wireType) + } + m.CompletedShardCount = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.CompletedShardCount |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 5: + if wireType == 0 { + var v int32 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.PendingShards = append(m.PendingShards, v) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return ErrInvalidLengthDomain + } + postIndex := iNdEx + packedLen + if postIndex < 0 { + return ErrInvalidLengthDomain + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + var elementCount int + var count int + for _, integer := range dAtA[iNdEx:postIndex] { + if integer < 128 { + count++ + } + } + elementCount = count + if elementCount != 0 && len(m.PendingShards) == 0 { + m.PendingShards = make([]int32, 0, elementCount) + } + for iNdEx < postIndex { + var v int32 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.PendingShards = append(m.PendingShards, v) + } + } else { + return fmt.Errorf("proto: wrong wireType = %d for field PendingShards", wireType) + } + default: + iNdEx = preIndex + skippy, err := skipDomain(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthDomain + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func skipDomain(dAtA []byte) (n int, err error) { + l := len(dAtA) + iNdEx := 0 + depth := 0 + for iNdEx < l { + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowDomain + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + wireType := int(wire & 0x7) + switch wireType { + case 0: + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowDomain + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + iNdEx++ + if dAtA[iNdEx-1] < 0x80 { + break + } + } + case 1: + iNdEx += 8 + case 2: + var length int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowDomain + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + length |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if length < 0 { + return 0, ErrInvalidLengthDomain + } + iNdEx += length + case 3: + depth++ + case 4: + if depth == 0 { + return 0, ErrUnexpectedEndOfGroupDomain + } + depth-- + case 5: + iNdEx += 4 + default: + return 0, fmt.Errorf("proto: illegal wireType %d", wireType) + } + if iNdEx < 0 { + return 0, ErrInvalidLengthDomain + } + if depth == 0 { + return iNdEx, nil + } + } + return 0, io.ErrUnexpectedEOF +} + +var ( + ErrInvalidLengthDomain = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflowDomain = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroupDomain = fmt.Errorf("proto: unexpected end of group") +) diff --git a/go/proto/api/v1/domain.pb.yarpc.go b/go/proto/api/v1/domain.pb.yarpc.go new file mode 100644 index 0000000..bb4113f --- /dev/null +++ b/go/proto/api/v1/domain.pb.yarpc.go @@ -0,0 +1,123 @@ +// The MIT License (MIT) +// +// Copyright (c) 2021 Uber Technologies, Inc. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +// SOFTWARE. + +// Code generated by protoc-gen-yarpc-go. DO NOT EDIT. +// source: uber/cadence/api/v1/domain.proto + +package apiv1 + +var yarpcFileDescriptorClosure824795d6ae7d8e2f = [][]byte{ + // uber/cadence/api/v1/domain.proto + []byte{ + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x56, 0x5f, 0x6f, 0xdb, 0xb6, + 0x17, 0xfd, 0xc9, 0x4e, 0xf2, 0x73, 0xae, 0x1c, 0xd7, 0x65, 0x9a, 0x46, 0xf1, 0x86, 0x45, 0x4d, + 0x51, 0xc0, 0xeb, 0x83, 0xbc, 0x78, 0xc3, 0xd6, 0x6e, 0xd8, 0x83, 0x63, 0xa9, 0x9d, 0x87, 0x2c, + 0x0b, 0x64, 0x37, 0x0f, 0xdb, 0x83, 0x40, 0x4b, 0xb4, 0x4d, 0x54, 0x16, 0x05, 0x8a, 0x76, 0x9a, + 0xb7, 0x61, 0x1f, 0x62, 0x1f, 0x66, 0x8f, 0xfb, 0x64, 0x83, 0x28, 0x4a, 0xf1, 0x1f, 0x21, 0xd9, + 0x1b, 0x79, 0xef, 0x3d, 0x87, 0x47, 0x47, 0xf7, 0x52, 0x02, 0x73, 0x31, 0x26, 0xbc, 0xe3, 0xe3, + 0x80, 0x44, 0x3e, 0xe9, 0xe0, 0x98, 0x76, 0x96, 0xe7, 0x9d, 0x80, 0xcd, 0x31, 0x8d, 0xac, 0x98, + 0x33, 0xc1, 0xd0, 0x61, 0x5a, 0x61, 0xa9, 0x0a, 0x0b, 0xc7, 0xd4, 0x5a, 0x9e, 0xb7, 0xbe, 0x98, + 0x32, 0x36, 0x0d, 0x49, 0x47, 0x96, 0x8c, 0x17, 0x93, 0x4e, 0xb0, 0xe0, 0x58, 0x50, 0xa6, 0x40, + 0xad, 0xd3, 0xcd, 0xbc, 0xa0, 0x73, 0x92, 0x08, 0x3c, 0x8f, 0xb3, 0x82, 0xb3, 0xbf, 0x6a, 0xb0, + 0x67, 0xcb, 0x63, 0x50, 0x03, 0x2a, 0x34, 0x30, 0x34, 0x53, 0x6b, 0xef, 0xbb, 0x15, 0x1a, 0x20, + 0x04, 0x3b, 0x11, 0x9e, 0x13, 0xa3, 0x22, 0x23, 0x72, 0x8d, 0xde, 0xc2, 0x5e, 0x22, 0xb0, 0x58, + 0x24, 0x46, 0xd5, 0xd4, 0xda, 0x8d, 0xee, 0x0b, 0xab, 0x44, 0x95, 0x95, 0x11, 0x0e, 0x65, 0xa1, + 0xab, 0x00, 0xc8, 0x04, 0x3d, 0x20, 0x89, 0xcf, 0x69, 0x9c, 0xea, 0x33, 0x76, 0x24, 0xeb, 0x6a, + 0x08, 0x9d, 0x82, 0xce, 0x6e, 0x23, 0xc2, 0x3d, 0x32, 0xc7, 0x34, 0x34, 0x76, 0x65, 0x05, 0xc8, + 0x90, 0x93, 0x46, 0xd0, 0x5b, 0xd8, 0x09, 0xb0, 0xc0, 0xc6, 0x9e, 0x59, 0x6d, 0xeb, 0xdd, 0x57, + 0x0f, 0x9c, 0x6d, 0xd9, 0x58, 0x60, 0x27, 0x12, 0xfc, 0xce, 0x95, 0x10, 0x34, 0x83, 0x97, 0xb7, + 0x8c, 0x7f, 0x9c, 0x84, 0xec, 0xd6, 0x23, 0x9f, 0x88, 0xbf, 0x48, 0x4f, 0xf4, 0x38, 0x11, 0x24, + 0x92, 0xab, 0x98, 0x70, 0xca, 0x02, 0xe3, 0xff, 0xa6, 0xd6, 0xd6, 0xbb, 0x27, 0x56, 0x66, 0x9b, + 0x95, 0xdb, 0x66, 0xd9, 0xca, 0x56, 0xd7, 0xcc, 0x59, 0x9c, 0x9c, 0xc4, 0xcd, 0x39, 0xae, 0x25, + 0x05, 0xea, 0x43, 0x7d, 0x8c, 0x03, 0x6f, 0x4c, 0x23, 0xcc, 0x29, 0x49, 0x8c, 0x9a, 0xa4, 0x34, + 0x4b, 0xc5, 0x5e, 0xe0, 0xe0, 0x42, 0xd5, 0xb9, 0xfa, 0xf8, 0x7e, 0x83, 0x7e, 0x87, 0xe3, 0x19, + 0x4d, 0x04, 0xe3, 0x77, 0x1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0xd8, 0xbb, 0xb8, 0x94, 0x2a, 0x4a, 0xa0, 0xce, 0x55, 0x96, 0xac, 0x5c, 0xdc, + 0xc0, 0xb1, 0xcf, 0xe6, 0x65, 0xad, 0x7e, 0x51, 0xeb, 0xc5, 0xf4, 0x3a, 0x7d, 0x25, 0xd7, 0xda, + 0x6f, 0x9d, 0x29, 0x15, 0xb3, 0xc5, 0xd8, 0xf2, 0xd9, 0xbc, 0xb3, 0xf6, 0xf3, 0x61, 0x4d, 0x49, + 0x94, 0xfd, 0x30, 0xa8, 0xff, 0x90, 0x1f, 0x70, 0x4c, 0x97, 0xe7, 0xe3, 0x3d, 0x19, 0xfb, 0xfa, + 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x6b, 0x36, 0xf7, 0xb7, 0xab, 0x08, 0x00, 0x00, + }, + // google/protobuf/duration.proto + []byte{ + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4b, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x2f, 0x28, 0xca, 0x2f, 0xc9, 0x4f, 0x2a, 0x4d, 0xd3, 0x4f, 0x29, 0x2d, 0x4a, + 0x2c, 0xc9, 0xcc, 0xcf, 0xd3, 0x03, 0x8b, 0x08, 0xf1, 0x43, 0xe4, 0xf5, 0x60, 0xf2, 0x4a, 0x56, + 0x5c, 0x1c, 0x2e, 0x50, 0x25, 0x42, 0x12, 0x5c, 0xec, 0xc5, 0xa9, 0xc9, 0xf9, 0x79, 0x29, 0xc5, + 0x12, 0x8c, 0x0a, 0x8c, 0x1a, 0xcc, 0x41, 0x30, 0xae, 0x90, 0x08, 0x17, 0x6b, 0x5e, 0x62, 0x5e, + 0x7e, 0xb1, 0x04, 0x93, 0x02, 0xa3, 0x06, 0x6b, 0x10, 0x84, 0xe3, 0xd4, 0xcc, 0xc8, 0x25, 0x9c, + 0x9c, 0x9f, 0xab, 0x87, 0x66, 0xa6, 0x13, 0x2f, 0xcc, 0xc4, 0x00, 0x90, 0x48, 0x00, 0x63, 0x94, + 0x21, 0x54, 0x45, 0x7a, 0x7e, 0x4e, 0x62, 0x5e, 0xba, 0x5e, 0x7e, 0x51, 0x3a, 0xc2, 0x81, 0x25, + 0x95, 0x05, 0xa9, 0xc5, 0xfa, 0xd9, 0x79, 0xf9, 0xe5, 0x79, 0x70, 0xc7, 0x16, 0x24, 0xfd, 0x60, + 0x64, 0x5c, 0xc4, 0xc4, 0xec, 0x1e, 0xe0, 0xb4, 0x8a, 0x49, 0xce, 0x1d, 0xa2, 0x39, 0x00, 0xaa, + 0x43, 0x2f, 0x3c, 0x35, 0x27, 0xc7, 0x1b, 0xa4, 0x3e, 0x04, 0xa4, 0x35, 0x89, 0x0d, 0x6c, 0x94, + 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0xef, 0x8a, 0xb4, 0xc3, 0xfb, 0x00, 0x00, 0x00, + }, + // google/protobuf/timestamp.proto + []byte{ + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4f, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x2f, 0x28, 0xca, 0x2f, 0xc9, 0x4f, 0x2a, 0x4d, 0xd3, 0x2f, 0xc9, 0xcc, 0x4d, + 0x2d, 0x2e, 0x49, 0xcc, 0x2d, 0xd0, 0x03, 0x0b, 0x09, 0xf1, 0x43, 0x14, 0xe8, 0xc1, 0x14, 0x28, + 0x59, 0x73, 0x71, 0x86, 0xc0, 0xd4, 0x08, 0x49, 0x70, 0xb1, 0x17, 0xa7, 0x26, 0xe7, 0xe7, 0xa5, + 0x14, 0x4b, 0x30, 0x2a, 0x30, 0x6a, 0x30, 0x07, 0xc1, 0xb8, 0x42, 0x22, 0x5c, 0xac, 0x79, 0x89, + 0x79, 0xf9, 0xc5, 0x12, 0x4c, 0x0a, 0x8c, 0x1a, 0xac, 0x41, 0x10, 0x8e, 0x53, 0x2b, 0x23, 0x97, + 0x70, 0x72, 0x7e, 0xae, 0x1e, 0x9a, 0xa1, 0x4e, 0x7c, 0x70, 0x23, 0x03, 0x40, 0x42, 0x01, 0x8c, + 0x51, 0x46, 0x50, 0x25, 0xe9, 0xf9, 0x39, 0x89, 0x79, 0xe9, 0x7a, 0xf9, 0x45, 0xe9, 0x48, 0x6e, + 0xac, 0x2c, 0x48, 0x2d, 0xd6, 0xcf, 0xce, 0xcb, 0x2f, 0xcf, 0x43, 0xb8, 0xb7, 0x20, 0xe9, 0x07, + 0x23, 0xe3, 0x22, 0x26, 0x66, 0xf7, 0x00, 0xa7, 0x55, 0x4c, 0x72, 0xee, 0x10, 0xdd, 0x01, 0x50, + 0x2d, 0x7a, 0xe1, 0xa9, 0x39, 0x39, 0xde, 0x20, 0x0d, 0x21, 0x20, 0xbd, 0x49, 0x6c, 0x60, 0xb3, + 0x8c, 0x01, 0x01, 0x00, 0x00, 0xff, 0xff, 0xae, 0x65, 0xce, 0x7d, 0xff, 0x00, 0x00, 0x00, + }, +} diff --git a/go/proto/api/v1/error.pb.go b/go/proto/api/v1/error.pb.go new file mode 100644 index 0000000..fa86efc --- /dev/null +++ b/go/proto/api/v1/error.pb.go @@ -0,0 +1,2180 @@ +// The MIT License (MIT) +// +// Copyright (c) 2021 Uber Technologies, Inc. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +// SOFTWARE. + +// Code generated by protoc-gen-gogo. DO NOT EDIT. +// source: uber/cadence/api/v1/error.proto + +package apiv1 + +import ( + fmt "fmt" + proto "github.com/gogo/protobuf/proto" + io "io" + math "math" + math_bits "math/bits" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package + +type WorkflowExecutionAlreadyStartedError struct { + StartRequestId string `protobuf:"bytes,1,opt,name=start_request_id,json=startRequestId,proto3" json:"start_request_id,omitempty"` + RunId string `protobuf:"bytes,2,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *WorkflowExecutionAlreadyStartedError) Reset() { *m = WorkflowExecutionAlreadyStartedError{} } +func (m *WorkflowExecutionAlreadyStartedError) String() string { return proto.CompactTextString(m) } +func (*WorkflowExecutionAlreadyStartedError) ProtoMessage() {} +func (*WorkflowExecutionAlreadyStartedError) Descriptor() ([]byte, []int) { + return fileDescriptor_c8f91786c9aff272, []int{0} +} +func (m *WorkflowExecutionAlreadyStartedError) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *WorkflowExecutionAlreadyStartedError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_WorkflowExecutionAlreadyStartedError.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *WorkflowExecutionAlreadyStartedError) XXX_Merge(src proto.Message) { + xxx_messageInfo_WorkflowExecutionAlreadyStartedError.Merge(m, src) +} +func (m *WorkflowExecutionAlreadyStartedError) XXX_Size() int { + return m.Size() +} +func (m *WorkflowExecutionAlreadyStartedError) XXX_DiscardUnknown() { + xxx_messageInfo_WorkflowExecutionAlreadyStartedError.DiscardUnknown(m) +} + +var xxx_messageInfo_WorkflowExecutionAlreadyStartedError proto.InternalMessageInfo + +func (m *WorkflowExecutionAlreadyStartedError) GetStartRequestId() string { + if m != nil { + return m.StartRequestId + } + return "" +} + +func (m *WorkflowExecutionAlreadyStartedError) GetRunId() string { + if m != nil { + return m.RunId + } + return "" +} + +type EntityNotExistsError struct { + CurrentCluster string `protobuf:"bytes,1,opt,name=current_cluster,json=currentCluster,proto3" json:"current_cluster,omitempty"` + ActiveCluster string `protobuf:"bytes,2,opt,name=active_cluster,json=activeCluster,proto3" json:"active_cluster,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *EntityNotExistsError) Reset() { *m = EntityNotExistsError{} } +func (m *EntityNotExistsError) String() string { return proto.CompactTextString(m) } +func (*EntityNotExistsError) ProtoMessage() {} +func (*EntityNotExistsError) Descriptor() ([]byte, []int) { + return fileDescriptor_c8f91786c9aff272, []int{1} +} +func (m *EntityNotExistsError) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *EntityNotExistsError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_EntityNotExistsError.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *EntityNotExistsError) XXX_Merge(src proto.Message) { + xxx_messageInfo_EntityNotExistsError.Merge(m, src) +} +func (m *EntityNotExistsError) XXX_Size() int { + return m.Size() +} +func (m *EntityNotExistsError) XXX_DiscardUnknown() { + xxx_messageInfo_EntityNotExistsError.DiscardUnknown(m) +} + +var xxx_messageInfo_EntityNotExistsError proto.InternalMessageInfo + +func (m *EntityNotExistsError) GetCurrentCluster() string { + if m != nil { + return m.CurrentCluster + } + return "" +} + +func (m *EntityNotExistsError) GetActiveCluster() string { + if m != nil { + return m.ActiveCluster + } + return "" +} + +type WorkflowExecutionAlreadyCompletedError struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *WorkflowExecutionAlreadyCompletedError) Reset() { + *m = WorkflowExecutionAlreadyCompletedError{} +} +func (m *WorkflowExecutionAlreadyCompletedError) String() string { return proto.CompactTextString(m) } +func (*WorkflowExecutionAlreadyCompletedError) ProtoMessage() {} +func (*WorkflowExecutionAlreadyCompletedError) Descriptor() ([]byte, []int) { + return fileDescriptor_c8f91786c9aff272, []int{2} +} +func (m *WorkflowExecutionAlreadyCompletedError) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *WorkflowExecutionAlreadyCompletedError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_WorkflowExecutionAlreadyCompletedError.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *WorkflowExecutionAlreadyCompletedError) XXX_Merge(src proto.Message) { + xxx_messageInfo_WorkflowExecutionAlreadyCompletedError.Merge(m, src) +} +func (m *WorkflowExecutionAlreadyCompletedError) XXX_Size() int { + return m.Size() +} +func (m *WorkflowExecutionAlreadyCompletedError) XXX_DiscardUnknown() { + xxx_messageInfo_WorkflowExecutionAlreadyCompletedError.DiscardUnknown(m) +} + +var xxx_messageInfo_WorkflowExecutionAlreadyCompletedError proto.InternalMessageInfo + +type DomainNotActiveError struct { + Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` + CurrentCluster string `protobuf:"bytes,2,opt,name=current_cluster,json=currentCluster,proto3" json:"current_cluster,omitempty"` + ActiveCluster string `protobuf:"bytes,3,opt,name=active_cluster,json=activeCluster,proto3" json:"active_cluster,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DomainNotActiveError) Reset() { *m = DomainNotActiveError{} } +func (m *DomainNotActiveError) String() string { return proto.CompactTextString(m) } +func (*DomainNotActiveError) ProtoMessage() {} +func (*DomainNotActiveError) Descriptor() ([]byte, []int) { + return fileDescriptor_c8f91786c9aff272, []int{3} +} +func (m *DomainNotActiveError) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *DomainNotActiveError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_DomainNotActiveError.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *DomainNotActiveError) XXX_Merge(src proto.Message) { + xxx_messageInfo_DomainNotActiveError.Merge(m, src) +} +func (m *DomainNotActiveError) XXX_Size() int { + return m.Size() +} +func (m *DomainNotActiveError) XXX_DiscardUnknown() { + xxx_messageInfo_DomainNotActiveError.DiscardUnknown(m) +} + +var xxx_messageInfo_DomainNotActiveError proto.InternalMessageInfo + +func (m *DomainNotActiveError) GetDomain() string { + if m != nil { + return m.Domain + } + return "" +} + +func (m *DomainNotActiveError) GetCurrentCluster() string { + if m != nil { + return m.CurrentCluster + } + return "" +} + +func (m *DomainNotActiveError) GetActiveCluster() string { + if m != nil { + return m.ActiveCluster + } + return "" +} + +type ClientVersionNotSupportedError struct { + FeatureVersion string `protobuf:"bytes,1,opt,name=feature_version,json=featureVersion,proto3" json:"feature_version,omitempty"` + ClientImpl string `protobuf:"bytes,2,opt,name=client_impl,json=clientImpl,proto3" json:"client_impl,omitempty"` + SupportedVersions string `protobuf:"bytes,3,opt,name=supported_versions,json=supportedVersions,proto3" json:"supported_versions,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ClientVersionNotSupportedError) Reset() { *m = ClientVersionNotSupportedError{} } +func (m *ClientVersionNotSupportedError) String() string { return proto.CompactTextString(m) } +func (*ClientVersionNotSupportedError) ProtoMessage() {} +func (*ClientVersionNotSupportedError) Descriptor() ([]byte, []int) { + return fileDescriptor_c8f91786c9aff272, []int{4} +} +func (m *ClientVersionNotSupportedError) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ClientVersionNotSupportedError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ClientVersionNotSupportedError.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ClientVersionNotSupportedError) XXX_Merge(src proto.Message) { + xxx_messageInfo_ClientVersionNotSupportedError.Merge(m, src) +} +func (m *ClientVersionNotSupportedError) XXX_Size() int { + return m.Size() +} +func (m *ClientVersionNotSupportedError) XXX_DiscardUnknown() { + xxx_messageInfo_ClientVersionNotSupportedError.DiscardUnknown(m) +} + +var xxx_messageInfo_ClientVersionNotSupportedError proto.InternalMessageInfo + +func (m *ClientVersionNotSupportedError) GetFeatureVersion() string { + if m != nil { + return m.FeatureVersion + } + return "" +} + +func (m *ClientVersionNotSupportedError) GetClientImpl() string { + if m != nil { + return m.ClientImpl + } + return "" +} + +func (m *ClientVersionNotSupportedError) GetSupportedVersions() string { + if m != nil { + return m.SupportedVersions + } + return "" +} + +type FeatureNotEnabledError struct { + FeatureFlag string `protobuf:"bytes,1,opt,name=feature_flag,json=featureFlag,proto3" json:"feature_flag,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FeatureNotEnabledError) Reset() { *m = FeatureNotEnabledError{} } +func (m *FeatureNotEnabledError) String() string { return proto.CompactTextString(m) } +func (*FeatureNotEnabledError) ProtoMessage() {} +func (*FeatureNotEnabledError) Descriptor() ([]byte, []int) { + return fileDescriptor_c8f91786c9aff272, []int{5} +} +func (m *FeatureNotEnabledError) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *FeatureNotEnabledError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_FeatureNotEnabledError.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *FeatureNotEnabledError) XXX_Merge(src proto.Message) { + xxx_messageInfo_FeatureNotEnabledError.Merge(m, src) +} +func (m *FeatureNotEnabledError) XXX_Size() int { + return m.Size() +} +func (m *FeatureNotEnabledError) XXX_DiscardUnknown() { + xxx_messageInfo_FeatureNotEnabledError.DiscardUnknown(m) +} + +var xxx_messageInfo_FeatureNotEnabledError proto.InternalMessageInfo + +func (m *FeatureNotEnabledError) GetFeatureFlag() string { + if m != nil { + return m.FeatureFlag + } + return "" +} + +type CancellationAlreadyRequestedError struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CancellationAlreadyRequestedError) Reset() { *m = CancellationAlreadyRequestedError{} } +func (m *CancellationAlreadyRequestedError) String() string { return proto.CompactTextString(m) } +func (*CancellationAlreadyRequestedError) ProtoMessage() {} +func (*CancellationAlreadyRequestedError) Descriptor() ([]byte, []int) { + return fileDescriptor_c8f91786c9aff272, []int{6} +} +func (m *CancellationAlreadyRequestedError) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *CancellationAlreadyRequestedError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_CancellationAlreadyRequestedError.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *CancellationAlreadyRequestedError) XXX_Merge(src proto.Message) { + xxx_messageInfo_CancellationAlreadyRequestedError.Merge(m, src) +} +func (m *CancellationAlreadyRequestedError) XXX_Size() int { + return m.Size() +} +func (m *CancellationAlreadyRequestedError) XXX_DiscardUnknown() { + xxx_messageInfo_CancellationAlreadyRequestedError.DiscardUnknown(m) +} + +var xxx_messageInfo_CancellationAlreadyRequestedError proto.InternalMessageInfo + +type DomainAlreadyExistsError struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DomainAlreadyExistsError) Reset() { *m = DomainAlreadyExistsError{} } +func (m *DomainAlreadyExistsError) String() string { return proto.CompactTextString(m) } +func (*DomainAlreadyExistsError) ProtoMessage() {} +func (*DomainAlreadyExistsError) Descriptor() ([]byte, []int) { + return fileDescriptor_c8f91786c9aff272, []int{7} +} +func (m *DomainAlreadyExistsError) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *DomainAlreadyExistsError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_DomainAlreadyExistsError.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *DomainAlreadyExistsError) XXX_Merge(src proto.Message) { + xxx_messageInfo_DomainAlreadyExistsError.Merge(m, src) +} +func (m *DomainAlreadyExistsError) XXX_Size() int { + return m.Size() +} +func (m *DomainAlreadyExistsError) XXX_DiscardUnknown() { + xxx_messageInfo_DomainAlreadyExistsError.DiscardUnknown(m) +} + +var xxx_messageInfo_DomainAlreadyExistsError proto.InternalMessageInfo + +type LimitExceededError struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *LimitExceededError) Reset() { *m = LimitExceededError{} } +func (m *LimitExceededError) String() string { return proto.CompactTextString(m) } +func (*LimitExceededError) ProtoMessage() {} +func (*LimitExceededError) Descriptor() ([]byte, []int) { + return fileDescriptor_c8f91786c9aff272, []int{8} +} +func (m *LimitExceededError) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *LimitExceededError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_LimitExceededError.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *LimitExceededError) XXX_Merge(src proto.Message) { + xxx_messageInfo_LimitExceededError.Merge(m, src) +} +func (m *LimitExceededError) XXX_Size() int { + return m.Size() +} +func (m *LimitExceededError) XXX_DiscardUnknown() { + xxx_messageInfo_LimitExceededError.DiscardUnknown(m) +} + +var xxx_messageInfo_LimitExceededError proto.InternalMessageInfo + +type QueryFailedError struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *QueryFailedError) Reset() { *m = QueryFailedError{} } +func (m *QueryFailedError) String() string { return proto.CompactTextString(m) } +func (*QueryFailedError) ProtoMessage() {} +func (*QueryFailedError) Descriptor() ([]byte, []int) { + return fileDescriptor_c8f91786c9aff272, []int{9} +} +func (m *QueryFailedError) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QueryFailedError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QueryFailedError.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *QueryFailedError) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryFailedError.Merge(m, src) +} +func (m *QueryFailedError) XXX_Size() int { + return m.Size() +} +func (m *QueryFailedError) XXX_DiscardUnknown() { + xxx_messageInfo_QueryFailedError.DiscardUnknown(m) +} + +var xxx_messageInfo_QueryFailedError proto.InternalMessageInfo + +type ServiceBusyError struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ServiceBusyError) Reset() { *m = ServiceBusyError{} } +func (m *ServiceBusyError) String() string { return proto.CompactTextString(m) } +func (*ServiceBusyError) ProtoMessage() {} +func (*ServiceBusyError) Descriptor() ([]byte, []int) { + return fileDescriptor_c8f91786c9aff272, []int{10} +} +func (m *ServiceBusyError) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ServiceBusyError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ServiceBusyError.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ServiceBusyError) XXX_Merge(src proto.Message) { + xxx_messageInfo_ServiceBusyError.Merge(m, src) +} +func (m *ServiceBusyError) XXX_Size() int { + return m.Size() +} +func (m *ServiceBusyError) XXX_DiscardUnknown() { + xxx_messageInfo_ServiceBusyError.DiscardUnknown(m) +} + +var xxx_messageInfo_ServiceBusyError proto.InternalMessageInfo + +func init() { + proto.RegisterType((*WorkflowExecutionAlreadyStartedError)(nil), "uber.cadence.api.v1.WorkflowExecutionAlreadyStartedError") + proto.RegisterType((*EntityNotExistsError)(nil), "uber.cadence.api.v1.EntityNotExistsError") + proto.RegisterType((*WorkflowExecutionAlreadyCompletedError)(nil), "uber.cadence.api.v1.WorkflowExecutionAlreadyCompletedError") + proto.RegisterType((*DomainNotActiveError)(nil), "uber.cadence.api.v1.DomainNotActiveError") + proto.RegisterType((*ClientVersionNotSupportedError)(nil), "uber.cadence.api.v1.ClientVersionNotSupportedError") + proto.RegisterType((*FeatureNotEnabledError)(nil), "uber.cadence.api.v1.FeatureNotEnabledError") + proto.RegisterType((*CancellationAlreadyRequestedError)(nil), "uber.cadence.api.v1.CancellationAlreadyRequestedError") + proto.RegisterType((*DomainAlreadyExistsError)(nil), "uber.cadence.api.v1.DomainAlreadyExistsError") + proto.RegisterType((*LimitExceededError)(nil), "uber.cadence.api.v1.LimitExceededError") + proto.RegisterType((*QueryFailedError)(nil), "uber.cadence.api.v1.QueryFailedError") + proto.RegisterType((*ServiceBusyError)(nil), "uber.cadence.api.v1.ServiceBusyError") +} + +func init() { proto.RegisterFile("uber/cadence/api/v1/error.proto", fileDescriptor_c8f91786c9aff272) } + +var fileDescriptor_c8f91786c9aff272 = []byte{ + // 493 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0xcf, 0x6e, 0xd3, 0x40, + 0x10, 0xc6, 0xe5, 0x22, 0x22, 0x98, 0x42, 0x5b, 0x4c, 0x28, 0x15, 0x87, 0x94, 0x9a, 0x3f, 0xcd, + 0x05, 0x5b, 0x11, 0xc7, 0x9e, 0x92, 0x90, 0x48, 0x91, 0x50, 0x55, 0x1a, 0x09, 0x24, 0x2e, 0xd1, + 0x66, 0x3d, 0x09, 0x2b, 0xd6, 0xbb, 0xcb, 0xfe, 0x31, 0xc9, 0x85, 0xf7, 0xe0, 0x8d, 0x38, 0xf2, + 0x08, 0x28, 0x4f, 0x82, 0xec, 0x5d, 0x97, 0x20, 0x05, 0x89, 0xe3, 0xfe, 0x66, 0xf6, 0xf3, 0xb7, + 0x9f, 0x67, 0xe0, 0xd4, 0xcd, 0x51, 0x67, 0x94, 0xe4, 0x28, 0x28, 0x66, 0x44, 0xb1, 0xac, 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f, 0x35, 0x4a, 0x97, + 0x28, 0xb2, 0x7a, 0x7d, 0xc2, 0x46, 0x5d, 0x10, 0xc5, 0xca, 0xde, 0xbc, 0x55, 0xb3, 0xd7, 0xbf, + 0x03, 0x00, 0x00, 0xff, 0xff, 0xb3, 0x4f, 0x15, 0x9e, 0x75, 0x03, 0x00, 0x00, +} + +func (m *WorkflowExecutionAlreadyStartedError) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *WorkflowExecutionAlreadyStartedError) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *WorkflowExecutionAlreadyStartedError) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.RunId) > 0 { + i -= len(m.RunId) + copy(dAtA[i:], m.RunId) + i = encodeVarintError(dAtA, i, uint64(len(m.RunId))) + i-- + dAtA[i] = 0x12 + } + if len(m.StartRequestId) > 0 { + i -= len(m.StartRequestId) + copy(dAtA[i:], m.StartRequestId) + i = encodeVarintError(dAtA, i, uint64(len(m.StartRequestId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *EntityNotExistsError) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *EntityNotExistsError) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *EntityNotExistsError) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.ActiveCluster) > 0 { + i -= len(m.ActiveCluster) + copy(dAtA[i:], m.ActiveCluster) + i = encodeVarintError(dAtA, i, uint64(len(m.ActiveCluster))) + i-- + dAtA[i] = 0x12 + } + if len(m.CurrentCluster) > 0 { + i -= len(m.CurrentCluster) + copy(dAtA[i:], m.CurrentCluster) + i = encodeVarintError(dAtA, i, uint64(len(m.CurrentCluster))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *WorkflowExecutionAlreadyCompletedError) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *WorkflowExecutionAlreadyCompletedError) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *WorkflowExecutionAlreadyCompletedError) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + return len(dAtA) - i, nil +} + +func (m *DomainNotActiveError) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *DomainNotActiveError) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *DomainNotActiveError) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.ActiveCluster) > 0 { + i -= len(m.ActiveCluster) + copy(dAtA[i:], m.ActiveCluster) + i = encodeVarintError(dAtA, i, uint64(len(m.ActiveCluster))) + i-- + dAtA[i] = 0x1a + } + if len(m.CurrentCluster) > 0 { + i -= len(m.CurrentCluster) + copy(dAtA[i:], m.CurrentCluster) + i = encodeVarintError(dAtA, i, uint64(len(m.CurrentCluster))) + i-- + dAtA[i] = 0x12 + } + if len(m.Domain) > 0 { + i -= len(m.Domain) + copy(dAtA[i:], m.Domain) + i = encodeVarintError(dAtA, i, uint64(len(m.Domain))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ClientVersionNotSupportedError) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ClientVersionNotSupportedError) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ClientVersionNotSupportedError) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.SupportedVersions) > 0 { + i -= len(m.SupportedVersions) + copy(dAtA[i:], m.SupportedVersions) + i = encodeVarintError(dAtA, i, uint64(len(m.SupportedVersions))) + i-- + dAtA[i] = 0x1a + } + if len(m.ClientImpl) > 0 { + i -= len(m.ClientImpl) + copy(dAtA[i:], m.ClientImpl) + i = encodeVarintError(dAtA, i, uint64(len(m.ClientImpl))) + i-- + dAtA[i] = 0x12 + } + if len(m.FeatureVersion) > 0 { + i -= len(m.FeatureVersion) + copy(dAtA[i:], m.FeatureVersion) + i = encodeVarintError(dAtA, i, uint64(len(m.FeatureVersion))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *FeatureNotEnabledError) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *FeatureNotEnabledError) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *FeatureNotEnabledError) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.FeatureFlag) > 0 { + i -= len(m.FeatureFlag) + copy(dAtA[i:], m.FeatureFlag) + i = encodeVarintError(dAtA, i, uint64(len(m.FeatureFlag))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *CancellationAlreadyRequestedError) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *CancellationAlreadyRequestedError) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *CancellationAlreadyRequestedError) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + return len(dAtA) - i, nil +} + +func (m *DomainAlreadyExistsError) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *DomainAlreadyExistsError) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *DomainAlreadyExistsError) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + return len(dAtA) - i, nil +} + +func (m *LimitExceededError) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *LimitExceededError) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *LimitExceededError) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + return len(dAtA) - i, nil +} + +func (m *QueryFailedError) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryFailedError) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryFailedError) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + return len(dAtA) - i, nil +} + +func (m *ServiceBusyError) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ServiceBusyError) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ServiceBusyError) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + return len(dAtA) - i, nil +} + +func encodeVarintError(dAtA []byte, offset int, v uint64) int { + offset -= sovError(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *WorkflowExecutionAlreadyStartedError) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.StartRequestId) + if l > 0 { + n += 1 + l + sovError(uint64(l)) + } + l = len(m.RunId) + if l > 0 { + n += 1 + l + sovError(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *EntityNotExistsError) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.CurrentCluster) + if l > 0 { + n += 1 + l + sovError(uint64(l)) + } + l = len(m.ActiveCluster) + if l > 0 { + n += 1 + l + sovError(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *WorkflowExecutionAlreadyCompletedError) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *DomainNotActiveError) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Domain) + if l > 0 { + n += 1 + l + sovError(uint64(l)) + } + l = len(m.CurrentCluster) + if l > 0 { + n += 1 + l + sovError(uint64(l)) + } + l = len(m.ActiveCluster) + if l > 0 { + n += 1 + l + sovError(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *ClientVersionNotSupportedError) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.FeatureVersion) + if l > 0 { + n += 1 + l + sovError(uint64(l)) + } + l = len(m.ClientImpl) + if l > 0 { + n += 1 + l + sovError(uint64(l)) + } + l = len(m.SupportedVersions) + if l > 0 { + n += 1 + l + sovError(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *FeatureNotEnabledError) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.FeatureFlag) + if l > 0 { + n += 1 + l + sovError(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *CancellationAlreadyRequestedError) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *DomainAlreadyExistsError) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *LimitExceededError) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *QueryFailedError) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *ServiceBusyError) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func sovError(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozError(x uint64) (n int) { + return sovError(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *WorkflowExecutionAlreadyStartedError) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowError + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: WorkflowExecutionAlreadyStartedError: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: WorkflowExecutionAlreadyStartedError: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field StartRequestId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowError + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthError + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthError + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.StartRequestId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RunId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowError + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthError + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthError + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.RunId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipError(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthError + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *EntityNotExistsError) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowError + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: EntityNotExistsError: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: EntityNotExistsError: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CurrentCluster", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowError + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthError + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthError + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.CurrentCluster = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ActiveCluster", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowError + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthError + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthError + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ActiveCluster = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipError(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthError + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *WorkflowExecutionAlreadyCompletedError) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowError + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: WorkflowExecutionAlreadyCompletedError: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: WorkflowExecutionAlreadyCompletedError: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipError(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthError + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *DomainNotActiveError) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowError + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: DomainNotActiveError: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: DomainNotActiveError: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Domain", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowError + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthError + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthError + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Domain = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CurrentCluster", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowError + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthError + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthError + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.CurrentCluster = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ActiveCluster", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowError + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthError + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthError + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ActiveCluster = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipError(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthError + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ClientVersionNotSupportedError) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowError + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ClientVersionNotSupportedError: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ClientVersionNotSupportedError: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field FeatureVersion", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowError + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthError + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthError + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.FeatureVersion = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ClientImpl", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowError + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthError + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthError + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ClientImpl = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SupportedVersions", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowError + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthError + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthError + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.SupportedVersions = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipError(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthError + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *FeatureNotEnabledError) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowError + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: FeatureNotEnabledError: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: FeatureNotEnabledError: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field FeatureFlag", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowError + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthError + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthError + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.FeatureFlag = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipError(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthError + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *CancellationAlreadyRequestedError) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowError + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: CancellationAlreadyRequestedError: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: CancellationAlreadyRequestedError: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipError(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthError + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *DomainAlreadyExistsError) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowError + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: DomainAlreadyExistsError: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: DomainAlreadyExistsError: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipError(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthError + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *LimitExceededError) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowError + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: LimitExceededError: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: LimitExceededError: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipError(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthError + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *QueryFailedError) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowError + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: QueryFailedError: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryFailedError: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipError(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthError + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ServiceBusyError) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowError + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ServiceBusyError: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ServiceBusyError: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipError(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthError + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func skipError(dAtA []byte) (n int, err error) { + l := len(dAtA) + iNdEx := 0 + depth := 0 + for iNdEx < l { + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowError + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + wireType := int(wire & 0x7) + switch wireType { + case 0: + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowError + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + iNdEx++ + if dAtA[iNdEx-1] < 0x80 { + break + } + } + case 1: + iNdEx += 8 + case 2: + var length int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowError + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + length |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if length < 0 { + return 0, ErrInvalidLengthError + } + iNdEx += length + case 3: + depth++ + case 4: + if depth == 0 { + return 0, ErrUnexpectedEndOfGroupError + } + depth-- + case 5: + iNdEx += 4 + default: + return 0, fmt.Errorf("proto: illegal wireType %d", wireType) + } + if iNdEx < 0 { + return 0, ErrInvalidLengthError + } + if depth == 0 { + return iNdEx, nil + } + } + return 0, io.ErrUnexpectedEOF +} + +var ( + ErrInvalidLengthError = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflowError = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroupError = fmt.Errorf("proto: unexpected end of group") +) diff --git a/go/proto/api/v1/error.pb.yarpc.go b/go/proto/api/v1/error.pb.yarpc.go new file mode 100644 index 0000000..164c91a --- /dev/null +++ b/go/proto/api/v1/error.pb.yarpc.go @@ -0,0 +1,62 @@ +// The MIT License (MIT) +// +// Copyright (c) 2021 Uber Technologies, Inc. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +// SOFTWARE. + +// Code generated by protoc-gen-yarpc-go. DO NOT EDIT. +// source: uber/cadence/api/v1/error.proto + +package apiv1 + +var yarpcFileDescriptorClosurec8f91786c9aff272 = [][]byte{ + // uber/cadence/api/v1/error.proto + []byte{ + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0x5f, 0x6f, 0xd3, 0x30, + 0x14, 0xc5, 0xd5, 0x21, 0x2a, 0xb8, 0x83, 0x6d, 0x84, 0x32, 0x26, 0x1e, 0x18, 0x0b, 0x7f, 0xd6, + 0x17, 0x12, 0x55, 0x3c, 0xee, 0xa9, 0x2d, 0xa9, 0x54, 0x09, 0x4d, 0x63, 0x95, 0x86, 0xc4, 0x4b, + 0xe4, 0x3a, 0xb7, 0xc1, 0xc2, 0xb1, 0x8d, 0xff, 0x84, 0xf6, 0x85, 0xef, 0xc1, 0xb7, 0x45, 0x89, + 0x9d, 0x51, 0xa4, 0x22, 0xed, 0xd1, 0xbf, 0x7b, 0x7d, 0x72, 0x7c, 0x72, 0x2f, 0x9c, 0xba, 0x25, + 0xea, 0x94, 0x92, 0x02, 0x05, 0xc5, 0x94, 0x28, 0x96, 0xd6, 0xa3, 0x14, 0xb5, 0x96, 0x3a, 0x51, + 0x5a, 0x5a, 0x19, 0x3d, 0x6d, 0x1a, 0x92, 0xd0, 0x90, 0x10, 0xc5, 0x92, 0x7a, 0x14, 0x97, 0xf0, + 0xe6, 0x8b, 0xd4, 0xdf, 0x57, 0x5c, 0xfe, 0xcc, 0xd6, 0x48, 0x9d, 0x65, 0x52, 0x8c, 0xb9, 0x46, + 0x52, 0x6c, 0x16, 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0, 0xa3, 0x79, 0xa5, 0x78, 0xf4, 0x1e, 0x22, + 0xd3, 0x69, 0x77, 0x5a, 0x26, 0xf8, 0x7a, 0x72, 0x5b, 0x09, 0x72, 0x26, 0xbe, 0x80, 0xe3, 0x99, + 0xff, 0x42, 0xf3, 0xbb, 0x04, 0x59, 0xf2, 0xce, 0xd2, 0x19, 0x3c, 0xea, 0x2c, 0xad, 0x38, 0x29, + 0x83, 0x9f, 0xfd, 0xc0, 0x66, 0x9c, 0x94, 0xf1, 0x6b, 0x38, 0x9b, 0x12, 0x41, 0x91, 0x73, 0xb2, + 0x95, 0x7e, 0x98, 0x90, 0x2e, 0xfd, 0x17, 0x70, 0xe2, 0xd3, 0x0f, 0xe5, 0xad, 0x99, 0x88, 0x07, + 0x10, 0x7d, 0x62, 0x15, 0xb3, 0xd9, 0x9a, 0x22, 0x16, 0xdd, 0x8d, 0x08, 0x8e, 0x3e, 0x3b, 0xd4, + 0x9b, 0x19, 0x61, 0x7c, 0x8b, 0x2d, 0x50, 0xd7, 0x8c, 0xe2, 0xc4, 0x99, 0x4d, 0xcb, 0x26, 0x37, + 0xf0, 0x9c, 0xca, 0x2a, 0xd9, 0x31, 0xed, 0x93, 0x07, 0x63, 0xc5, 0xae, 0x9a, 0x65, 0xb8, 0xea, + 0x7d, 0x4d, 0x4b, 0x66, 0xbf, 0xb9, 0x65, 0x42, 0x65, 0x95, 0xfe, 0xb3, 0x3a, 0x49, 0x89, 0x22, + 0x6d, 0x57, 0x26, 0x6c, 0xd1, 0x05, 0x51, 0xac, 0x1e, 0x2d, 0xfb, 0x2d, 0xfb, 0xf0, 0x27, 0x00, + 0x00, 0xff, 0xff, 0x0c, 0x25, 0xe5, 0xcd, 0x69, 0x03, 0x00, 0x00, + }, +} diff --git a/go/proto/api/v1/history.pb.go b/go/proto/api/v1/history.pb.go new file mode 100644 index 0000000..5089369 --- /dev/null +++ b/go/proto/api/v1/history.pb.go @@ -0,0 +1,21264 @@ +// The MIT License (MIT) +// +// Copyright (c) 2021 Uber Technologies, Inc. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +// SOFTWARE. + +// Code generated by protoc-gen-gogo. DO NOT EDIT. +// source: uber/cadence/api/v1/history.proto + +package apiv1 + +import ( + fmt "fmt" + proto "github.com/gogo/protobuf/proto" + types "github.com/gogo/protobuf/types" + io "io" + math "math" + math_bits "math/bits" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package + +type EventFilterType int32 + +const ( + EventFilterType_EVENT_FILTER_TYPE_INVALID EventFilterType = 0 + EventFilterType_EVENT_FILTER_TYPE_ALL_EVENT EventFilterType = 1 + EventFilterType_EVENT_FILTER_TYPE_CLOSE_EVENT EventFilterType = 2 +) + +var EventFilterType_name = map[int32]string{ + 0: "EVENT_FILTER_TYPE_INVALID", + 1: "EVENT_FILTER_TYPE_ALL_EVENT", + 2: "EVENT_FILTER_TYPE_CLOSE_EVENT", +} + +var EventFilterType_value = map[string]int32{ + "EVENT_FILTER_TYPE_INVALID": 0, + "EVENT_FILTER_TYPE_ALL_EVENT": 1, + "EVENT_FILTER_TYPE_CLOSE_EVENT": 2, +} + +func (x EventFilterType) String() string { + return proto.EnumName(EventFilterType_name, int32(x)) +} + +func (EventFilterType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_8237ca6511ad6c62, []int{0} +} + +type History struct { + Events []*HistoryEvent `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *History) Reset() { *m = History{} } +func (m *History) String() string { return proto.CompactTextString(m) } +func (*History) ProtoMessage() {} +func (*History) Descriptor() ([]byte, []int) { + return fileDescriptor_8237ca6511ad6c62, []int{0} +} +func (m *History) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *History) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_History.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *History) XXX_Merge(src proto.Message) { + xxx_messageInfo_History.Merge(m, src) +} +func (m *History) XXX_Size() int { + return m.Size() +} +func (m *History) XXX_DiscardUnknown() { + xxx_messageInfo_History.DiscardUnknown(m) +} + +var xxx_messageInfo_History proto.InternalMessageInfo + +func (m *History) GetEvents() []*HistoryEvent { + if m != nil { + return m.Events + } + return nil +} + +type HistoryEvent struct { + EventId int64 `protobuf:"varint,1,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"` + EventTime *types.Timestamp `protobuf:"bytes,2,opt,name=event_time,json=eventTime,proto3" json:"event_time,omitempty"` + Version int64 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"` + TaskId int64 `protobuf:"varint,4,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` + // Types that are valid to be assigned to Attributes: + // *HistoryEvent_WorkflowExecutionStartedEventAttributes + // *HistoryEvent_WorkflowExecutionCompletedEventAttributes + // *HistoryEvent_WorkflowExecutionFailedEventAttributes + // *HistoryEvent_WorkflowExecutionTimedOutEventAttributes + // *HistoryEvent_DecisionTaskScheduledEventAttributes + // *HistoryEvent_DecisionTaskStartedEventAttributes + // *HistoryEvent_DecisionTaskCompletedEventAttributes + // *HistoryEvent_DecisionTaskTimedOutEventAttributes + // *HistoryEvent_DecisionTaskFailedEventAttributes + // *HistoryEvent_ActivityTaskScheduledEventAttributes + // *HistoryEvent_ActivityTaskStartedEventAttributes + // *HistoryEvent_ActivityTaskCompletedEventAttributes + // *HistoryEvent_ActivityTaskFailedEventAttributes + // *HistoryEvent_ActivityTaskTimedOutEventAttributes + // *HistoryEvent_TimerStartedEventAttributes + // *HistoryEvent_TimerFiredEventAttributes + // *HistoryEvent_ActivityTaskCancelRequestedEventAttributes + // *HistoryEvent_RequestCancelActivityTaskFailedEventAttributes + // *HistoryEvent_ActivityTaskCanceledEventAttributes + // *HistoryEvent_TimerCanceledEventAttributes + // *HistoryEvent_CancelTimerFailedEventAttributes + // *HistoryEvent_MarkerRecordedEventAttributes + // *HistoryEvent_WorkflowExecutionSignaledEventAttributes + // *HistoryEvent_WorkflowExecutionTerminatedEventAttributes + // *HistoryEvent_WorkflowExecutionCancelRequestedEventAttributes + // *HistoryEvent_WorkflowExecutionCanceledEventAttributes + // *HistoryEvent_RequestCancelExternalWorkflowExecutionInitiatedEventAttributes + // *HistoryEvent_RequestCancelExternalWorkflowExecutionFailedEventAttributes + // *HistoryEvent_ExternalWorkflowExecutionCancelRequestedEventAttributes + // *HistoryEvent_WorkflowExecutionContinuedAsNewEventAttributes + // *HistoryEvent_StartChildWorkflowExecutionInitiatedEventAttributes + // *HistoryEvent_StartChildWorkflowExecutionFailedEventAttributes + // *HistoryEvent_ChildWorkflowExecutionStartedEventAttributes + // *HistoryEvent_ChildWorkflowExecutionCompletedEventAttributes + // *HistoryEvent_ChildWorkflowExecutionFailedEventAttributes + // *HistoryEvent_ChildWorkflowExecutionCanceledEventAttributes + // *HistoryEvent_ChildWorkflowExecutionTimedOutEventAttributes + // *HistoryEvent_ChildWorkflowExecutionTerminatedEventAttributes + // *HistoryEvent_SignalExternalWorkflowExecutionInitiatedEventAttributes + // *HistoryEvent_SignalExternalWorkflowExecutionFailedEventAttributes + // *HistoryEvent_ExternalWorkflowExecutionSignaledEventAttributes + // *HistoryEvent_UpsertWorkflowSearchAttributesEventAttributes + Attributes isHistoryEvent_Attributes `protobuf_oneof:"attributes"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *HistoryEvent) Reset() { *m = HistoryEvent{} } +func (m *HistoryEvent) String() string { return proto.CompactTextString(m) } +func (*HistoryEvent) ProtoMessage() {} +func (*HistoryEvent) Descriptor() ([]byte, []int) { + return fileDescriptor_8237ca6511ad6c62, []int{1} +} +func (m *HistoryEvent) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *HistoryEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_HistoryEvent.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *HistoryEvent) XXX_Merge(src proto.Message) { + xxx_messageInfo_HistoryEvent.Merge(m, src) +} +func (m *HistoryEvent) XXX_Size() int { + return m.Size() +} +func (m *HistoryEvent) XXX_DiscardUnknown() { + xxx_messageInfo_HistoryEvent.DiscardUnknown(m) +} + +var xxx_messageInfo_HistoryEvent proto.InternalMessageInfo + +type isHistoryEvent_Attributes interface { + isHistoryEvent_Attributes() + MarshalTo([]byte) (int, error) + Size() int +} + +type HistoryEvent_WorkflowExecutionStartedEventAttributes struct { + WorkflowExecutionStartedEventAttributes *WorkflowExecutionStartedEventAttributes `protobuf:"bytes,5,opt,name=workflow_execution_started_event_attributes,json=workflowExecutionStartedEventAttributes,proto3,oneof" json:"workflow_execution_started_event_attributes,omitempty"` +} +type HistoryEvent_WorkflowExecutionCompletedEventAttributes struct { + WorkflowExecutionCompletedEventAttributes *WorkflowExecutionCompletedEventAttributes `protobuf:"bytes,6,opt,name=workflow_execution_completed_event_attributes,json=workflowExecutionCompletedEventAttributes,proto3,oneof" json:"workflow_execution_completed_event_attributes,omitempty"` +} +type HistoryEvent_WorkflowExecutionFailedEventAttributes struct { + WorkflowExecutionFailedEventAttributes *WorkflowExecutionFailedEventAttributes `protobuf:"bytes,7,opt,name=workflow_execution_failed_event_attributes,json=workflowExecutionFailedEventAttributes,proto3,oneof" json:"workflow_execution_failed_event_attributes,omitempty"` +} +type HistoryEvent_WorkflowExecutionTimedOutEventAttributes struct { + WorkflowExecutionTimedOutEventAttributes *WorkflowExecutionTimedOutEventAttributes `protobuf:"bytes,8,opt,name=workflow_execution_timed_out_event_attributes,json=workflowExecutionTimedOutEventAttributes,proto3,oneof" json:"workflow_execution_timed_out_event_attributes,omitempty"` +} +type HistoryEvent_DecisionTaskScheduledEventAttributes struct { + DecisionTaskScheduledEventAttributes *DecisionTaskScheduledEventAttributes `protobuf:"bytes,9,opt,name=decision_task_scheduled_event_attributes,json=decisionTaskScheduledEventAttributes,proto3,oneof" json:"decision_task_scheduled_event_attributes,omitempty"` +} +type HistoryEvent_DecisionTaskStartedEventAttributes struct { + DecisionTaskStartedEventAttributes *DecisionTaskStartedEventAttributes `protobuf:"bytes,10,opt,name=decision_task_started_event_attributes,json=decisionTaskStartedEventAttributes,proto3,oneof" json:"decision_task_started_event_attributes,omitempty"` +} +type HistoryEvent_DecisionTaskCompletedEventAttributes struct { + DecisionTaskCompletedEventAttributes *DecisionTaskCompletedEventAttributes `protobuf:"bytes,11,opt,name=decision_task_completed_event_attributes,json=decisionTaskCompletedEventAttributes,proto3,oneof" json:"decision_task_completed_event_attributes,omitempty"` +} +type HistoryEvent_DecisionTaskTimedOutEventAttributes struct { + DecisionTaskTimedOutEventAttributes *DecisionTaskTimedOutEventAttributes `protobuf:"bytes,12,opt,name=decision_task_timed_out_event_attributes,json=decisionTaskTimedOutEventAttributes,proto3,oneof" json:"decision_task_timed_out_event_attributes,omitempty"` +} +type HistoryEvent_DecisionTaskFailedEventAttributes struct { + DecisionTaskFailedEventAttributes *DecisionTaskFailedEventAttributes `protobuf:"bytes,13,opt,name=decision_task_failed_event_attributes,json=decisionTaskFailedEventAttributes,proto3,oneof" json:"decision_task_failed_event_attributes,omitempty"` +} +type HistoryEvent_ActivityTaskScheduledEventAttributes struct { + ActivityTaskScheduledEventAttributes *ActivityTaskScheduledEventAttributes `protobuf:"bytes,14,opt,name=activity_task_scheduled_event_attributes,json=activityTaskScheduledEventAttributes,proto3,oneof" json:"activity_task_scheduled_event_attributes,omitempty"` +} +type HistoryEvent_ActivityTaskStartedEventAttributes struct { + ActivityTaskStartedEventAttributes *ActivityTaskStartedEventAttributes `protobuf:"bytes,15,opt,name=activity_task_started_event_attributes,json=activityTaskStartedEventAttributes,proto3,oneof" json:"activity_task_started_event_attributes,omitempty"` +} +type HistoryEvent_ActivityTaskCompletedEventAttributes struct { + ActivityTaskCompletedEventAttributes *ActivityTaskCompletedEventAttributes `protobuf:"bytes,16,opt,name=activity_task_completed_event_attributes,json=activityTaskCompletedEventAttributes,proto3,oneof" json:"activity_task_completed_event_attributes,omitempty"` +} +type HistoryEvent_ActivityTaskFailedEventAttributes struct { + ActivityTaskFailedEventAttributes *ActivityTaskFailedEventAttributes `protobuf:"bytes,17,opt,name=activity_task_failed_event_attributes,json=activityTaskFailedEventAttributes,proto3,oneof" json:"activity_task_failed_event_attributes,omitempty"` +} +type HistoryEvent_ActivityTaskTimedOutEventAttributes struct { + ActivityTaskTimedOutEventAttributes *ActivityTaskTimedOutEventAttributes `protobuf:"bytes,18,opt,name=activity_task_timed_out_event_attributes,json=activityTaskTimedOutEventAttributes,proto3,oneof" json:"activity_task_timed_out_event_attributes,omitempty"` +} +type HistoryEvent_TimerStartedEventAttributes struct { + TimerStartedEventAttributes *TimerStartedEventAttributes `protobuf:"bytes,19,opt,name=timer_started_event_attributes,json=timerStartedEventAttributes,proto3,oneof" json:"timer_started_event_attributes,omitempty"` +} +type HistoryEvent_TimerFiredEventAttributes struct { + TimerFiredEventAttributes *TimerFiredEventAttributes `protobuf:"bytes,20,opt,name=timer_fired_event_attributes,json=timerFiredEventAttributes,proto3,oneof" json:"timer_fired_event_attributes,omitempty"` +} +type HistoryEvent_ActivityTaskCancelRequestedEventAttributes struct { + ActivityTaskCancelRequestedEventAttributes *ActivityTaskCancelRequestedEventAttributes `protobuf:"bytes,21,opt,name=activity_task_cancel_requested_event_attributes,json=activityTaskCancelRequestedEventAttributes,proto3,oneof" json:"activity_task_cancel_requested_event_attributes,omitempty"` +} +type HistoryEvent_RequestCancelActivityTaskFailedEventAttributes struct { + RequestCancelActivityTaskFailedEventAttributes *RequestCancelActivityTaskFailedEventAttributes `protobuf:"bytes,22,opt,name=request_cancel_activity_task_failed_event_attributes,json=requestCancelActivityTaskFailedEventAttributes,proto3,oneof" json:"request_cancel_activity_task_failed_event_attributes,omitempty"` +} +type HistoryEvent_ActivityTaskCanceledEventAttributes struct { + ActivityTaskCanceledEventAttributes *ActivityTaskCanceledEventAttributes `protobuf:"bytes,23,opt,name=activity_task_canceled_event_attributes,json=activityTaskCanceledEventAttributes,proto3,oneof" json:"activity_task_canceled_event_attributes,omitempty"` +} +type HistoryEvent_TimerCanceledEventAttributes struct { + TimerCanceledEventAttributes *TimerCanceledEventAttributes `protobuf:"bytes,24,opt,name=timer_canceled_event_attributes,json=timerCanceledEventAttributes,proto3,oneof" json:"timer_canceled_event_attributes,omitempty"` +} +type HistoryEvent_CancelTimerFailedEventAttributes struct { + CancelTimerFailedEventAttributes *CancelTimerFailedEventAttributes `protobuf:"bytes,25,opt,name=cancel_timer_failed_event_attributes,json=cancelTimerFailedEventAttributes,proto3,oneof" json:"cancel_timer_failed_event_attributes,omitempty"` +} +type HistoryEvent_MarkerRecordedEventAttributes struct { + MarkerRecordedEventAttributes *MarkerRecordedEventAttributes `protobuf:"bytes,26,opt,name=marker_recorded_event_attributes,json=markerRecordedEventAttributes,proto3,oneof" json:"marker_recorded_event_attributes,omitempty"` +} +type HistoryEvent_WorkflowExecutionSignaledEventAttributes struct { + WorkflowExecutionSignaledEventAttributes *WorkflowExecutionSignaledEventAttributes `protobuf:"bytes,27,opt,name=workflow_execution_signaled_event_attributes,json=workflowExecutionSignaledEventAttributes,proto3,oneof" json:"workflow_execution_signaled_event_attributes,omitempty"` +} +type HistoryEvent_WorkflowExecutionTerminatedEventAttributes struct { + WorkflowExecutionTerminatedEventAttributes *WorkflowExecutionTerminatedEventAttributes `protobuf:"bytes,28,opt,name=workflow_execution_terminated_event_attributes,json=workflowExecutionTerminatedEventAttributes,proto3,oneof" json:"workflow_execution_terminated_event_attributes,omitempty"` +} +type HistoryEvent_WorkflowExecutionCancelRequestedEventAttributes struct { + WorkflowExecutionCancelRequestedEventAttributes *WorkflowExecutionCancelRequestedEventAttributes `protobuf:"bytes,29,opt,name=workflow_execution_cancel_requested_event_attributes,json=workflowExecutionCancelRequestedEventAttributes,proto3,oneof" json:"workflow_execution_cancel_requested_event_attributes,omitempty"` +} +type HistoryEvent_WorkflowExecutionCanceledEventAttributes struct { + WorkflowExecutionCanceledEventAttributes *WorkflowExecutionCanceledEventAttributes `protobuf:"bytes,30,opt,name=workflow_execution_canceled_event_attributes,json=workflowExecutionCanceledEventAttributes,proto3,oneof" json:"workflow_execution_canceled_event_attributes,omitempty"` +} +type HistoryEvent_RequestCancelExternalWorkflowExecutionInitiatedEventAttributes struct { + RequestCancelExternalWorkflowExecutionInitiatedEventAttributes *RequestCancelExternalWorkflowExecutionInitiatedEventAttributes `protobuf:"bytes,31,opt,name=request_cancel_external_workflow_execution_initiated_event_attributes,json=requestCancelExternalWorkflowExecutionInitiatedEventAttributes,proto3,oneof" json:"request_cancel_external_workflow_execution_initiated_event_attributes,omitempty"` +} +type HistoryEvent_RequestCancelExternalWorkflowExecutionFailedEventAttributes struct { + RequestCancelExternalWorkflowExecutionFailedEventAttributes *RequestCancelExternalWorkflowExecutionFailedEventAttributes `protobuf:"bytes,32,opt,name=request_cancel_external_workflow_execution_failed_event_attributes,json=requestCancelExternalWorkflowExecutionFailedEventAttributes,proto3,oneof" json:"request_cancel_external_workflow_execution_failed_event_attributes,omitempty"` +} +type HistoryEvent_ExternalWorkflowExecutionCancelRequestedEventAttributes struct { + ExternalWorkflowExecutionCancelRequestedEventAttributes *ExternalWorkflowExecutionCancelRequestedEventAttributes `protobuf:"bytes,33,opt,name=external_workflow_execution_cancel_requested_event_attributes,json=externalWorkflowExecutionCancelRequestedEventAttributes,proto3,oneof" json:"external_workflow_execution_cancel_requested_event_attributes,omitempty"` +} +type HistoryEvent_WorkflowExecutionContinuedAsNewEventAttributes struct { + WorkflowExecutionContinuedAsNewEventAttributes *WorkflowExecutionContinuedAsNewEventAttributes `protobuf:"bytes,34,opt,name=workflow_execution_continued_as_new_event_attributes,json=workflowExecutionContinuedAsNewEventAttributes,proto3,oneof" json:"workflow_execution_continued_as_new_event_attributes,omitempty"` +} +type HistoryEvent_StartChildWorkflowExecutionInitiatedEventAttributes struct { + StartChildWorkflowExecutionInitiatedEventAttributes *StartChildWorkflowExecutionInitiatedEventAttributes `protobuf:"bytes,35,opt,name=start_child_workflow_execution_initiated_event_attributes,json=startChildWorkflowExecutionInitiatedEventAttributes,proto3,oneof" json:"start_child_workflow_execution_initiated_event_attributes,omitempty"` +} +type HistoryEvent_StartChildWorkflowExecutionFailedEventAttributes struct { + StartChildWorkflowExecutionFailedEventAttributes *StartChildWorkflowExecutionFailedEventAttributes `protobuf:"bytes,36,opt,name=start_child_workflow_execution_failed_event_attributes,json=startChildWorkflowExecutionFailedEventAttributes,proto3,oneof" json:"start_child_workflow_execution_failed_event_attributes,omitempty"` +} +type HistoryEvent_ChildWorkflowExecutionStartedEventAttributes struct { + ChildWorkflowExecutionStartedEventAttributes *ChildWorkflowExecutionStartedEventAttributes `protobuf:"bytes,37,opt,name=child_workflow_execution_started_event_attributes,json=childWorkflowExecutionStartedEventAttributes,proto3,oneof" json:"child_workflow_execution_started_event_attributes,omitempty"` +} +type HistoryEvent_ChildWorkflowExecutionCompletedEventAttributes struct { + ChildWorkflowExecutionCompletedEventAttributes *ChildWorkflowExecutionCompletedEventAttributes `protobuf:"bytes,38,opt,name=child_workflow_execution_completed_event_attributes,json=childWorkflowExecutionCompletedEventAttributes,proto3,oneof" json:"child_workflow_execution_completed_event_attributes,omitempty"` +} +type HistoryEvent_ChildWorkflowExecutionFailedEventAttributes struct { + ChildWorkflowExecutionFailedEventAttributes *ChildWorkflowExecutionFailedEventAttributes `protobuf:"bytes,39,opt,name=child_workflow_execution_failed_event_attributes,json=childWorkflowExecutionFailedEventAttributes,proto3,oneof" json:"child_workflow_execution_failed_event_attributes,omitempty"` +} +type HistoryEvent_ChildWorkflowExecutionCanceledEventAttributes struct { + ChildWorkflowExecutionCanceledEventAttributes *ChildWorkflowExecutionCanceledEventAttributes `protobuf:"bytes,40,opt,name=child_workflow_execution_canceled_event_attributes,json=childWorkflowExecutionCanceledEventAttributes,proto3,oneof" json:"child_workflow_execution_canceled_event_attributes,omitempty"` +} +type HistoryEvent_ChildWorkflowExecutionTimedOutEventAttributes struct { + ChildWorkflowExecutionTimedOutEventAttributes *ChildWorkflowExecutionTimedOutEventAttributes `protobuf:"bytes,41,opt,name=child_workflow_execution_timed_out_event_attributes,json=childWorkflowExecutionTimedOutEventAttributes,proto3,oneof" json:"child_workflow_execution_timed_out_event_attributes,omitempty"` +} +type HistoryEvent_ChildWorkflowExecutionTerminatedEventAttributes struct { + ChildWorkflowExecutionTerminatedEventAttributes *ChildWorkflowExecutionTerminatedEventAttributes `protobuf:"bytes,42,opt,name=child_workflow_execution_terminated_event_attributes,json=childWorkflowExecutionTerminatedEventAttributes,proto3,oneof" json:"child_workflow_execution_terminated_event_attributes,omitempty"` +} +type HistoryEvent_SignalExternalWorkflowExecutionInitiatedEventAttributes struct { + SignalExternalWorkflowExecutionInitiatedEventAttributes *SignalExternalWorkflowExecutionInitiatedEventAttributes `protobuf:"bytes,43,opt,name=signal_external_workflow_execution_initiated_event_attributes,json=signalExternalWorkflowExecutionInitiatedEventAttributes,proto3,oneof" json:"signal_external_workflow_execution_initiated_event_attributes,omitempty"` +} +type HistoryEvent_SignalExternalWorkflowExecutionFailedEventAttributes struct { + SignalExternalWorkflowExecutionFailedEventAttributes *SignalExternalWorkflowExecutionFailedEventAttributes `protobuf:"bytes,44,opt,name=signal_external_workflow_execution_failed_event_attributes,json=signalExternalWorkflowExecutionFailedEventAttributes,proto3,oneof" json:"signal_external_workflow_execution_failed_event_attributes,omitempty"` +} +type HistoryEvent_ExternalWorkflowExecutionSignaledEventAttributes struct { + ExternalWorkflowExecutionSignaledEventAttributes *ExternalWorkflowExecutionSignaledEventAttributes `protobuf:"bytes,45,opt,name=external_workflow_execution_signaled_event_attributes,json=externalWorkflowExecutionSignaledEventAttributes,proto3,oneof" json:"external_workflow_execution_signaled_event_attributes,omitempty"` +} +type HistoryEvent_UpsertWorkflowSearchAttributesEventAttributes struct { + UpsertWorkflowSearchAttributesEventAttributes *UpsertWorkflowSearchAttributesEventAttributes `protobuf:"bytes,46,opt,name=upsert_workflow_search_attributes_event_attributes,json=upsertWorkflowSearchAttributesEventAttributes,proto3,oneof" json:"upsert_workflow_search_attributes_event_attributes,omitempty"` +} + +func (*HistoryEvent_WorkflowExecutionStartedEventAttributes) isHistoryEvent_Attributes() {} +func (*HistoryEvent_WorkflowExecutionCompletedEventAttributes) isHistoryEvent_Attributes() {} +func (*HistoryEvent_WorkflowExecutionFailedEventAttributes) isHistoryEvent_Attributes() {} +func (*HistoryEvent_WorkflowExecutionTimedOutEventAttributes) isHistoryEvent_Attributes() {} +func (*HistoryEvent_DecisionTaskScheduledEventAttributes) isHistoryEvent_Attributes() {} +func (*HistoryEvent_DecisionTaskStartedEventAttributes) isHistoryEvent_Attributes() {} +func (*HistoryEvent_DecisionTaskCompletedEventAttributes) isHistoryEvent_Attributes() {} +func (*HistoryEvent_DecisionTaskTimedOutEventAttributes) isHistoryEvent_Attributes() {} +func (*HistoryEvent_DecisionTaskFailedEventAttributes) isHistoryEvent_Attributes() {} +func (*HistoryEvent_ActivityTaskScheduledEventAttributes) isHistoryEvent_Attributes() {} +func (*HistoryEvent_ActivityTaskStartedEventAttributes) isHistoryEvent_Attributes() {} +func (*HistoryEvent_ActivityTaskCompletedEventAttributes) isHistoryEvent_Attributes() {} +func (*HistoryEvent_ActivityTaskFailedEventAttributes) isHistoryEvent_Attributes() {} +func (*HistoryEvent_ActivityTaskTimedOutEventAttributes) isHistoryEvent_Attributes() {} +func (*HistoryEvent_TimerStartedEventAttributes) isHistoryEvent_Attributes() {} +func (*HistoryEvent_TimerFiredEventAttributes) isHistoryEvent_Attributes() {} +func (*HistoryEvent_ActivityTaskCancelRequestedEventAttributes) isHistoryEvent_Attributes() {} +func (*HistoryEvent_RequestCancelActivityTaskFailedEventAttributes) isHistoryEvent_Attributes() {} +func (*HistoryEvent_ActivityTaskCanceledEventAttributes) isHistoryEvent_Attributes() {} +func (*HistoryEvent_TimerCanceledEventAttributes) isHistoryEvent_Attributes() {} +func (*HistoryEvent_CancelTimerFailedEventAttributes) isHistoryEvent_Attributes() {} +func (*HistoryEvent_MarkerRecordedEventAttributes) isHistoryEvent_Attributes() {} +func (*HistoryEvent_WorkflowExecutionSignaledEventAttributes) isHistoryEvent_Attributes() {} +func (*HistoryEvent_WorkflowExecutionTerminatedEventAttributes) isHistoryEvent_Attributes() {} +func (*HistoryEvent_WorkflowExecutionCancelRequestedEventAttributes) isHistoryEvent_Attributes() {} +func (*HistoryEvent_WorkflowExecutionCanceledEventAttributes) isHistoryEvent_Attributes() {} +func (*HistoryEvent_RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) isHistoryEvent_Attributes() { +} +func (*HistoryEvent_RequestCancelExternalWorkflowExecutionFailedEventAttributes) isHistoryEvent_Attributes() { +} +func (*HistoryEvent_ExternalWorkflowExecutionCancelRequestedEventAttributes) isHistoryEvent_Attributes() { +} +func (*HistoryEvent_WorkflowExecutionContinuedAsNewEventAttributes) isHistoryEvent_Attributes() {} +func (*HistoryEvent_StartChildWorkflowExecutionInitiatedEventAttributes) isHistoryEvent_Attributes() { +} +func (*HistoryEvent_StartChildWorkflowExecutionFailedEventAttributes) isHistoryEvent_Attributes() {} +func (*HistoryEvent_ChildWorkflowExecutionStartedEventAttributes) isHistoryEvent_Attributes() {} +func (*HistoryEvent_ChildWorkflowExecutionCompletedEventAttributes) isHistoryEvent_Attributes() {} +func (*HistoryEvent_ChildWorkflowExecutionFailedEventAttributes) isHistoryEvent_Attributes() {} +func (*HistoryEvent_ChildWorkflowExecutionCanceledEventAttributes) isHistoryEvent_Attributes() {} +func (*HistoryEvent_ChildWorkflowExecutionTimedOutEventAttributes) isHistoryEvent_Attributes() {} +func (*HistoryEvent_ChildWorkflowExecutionTerminatedEventAttributes) isHistoryEvent_Attributes() {} +func (*HistoryEvent_SignalExternalWorkflowExecutionInitiatedEventAttributes) isHistoryEvent_Attributes() { +} +func (*HistoryEvent_SignalExternalWorkflowExecutionFailedEventAttributes) isHistoryEvent_Attributes() { +} +func (*HistoryEvent_ExternalWorkflowExecutionSignaledEventAttributes) isHistoryEvent_Attributes() {} +func (*HistoryEvent_UpsertWorkflowSearchAttributesEventAttributes) isHistoryEvent_Attributes() {} + +func (m *HistoryEvent) GetAttributes() isHistoryEvent_Attributes { + if m != nil { + return m.Attributes + } + return nil +} + +func (m *HistoryEvent) GetEventId() int64 { + if m != nil { + return m.EventId + } + return 0 +} + +func (m *HistoryEvent) GetEventTime() *types.Timestamp { + if m != nil { + return m.EventTime + } + return nil +} + +func (m *HistoryEvent) GetVersion() int64 { + if m != nil { + return m.Version + } + return 0 +} + +func (m *HistoryEvent) GetTaskId() int64 { + if m != nil { + return m.TaskId + } + return 0 +} + +func (m *HistoryEvent) GetWorkflowExecutionStartedEventAttributes() *WorkflowExecutionStartedEventAttributes { + if x, ok := m.GetAttributes().(*HistoryEvent_WorkflowExecutionStartedEventAttributes); ok { + return x.WorkflowExecutionStartedEventAttributes + } + return nil +} + +func (m *HistoryEvent) GetWorkflowExecutionCompletedEventAttributes() *WorkflowExecutionCompletedEventAttributes { + if x, ok := m.GetAttributes().(*HistoryEvent_WorkflowExecutionCompletedEventAttributes); ok { + return x.WorkflowExecutionCompletedEventAttributes + } + return nil +} + +func (m *HistoryEvent) GetWorkflowExecutionFailedEventAttributes() *WorkflowExecutionFailedEventAttributes { + if x, ok := m.GetAttributes().(*HistoryEvent_WorkflowExecutionFailedEventAttributes); ok { + return x.WorkflowExecutionFailedEventAttributes + } + return nil +} + +func (m *HistoryEvent) GetWorkflowExecutionTimedOutEventAttributes() *WorkflowExecutionTimedOutEventAttributes { + if x, ok := m.GetAttributes().(*HistoryEvent_WorkflowExecutionTimedOutEventAttributes); ok { + return x.WorkflowExecutionTimedOutEventAttributes + } + return nil +} + +func (m *HistoryEvent) GetDecisionTaskScheduledEventAttributes() *DecisionTaskScheduledEventAttributes { + if x, ok := m.GetAttributes().(*HistoryEvent_DecisionTaskScheduledEventAttributes); ok { + return x.DecisionTaskScheduledEventAttributes + } + return nil +} + +func (m *HistoryEvent) GetDecisionTaskStartedEventAttributes() *DecisionTaskStartedEventAttributes { + if x, ok := m.GetAttributes().(*HistoryEvent_DecisionTaskStartedEventAttributes); ok { + return x.DecisionTaskStartedEventAttributes + } + return nil +} + +func (m *HistoryEvent) GetDecisionTaskCompletedEventAttributes() *DecisionTaskCompletedEventAttributes { + if x, ok := m.GetAttributes().(*HistoryEvent_DecisionTaskCompletedEventAttributes); ok { + return x.DecisionTaskCompletedEventAttributes + } + return nil +} + +func (m *HistoryEvent) GetDecisionTaskTimedOutEventAttributes() *DecisionTaskTimedOutEventAttributes { + if x, ok := m.GetAttributes().(*HistoryEvent_DecisionTaskTimedOutEventAttributes); ok { + return x.DecisionTaskTimedOutEventAttributes + } + return nil +} + +func (m *HistoryEvent) GetDecisionTaskFailedEventAttributes() *DecisionTaskFailedEventAttributes { + if x, ok := m.GetAttributes().(*HistoryEvent_DecisionTaskFailedEventAttributes); ok { + return x.DecisionTaskFailedEventAttributes + } + return nil +} + +func (m *HistoryEvent) GetActivityTaskScheduledEventAttributes() *ActivityTaskScheduledEventAttributes { + if x, ok := m.GetAttributes().(*HistoryEvent_ActivityTaskScheduledEventAttributes); ok { + return x.ActivityTaskScheduledEventAttributes + } + return nil +} + +func (m *HistoryEvent) GetActivityTaskStartedEventAttributes() *ActivityTaskStartedEventAttributes { + if x, ok := m.GetAttributes().(*HistoryEvent_ActivityTaskStartedEventAttributes); ok { + return x.ActivityTaskStartedEventAttributes + } + return nil +} + +func (m *HistoryEvent) GetActivityTaskCompletedEventAttributes() *ActivityTaskCompletedEventAttributes { + if x, ok := m.GetAttributes().(*HistoryEvent_ActivityTaskCompletedEventAttributes); ok { + return x.ActivityTaskCompletedEventAttributes + } + return nil +} + +func (m *HistoryEvent) GetActivityTaskFailedEventAttributes() *ActivityTaskFailedEventAttributes { + if x, ok := m.GetAttributes().(*HistoryEvent_ActivityTaskFailedEventAttributes); ok { + return x.ActivityTaskFailedEventAttributes + } + return nil +} + +func (m *HistoryEvent) GetActivityTaskTimedOutEventAttributes() *ActivityTaskTimedOutEventAttributes { + if x, ok := m.GetAttributes().(*HistoryEvent_ActivityTaskTimedOutEventAttributes); ok { + return x.ActivityTaskTimedOutEventAttributes + } + return nil +} + +func (m *HistoryEvent) GetTimerStartedEventAttributes() *TimerStartedEventAttributes { + if x, ok := m.GetAttributes().(*HistoryEvent_TimerStartedEventAttributes); ok { + return x.TimerStartedEventAttributes + } + return nil +} + +func (m *HistoryEvent) GetTimerFiredEventAttributes() *TimerFiredEventAttributes { + if x, ok := m.GetAttributes().(*HistoryEvent_TimerFiredEventAttributes); ok { + return x.TimerFiredEventAttributes + } + return nil +} + +func (m *HistoryEvent) GetActivityTaskCancelRequestedEventAttributes() *ActivityTaskCancelRequestedEventAttributes { + if x, ok := m.GetAttributes().(*HistoryEvent_ActivityTaskCancelRequestedEventAttributes); ok { + return x.ActivityTaskCancelRequestedEventAttributes + } + return nil +} + +func (m *HistoryEvent) GetRequestCancelActivityTaskFailedEventAttributes() *RequestCancelActivityTaskFailedEventAttributes { + if x, ok := m.GetAttributes().(*HistoryEvent_RequestCancelActivityTaskFailedEventAttributes); ok { + return x.RequestCancelActivityTaskFailedEventAttributes + } + return nil +} + +func (m *HistoryEvent) GetActivityTaskCanceledEventAttributes() *ActivityTaskCanceledEventAttributes { + if x, ok := m.GetAttributes().(*HistoryEvent_ActivityTaskCanceledEventAttributes); ok { + return x.ActivityTaskCanceledEventAttributes + } + return nil +} + +func (m *HistoryEvent) GetTimerCanceledEventAttributes() *TimerCanceledEventAttributes { + if x, ok := m.GetAttributes().(*HistoryEvent_TimerCanceledEventAttributes); ok { + return x.TimerCanceledEventAttributes + } + return nil +} + +func (m *HistoryEvent) GetCancelTimerFailedEventAttributes() *CancelTimerFailedEventAttributes { + if x, ok := m.GetAttributes().(*HistoryEvent_CancelTimerFailedEventAttributes); ok { + return x.CancelTimerFailedEventAttributes + } + return nil +} + +func (m *HistoryEvent) GetMarkerRecordedEventAttributes() *MarkerRecordedEventAttributes { + if x, ok := m.GetAttributes().(*HistoryEvent_MarkerRecordedEventAttributes); ok { + return x.MarkerRecordedEventAttributes + } + return nil +} + +func (m *HistoryEvent) GetWorkflowExecutionSignaledEventAttributes() *WorkflowExecutionSignaledEventAttributes { + if x, ok := m.GetAttributes().(*HistoryEvent_WorkflowExecutionSignaledEventAttributes); ok { + return x.WorkflowExecutionSignaledEventAttributes + } + return nil +} + +func (m *HistoryEvent) GetWorkflowExecutionTerminatedEventAttributes() *WorkflowExecutionTerminatedEventAttributes { + if x, ok := m.GetAttributes().(*HistoryEvent_WorkflowExecutionTerminatedEventAttributes); ok { + return x.WorkflowExecutionTerminatedEventAttributes + } + return nil +} + +func (m *HistoryEvent) GetWorkflowExecutionCancelRequestedEventAttributes() *WorkflowExecutionCancelRequestedEventAttributes { + if x, ok := m.GetAttributes().(*HistoryEvent_WorkflowExecutionCancelRequestedEventAttributes); ok { + return x.WorkflowExecutionCancelRequestedEventAttributes + } + return nil +} + +func (m *HistoryEvent) GetWorkflowExecutionCanceledEventAttributes() *WorkflowExecutionCanceledEventAttributes { + if x, ok := m.GetAttributes().(*HistoryEvent_WorkflowExecutionCanceledEventAttributes); ok { + return x.WorkflowExecutionCanceledEventAttributes + } + return nil +} + +func (m *HistoryEvent) GetRequestCancelExternalWorkflowExecutionInitiatedEventAttributes() *RequestCancelExternalWorkflowExecutionInitiatedEventAttributes { + if x, ok := m.GetAttributes().(*HistoryEvent_RequestCancelExternalWorkflowExecutionInitiatedEventAttributes); ok { + return x.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes + } + return nil +} + +func (m *HistoryEvent) GetRequestCancelExternalWorkflowExecutionFailedEventAttributes() *RequestCancelExternalWorkflowExecutionFailedEventAttributes { + if x, ok := m.GetAttributes().(*HistoryEvent_RequestCancelExternalWorkflowExecutionFailedEventAttributes); ok { + return x.RequestCancelExternalWorkflowExecutionFailedEventAttributes + } + return nil +} + +func (m *HistoryEvent) GetExternalWorkflowExecutionCancelRequestedEventAttributes() *ExternalWorkflowExecutionCancelRequestedEventAttributes { + if x, ok := m.GetAttributes().(*HistoryEvent_ExternalWorkflowExecutionCancelRequestedEventAttributes); ok { + return x.ExternalWorkflowExecutionCancelRequestedEventAttributes + } + return nil +} + +func (m *HistoryEvent) GetWorkflowExecutionContinuedAsNewEventAttributes() *WorkflowExecutionContinuedAsNewEventAttributes { + if x, ok := m.GetAttributes().(*HistoryEvent_WorkflowExecutionContinuedAsNewEventAttributes); ok { + return x.WorkflowExecutionContinuedAsNewEventAttributes + } + return nil +} + +func (m *HistoryEvent) GetStartChildWorkflowExecutionInitiatedEventAttributes() *StartChildWorkflowExecutionInitiatedEventAttributes { + if x, ok := m.GetAttributes().(*HistoryEvent_StartChildWorkflowExecutionInitiatedEventAttributes); ok { + return x.StartChildWorkflowExecutionInitiatedEventAttributes + } + return nil +} + +func (m *HistoryEvent) GetStartChildWorkflowExecutionFailedEventAttributes() *StartChildWorkflowExecutionFailedEventAttributes { + if x, ok := m.GetAttributes().(*HistoryEvent_StartChildWorkflowExecutionFailedEventAttributes); ok { + return x.StartChildWorkflowExecutionFailedEventAttributes + } + return nil +} + +func (m *HistoryEvent) GetChildWorkflowExecutionStartedEventAttributes() *ChildWorkflowExecutionStartedEventAttributes { + if x, ok := m.GetAttributes().(*HistoryEvent_ChildWorkflowExecutionStartedEventAttributes); ok { + return x.ChildWorkflowExecutionStartedEventAttributes + } + return nil +} + +func (m *HistoryEvent) GetChildWorkflowExecutionCompletedEventAttributes() *ChildWorkflowExecutionCompletedEventAttributes { + if x, ok := m.GetAttributes().(*HistoryEvent_ChildWorkflowExecutionCompletedEventAttributes); ok { + return x.ChildWorkflowExecutionCompletedEventAttributes + } + return nil +} + +func (m *HistoryEvent) GetChildWorkflowExecutionFailedEventAttributes() *ChildWorkflowExecutionFailedEventAttributes { + if x, ok := m.GetAttributes().(*HistoryEvent_ChildWorkflowExecutionFailedEventAttributes); ok { + return x.ChildWorkflowExecutionFailedEventAttributes + } + return nil +} + +func (m *HistoryEvent) GetChildWorkflowExecutionCanceledEventAttributes() *ChildWorkflowExecutionCanceledEventAttributes { + if x, ok := m.GetAttributes().(*HistoryEvent_ChildWorkflowExecutionCanceledEventAttributes); ok { + return x.ChildWorkflowExecutionCanceledEventAttributes + } + return nil +} + +func (m *HistoryEvent) GetChildWorkflowExecutionTimedOutEventAttributes() *ChildWorkflowExecutionTimedOutEventAttributes { + if x, ok := m.GetAttributes().(*HistoryEvent_ChildWorkflowExecutionTimedOutEventAttributes); ok { + return x.ChildWorkflowExecutionTimedOutEventAttributes + } + return nil +} + +func (m *HistoryEvent) GetChildWorkflowExecutionTerminatedEventAttributes() *ChildWorkflowExecutionTerminatedEventAttributes { + if x, ok := m.GetAttributes().(*HistoryEvent_ChildWorkflowExecutionTerminatedEventAttributes); ok { + return x.ChildWorkflowExecutionTerminatedEventAttributes + } + return nil +} + +func (m *HistoryEvent) GetSignalExternalWorkflowExecutionInitiatedEventAttributes() *SignalExternalWorkflowExecutionInitiatedEventAttributes { + if x, ok := m.GetAttributes().(*HistoryEvent_SignalExternalWorkflowExecutionInitiatedEventAttributes); ok { + return x.SignalExternalWorkflowExecutionInitiatedEventAttributes + } + return nil +} + +func (m *HistoryEvent) GetSignalExternalWorkflowExecutionFailedEventAttributes() *SignalExternalWorkflowExecutionFailedEventAttributes { + if x, ok := m.GetAttributes().(*HistoryEvent_SignalExternalWorkflowExecutionFailedEventAttributes); ok { + return x.SignalExternalWorkflowExecutionFailedEventAttributes + } + return nil +} + +func (m *HistoryEvent) GetExternalWorkflowExecutionSignaledEventAttributes() *ExternalWorkflowExecutionSignaledEventAttributes { + if x, ok := m.GetAttributes().(*HistoryEvent_ExternalWorkflowExecutionSignaledEventAttributes); ok { + return x.ExternalWorkflowExecutionSignaledEventAttributes + } + return nil +} + +func (m *HistoryEvent) GetUpsertWorkflowSearchAttributesEventAttributes() *UpsertWorkflowSearchAttributesEventAttributes { + if x, ok := m.GetAttributes().(*HistoryEvent_UpsertWorkflowSearchAttributesEventAttributes); ok { + return x.UpsertWorkflowSearchAttributesEventAttributes + } + return nil +} + +// XXX_OneofWrappers is for the internal use of the proto package. +func (*HistoryEvent) XXX_OneofWrappers() []interface{} { + return []interface{}{ + (*HistoryEvent_WorkflowExecutionStartedEventAttributes)(nil), + (*HistoryEvent_WorkflowExecutionCompletedEventAttributes)(nil), + (*HistoryEvent_WorkflowExecutionFailedEventAttributes)(nil), + (*HistoryEvent_WorkflowExecutionTimedOutEventAttributes)(nil), + (*HistoryEvent_DecisionTaskScheduledEventAttributes)(nil), + (*HistoryEvent_DecisionTaskStartedEventAttributes)(nil), + (*HistoryEvent_DecisionTaskCompletedEventAttributes)(nil), + (*HistoryEvent_DecisionTaskTimedOutEventAttributes)(nil), + (*HistoryEvent_DecisionTaskFailedEventAttributes)(nil), + (*HistoryEvent_ActivityTaskScheduledEventAttributes)(nil), + (*HistoryEvent_ActivityTaskStartedEventAttributes)(nil), + (*HistoryEvent_ActivityTaskCompletedEventAttributes)(nil), + (*HistoryEvent_ActivityTaskFailedEventAttributes)(nil), + (*HistoryEvent_ActivityTaskTimedOutEventAttributes)(nil), + (*HistoryEvent_TimerStartedEventAttributes)(nil), + (*HistoryEvent_TimerFiredEventAttributes)(nil), + (*HistoryEvent_ActivityTaskCancelRequestedEventAttributes)(nil), + (*HistoryEvent_RequestCancelActivityTaskFailedEventAttributes)(nil), + (*HistoryEvent_ActivityTaskCanceledEventAttributes)(nil), + (*HistoryEvent_TimerCanceledEventAttributes)(nil), + (*HistoryEvent_CancelTimerFailedEventAttributes)(nil), + (*HistoryEvent_MarkerRecordedEventAttributes)(nil), + (*HistoryEvent_WorkflowExecutionSignaledEventAttributes)(nil), + (*HistoryEvent_WorkflowExecutionTerminatedEventAttributes)(nil), + (*HistoryEvent_WorkflowExecutionCancelRequestedEventAttributes)(nil), + (*HistoryEvent_WorkflowExecutionCanceledEventAttributes)(nil), + (*HistoryEvent_RequestCancelExternalWorkflowExecutionInitiatedEventAttributes)(nil), + (*HistoryEvent_RequestCancelExternalWorkflowExecutionFailedEventAttributes)(nil), + (*HistoryEvent_ExternalWorkflowExecutionCancelRequestedEventAttributes)(nil), + (*HistoryEvent_WorkflowExecutionContinuedAsNewEventAttributes)(nil), + (*HistoryEvent_StartChildWorkflowExecutionInitiatedEventAttributes)(nil), + (*HistoryEvent_StartChildWorkflowExecutionFailedEventAttributes)(nil), + (*HistoryEvent_ChildWorkflowExecutionStartedEventAttributes)(nil), + (*HistoryEvent_ChildWorkflowExecutionCompletedEventAttributes)(nil), + (*HistoryEvent_ChildWorkflowExecutionFailedEventAttributes)(nil), + (*HistoryEvent_ChildWorkflowExecutionCanceledEventAttributes)(nil), + (*HistoryEvent_ChildWorkflowExecutionTimedOutEventAttributes)(nil), + (*HistoryEvent_ChildWorkflowExecutionTerminatedEventAttributes)(nil), + (*HistoryEvent_SignalExternalWorkflowExecutionInitiatedEventAttributes)(nil), + (*HistoryEvent_SignalExternalWorkflowExecutionFailedEventAttributes)(nil), + (*HistoryEvent_ExternalWorkflowExecutionSignaledEventAttributes)(nil), + (*HistoryEvent_UpsertWorkflowSearchAttributesEventAttributes)(nil), + } +} + +type WorkflowExecutionStartedEventAttributes struct { + WorkflowType *WorkflowType `protobuf:"bytes,1,opt,name=workflow_type,json=workflowType,proto3" json:"workflow_type,omitempty"` + ParentExecutionInfo *ParentExecutionInfo `protobuf:"bytes,2,opt,name=parent_execution_info,json=parentExecutionInfo,proto3" json:"parent_execution_info,omitempty"` + TaskList *TaskList `protobuf:"bytes,3,opt,name=task_list,json=taskList,proto3" json:"task_list,omitempty"` + Input *Payload `protobuf:"bytes,4,opt,name=input,proto3" json:"input,omitempty"` + ExecutionStartToCloseTimeout *types.Duration `protobuf:"bytes,5,opt,name=execution_start_to_close_timeout,json=executionStartToCloseTimeout,proto3" json:"execution_start_to_close_timeout,omitempty"` + TaskStartToCloseTimeout *types.Duration `protobuf:"bytes,6,opt,name=task_start_to_close_timeout,json=taskStartToCloseTimeout,proto3" json:"task_start_to_close_timeout,omitempty"` + ContinuedExecutionRunId string `protobuf:"bytes,7,opt,name=continued_execution_run_id,json=continuedExecutionRunId,proto3" json:"continued_execution_run_id,omitempty"` + Initiator ContinueAsNewInitiator `protobuf:"varint,8,opt,name=initiator,proto3,enum=uber.cadence.api.v1.ContinueAsNewInitiator" json:"initiator,omitempty"` + ContinuedFailure *Failure `protobuf:"bytes,9,opt,name=continued_failure,json=continuedFailure,proto3" json:"continued_failure,omitempty"` + LastCompletionResult *Payload `protobuf:"bytes,10,opt,name=last_completion_result,json=lastCompletionResult,proto3" json:"last_completion_result,omitempty"` + // This is the previous runID of ContinueAsNew. + OriginalExecutionRunId string `protobuf:"bytes,11,opt,name=original_execution_run_id,json=originalExecutionRunId,proto3" json:"original_execution_run_id,omitempty"` + Identity string `protobuf:"bytes,12,opt,name=identity,proto3" json:"identity,omitempty"` + // This is the very first runID along the chain of ContinueAsNew and Reset. + FirstExecutionRunId string `protobuf:"bytes,13,opt,name=first_execution_run_id,json=firstExecutionRunId,proto3" json:"first_execution_run_id,omitempty"` + RetryPolicy *RetryPolicy `protobuf:"bytes,14,opt,name=retry_policy,json=retryPolicy,proto3" json:"retry_policy,omitempty"` + Attempt int32 `protobuf:"varint,15,opt,name=attempt,proto3" json:"attempt,omitempty"` + ExpirationTime *types.Timestamp `protobuf:"bytes,16,opt,name=expiration_time,json=expirationTime,proto3" json:"expiration_time,omitempty"` + CronSchedule string `protobuf:"bytes,17,opt,name=cron_schedule,json=cronSchedule,proto3" json:"cron_schedule,omitempty"` + FirstDecisionTaskBackoff *types.Duration `protobuf:"bytes,18,opt,name=first_decision_task_backoff,json=firstDecisionTaskBackoff,proto3" json:"first_decision_task_backoff,omitempty"` + Memo *Memo `protobuf:"bytes,19,opt,name=memo,proto3" json:"memo,omitempty"` + SearchAttributes *SearchAttributes `protobuf:"bytes,20,opt,name=search_attributes,json=searchAttributes,proto3" json:"search_attributes,omitempty"` + PrevAutoResetPoints *ResetPoints `protobuf:"bytes,21,opt,name=prev_auto_reset_points,json=prevAutoResetPoints,proto3" json:"prev_auto_reset_points,omitempty"` + Header *Header `protobuf:"bytes,22,opt,name=header,proto3" json:"header,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *WorkflowExecutionStartedEventAttributes) Reset() { + *m = WorkflowExecutionStartedEventAttributes{} +} +func (m *WorkflowExecutionStartedEventAttributes) String() string { return proto.CompactTextString(m) } +func (*WorkflowExecutionStartedEventAttributes) ProtoMessage() {} +func (*WorkflowExecutionStartedEventAttributes) Descriptor() ([]byte, []int) { + return fileDescriptor_8237ca6511ad6c62, []int{2} +} +func (m *WorkflowExecutionStartedEventAttributes) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *WorkflowExecutionStartedEventAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_WorkflowExecutionStartedEventAttributes.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *WorkflowExecutionStartedEventAttributes) XXX_Merge(src proto.Message) { + xxx_messageInfo_WorkflowExecutionStartedEventAttributes.Merge(m, src) +} +func (m *WorkflowExecutionStartedEventAttributes) XXX_Size() int { + return m.Size() +} +func (m *WorkflowExecutionStartedEventAttributes) XXX_DiscardUnknown() { + xxx_messageInfo_WorkflowExecutionStartedEventAttributes.DiscardUnknown(m) +} + +var xxx_messageInfo_WorkflowExecutionStartedEventAttributes proto.InternalMessageInfo + +func (m *WorkflowExecutionStartedEventAttributes) GetWorkflowType() *WorkflowType { + if m != nil { + return m.WorkflowType + } + return nil +} + +func (m *WorkflowExecutionStartedEventAttributes) GetParentExecutionInfo() *ParentExecutionInfo { + if m != nil { + return m.ParentExecutionInfo + } + return nil +} + +func (m *WorkflowExecutionStartedEventAttributes) GetTaskList() *TaskList { + if m != nil { + return m.TaskList + } + return nil +} + +func (m *WorkflowExecutionStartedEventAttributes) GetInput() *Payload { + if m != nil { + return m.Input + } + return nil +} + +func (m *WorkflowExecutionStartedEventAttributes) GetExecutionStartToCloseTimeout() *types.Duration { + if m != nil { + return m.ExecutionStartToCloseTimeout + } + return nil +} + +func (m *WorkflowExecutionStartedEventAttributes) GetTaskStartToCloseTimeout() *types.Duration { + if m != nil { + return m.TaskStartToCloseTimeout + } + return nil +} + +func (m *WorkflowExecutionStartedEventAttributes) GetContinuedExecutionRunId() string { + if m != nil { + return m.ContinuedExecutionRunId + } + return "" +} + +func (m *WorkflowExecutionStartedEventAttributes) GetInitiator() ContinueAsNewInitiator { + if m != nil { + return m.Initiator + } + return ContinueAsNewInitiator_CONTINUE_AS_NEW_INITIATOR_INVALID +} + +func (m *WorkflowExecutionStartedEventAttributes) GetContinuedFailure() *Failure { + if m != nil { + return m.ContinuedFailure + } + return nil +} + +func (m *WorkflowExecutionStartedEventAttributes) GetLastCompletionResult() *Payload { + if m != nil { + return m.LastCompletionResult + } + return nil +} + +func (m *WorkflowExecutionStartedEventAttributes) GetOriginalExecutionRunId() string { + if m != nil { + return m.OriginalExecutionRunId + } + return "" +} + +func (m *WorkflowExecutionStartedEventAttributes) GetIdentity() string { + if m != nil { + return m.Identity + } + return "" +} + +func (m *WorkflowExecutionStartedEventAttributes) GetFirstExecutionRunId() string { + if m != nil { + return m.FirstExecutionRunId + } + return "" +} + +func (m *WorkflowExecutionStartedEventAttributes) GetRetryPolicy() *RetryPolicy { + if m != nil { + return m.RetryPolicy + } + return nil +} + +func (m *WorkflowExecutionStartedEventAttributes) GetAttempt() int32 { + if m != nil { + return m.Attempt + } + return 0 +} + +func (m *WorkflowExecutionStartedEventAttributes) GetExpirationTime() *types.Timestamp { + if m != nil { + return m.ExpirationTime + } + return nil +} + +func (m *WorkflowExecutionStartedEventAttributes) GetCronSchedule() string { + if m != nil { + return m.CronSchedule + } + return "" +} + +func (m *WorkflowExecutionStartedEventAttributes) GetFirstDecisionTaskBackoff() *types.Duration { + if m != nil { + return m.FirstDecisionTaskBackoff + } + return nil +} + +func (m *WorkflowExecutionStartedEventAttributes) GetMemo() *Memo { + if m != nil { + return m.Memo + } + return nil +} + +func (m *WorkflowExecutionStartedEventAttributes) GetSearchAttributes() *SearchAttributes { + if m != nil { + return m.SearchAttributes + } + return nil +} + +func (m *WorkflowExecutionStartedEventAttributes) GetPrevAutoResetPoints() *ResetPoints { + if m != nil { + return m.PrevAutoResetPoints + } + return nil +} + +func (m *WorkflowExecutionStartedEventAttributes) GetHeader() *Header { + if m != nil { + return m.Header + } + return nil +} + +type WorkflowExecutionCompletedEventAttributes struct { + Result *Payload `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` + DecisionTaskCompletedEventId int64 `protobuf:"varint,2,opt,name=decision_task_completed_event_id,json=decisionTaskCompletedEventId,proto3" json:"decision_task_completed_event_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *WorkflowExecutionCompletedEventAttributes) Reset() { + *m = WorkflowExecutionCompletedEventAttributes{} +} +func (m *WorkflowExecutionCompletedEventAttributes) String() string { + return proto.CompactTextString(m) +} +func (*WorkflowExecutionCompletedEventAttributes) ProtoMessage() {} +func (*WorkflowExecutionCompletedEventAttributes) Descriptor() ([]byte, []int) { + return fileDescriptor_8237ca6511ad6c62, []int{3} +} +func (m *WorkflowExecutionCompletedEventAttributes) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *WorkflowExecutionCompletedEventAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_WorkflowExecutionCompletedEventAttributes.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *WorkflowExecutionCompletedEventAttributes) XXX_Merge(src proto.Message) { + xxx_messageInfo_WorkflowExecutionCompletedEventAttributes.Merge(m, src) +} +func (m *WorkflowExecutionCompletedEventAttributes) XXX_Size() int { + return m.Size() +} +func (m *WorkflowExecutionCompletedEventAttributes) XXX_DiscardUnknown() { + xxx_messageInfo_WorkflowExecutionCompletedEventAttributes.DiscardUnknown(m) +} + +var xxx_messageInfo_WorkflowExecutionCompletedEventAttributes proto.InternalMessageInfo + +func (m *WorkflowExecutionCompletedEventAttributes) GetResult() *Payload { + if m != nil { + return m.Result + } + return nil +} + +func (m *WorkflowExecutionCompletedEventAttributes) GetDecisionTaskCompletedEventId() int64 { + if m != nil { + return m.DecisionTaskCompletedEventId + } + return 0 +} + +type WorkflowExecutionFailedEventAttributes struct { + Failure *Failure `protobuf:"bytes,1,opt,name=failure,proto3" json:"failure,omitempty"` + DecisionTaskCompletedEventId int64 `protobuf:"varint,2,opt,name=decision_task_completed_event_id,json=decisionTaskCompletedEventId,proto3" json:"decision_task_completed_event_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *WorkflowExecutionFailedEventAttributes) Reset() { + *m = WorkflowExecutionFailedEventAttributes{} +} +func (m *WorkflowExecutionFailedEventAttributes) String() string { return proto.CompactTextString(m) } +func (*WorkflowExecutionFailedEventAttributes) ProtoMessage() {} +func (*WorkflowExecutionFailedEventAttributes) Descriptor() ([]byte, []int) { + return fileDescriptor_8237ca6511ad6c62, []int{4} +} +func (m *WorkflowExecutionFailedEventAttributes) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *WorkflowExecutionFailedEventAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_WorkflowExecutionFailedEventAttributes.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *WorkflowExecutionFailedEventAttributes) XXX_Merge(src proto.Message) { + xxx_messageInfo_WorkflowExecutionFailedEventAttributes.Merge(m, src) +} +func (m *WorkflowExecutionFailedEventAttributes) XXX_Size() int { + return m.Size() +} +func (m *WorkflowExecutionFailedEventAttributes) XXX_DiscardUnknown() { + xxx_messageInfo_WorkflowExecutionFailedEventAttributes.DiscardUnknown(m) +} + +var xxx_messageInfo_WorkflowExecutionFailedEventAttributes proto.InternalMessageInfo + +func (m *WorkflowExecutionFailedEventAttributes) GetFailure() *Failure { + if m != nil { + return m.Failure + } + return nil +} + +func (m *WorkflowExecutionFailedEventAttributes) GetDecisionTaskCompletedEventId() int64 { + if m != nil { + return m.DecisionTaskCompletedEventId + } + return 0 +} + +type WorkflowExecutionTimedOutEventAttributes struct { + TimeoutType TimeoutType `protobuf:"varint,1,opt,name=timeout_type,json=timeoutType,proto3,enum=uber.cadence.api.v1.TimeoutType" json:"timeout_type,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *WorkflowExecutionTimedOutEventAttributes) Reset() { + *m = WorkflowExecutionTimedOutEventAttributes{} +} +func (m *WorkflowExecutionTimedOutEventAttributes) String() string { return proto.CompactTextString(m) } +func (*WorkflowExecutionTimedOutEventAttributes) ProtoMessage() {} +func (*WorkflowExecutionTimedOutEventAttributes) Descriptor() ([]byte, []int) { + return fileDescriptor_8237ca6511ad6c62, []int{5} +} +func (m *WorkflowExecutionTimedOutEventAttributes) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *WorkflowExecutionTimedOutEventAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_WorkflowExecutionTimedOutEventAttributes.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *WorkflowExecutionTimedOutEventAttributes) XXX_Merge(src proto.Message) { + xxx_messageInfo_WorkflowExecutionTimedOutEventAttributes.Merge(m, src) +} +func (m *WorkflowExecutionTimedOutEventAttributes) XXX_Size() int { + return m.Size() +} +func (m *WorkflowExecutionTimedOutEventAttributes) XXX_DiscardUnknown() { + xxx_messageInfo_WorkflowExecutionTimedOutEventAttributes.DiscardUnknown(m) +} + +var xxx_messageInfo_WorkflowExecutionTimedOutEventAttributes proto.InternalMessageInfo + +func (m *WorkflowExecutionTimedOutEventAttributes) GetTimeoutType() TimeoutType { + if m != nil { + return m.TimeoutType + } + return TimeoutType_TIMEOUT_TYPE_INVALID +} + +type DecisionTaskScheduledEventAttributes struct { + TaskList *TaskList `protobuf:"bytes,1,opt,name=task_list,json=taskList,proto3" json:"task_list,omitempty"` + StartToCloseTimeout *types.Duration `protobuf:"bytes,2,opt,name=start_to_close_timeout,json=startToCloseTimeout,proto3" json:"start_to_close_timeout,omitempty"` + Attempt int32 `protobuf:"varint,3,opt,name=attempt,proto3" json:"attempt,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DecisionTaskScheduledEventAttributes) Reset() { *m = DecisionTaskScheduledEventAttributes{} } +func (m *DecisionTaskScheduledEventAttributes) String() string { return proto.CompactTextString(m) } +func (*DecisionTaskScheduledEventAttributes) ProtoMessage() {} +func (*DecisionTaskScheduledEventAttributes) Descriptor() ([]byte, []int) { + return fileDescriptor_8237ca6511ad6c62, []int{6} +} +func (m *DecisionTaskScheduledEventAttributes) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *DecisionTaskScheduledEventAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_DecisionTaskScheduledEventAttributes.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *DecisionTaskScheduledEventAttributes) XXX_Merge(src proto.Message) { + xxx_messageInfo_DecisionTaskScheduledEventAttributes.Merge(m, src) +} +func (m *DecisionTaskScheduledEventAttributes) XXX_Size() int { + return m.Size() +} +func (m *DecisionTaskScheduledEventAttributes) XXX_DiscardUnknown() { + xxx_messageInfo_DecisionTaskScheduledEventAttributes.DiscardUnknown(m) +} + +var xxx_messageInfo_DecisionTaskScheduledEventAttributes proto.InternalMessageInfo + +func (m *DecisionTaskScheduledEventAttributes) GetTaskList() *TaskList { + if m != nil { + return m.TaskList + } + return nil +} + +func (m *DecisionTaskScheduledEventAttributes) GetStartToCloseTimeout() *types.Duration { + if m != nil { + return m.StartToCloseTimeout + } + return nil +} + +func (m *DecisionTaskScheduledEventAttributes) GetAttempt() int32 { + if m != nil { + return m.Attempt + } + return 0 +} + +type DecisionTaskStartedEventAttributes struct { + ScheduledEventId int64 `protobuf:"varint,1,opt,name=scheduled_event_id,json=scheduledEventId,proto3" json:"scheduled_event_id,omitempty"` + Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` + RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DecisionTaskStartedEventAttributes) Reset() { *m = DecisionTaskStartedEventAttributes{} } +func (m *DecisionTaskStartedEventAttributes) String() string { return proto.CompactTextString(m) } +func (*DecisionTaskStartedEventAttributes) ProtoMessage() {} +func (*DecisionTaskStartedEventAttributes) Descriptor() ([]byte, []int) { + return fileDescriptor_8237ca6511ad6c62, []int{7} +} +func (m *DecisionTaskStartedEventAttributes) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *DecisionTaskStartedEventAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_DecisionTaskStartedEventAttributes.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *DecisionTaskStartedEventAttributes) XXX_Merge(src proto.Message) { + xxx_messageInfo_DecisionTaskStartedEventAttributes.Merge(m, src) +} +func (m *DecisionTaskStartedEventAttributes) XXX_Size() int { + return m.Size() +} +func (m *DecisionTaskStartedEventAttributes) XXX_DiscardUnknown() { + xxx_messageInfo_DecisionTaskStartedEventAttributes.DiscardUnknown(m) +} + +var xxx_messageInfo_DecisionTaskStartedEventAttributes proto.InternalMessageInfo + +func (m *DecisionTaskStartedEventAttributes) GetScheduledEventId() int64 { + if m != nil { + return m.ScheduledEventId + } + return 0 +} + +func (m *DecisionTaskStartedEventAttributes) GetIdentity() string { + if m != nil { + return m.Identity + } + return "" +} + +func (m *DecisionTaskStartedEventAttributes) GetRequestId() string { + if m != nil { + return m.RequestId + } + return "" +} + +type DecisionTaskCompletedEventAttributes struct { + ScheduledEventId int64 `protobuf:"varint,1,opt,name=scheduled_event_id,json=scheduledEventId,proto3" json:"scheduled_event_id,omitempty"` + StartedEventId int64 `protobuf:"varint,2,opt,name=started_event_id,json=startedEventId,proto3" json:"started_event_id,omitempty"` + Identity string `protobuf:"bytes,3,opt,name=identity,proto3" json:"identity,omitempty"` + BinaryChecksum string `protobuf:"bytes,4,opt,name=binary_checksum,json=binaryChecksum,proto3" json:"binary_checksum,omitempty"` + ExecutionContext []byte `protobuf:"bytes,5,opt,name=execution_context,json=executionContext,proto3" json:"execution_context,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DecisionTaskCompletedEventAttributes) Reset() { *m = DecisionTaskCompletedEventAttributes{} } +func (m *DecisionTaskCompletedEventAttributes) String() string { return proto.CompactTextString(m) } +func (*DecisionTaskCompletedEventAttributes) ProtoMessage() {} +func (*DecisionTaskCompletedEventAttributes) Descriptor() ([]byte, []int) { + return fileDescriptor_8237ca6511ad6c62, []int{8} +} +func (m *DecisionTaskCompletedEventAttributes) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *DecisionTaskCompletedEventAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_DecisionTaskCompletedEventAttributes.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *DecisionTaskCompletedEventAttributes) XXX_Merge(src proto.Message) { + xxx_messageInfo_DecisionTaskCompletedEventAttributes.Merge(m, src) +} +func (m *DecisionTaskCompletedEventAttributes) XXX_Size() int { + return m.Size() +} +func (m *DecisionTaskCompletedEventAttributes) XXX_DiscardUnknown() { + xxx_messageInfo_DecisionTaskCompletedEventAttributes.DiscardUnknown(m) +} + +var xxx_messageInfo_DecisionTaskCompletedEventAttributes proto.InternalMessageInfo + +func (m *DecisionTaskCompletedEventAttributes) GetScheduledEventId() int64 { + if m != nil { + return m.ScheduledEventId + } + return 0 +} + +func (m *DecisionTaskCompletedEventAttributes) GetStartedEventId() int64 { + if m != nil { + return m.StartedEventId + } + return 0 +} + +func (m *DecisionTaskCompletedEventAttributes) GetIdentity() string { + if m != nil { + return m.Identity + } + return "" +} + +func (m *DecisionTaskCompletedEventAttributes) GetBinaryChecksum() string { + if m != nil { + return m.BinaryChecksum + } + return "" +} + +func (m *DecisionTaskCompletedEventAttributes) GetExecutionContext() []byte { + if m != nil { + return m.ExecutionContext + } + return nil +} + +type DecisionTaskTimedOutEventAttributes struct { + ScheduledEventId int64 `protobuf:"varint,1,opt,name=scheduled_event_id,json=scheduledEventId,proto3" json:"scheduled_event_id,omitempty"` + StartedEventId int64 `protobuf:"varint,2,opt,name=started_event_id,json=startedEventId,proto3" json:"started_event_id,omitempty"` + TimeoutType TimeoutType `protobuf:"varint,3,opt,name=timeout_type,json=timeoutType,proto3,enum=uber.cadence.api.v1.TimeoutType" json:"timeout_type,omitempty"` + // For reset workflow. + BaseRunId string `protobuf:"bytes,4,opt,name=base_run_id,json=baseRunId,proto3" json:"base_run_id,omitempty"` + NewRunId string `protobuf:"bytes,5,opt,name=new_run_id,json=newRunId,proto3" json:"new_run_id,omitempty"` + ForkEventVersion int64 `protobuf:"varint,6,opt,name=fork_event_version,json=forkEventVersion,proto3" json:"fork_event_version,omitempty"` + Reason string `protobuf:"bytes,7,opt,name=reason,proto3" json:"reason,omitempty"` + Cause DecisionTaskTimedOutCause `protobuf:"varint,8,opt,name=cause,proto3,enum=uber.cadence.api.v1.DecisionTaskTimedOutCause" json:"cause,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DecisionTaskTimedOutEventAttributes) Reset() { *m = DecisionTaskTimedOutEventAttributes{} } +func (m *DecisionTaskTimedOutEventAttributes) String() string { return proto.CompactTextString(m) } +func (*DecisionTaskTimedOutEventAttributes) ProtoMessage() {} +func (*DecisionTaskTimedOutEventAttributes) Descriptor() ([]byte, []int) { + return fileDescriptor_8237ca6511ad6c62, []int{9} +} +func (m *DecisionTaskTimedOutEventAttributes) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *DecisionTaskTimedOutEventAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_DecisionTaskTimedOutEventAttributes.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *DecisionTaskTimedOutEventAttributes) XXX_Merge(src proto.Message) { + xxx_messageInfo_DecisionTaskTimedOutEventAttributes.Merge(m, src) +} +func (m *DecisionTaskTimedOutEventAttributes) XXX_Size() int { + return m.Size() +} +func (m *DecisionTaskTimedOutEventAttributes) XXX_DiscardUnknown() { + xxx_messageInfo_DecisionTaskTimedOutEventAttributes.DiscardUnknown(m) +} + +var xxx_messageInfo_DecisionTaskTimedOutEventAttributes proto.InternalMessageInfo + +func (m *DecisionTaskTimedOutEventAttributes) GetScheduledEventId() int64 { + if m != nil { + return m.ScheduledEventId + } + return 0 +} + +func (m *DecisionTaskTimedOutEventAttributes) GetStartedEventId() int64 { + if m != nil { + return m.StartedEventId + } + return 0 +} + +func (m *DecisionTaskTimedOutEventAttributes) GetTimeoutType() TimeoutType { + if m != nil { + return m.TimeoutType + } + return TimeoutType_TIMEOUT_TYPE_INVALID +} + +func (m *DecisionTaskTimedOutEventAttributes) GetBaseRunId() string { + if m != nil { + return m.BaseRunId + } + return "" +} + +func (m *DecisionTaskTimedOutEventAttributes) GetNewRunId() string { + if m != nil { + return m.NewRunId + } + return "" +} + +func (m *DecisionTaskTimedOutEventAttributes) GetForkEventVersion() int64 { + if m != nil { + return m.ForkEventVersion + } + return 0 +} + +func (m *DecisionTaskTimedOutEventAttributes) GetReason() string { + if m != nil { + return m.Reason + } + return "" +} + +func (m *DecisionTaskTimedOutEventAttributes) GetCause() DecisionTaskTimedOutCause { + if m != nil { + return m.Cause + } + return DecisionTaskTimedOutCause_DECISION_TASK_TIMED_OUT_CAUSE_INVALID +} + +type DecisionTaskFailedEventAttributes struct { + ScheduledEventId int64 `protobuf:"varint,1,opt,name=scheduled_event_id,json=scheduledEventId,proto3" json:"scheduled_event_id,omitempty"` + StartedEventId int64 `protobuf:"varint,2,opt,name=started_event_id,json=startedEventId,proto3" json:"started_event_id,omitempty"` + Cause DecisionTaskFailedCause `protobuf:"varint,3,opt,name=cause,proto3,enum=uber.cadence.api.v1.DecisionTaskFailedCause" json:"cause,omitempty"` + Failure *Failure `protobuf:"bytes,4,opt,name=failure,proto3" json:"failure,omitempty"` + Identity string `protobuf:"bytes,5,opt,name=identity,proto3" json:"identity,omitempty"` + // For reset workflow. + BaseRunId string `protobuf:"bytes,6,opt,name=base_run_id,json=baseRunId,proto3" json:"base_run_id,omitempty"` + NewRunId string `protobuf:"bytes,7,opt,name=new_run_id,json=newRunId,proto3" json:"new_run_id,omitempty"` + ForkEventVersion int64 `protobuf:"varint,8,opt,name=fork_event_version,json=forkEventVersion,proto3" json:"fork_event_version,omitempty"` + BinaryChecksum string `protobuf:"bytes,9,opt,name=binary_checksum,json=binaryChecksum,proto3" json:"binary_checksum,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DecisionTaskFailedEventAttributes) Reset() { *m = DecisionTaskFailedEventAttributes{} } +func (m *DecisionTaskFailedEventAttributes) String() string { return proto.CompactTextString(m) } +func (*DecisionTaskFailedEventAttributes) ProtoMessage() {} +func (*DecisionTaskFailedEventAttributes) Descriptor() ([]byte, []int) { + return fileDescriptor_8237ca6511ad6c62, []int{10} +} +func (m *DecisionTaskFailedEventAttributes) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *DecisionTaskFailedEventAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_DecisionTaskFailedEventAttributes.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *DecisionTaskFailedEventAttributes) XXX_Merge(src proto.Message) { + xxx_messageInfo_DecisionTaskFailedEventAttributes.Merge(m, src) +} +func (m *DecisionTaskFailedEventAttributes) XXX_Size() int { + return m.Size() +} +func (m *DecisionTaskFailedEventAttributes) XXX_DiscardUnknown() { + xxx_messageInfo_DecisionTaskFailedEventAttributes.DiscardUnknown(m) +} + +var xxx_messageInfo_DecisionTaskFailedEventAttributes proto.InternalMessageInfo + +func (m *DecisionTaskFailedEventAttributes) GetScheduledEventId() int64 { + if m != nil { + return m.ScheduledEventId + } + return 0 +} + +func (m *DecisionTaskFailedEventAttributes) GetStartedEventId() int64 { + if m != nil { + return m.StartedEventId + } + return 0 +} + +func (m *DecisionTaskFailedEventAttributes) GetCause() DecisionTaskFailedCause { + if m != nil { + return m.Cause + } + return DecisionTaskFailedCause_DECISION_TASK_FAILED_CAUSE_INVALID +} + +func (m *DecisionTaskFailedEventAttributes) GetFailure() *Failure { + if m != nil { + return m.Failure + } + return nil +} + +func (m *DecisionTaskFailedEventAttributes) GetIdentity() string { + if m != nil { + return m.Identity + } + return "" +} + +func (m *DecisionTaskFailedEventAttributes) GetBaseRunId() string { + if m != nil { + return m.BaseRunId + } + return "" +} + +func (m *DecisionTaskFailedEventAttributes) GetNewRunId() string { + if m != nil { + return m.NewRunId + } + return "" +} + +func (m *DecisionTaskFailedEventAttributes) GetForkEventVersion() int64 { + if m != nil { + return m.ForkEventVersion + } + return 0 +} + +func (m *DecisionTaskFailedEventAttributes) GetBinaryChecksum() string { + if m != nil { + return m.BinaryChecksum + } + return "" +} + +type ActivityTaskScheduledEventAttributes struct { + ActivityId string `protobuf:"bytes,1,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"` + ActivityType *ActivityType `protobuf:"bytes,2,opt,name=activity_type,json=activityType,proto3" json:"activity_type,omitempty"` + Domain string `protobuf:"bytes,3,opt,name=domain,proto3" json:"domain,omitempty"` + TaskList *TaskList `protobuf:"bytes,4,opt,name=task_list,json=taskList,proto3" json:"task_list,omitempty"` + Input *Payload `protobuf:"bytes,6,opt,name=input,proto3" json:"input,omitempty"` + ScheduleToCloseTimeout *types.Duration `protobuf:"bytes,7,opt,name=schedule_to_close_timeout,json=scheduleToCloseTimeout,proto3" json:"schedule_to_close_timeout,omitempty"` + ScheduleToStartTimeout *types.Duration `protobuf:"bytes,8,opt,name=schedule_to_start_timeout,json=scheduleToStartTimeout,proto3" json:"schedule_to_start_timeout,omitempty"` + StartToCloseTimeout *types.Duration `protobuf:"bytes,9,opt,name=start_to_close_timeout,json=startToCloseTimeout,proto3" json:"start_to_close_timeout,omitempty"` + HeartbeatTimeout *types.Duration `protobuf:"bytes,10,opt,name=heartbeat_timeout,json=heartbeatTimeout,proto3" json:"heartbeat_timeout,omitempty"` + DecisionTaskCompletedEventId int64 `protobuf:"varint,11,opt,name=decision_task_completed_event_id,json=decisionTaskCompletedEventId,proto3" json:"decision_task_completed_event_id,omitempty"` + RetryPolicy *RetryPolicy `protobuf:"bytes,12,opt,name=retry_policy,json=retryPolicy,proto3" json:"retry_policy,omitempty"` + Header *Header `protobuf:"bytes,13,opt,name=header,proto3" json:"header,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ActivityTaskScheduledEventAttributes) Reset() { *m = ActivityTaskScheduledEventAttributes{} } +func (m *ActivityTaskScheduledEventAttributes) String() string { return proto.CompactTextString(m) } +func (*ActivityTaskScheduledEventAttributes) ProtoMessage() {} +func (*ActivityTaskScheduledEventAttributes) Descriptor() ([]byte, []int) { + return fileDescriptor_8237ca6511ad6c62, []int{11} +} +func (m *ActivityTaskScheduledEventAttributes) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ActivityTaskScheduledEventAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ActivityTaskScheduledEventAttributes.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ActivityTaskScheduledEventAttributes) XXX_Merge(src proto.Message) { + xxx_messageInfo_ActivityTaskScheduledEventAttributes.Merge(m, src) +} +func (m *ActivityTaskScheduledEventAttributes) XXX_Size() int { + return m.Size() +} +func (m *ActivityTaskScheduledEventAttributes) XXX_DiscardUnknown() { + xxx_messageInfo_ActivityTaskScheduledEventAttributes.DiscardUnknown(m) +} + +var xxx_messageInfo_ActivityTaskScheduledEventAttributes proto.InternalMessageInfo + +func (m *ActivityTaskScheduledEventAttributes) GetActivityId() string { + if m != nil { + return m.ActivityId + } + return "" +} + +func (m *ActivityTaskScheduledEventAttributes) GetActivityType() *ActivityType { + if m != nil { + return m.ActivityType + } + return nil +} + +func (m *ActivityTaskScheduledEventAttributes) GetDomain() string { + if m != nil { + return m.Domain + } + return "" +} + +func (m *ActivityTaskScheduledEventAttributes) GetTaskList() *TaskList { + if m != nil { + return m.TaskList + } + return nil +} + +func (m *ActivityTaskScheduledEventAttributes) GetInput() *Payload { + if m != nil { + return m.Input + } + return nil +} + +func (m *ActivityTaskScheduledEventAttributes) GetScheduleToCloseTimeout() *types.Duration { + if m != nil { + return m.ScheduleToCloseTimeout + } + return nil +} + +func (m *ActivityTaskScheduledEventAttributes) GetScheduleToStartTimeout() *types.Duration { + if m != nil { + return m.ScheduleToStartTimeout + } + return nil +} + +func (m *ActivityTaskScheduledEventAttributes) GetStartToCloseTimeout() *types.Duration { + if m != nil { + return m.StartToCloseTimeout + } + return nil +} + +func (m *ActivityTaskScheduledEventAttributes) GetHeartbeatTimeout() *types.Duration { + if m != nil { + return m.HeartbeatTimeout + } + return nil +} + +func (m *ActivityTaskScheduledEventAttributes) GetDecisionTaskCompletedEventId() int64 { + if m != nil { + return m.DecisionTaskCompletedEventId + } + return 0 +} + +func (m *ActivityTaskScheduledEventAttributes) GetRetryPolicy() *RetryPolicy { + if m != nil { + return m.RetryPolicy + } + return nil +} + +func (m *ActivityTaskScheduledEventAttributes) GetHeader() *Header { + if m != nil { + return m.Header + } + return nil +} + +type ActivityTaskStartedEventAttributes struct { + ScheduledEventId int64 `protobuf:"varint,1,opt,name=scheduled_event_id,json=scheduledEventId,proto3" json:"scheduled_event_id,omitempty"` + Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` + RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` + Attempt int32 `protobuf:"varint,4,opt,name=attempt,proto3" json:"attempt,omitempty"` + LastFailure *Failure `protobuf:"bytes,5,opt,name=last_failure,json=lastFailure,proto3" json:"last_failure,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ActivityTaskStartedEventAttributes) Reset() { *m = ActivityTaskStartedEventAttributes{} } +func (m *ActivityTaskStartedEventAttributes) String() string { return proto.CompactTextString(m) } +func (*ActivityTaskStartedEventAttributes) ProtoMessage() {} +func (*ActivityTaskStartedEventAttributes) Descriptor() ([]byte, []int) { + return fileDescriptor_8237ca6511ad6c62, []int{12} +} +func (m *ActivityTaskStartedEventAttributes) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ActivityTaskStartedEventAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ActivityTaskStartedEventAttributes.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ActivityTaskStartedEventAttributes) XXX_Merge(src proto.Message) { + xxx_messageInfo_ActivityTaskStartedEventAttributes.Merge(m, src) +} +func (m *ActivityTaskStartedEventAttributes) XXX_Size() int { + return m.Size() +} +func (m *ActivityTaskStartedEventAttributes) XXX_DiscardUnknown() { + xxx_messageInfo_ActivityTaskStartedEventAttributes.DiscardUnknown(m) +} + +var xxx_messageInfo_ActivityTaskStartedEventAttributes proto.InternalMessageInfo + +func (m *ActivityTaskStartedEventAttributes) GetScheduledEventId() int64 { + if m != nil { + return m.ScheduledEventId + } + return 0 +} + +func (m *ActivityTaskStartedEventAttributes) GetIdentity() string { + if m != nil { + return m.Identity + } + return "" +} + +func (m *ActivityTaskStartedEventAttributes) GetRequestId() string { + if m != nil { + return m.RequestId + } + return "" +} + +func (m *ActivityTaskStartedEventAttributes) GetAttempt() int32 { + if m != nil { + return m.Attempt + } + return 0 +} + +func (m *ActivityTaskStartedEventAttributes) GetLastFailure() *Failure { + if m != nil { + return m.LastFailure + } + return nil +} + +type ActivityTaskCompletedEventAttributes struct { + Result *Payload `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` + ScheduledEventId int64 `protobuf:"varint,2,opt,name=scheduled_event_id,json=scheduledEventId,proto3" json:"scheduled_event_id,omitempty"` + StartedEventId int64 `protobuf:"varint,3,opt,name=started_event_id,json=startedEventId,proto3" json:"started_event_id,omitempty"` + Identity string `protobuf:"bytes,4,opt,name=identity,proto3" json:"identity,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ActivityTaskCompletedEventAttributes) Reset() { *m = ActivityTaskCompletedEventAttributes{} } +func (m *ActivityTaskCompletedEventAttributes) String() string { return proto.CompactTextString(m) } +func (*ActivityTaskCompletedEventAttributes) ProtoMessage() {} +func (*ActivityTaskCompletedEventAttributes) Descriptor() ([]byte, []int) { + return fileDescriptor_8237ca6511ad6c62, []int{13} +} +func (m *ActivityTaskCompletedEventAttributes) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ActivityTaskCompletedEventAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ActivityTaskCompletedEventAttributes.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ActivityTaskCompletedEventAttributes) XXX_Merge(src proto.Message) { + xxx_messageInfo_ActivityTaskCompletedEventAttributes.Merge(m, src) +} +func (m *ActivityTaskCompletedEventAttributes) XXX_Size() int { + return m.Size() +} +func (m *ActivityTaskCompletedEventAttributes) XXX_DiscardUnknown() { + xxx_messageInfo_ActivityTaskCompletedEventAttributes.DiscardUnknown(m) +} + +var xxx_messageInfo_ActivityTaskCompletedEventAttributes proto.InternalMessageInfo + +func (m *ActivityTaskCompletedEventAttributes) GetResult() *Payload { + if m != nil { + return m.Result + } + return nil +} + +func (m *ActivityTaskCompletedEventAttributes) GetScheduledEventId() int64 { + if m != nil { + return m.ScheduledEventId + } + return 0 +} + +func (m *ActivityTaskCompletedEventAttributes) GetStartedEventId() int64 { + if m != nil { + return m.StartedEventId + } + return 0 +} + +func (m *ActivityTaskCompletedEventAttributes) GetIdentity() string { + if m != nil { + return m.Identity + } + return "" +} + +type ActivityTaskFailedEventAttributes struct { + Failure *Failure `protobuf:"bytes,1,opt,name=failure,proto3" json:"failure,omitempty"` + ScheduledEventId int64 `protobuf:"varint,2,opt,name=scheduled_event_id,json=scheduledEventId,proto3" json:"scheduled_event_id,omitempty"` + StartedEventId int64 `protobuf:"varint,3,opt,name=started_event_id,json=startedEventId,proto3" json:"started_event_id,omitempty"` + Identity string `protobuf:"bytes,4,opt,name=identity,proto3" json:"identity,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ActivityTaskFailedEventAttributes) Reset() { *m = ActivityTaskFailedEventAttributes{} } +func (m *ActivityTaskFailedEventAttributes) String() string { return proto.CompactTextString(m) } +func (*ActivityTaskFailedEventAttributes) ProtoMessage() {} +func (*ActivityTaskFailedEventAttributes) Descriptor() ([]byte, []int) { + return fileDescriptor_8237ca6511ad6c62, []int{14} +} +func (m *ActivityTaskFailedEventAttributes) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ActivityTaskFailedEventAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ActivityTaskFailedEventAttributes.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ActivityTaskFailedEventAttributes) XXX_Merge(src proto.Message) { + xxx_messageInfo_ActivityTaskFailedEventAttributes.Merge(m, src) +} +func (m *ActivityTaskFailedEventAttributes) XXX_Size() int { + return m.Size() +} +func (m *ActivityTaskFailedEventAttributes) XXX_DiscardUnknown() { + xxx_messageInfo_ActivityTaskFailedEventAttributes.DiscardUnknown(m) +} + +var xxx_messageInfo_ActivityTaskFailedEventAttributes proto.InternalMessageInfo + +func (m *ActivityTaskFailedEventAttributes) GetFailure() *Failure { + if m != nil { + return m.Failure + } + return nil +} + +func (m *ActivityTaskFailedEventAttributes) GetScheduledEventId() int64 { + if m != nil { + return m.ScheduledEventId + } + return 0 +} + +func (m *ActivityTaskFailedEventAttributes) GetStartedEventId() int64 { + if m != nil { + return m.StartedEventId + } + return 0 +} + +func (m *ActivityTaskFailedEventAttributes) GetIdentity() string { + if m != nil { + return m.Identity + } + return "" +} + +type ActivityTaskTimedOutEventAttributes struct { + Details *Payload `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"` + ScheduledEventId int64 `protobuf:"varint,2,opt,name=scheduled_event_id,json=scheduledEventId,proto3" json:"scheduled_event_id,omitempty"` + StartedEventId int64 `protobuf:"varint,3,opt,name=started_event_id,json=startedEventId,proto3" json:"started_event_id,omitempty"` + TimeoutType TimeoutType `protobuf:"varint,4,opt,name=timeout_type,json=timeoutType,proto3,enum=uber.cadence.api.v1.TimeoutType" json:"timeout_type,omitempty"` + // For retry activity, it may have a failure before timeout. It's important to keep those information for debug. + // Client can also provide the info for making next decision + LastFailure *Failure `protobuf:"bytes,5,opt,name=last_failure,json=lastFailure,proto3" json:"last_failure,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ActivityTaskTimedOutEventAttributes) Reset() { *m = ActivityTaskTimedOutEventAttributes{} } +func (m *ActivityTaskTimedOutEventAttributes) String() string { return proto.CompactTextString(m) } +func (*ActivityTaskTimedOutEventAttributes) ProtoMessage() {} +func (*ActivityTaskTimedOutEventAttributes) Descriptor() ([]byte, []int) { + return fileDescriptor_8237ca6511ad6c62, []int{15} +} +func (m *ActivityTaskTimedOutEventAttributes) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ActivityTaskTimedOutEventAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ActivityTaskTimedOutEventAttributes.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ActivityTaskTimedOutEventAttributes) XXX_Merge(src proto.Message) { + xxx_messageInfo_ActivityTaskTimedOutEventAttributes.Merge(m, src) +} +func (m *ActivityTaskTimedOutEventAttributes) XXX_Size() int { + return m.Size() +} +func (m *ActivityTaskTimedOutEventAttributes) XXX_DiscardUnknown() { + xxx_messageInfo_ActivityTaskTimedOutEventAttributes.DiscardUnknown(m) +} + +var xxx_messageInfo_ActivityTaskTimedOutEventAttributes proto.InternalMessageInfo + +func (m *ActivityTaskTimedOutEventAttributes) GetDetails() *Payload { + if m != nil { + return m.Details + } + return nil +} + +func (m *ActivityTaskTimedOutEventAttributes) GetScheduledEventId() int64 { + if m != nil { + return m.ScheduledEventId + } + return 0 +} + +func (m *ActivityTaskTimedOutEventAttributes) GetStartedEventId() int64 { + if m != nil { + return m.StartedEventId + } + return 0 +} + +func (m *ActivityTaskTimedOutEventAttributes) GetTimeoutType() TimeoutType { + if m != nil { + return m.TimeoutType + } + return TimeoutType_TIMEOUT_TYPE_INVALID +} + +func (m *ActivityTaskTimedOutEventAttributes) GetLastFailure() *Failure { + if m != nil { + return m.LastFailure + } + return nil +} + +type ActivityTaskCancelRequestedEventAttributes struct { + ActivityId string `protobuf:"bytes,1,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"` + DecisionTaskCompletedEventId int64 `protobuf:"varint,2,opt,name=decision_task_completed_event_id,json=decisionTaskCompletedEventId,proto3" json:"decision_task_completed_event_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ActivityTaskCancelRequestedEventAttributes) Reset() { + *m = ActivityTaskCancelRequestedEventAttributes{} +} +func (m *ActivityTaskCancelRequestedEventAttributes) String() string { + return proto.CompactTextString(m) +} +func (*ActivityTaskCancelRequestedEventAttributes) ProtoMessage() {} +func (*ActivityTaskCancelRequestedEventAttributes) Descriptor() ([]byte, []int) { + return fileDescriptor_8237ca6511ad6c62, []int{16} +} +func (m *ActivityTaskCancelRequestedEventAttributes) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ActivityTaskCancelRequestedEventAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ActivityTaskCancelRequestedEventAttributes.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ActivityTaskCancelRequestedEventAttributes) XXX_Merge(src proto.Message) { + xxx_messageInfo_ActivityTaskCancelRequestedEventAttributes.Merge(m, src) +} +func (m *ActivityTaskCancelRequestedEventAttributes) XXX_Size() int { + return m.Size() +} +func (m *ActivityTaskCancelRequestedEventAttributes) XXX_DiscardUnknown() { + xxx_messageInfo_ActivityTaskCancelRequestedEventAttributes.DiscardUnknown(m) +} + +var xxx_messageInfo_ActivityTaskCancelRequestedEventAttributes proto.InternalMessageInfo + +func (m *ActivityTaskCancelRequestedEventAttributes) GetActivityId() string { + if m != nil { + return m.ActivityId + } + return "" +} + +func (m *ActivityTaskCancelRequestedEventAttributes) GetDecisionTaskCompletedEventId() int64 { + if m != nil { + return m.DecisionTaskCompletedEventId + } + return 0 +} + +type RequestCancelActivityTaskFailedEventAttributes struct { + ActivityId string `protobuf:"bytes,1,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"` + Cause string `protobuf:"bytes,2,opt,name=cause,proto3" json:"cause,omitempty"` + DecisionTaskCompletedEventId int64 `protobuf:"varint,3,opt,name=decision_task_completed_event_id,json=decisionTaskCompletedEventId,proto3" json:"decision_task_completed_event_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RequestCancelActivityTaskFailedEventAttributes) Reset() { + *m = RequestCancelActivityTaskFailedEventAttributes{} +} +func (m *RequestCancelActivityTaskFailedEventAttributes) String() string { + return proto.CompactTextString(m) +} +func (*RequestCancelActivityTaskFailedEventAttributes) ProtoMessage() {} +func (*RequestCancelActivityTaskFailedEventAttributes) Descriptor() ([]byte, []int) { + return fileDescriptor_8237ca6511ad6c62, []int{17} +} +func (m *RequestCancelActivityTaskFailedEventAttributes) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RequestCancelActivityTaskFailedEventAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RequestCancelActivityTaskFailedEventAttributes.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RequestCancelActivityTaskFailedEventAttributes) XXX_Merge(src proto.Message) { + xxx_messageInfo_RequestCancelActivityTaskFailedEventAttributes.Merge(m, src) +} +func (m *RequestCancelActivityTaskFailedEventAttributes) XXX_Size() int { + return m.Size() +} +func (m *RequestCancelActivityTaskFailedEventAttributes) XXX_DiscardUnknown() { + xxx_messageInfo_RequestCancelActivityTaskFailedEventAttributes.DiscardUnknown(m) +} + +var xxx_messageInfo_RequestCancelActivityTaskFailedEventAttributes proto.InternalMessageInfo + +func (m *RequestCancelActivityTaskFailedEventAttributes) GetActivityId() string { + if m != nil { + return m.ActivityId + } + return "" +} + +func (m *RequestCancelActivityTaskFailedEventAttributes) GetCause() string { + if m != nil { + return m.Cause + } + return "" +} + +func (m *RequestCancelActivityTaskFailedEventAttributes) GetDecisionTaskCompletedEventId() int64 { + if m != nil { + return m.DecisionTaskCompletedEventId + } + return 0 +} + +type ActivityTaskCanceledEventAttributes struct { + Details *Payload `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"` + LatestCancelRequestedEventId int64 `protobuf:"varint,2,opt,name=latest_cancel_requested_event_id,json=latestCancelRequestedEventId,proto3" json:"latest_cancel_requested_event_id,omitempty"` + ScheduledEventId int64 `protobuf:"varint,3,opt,name=scheduled_event_id,json=scheduledEventId,proto3" json:"scheduled_event_id,omitempty"` + StartedEventId int64 `protobuf:"varint,4,opt,name=started_event_id,json=startedEventId,proto3" json:"started_event_id,omitempty"` + Identity string `protobuf:"bytes,5,opt,name=identity,proto3" json:"identity,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ActivityTaskCanceledEventAttributes) Reset() { *m = ActivityTaskCanceledEventAttributes{} } +func (m *ActivityTaskCanceledEventAttributes) String() string { return proto.CompactTextString(m) } +func (*ActivityTaskCanceledEventAttributes) ProtoMessage() {} +func (*ActivityTaskCanceledEventAttributes) Descriptor() ([]byte, []int) { + return fileDescriptor_8237ca6511ad6c62, []int{18} +} +func (m *ActivityTaskCanceledEventAttributes) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ActivityTaskCanceledEventAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ActivityTaskCanceledEventAttributes.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ActivityTaskCanceledEventAttributes) XXX_Merge(src proto.Message) { + xxx_messageInfo_ActivityTaskCanceledEventAttributes.Merge(m, src) +} +func (m *ActivityTaskCanceledEventAttributes) XXX_Size() int { + return m.Size() +} +func (m *ActivityTaskCanceledEventAttributes) XXX_DiscardUnknown() { + xxx_messageInfo_ActivityTaskCanceledEventAttributes.DiscardUnknown(m) +} + +var xxx_messageInfo_ActivityTaskCanceledEventAttributes proto.InternalMessageInfo + +func (m *ActivityTaskCanceledEventAttributes) GetDetails() *Payload { + if m != nil { + return m.Details + } + return nil +} + +func (m *ActivityTaskCanceledEventAttributes) GetLatestCancelRequestedEventId() int64 { + if m != nil { + return m.LatestCancelRequestedEventId + } + return 0 +} + +func (m *ActivityTaskCanceledEventAttributes) GetScheduledEventId() int64 { + if m != nil { + return m.ScheduledEventId + } + return 0 +} + +func (m *ActivityTaskCanceledEventAttributes) GetStartedEventId() int64 { + if m != nil { + return m.StartedEventId + } + return 0 +} + +func (m *ActivityTaskCanceledEventAttributes) GetIdentity() string { + if m != nil { + return m.Identity + } + return "" +} + +type TimerStartedEventAttributes struct { + TimerId string `protobuf:"bytes,1,opt,name=timer_id,json=timerId,proto3" json:"timer_id,omitempty"` + StartToFireTimeout *types.Duration `protobuf:"bytes,2,opt,name=start_to_fire_timeout,json=startToFireTimeout,proto3" json:"start_to_fire_timeout,omitempty"` + DecisionTaskCompletedEventId int64 `protobuf:"varint,3,opt,name=decision_task_completed_event_id,json=decisionTaskCompletedEventId,proto3" json:"decision_task_completed_event_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *TimerStartedEventAttributes) Reset() { *m = TimerStartedEventAttributes{} } +func (m *TimerStartedEventAttributes) String() string { return proto.CompactTextString(m) } +func (*TimerStartedEventAttributes) ProtoMessage() {} +func (*TimerStartedEventAttributes) Descriptor() ([]byte, []int) { + return fileDescriptor_8237ca6511ad6c62, []int{19} +} +func (m *TimerStartedEventAttributes) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *TimerStartedEventAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_TimerStartedEventAttributes.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *TimerStartedEventAttributes) XXX_Merge(src proto.Message) { + xxx_messageInfo_TimerStartedEventAttributes.Merge(m, src) +} +func (m *TimerStartedEventAttributes) XXX_Size() int { + return m.Size() +} +func (m *TimerStartedEventAttributes) XXX_DiscardUnknown() { + xxx_messageInfo_TimerStartedEventAttributes.DiscardUnknown(m) +} + +var xxx_messageInfo_TimerStartedEventAttributes proto.InternalMessageInfo + +func (m *TimerStartedEventAttributes) GetTimerId() string { + if m != nil { + return m.TimerId + } + return "" +} + +func (m *TimerStartedEventAttributes) GetStartToFireTimeout() *types.Duration { + if m != nil { + return m.StartToFireTimeout + } + return nil +} + +func (m *TimerStartedEventAttributes) GetDecisionTaskCompletedEventId() int64 { + if m != nil { + return m.DecisionTaskCompletedEventId + } + return 0 +} + +type TimerFiredEventAttributes struct { + TimerId string `protobuf:"bytes,1,opt,name=timer_id,json=timerId,proto3" json:"timer_id,omitempty"` + StartedEventId int64 `protobuf:"varint,2,opt,name=started_event_id,json=startedEventId,proto3" json:"started_event_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *TimerFiredEventAttributes) Reset() { *m = TimerFiredEventAttributes{} } +func (m *TimerFiredEventAttributes) String() string { return proto.CompactTextString(m) } +func (*TimerFiredEventAttributes) ProtoMessage() {} +func (*TimerFiredEventAttributes) Descriptor() ([]byte, []int) { + return fileDescriptor_8237ca6511ad6c62, []int{20} +} +func (m *TimerFiredEventAttributes) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *TimerFiredEventAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_TimerFiredEventAttributes.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *TimerFiredEventAttributes) XXX_Merge(src proto.Message) { + xxx_messageInfo_TimerFiredEventAttributes.Merge(m, src) +} +func (m *TimerFiredEventAttributes) XXX_Size() int { + return m.Size() +} +func (m *TimerFiredEventAttributes) XXX_DiscardUnknown() { + xxx_messageInfo_TimerFiredEventAttributes.DiscardUnknown(m) +} + +var xxx_messageInfo_TimerFiredEventAttributes proto.InternalMessageInfo + +func (m *TimerFiredEventAttributes) GetTimerId() string { + if m != nil { + return m.TimerId + } + return "" +} + +func (m *TimerFiredEventAttributes) GetStartedEventId() int64 { + if m != nil { + return m.StartedEventId + } + return 0 +} + +type TimerCanceledEventAttributes struct { + TimerId string `protobuf:"bytes,1,opt,name=timer_id,json=timerId,proto3" json:"timer_id,omitempty"` + StartedEventId int64 `protobuf:"varint,2,opt,name=started_event_id,json=startedEventId,proto3" json:"started_event_id,omitempty"` + DecisionTaskCompletedEventId int64 `protobuf:"varint,3,opt,name=decision_task_completed_event_id,json=decisionTaskCompletedEventId,proto3" json:"decision_task_completed_event_id,omitempty"` + Identity string `protobuf:"bytes,4,opt,name=identity,proto3" json:"identity,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *TimerCanceledEventAttributes) Reset() { *m = TimerCanceledEventAttributes{} } +func (m *TimerCanceledEventAttributes) String() string { return proto.CompactTextString(m) } +func (*TimerCanceledEventAttributes) ProtoMessage() {} +func (*TimerCanceledEventAttributes) Descriptor() ([]byte, []int) { + return fileDescriptor_8237ca6511ad6c62, []int{21} +} +func (m *TimerCanceledEventAttributes) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *TimerCanceledEventAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_TimerCanceledEventAttributes.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *TimerCanceledEventAttributes) XXX_Merge(src proto.Message) { + xxx_messageInfo_TimerCanceledEventAttributes.Merge(m, src) +} +func (m *TimerCanceledEventAttributes) XXX_Size() int { + return m.Size() +} +func (m *TimerCanceledEventAttributes) XXX_DiscardUnknown() { + xxx_messageInfo_TimerCanceledEventAttributes.DiscardUnknown(m) +} + +var xxx_messageInfo_TimerCanceledEventAttributes proto.InternalMessageInfo + +func (m *TimerCanceledEventAttributes) GetTimerId() string { + if m != nil { + return m.TimerId + } + return "" +} + +func (m *TimerCanceledEventAttributes) GetStartedEventId() int64 { + if m != nil { + return m.StartedEventId + } + return 0 +} + +func (m *TimerCanceledEventAttributes) GetDecisionTaskCompletedEventId() int64 { + if m != nil { + return m.DecisionTaskCompletedEventId + } + return 0 +} + +func (m *TimerCanceledEventAttributes) GetIdentity() string { + if m != nil { + return m.Identity + } + return "" +} + +type CancelTimerFailedEventAttributes struct { + TimerId string `protobuf:"bytes,1,opt,name=timer_id,json=timerId,proto3" json:"timer_id,omitempty"` + Cause string `protobuf:"bytes,2,opt,name=cause,proto3" json:"cause,omitempty"` + DecisionTaskCompletedEventId int64 `protobuf:"varint,3,opt,name=decision_task_completed_event_id,json=decisionTaskCompletedEventId,proto3" json:"decision_task_completed_event_id,omitempty"` + Identity string `protobuf:"bytes,4,opt,name=identity,proto3" json:"identity,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CancelTimerFailedEventAttributes) Reset() { *m = CancelTimerFailedEventAttributes{} } +func (m *CancelTimerFailedEventAttributes) String() string { return proto.CompactTextString(m) } +func (*CancelTimerFailedEventAttributes) ProtoMessage() {} +func (*CancelTimerFailedEventAttributes) Descriptor() ([]byte, []int) { + return fileDescriptor_8237ca6511ad6c62, []int{22} +} +func (m *CancelTimerFailedEventAttributes) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *CancelTimerFailedEventAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_CancelTimerFailedEventAttributes.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *CancelTimerFailedEventAttributes) XXX_Merge(src proto.Message) { + xxx_messageInfo_CancelTimerFailedEventAttributes.Merge(m, src) +} +func (m *CancelTimerFailedEventAttributes) XXX_Size() int { + return m.Size() +} +func (m *CancelTimerFailedEventAttributes) XXX_DiscardUnknown() { + xxx_messageInfo_CancelTimerFailedEventAttributes.DiscardUnknown(m) +} + +var xxx_messageInfo_CancelTimerFailedEventAttributes proto.InternalMessageInfo + +func (m *CancelTimerFailedEventAttributes) GetTimerId() string { + if m != nil { + return m.TimerId + } + return "" +} + +func (m *CancelTimerFailedEventAttributes) GetCause() string { + if m != nil { + return m.Cause + } + return "" +} + +func (m *CancelTimerFailedEventAttributes) GetDecisionTaskCompletedEventId() int64 { + if m != nil { + return m.DecisionTaskCompletedEventId + } + return 0 +} + +func (m *CancelTimerFailedEventAttributes) GetIdentity() string { + if m != nil { + return m.Identity + } + return "" +} + +type WorkflowExecutionContinuedAsNewEventAttributes struct { + NewExecutionRunId string `protobuf:"bytes,1,opt,name=new_execution_run_id,json=newExecutionRunId,proto3" json:"new_execution_run_id,omitempty"` + WorkflowType *WorkflowType `protobuf:"bytes,2,opt,name=workflow_type,json=workflowType,proto3" json:"workflow_type,omitempty"` + TaskList *TaskList `protobuf:"bytes,3,opt,name=task_list,json=taskList,proto3" json:"task_list,omitempty"` + Input *Payload `protobuf:"bytes,4,opt,name=input,proto3" json:"input,omitempty"` + ExecutionStartToCloseTimeout *types.Duration `protobuf:"bytes,5,opt,name=execution_start_to_close_timeout,json=executionStartToCloseTimeout,proto3" json:"execution_start_to_close_timeout,omitempty"` + TaskStartToCloseTimeout *types.Duration `protobuf:"bytes,6,opt,name=task_start_to_close_timeout,json=taskStartToCloseTimeout,proto3" json:"task_start_to_close_timeout,omitempty"` + DecisionTaskCompletedEventId int64 `protobuf:"varint,7,opt,name=decision_task_completed_event_id,json=decisionTaskCompletedEventId,proto3" json:"decision_task_completed_event_id,omitempty"` + BackoffStartInterval *types.Duration `protobuf:"bytes,8,opt,name=backoff_start_interval,json=backoffStartInterval,proto3" json:"backoff_start_interval,omitempty"` + Initiator ContinueAsNewInitiator `protobuf:"varint,9,opt,name=initiator,proto3,enum=uber.cadence.api.v1.ContinueAsNewInitiator" json:"initiator,omitempty"` + Failure *Failure `protobuf:"bytes,10,opt,name=failure,proto3" json:"failure,omitempty"` + LastCompletionResult *Payload `protobuf:"bytes,11,opt,name=last_completion_result,json=lastCompletionResult,proto3" json:"last_completion_result,omitempty"` + Header *Header `protobuf:"bytes,12,opt,name=header,proto3" json:"header,omitempty"` + Memo *Memo `protobuf:"bytes,13,opt,name=memo,proto3" json:"memo,omitempty"` + SearchAttributes *SearchAttributes `protobuf:"bytes,14,opt,name=search_attributes,json=searchAttributes,proto3" json:"search_attributes,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *WorkflowExecutionContinuedAsNewEventAttributes) Reset() { + *m = WorkflowExecutionContinuedAsNewEventAttributes{} +} +func (m *WorkflowExecutionContinuedAsNewEventAttributes) String() string { + return proto.CompactTextString(m) +} +func (*WorkflowExecutionContinuedAsNewEventAttributes) ProtoMessage() {} +func (*WorkflowExecutionContinuedAsNewEventAttributes) Descriptor() ([]byte, []int) { + return fileDescriptor_8237ca6511ad6c62, []int{23} +} +func (m *WorkflowExecutionContinuedAsNewEventAttributes) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *WorkflowExecutionContinuedAsNewEventAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_WorkflowExecutionContinuedAsNewEventAttributes.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *WorkflowExecutionContinuedAsNewEventAttributes) XXX_Merge(src proto.Message) { + xxx_messageInfo_WorkflowExecutionContinuedAsNewEventAttributes.Merge(m, src) +} +func (m *WorkflowExecutionContinuedAsNewEventAttributes) XXX_Size() int { + return m.Size() +} +func (m *WorkflowExecutionContinuedAsNewEventAttributes) XXX_DiscardUnknown() { + xxx_messageInfo_WorkflowExecutionContinuedAsNewEventAttributes.DiscardUnknown(m) +} + +var xxx_messageInfo_WorkflowExecutionContinuedAsNewEventAttributes proto.InternalMessageInfo + +func (m *WorkflowExecutionContinuedAsNewEventAttributes) GetNewExecutionRunId() string { + if m != nil { + return m.NewExecutionRunId + } + return "" +} + +func (m *WorkflowExecutionContinuedAsNewEventAttributes) GetWorkflowType() *WorkflowType { + if m != nil { + return m.WorkflowType + } + return nil +} + +func (m *WorkflowExecutionContinuedAsNewEventAttributes) GetTaskList() *TaskList { + if m != nil { + return m.TaskList + } + return nil +} + +func (m *WorkflowExecutionContinuedAsNewEventAttributes) GetInput() *Payload { + if m != nil { + return m.Input + } + return nil +} + +func (m *WorkflowExecutionContinuedAsNewEventAttributes) GetExecutionStartToCloseTimeout() *types.Duration { + if m != nil { + return m.ExecutionStartToCloseTimeout + } + return nil +} + +func (m *WorkflowExecutionContinuedAsNewEventAttributes) GetTaskStartToCloseTimeout() *types.Duration { + if m != nil { + return m.TaskStartToCloseTimeout + } + return nil +} + +func (m *WorkflowExecutionContinuedAsNewEventAttributes) GetDecisionTaskCompletedEventId() int64 { + if m != nil { + return m.DecisionTaskCompletedEventId + } + return 0 +} + +func (m *WorkflowExecutionContinuedAsNewEventAttributes) GetBackoffStartInterval() *types.Duration { + if m != nil { + return m.BackoffStartInterval + } + return nil +} + +func (m *WorkflowExecutionContinuedAsNewEventAttributes) GetInitiator() ContinueAsNewInitiator { + if m != nil { + return m.Initiator + } + return ContinueAsNewInitiator_CONTINUE_AS_NEW_INITIATOR_INVALID +} + +func (m *WorkflowExecutionContinuedAsNewEventAttributes) GetFailure() *Failure { + if m != nil { + return m.Failure + } + return nil +} + +func (m *WorkflowExecutionContinuedAsNewEventAttributes) GetLastCompletionResult() *Payload { + if m != nil { + return m.LastCompletionResult + } + return nil +} + +func (m *WorkflowExecutionContinuedAsNewEventAttributes) GetHeader() *Header { + if m != nil { + return m.Header + } + return nil +} + +func (m *WorkflowExecutionContinuedAsNewEventAttributes) GetMemo() *Memo { + if m != nil { + return m.Memo + } + return nil +} + +func (m *WorkflowExecutionContinuedAsNewEventAttributes) GetSearchAttributes() *SearchAttributes { + if m != nil { + return m.SearchAttributes + } + return nil +} + +type WorkflowExecutionCancelRequestedEventAttributes struct { + Cause string `protobuf:"bytes,1,opt,name=cause,proto3" json:"cause,omitempty"` + Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` + ExternalExecutionInfo *ExternalExecutionInfo `protobuf:"bytes,3,opt,name=external_execution_info,json=externalExecutionInfo,proto3" json:"external_execution_info,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *WorkflowExecutionCancelRequestedEventAttributes) Reset() { + *m = WorkflowExecutionCancelRequestedEventAttributes{} +} +func (m *WorkflowExecutionCancelRequestedEventAttributes) String() string { + return proto.CompactTextString(m) +} +func (*WorkflowExecutionCancelRequestedEventAttributes) ProtoMessage() {} +func (*WorkflowExecutionCancelRequestedEventAttributes) Descriptor() ([]byte, []int) { + return fileDescriptor_8237ca6511ad6c62, []int{24} +} +func (m *WorkflowExecutionCancelRequestedEventAttributes) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *WorkflowExecutionCancelRequestedEventAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_WorkflowExecutionCancelRequestedEventAttributes.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *WorkflowExecutionCancelRequestedEventAttributes) XXX_Merge(src proto.Message) { + xxx_messageInfo_WorkflowExecutionCancelRequestedEventAttributes.Merge(m, src) +} +func (m *WorkflowExecutionCancelRequestedEventAttributes) XXX_Size() int { + return m.Size() +} +func (m *WorkflowExecutionCancelRequestedEventAttributes) XXX_DiscardUnknown() { + xxx_messageInfo_WorkflowExecutionCancelRequestedEventAttributes.DiscardUnknown(m) +} + +var xxx_messageInfo_WorkflowExecutionCancelRequestedEventAttributes proto.InternalMessageInfo + +func (m *WorkflowExecutionCancelRequestedEventAttributes) GetCause() string { + if m != nil { + return m.Cause + } + return "" +} + +func (m *WorkflowExecutionCancelRequestedEventAttributes) GetIdentity() string { + if m != nil { + return m.Identity + } + return "" +} + +func (m *WorkflowExecutionCancelRequestedEventAttributes) GetExternalExecutionInfo() *ExternalExecutionInfo { + if m != nil { + return m.ExternalExecutionInfo + } + return nil +} + +type WorkflowExecutionCanceledEventAttributes struct { + DecisionTaskCompletedEventId int64 `protobuf:"varint,1,opt,name=decision_task_completed_event_id,json=decisionTaskCompletedEventId,proto3" json:"decision_task_completed_event_id,omitempty"` + Details *Payload `protobuf:"bytes,2,opt,name=details,proto3" json:"details,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *WorkflowExecutionCanceledEventAttributes) Reset() { + *m = WorkflowExecutionCanceledEventAttributes{} +} +func (m *WorkflowExecutionCanceledEventAttributes) String() string { return proto.CompactTextString(m) } +func (*WorkflowExecutionCanceledEventAttributes) ProtoMessage() {} +func (*WorkflowExecutionCanceledEventAttributes) Descriptor() ([]byte, []int) { + return fileDescriptor_8237ca6511ad6c62, []int{25} +} +func (m *WorkflowExecutionCanceledEventAttributes) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *WorkflowExecutionCanceledEventAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_WorkflowExecutionCanceledEventAttributes.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *WorkflowExecutionCanceledEventAttributes) XXX_Merge(src proto.Message) { + xxx_messageInfo_WorkflowExecutionCanceledEventAttributes.Merge(m, src) +} +func (m *WorkflowExecutionCanceledEventAttributes) XXX_Size() int { + return m.Size() +} +func (m *WorkflowExecutionCanceledEventAttributes) XXX_DiscardUnknown() { + xxx_messageInfo_WorkflowExecutionCanceledEventAttributes.DiscardUnknown(m) +} + +var xxx_messageInfo_WorkflowExecutionCanceledEventAttributes proto.InternalMessageInfo + +func (m *WorkflowExecutionCanceledEventAttributes) GetDecisionTaskCompletedEventId() int64 { + if m != nil { + return m.DecisionTaskCompletedEventId + } + return 0 +} + +func (m *WorkflowExecutionCanceledEventAttributes) GetDetails() *Payload { + if m != nil { + return m.Details + } + return nil +} + +type MarkerRecordedEventAttributes struct { + MarkerName string `protobuf:"bytes,1,opt,name=marker_name,json=markerName,proto3" json:"marker_name,omitempty"` + Details *Payload `protobuf:"bytes,2,opt,name=details,proto3" json:"details,omitempty"` + DecisionTaskCompletedEventId int64 `protobuf:"varint,3,opt,name=decision_task_completed_event_id,json=decisionTaskCompletedEventId,proto3" json:"decision_task_completed_event_id,omitempty"` + Header *Header `protobuf:"bytes,4,opt,name=header,proto3" json:"header,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *MarkerRecordedEventAttributes) Reset() { *m = MarkerRecordedEventAttributes{} } +func (m *MarkerRecordedEventAttributes) String() string { return proto.CompactTextString(m) } +func (*MarkerRecordedEventAttributes) ProtoMessage() {} +func (*MarkerRecordedEventAttributes) Descriptor() ([]byte, []int) { + return fileDescriptor_8237ca6511ad6c62, []int{26} +} +func (m *MarkerRecordedEventAttributes) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MarkerRecordedEventAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MarkerRecordedEventAttributes.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MarkerRecordedEventAttributes) XXX_Merge(src proto.Message) { + xxx_messageInfo_MarkerRecordedEventAttributes.Merge(m, src) +} +func (m *MarkerRecordedEventAttributes) XXX_Size() int { + return m.Size() +} +func (m *MarkerRecordedEventAttributes) XXX_DiscardUnknown() { + xxx_messageInfo_MarkerRecordedEventAttributes.DiscardUnknown(m) +} + +var xxx_messageInfo_MarkerRecordedEventAttributes proto.InternalMessageInfo + +func (m *MarkerRecordedEventAttributes) GetMarkerName() string { + if m != nil { + return m.MarkerName + } + return "" +} + +func (m *MarkerRecordedEventAttributes) GetDetails() *Payload { + if m != nil { + return m.Details + } + return nil +} + +func (m *MarkerRecordedEventAttributes) GetDecisionTaskCompletedEventId() int64 { + if m != nil { + return m.DecisionTaskCompletedEventId + } + return 0 +} + +func (m *MarkerRecordedEventAttributes) GetHeader() *Header { + if m != nil { + return m.Header + } + return nil +} + +type WorkflowExecutionSignaledEventAttributes struct { + SignalName string `protobuf:"bytes,1,opt,name=signal_name,json=signalName,proto3" json:"signal_name,omitempty"` + Input *Payload `protobuf:"bytes,2,opt,name=input,proto3" json:"input,omitempty"` + Identity string `protobuf:"bytes,3,opt,name=identity,proto3" json:"identity,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *WorkflowExecutionSignaledEventAttributes) Reset() { + *m = WorkflowExecutionSignaledEventAttributes{} +} +func (m *WorkflowExecutionSignaledEventAttributes) String() string { return proto.CompactTextString(m) } +func (*WorkflowExecutionSignaledEventAttributes) ProtoMessage() {} +func (*WorkflowExecutionSignaledEventAttributes) Descriptor() ([]byte, []int) { + return fileDescriptor_8237ca6511ad6c62, []int{27} +} +func (m *WorkflowExecutionSignaledEventAttributes) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *WorkflowExecutionSignaledEventAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_WorkflowExecutionSignaledEventAttributes.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *WorkflowExecutionSignaledEventAttributes) XXX_Merge(src proto.Message) { + xxx_messageInfo_WorkflowExecutionSignaledEventAttributes.Merge(m, src) +} +func (m *WorkflowExecutionSignaledEventAttributes) XXX_Size() int { + return m.Size() +} +func (m *WorkflowExecutionSignaledEventAttributes) XXX_DiscardUnknown() { + xxx_messageInfo_WorkflowExecutionSignaledEventAttributes.DiscardUnknown(m) +} + +var xxx_messageInfo_WorkflowExecutionSignaledEventAttributes proto.InternalMessageInfo + +func (m *WorkflowExecutionSignaledEventAttributes) GetSignalName() string { + if m != nil { + return m.SignalName + } + return "" +} + +func (m *WorkflowExecutionSignaledEventAttributes) GetInput() *Payload { + if m != nil { + return m.Input + } + return nil +} + +func (m *WorkflowExecutionSignaledEventAttributes) GetIdentity() string { + if m != nil { + return m.Identity + } + return "" +} + +type WorkflowExecutionTerminatedEventAttributes struct { + Reason string `protobuf:"bytes,1,opt,name=reason,proto3" json:"reason,omitempty"` + Details *Payload `protobuf:"bytes,2,opt,name=details,proto3" json:"details,omitempty"` + Identity string `protobuf:"bytes,3,opt,name=identity,proto3" json:"identity,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *WorkflowExecutionTerminatedEventAttributes) Reset() { + *m = WorkflowExecutionTerminatedEventAttributes{} +} +func (m *WorkflowExecutionTerminatedEventAttributes) String() string { + return proto.CompactTextString(m) +} +func (*WorkflowExecutionTerminatedEventAttributes) ProtoMessage() {} +func (*WorkflowExecutionTerminatedEventAttributes) Descriptor() ([]byte, []int) { + return fileDescriptor_8237ca6511ad6c62, []int{28} +} +func (m *WorkflowExecutionTerminatedEventAttributes) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *WorkflowExecutionTerminatedEventAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_WorkflowExecutionTerminatedEventAttributes.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *WorkflowExecutionTerminatedEventAttributes) XXX_Merge(src proto.Message) { + xxx_messageInfo_WorkflowExecutionTerminatedEventAttributes.Merge(m, src) +} +func (m *WorkflowExecutionTerminatedEventAttributes) XXX_Size() int { + return m.Size() +} +func (m *WorkflowExecutionTerminatedEventAttributes) XXX_DiscardUnknown() { + xxx_messageInfo_WorkflowExecutionTerminatedEventAttributes.DiscardUnknown(m) +} + +var xxx_messageInfo_WorkflowExecutionTerminatedEventAttributes proto.InternalMessageInfo + +func (m *WorkflowExecutionTerminatedEventAttributes) GetReason() string { + if m != nil { + return m.Reason + } + return "" +} + +func (m *WorkflowExecutionTerminatedEventAttributes) GetDetails() *Payload { + if m != nil { + return m.Details + } + return nil +} + +func (m *WorkflowExecutionTerminatedEventAttributes) GetIdentity() string { + if m != nil { + return m.Identity + } + return "" +} + +type RequestCancelExternalWorkflowExecutionInitiatedEventAttributes struct { + DecisionTaskCompletedEventId int64 `protobuf:"varint,1,opt,name=decision_task_completed_event_id,json=decisionTaskCompletedEventId,proto3" json:"decision_task_completed_event_id,omitempty"` + Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"` + WorkflowExecution *WorkflowExecution `protobuf:"bytes,3,opt,name=workflow_execution,json=workflowExecution,proto3" json:"workflow_execution,omitempty"` + Control []byte `protobuf:"bytes,4,opt,name=control,proto3" json:"control,omitempty"` + ChildWorkflowOnly bool `protobuf:"varint,5,opt,name=child_workflow_only,json=childWorkflowOnly,proto3" json:"child_workflow_only,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) Reset() { + *m = RequestCancelExternalWorkflowExecutionInitiatedEventAttributes{} +} +func (m *RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) String() string { + return proto.CompactTextString(m) +} +func (*RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) ProtoMessage() {} +func (*RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) Descriptor() ([]byte, []int) { + return fileDescriptor_8237ca6511ad6c62, []int{29} +} +func (m *RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RequestCancelExternalWorkflowExecutionInitiatedEventAttributes.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) XXX_Merge(src proto.Message) { + xxx_messageInfo_RequestCancelExternalWorkflowExecutionInitiatedEventAttributes.Merge(m, src) +} +func (m *RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) XXX_Size() int { + return m.Size() +} +func (m *RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) XXX_DiscardUnknown() { + xxx_messageInfo_RequestCancelExternalWorkflowExecutionInitiatedEventAttributes.DiscardUnknown(m) +} + +var xxx_messageInfo_RequestCancelExternalWorkflowExecutionInitiatedEventAttributes proto.InternalMessageInfo + +func (m *RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) GetDecisionTaskCompletedEventId() int64 { + if m != nil { + return m.DecisionTaskCompletedEventId + } + return 0 +} + +func (m *RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) GetDomain() string { + if m != nil { + return m.Domain + } + return "" +} + +func (m *RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) GetWorkflowExecution() *WorkflowExecution { + if m != nil { + return m.WorkflowExecution + } + return nil +} + +func (m *RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) GetControl() []byte { + if m != nil { + return m.Control + } + return nil +} + +func (m *RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) GetChildWorkflowOnly() bool { + if m != nil { + return m.ChildWorkflowOnly + } + return false +} + +type RequestCancelExternalWorkflowExecutionFailedEventAttributes struct { + Cause CancelExternalWorkflowExecutionFailedCause `protobuf:"varint,1,opt,name=cause,proto3,enum=uber.cadence.api.v1.CancelExternalWorkflowExecutionFailedCause" json:"cause,omitempty"` + DecisionTaskCompletedEventId int64 `protobuf:"varint,2,opt,name=decision_task_completed_event_id,json=decisionTaskCompletedEventId,proto3" json:"decision_task_completed_event_id,omitempty"` + Domain string `protobuf:"bytes,3,opt,name=domain,proto3" json:"domain,omitempty"` + WorkflowExecution *WorkflowExecution `protobuf:"bytes,4,opt,name=workflow_execution,json=workflowExecution,proto3" json:"workflow_execution,omitempty"` + InitiatedEventId int64 `protobuf:"varint,5,opt,name=initiated_event_id,json=initiatedEventId,proto3" json:"initiated_event_id,omitempty"` + Control []byte `protobuf:"bytes,6,opt,name=control,proto3" json:"control,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RequestCancelExternalWorkflowExecutionFailedEventAttributes) Reset() { + *m = RequestCancelExternalWorkflowExecutionFailedEventAttributes{} +} +func (m *RequestCancelExternalWorkflowExecutionFailedEventAttributes) String() string { + return proto.CompactTextString(m) +} +func (*RequestCancelExternalWorkflowExecutionFailedEventAttributes) ProtoMessage() {} +func (*RequestCancelExternalWorkflowExecutionFailedEventAttributes) Descriptor() ([]byte, []int) { + return fileDescriptor_8237ca6511ad6c62, []int{30} +} +func (m *RequestCancelExternalWorkflowExecutionFailedEventAttributes) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RequestCancelExternalWorkflowExecutionFailedEventAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RequestCancelExternalWorkflowExecutionFailedEventAttributes.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RequestCancelExternalWorkflowExecutionFailedEventAttributes) XXX_Merge(src proto.Message) { + xxx_messageInfo_RequestCancelExternalWorkflowExecutionFailedEventAttributes.Merge(m, src) +} +func (m *RequestCancelExternalWorkflowExecutionFailedEventAttributes) XXX_Size() int { + return m.Size() +} +func (m *RequestCancelExternalWorkflowExecutionFailedEventAttributes) XXX_DiscardUnknown() { + xxx_messageInfo_RequestCancelExternalWorkflowExecutionFailedEventAttributes.DiscardUnknown(m) +} + +var xxx_messageInfo_RequestCancelExternalWorkflowExecutionFailedEventAttributes proto.InternalMessageInfo + +func (m *RequestCancelExternalWorkflowExecutionFailedEventAttributes) GetCause() CancelExternalWorkflowExecutionFailedCause { + if m != nil { + return m.Cause + } + return CancelExternalWorkflowExecutionFailedCause_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_INVALID +} + +func (m *RequestCancelExternalWorkflowExecutionFailedEventAttributes) GetDecisionTaskCompletedEventId() int64 { + if m != nil { + return m.DecisionTaskCompletedEventId + } + return 0 +} + +func (m *RequestCancelExternalWorkflowExecutionFailedEventAttributes) GetDomain() string { + if m != nil { + return m.Domain + } + return "" +} + +func (m *RequestCancelExternalWorkflowExecutionFailedEventAttributes) GetWorkflowExecution() *WorkflowExecution { + if m != nil { + return m.WorkflowExecution + } + return nil +} + +func (m *RequestCancelExternalWorkflowExecutionFailedEventAttributes) GetInitiatedEventId() int64 { + if m != nil { + return m.InitiatedEventId + } + return 0 +} + +func (m *RequestCancelExternalWorkflowExecutionFailedEventAttributes) GetControl() []byte { + if m != nil { + return m.Control + } + return nil +} + +type ExternalWorkflowExecutionCancelRequestedEventAttributes struct { + InitiatedEventId int64 `protobuf:"varint,1,opt,name=initiated_event_id,json=initiatedEventId,proto3" json:"initiated_event_id,omitempty"` + Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"` + WorkflowExecution *WorkflowExecution `protobuf:"bytes,3,opt,name=workflow_execution,json=workflowExecution,proto3" json:"workflow_execution,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ExternalWorkflowExecutionCancelRequestedEventAttributes) Reset() { + *m = ExternalWorkflowExecutionCancelRequestedEventAttributes{} +} +func (m *ExternalWorkflowExecutionCancelRequestedEventAttributes) String() string { + return proto.CompactTextString(m) +} +func (*ExternalWorkflowExecutionCancelRequestedEventAttributes) ProtoMessage() {} +func (*ExternalWorkflowExecutionCancelRequestedEventAttributes) Descriptor() ([]byte, []int) { + return fileDescriptor_8237ca6511ad6c62, []int{31} +} +func (m *ExternalWorkflowExecutionCancelRequestedEventAttributes) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ExternalWorkflowExecutionCancelRequestedEventAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ExternalWorkflowExecutionCancelRequestedEventAttributes.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ExternalWorkflowExecutionCancelRequestedEventAttributes) XXX_Merge(src proto.Message) { + xxx_messageInfo_ExternalWorkflowExecutionCancelRequestedEventAttributes.Merge(m, src) +} +func (m *ExternalWorkflowExecutionCancelRequestedEventAttributes) XXX_Size() int { + return m.Size() +} +func (m *ExternalWorkflowExecutionCancelRequestedEventAttributes) XXX_DiscardUnknown() { + xxx_messageInfo_ExternalWorkflowExecutionCancelRequestedEventAttributes.DiscardUnknown(m) +} + +var xxx_messageInfo_ExternalWorkflowExecutionCancelRequestedEventAttributes proto.InternalMessageInfo + +func (m *ExternalWorkflowExecutionCancelRequestedEventAttributes) GetInitiatedEventId() int64 { + if m != nil { + return m.InitiatedEventId + } + return 0 +} + +func (m *ExternalWorkflowExecutionCancelRequestedEventAttributes) GetDomain() string { + if m != nil { + return m.Domain + } + return "" +} + +func (m *ExternalWorkflowExecutionCancelRequestedEventAttributes) GetWorkflowExecution() *WorkflowExecution { + if m != nil { + return m.WorkflowExecution + } + return nil +} + +type SignalExternalWorkflowExecutionInitiatedEventAttributes struct { + DecisionTaskCompletedEventId int64 `protobuf:"varint,1,opt,name=decision_task_completed_event_id,json=decisionTaskCompletedEventId,proto3" json:"decision_task_completed_event_id,omitempty"` + Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"` + WorkflowExecution *WorkflowExecution `protobuf:"bytes,3,opt,name=workflow_execution,json=workflowExecution,proto3" json:"workflow_execution,omitempty"` + SignalName string `protobuf:"bytes,4,opt,name=signal_name,json=signalName,proto3" json:"signal_name,omitempty"` + Input *Payload `protobuf:"bytes,5,opt,name=input,proto3" json:"input,omitempty"` + Control []byte `protobuf:"bytes,6,opt,name=control,proto3" json:"control,omitempty"` + ChildWorkflowOnly bool `protobuf:"varint,7,opt,name=child_workflow_only,json=childWorkflowOnly,proto3" json:"child_workflow_only,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SignalExternalWorkflowExecutionInitiatedEventAttributes) Reset() { + *m = SignalExternalWorkflowExecutionInitiatedEventAttributes{} +} +func (m *SignalExternalWorkflowExecutionInitiatedEventAttributes) String() string { + return proto.CompactTextString(m) +} +func (*SignalExternalWorkflowExecutionInitiatedEventAttributes) ProtoMessage() {} +func (*SignalExternalWorkflowExecutionInitiatedEventAttributes) Descriptor() ([]byte, []int) { + return fileDescriptor_8237ca6511ad6c62, []int{32} +} +func (m *SignalExternalWorkflowExecutionInitiatedEventAttributes) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *SignalExternalWorkflowExecutionInitiatedEventAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_SignalExternalWorkflowExecutionInitiatedEventAttributes.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *SignalExternalWorkflowExecutionInitiatedEventAttributes) XXX_Merge(src proto.Message) { + xxx_messageInfo_SignalExternalWorkflowExecutionInitiatedEventAttributes.Merge(m, src) +} +func (m *SignalExternalWorkflowExecutionInitiatedEventAttributes) XXX_Size() int { + return m.Size() +} +func (m *SignalExternalWorkflowExecutionInitiatedEventAttributes) XXX_DiscardUnknown() { + xxx_messageInfo_SignalExternalWorkflowExecutionInitiatedEventAttributes.DiscardUnknown(m) +} + +var xxx_messageInfo_SignalExternalWorkflowExecutionInitiatedEventAttributes proto.InternalMessageInfo + +func (m *SignalExternalWorkflowExecutionInitiatedEventAttributes) GetDecisionTaskCompletedEventId() int64 { + if m != nil { + return m.DecisionTaskCompletedEventId + } + return 0 +} + +func (m *SignalExternalWorkflowExecutionInitiatedEventAttributes) GetDomain() string { + if m != nil { + return m.Domain + } + return "" +} + +func (m *SignalExternalWorkflowExecutionInitiatedEventAttributes) GetWorkflowExecution() *WorkflowExecution { + if m != nil { + return m.WorkflowExecution + } + return nil +} + +func (m *SignalExternalWorkflowExecutionInitiatedEventAttributes) GetSignalName() string { + if m != nil { + return m.SignalName + } + return "" +} + +func (m *SignalExternalWorkflowExecutionInitiatedEventAttributes) GetInput() *Payload { + if m != nil { + return m.Input + } + return nil +} + +func (m *SignalExternalWorkflowExecutionInitiatedEventAttributes) GetControl() []byte { + if m != nil { + return m.Control + } + return nil +} + +func (m *SignalExternalWorkflowExecutionInitiatedEventAttributes) GetChildWorkflowOnly() bool { + if m != nil { + return m.ChildWorkflowOnly + } + return false +} + +type SignalExternalWorkflowExecutionFailedEventAttributes struct { + Cause SignalExternalWorkflowExecutionFailedCause `protobuf:"varint,1,opt,name=cause,proto3,enum=uber.cadence.api.v1.SignalExternalWorkflowExecutionFailedCause" json:"cause,omitempty"` + DecisionTaskCompletedEventId int64 `protobuf:"varint,2,opt,name=decision_task_completed_event_id,json=decisionTaskCompletedEventId,proto3" json:"decision_task_completed_event_id,omitempty"` + Domain string `protobuf:"bytes,3,opt,name=domain,proto3" json:"domain,omitempty"` + WorkflowExecution *WorkflowExecution `protobuf:"bytes,4,opt,name=workflow_execution,json=workflowExecution,proto3" json:"workflow_execution,omitempty"` + InitiatedEventId int64 `protobuf:"varint,5,opt,name=initiated_event_id,json=initiatedEventId,proto3" json:"initiated_event_id,omitempty"` + Control []byte `protobuf:"bytes,6,opt,name=control,proto3" json:"control,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SignalExternalWorkflowExecutionFailedEventAttributes) Reset() { + *m = SignalExternalWorkflowExecutionFailedEventAttributes{} +} +func (m *SignalExternalWorkflowExecutionFailedEventAttributes) String() string { + return proto.CompactTextString(m) +} +func (*SignalExternalWorkflowExecutionFailedEventAttributes) ProtoMessage() {} +func (*SignalExternalWorkflowExecutionFailedEventAttributes) Descriptor() ([]byte, []int) { + return fileDescriptor_8237ca6511ad6c62, []int{33} +} +func (m *SignalExternalWorkflowExecutionFailedEventAttributes) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *SignalExternalWorkflowExecutionFailedEventAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_SignalExternalWorkflowExecutionFailedEventAttributes.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *SignalExternalWorkflowExecutionFailedEventAttributes) XXX_Merge(src proto.Message) { + xxx_messageInfo_SignalExternalWorkflowExecutionFailedEventAttributes.Merge(m, src) +} +func (m *SignalExternalWorkflowExecutionFailedEventAttributes) XXX_Size() int { + return m.Size() +} +func (m *SignalExternalWorkflowExecutionFailedEventAttributes) XXX_DiscardUnknown() { + xxx_messageInfo_SignalExternalWorkflowExecutionFailedEventAttributes.DiscardUnknown(m) +} + +var xxx_messageInfo_SignalExternalWorkflowExecutionFailedEventAttributes proto.InternalMessageInfo + +func (m *SignalExternalWorkflowExecutionFailedEventAttributes) GetCause() SignalExternalWorkflowExecutionFailedCause { + if m != nil { + return m.Cause + } + return SignalExternalWorkflowExecutionFailedCause_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_INVALID +} + +func (m *SignalExternalWorkflowExecutionFailedEventAttributes) GetDecisionTaskCompletedEventId() int64 { + if m != nil { + return m.DecisionTaskCompletedEventId + } + return 0 +} + +func (m *SignalExternalWorkflowExecutionFailedEventAttributes) GetDomain() string { + if m != nil { + return m.Domain + } + return "" +} + +func (m *SignalExternalWorkflowExecutionFailedEventAttributes) GetWorkflowExecution() *WorkflowExecution { + if m != nil { + return m.WorkflowExecution + } + return nil +} + +func (m *SignalExternalWorkflowExecutionFailedEventAttributes) GetInitiatedEventId() int64 { + if m != nil { + return m.InitiatedEventId + } + return 0 +} + +func (m *SignalExternalWorkflowExecutionFailedEventAttributes) GetControl() []byte { + if m != nil { + return m.Control + } + return nil +} + +type ExternalWorkflowExecutionSignaledEventAttributes struct { + InitiatedEventId int64 `protobuf:"varint,1,opt,name=initiated_event_id,json=initiatedEventId,proto3" json:"initiated_event_id,omitempty"` + Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"` + WorkflowExecution *WorkflowExecution `protobuf:"bytes,3,opt,name=workflow_execution,json=workflowExecution,proto3" json:"workflow_execution,omitempty"` + Control []byte `protobuf:"bytes,4,opt,name=control,proto3" json:"control,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ExternalWorkflowExecutionSignaledEventAttributes) Reset() { + *m = ExternalWorkflowExecutionSignaledEventAttributes{} +} +func (m *ExternalWorkflowExecutionSignaledEventAttributes) String() string { + return proto.CompactTextString(m) +} +func (*ExternalWorkflowExecutionSignaledEventAttributes) ProtoMessage() {} +func (*ExternalWorkflowExecutionSignaledEventAttributes) Descriptor() ([]byte, []int) { + return fileDescriptor_8237ca6511ad6c62, []int{34} +} +func (m *ExternalWorkflowExecutionSignaledEventAttributes) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ExternalWorkflowExecutionSignaledEventAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ExternalWorkflowExecutionSignaledEventAttributes.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ExternalWorkflowExecutionSignaledEventAttributes) XXX_Merge(src proto.Message) { + xxx_messageInfo_ExternalWorkflowExecutionSignaledEventAttributes.Merge(m, src) +} +func (m *ExternalWorkflowExecutionSignaledEventAttributes) XXX_Size() int { + return m.Size() +} +func (m *ExternalWorkflowExecutionSignaledEventAttributes) XXX_DiscardUnknown() { + xxx_messageInfo_ExternalWorkflowExecutionSignaledEventAttributes.DiscardUnknown(m) +} + +var xxx_messageInfo_ExternalWorkflowExecutionSignaledEventAttributes proto.InternalMessageInfo + +func (m *ExternalWorkflowExecutionSignaledEventAttributes) GetInitiatedEventId() int64 { + if m != nil { + return m.InitiatedEventId + } + return 0 +} + +func (m *ExternalWorkflowExecutionSignaledEventAttributes) GetDomain() string { + if m != nil { + return m.Domain + } + return "" +} + +func (m *ExternalWorkflowExecutionSignaledEventAttributes) GetWorkflowExecution() *WorkflowExecution { + if m != nil { + return m.WorkflowExecution + } + return nil +} + +func (m *ExternalWorkflowExecutionSignaledEventAttributes) GetControl() []byte { + if m != nil { + return m.Control + } + return nil +} + +type UpsertWorkflowSearchAttributesEventAttributes struct { + DecisionTaskCompletedEventId int64 `protobuf:"varint,1,opt,name=decision_task_completed_event_id,json=decisionTaskCompletedEventId,proto3" json:"decision_task_completed_event_id,omitempty"` + SearchAttributes *SearchAttributes `protobuf:"bytes,2,opt,name=search_attributes,json=searchAttributes,proto3" json:"search_attributes,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UpsertWorkflowSearchAttributesEventAttributes) Reset() { + *m = UpsertWorkflowSearchAttributesEventAttributes{} +} +func (m *UpsertWorkflowSearchAttributesEventAttributes) String() string { + return proto.CompactTextString(m) +} +func (*UpsertWorkflowSearchAttributesEventAttributes) ProtoMessage() {} +func (*UpsertWorkflowSearchAttributesEventAttributes) Descriptor() ([]byte, []int) { + return fileDescriptor_8237ca6511ad6c62, []int{35} +} +func (m *UpsertWorkflowSearchAttributesEventAttributes) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *UpsertWorkflowSearchAttributesEventAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_UpsertWorkflowSearchAttributesEventAttributes.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *UpsertWorkflowSearchAttributesEventAttributes) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpsertWorkflowSearchAttributesEventAttributes.Merge(m, src) +} +func (m *UpsertWorkflowSearchAttributesEventAttributes) XXX_Size() int { + return m.Size() +} +func (m *UpsertWorkflowSearchAttributesEventAttributes) XXX_DiscardUnknown() { + xxx_messageInfo_UpsertWorkflowSearchAttributesEventAttributes.DiscardUnknown(m) +} + +var xxx_messageInfo_UpsertWorkflowSearchAttributesEventAttributes proto.InternalMessageInfo + +func (m *UpsertWorkflowSearchAttributesEventAttributes) GetDecisionTaskCompletedEventId() int64 { + if m != nil { + return m.DecisionTaskCompletedEventId + } + return 0 +} + +func (m *UpsertWorkflowSearchAttributesEventAttributes) GetSearchAttributes() *SearchAttributes { + if m != nil { + return m.SearchAttributes + } + return nil +} + +type StartChildWorkflowExecutionInitiatedEventAttributes struct { + Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` + WorkflowId string `protobuf:"bytes,2,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"` + WorkflowType *WorkflowType `protobuf:"bytes,3,opt,name=workflow_type,json=workflowType,proto3" json:"workflow_type,omitempty"` + TaskList *TaskList `protobuf:"bytes,4,opt,name=task_list,json=taskList,proto3" json:"task_list,omitempty"` + Input *Payload `protobuf:"bytes,5,opt,name=input,proto3" json:"input,omitempty"` + ExecutionStartToCloseTimeout *types.Duration `protobuf:"bytes,6,opt,name=execution_start_to_close_timeout,json=executionStartToCloseTimeout,proto3" json:"execution_start_to_close_timeout,omitempty"` + TaskStartToCloseTimeout *types.Duration `protobuf:"bytes,7,opt,name=task_start_to_close_timeout,json=taskStartToCloseTimeout,proto3" json:"task_start_to_close_timeout,omitempty"` + ParentClosePolicy ParentClosePolicy `protobuf:"varint,8,opt,name=parent_close_policy,json=parentClosePolicy,proto3,enum=uber.cadence.api.v1.ParentClosePolicy" json:"parent_close_policy,omitempty"` + Control []byte `protobuf:"bytes,9,opt,name=control,proto3" json:"control,omitempty"` + DecisionTaskCompletedEventId int64 `protobuf:"varint,10,opt,name=decision_task_completed_event_id,json=decisionTaskCompletedEventId,proto3" json:"decision_task_completed_event_id,omitempty"` + WorkflowIdReusePolicy WorkflowIdReusePolicy `protobuf:"varint,11,opt,name=workflow_id_reuse_policy,json=workflowIdReusePolicy,proto3,enum=uber.cadence.api.v1.WorkflowIdReusePolicy" json:"workflow_id_reuse_policy,omitempty"` + RetryPolicy *RetryPolicy `protobuf:"bytes,13,opt,name=retry_policy,json=retryPolicy,proto3" json:"retry_policy,omitempty"` + CronSchedule string `protobuf:"bytes,14,opt,name=cron_schedule,json=cronSchedule,proto3" json:"cron_schedule,omitempty"` + Header *Header `protobuf:"bytes,15,opt,name=header,proto3" json:"header,omitempty"` + Memo *Memo `protobuf:"bytes,16,opt,name=memo,proto3" json:"memo,omitempty"` + SearchAttributes *SearchAttributes `protobuf:"bytes,17,opt,name=search_attributes,json=searchAttributes,proto3" json:"search_attributes,omitempty"` + DelayStart *types.Duration `protobuf:"bytes,18,opt,name=delay_start,json=delayStart,proto3" json:"delay_start,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *StartChildWorkflowExecutionInitiatedEventAttributes) Reset() { + *m = StartChildWorkflowExecutionInitiatedEventAttributes{} +} +func (m *StartChildWorkflowExecutionInitiatedEventAttributes) String() string { + return proto.CompactTextString(m) +} +func (*StartChildWorkflowExecutionInitiatedEventAttributes) ProtoMessage() {} +func (*StartChildWorkflowExecutionInitiatedEventAttributes) Descriptor() ([]byte, []int) { + return fileDescriptor_8237ca6511ad6c62, []int{36} +} +func (m *StartChildWorkflowExecutionInitiatedEventAttributes) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *StartChildWorkflowExecutionInitiatedEventAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_StartChildWorkflowExecutionInitiatedEventAttributes.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *StartChildWorkflowExecutionInitiatedEventAttributes) XXX_Merge(src proto.Message) { + xxx_messageInfo_StartChildWorkflowExecutionInitiatedEventAttributes.Merge(m, src) +} +func (m *StartChildWorkflowExecutionInitiatedEventAttributes) XXX_Size() int { + return m.Size() +} +func (m *StartChildWorkflowExecutionInitiatedEventAttributes) XXX_DiscardUnknown() { + xxx_messageInfo_StartChildWorkflowExecutionInitiatedEventAttributes.DiscardUnknown(m) +} + +var xxx_messageInfo_StartChildWorkflowExecutionInitiatedEventAttributes proto.InternalMessageInfo + +func (m *StartChildWorkflowExecutionInitiatedEventAttributes) GetDomain() string { + if m != nil { + return m.Domain + } + return "" +} + +func (m *StartChildWorkflowExecutionInitiatedEventAttributes) GetWorkflowId() string { + if m != nil { + return m.WorkflowId + } + return "" +} + +func (m *StartChildWorkflowExecutionInitiatedEventAttributes) GetWorkflowType() *WorkflowType { + if m != nil { + return m.WorkflowType + } + return nil +} + +func (m *StartChildWorkflowExecutionInitiatedEventAttributes) GetTaskList() *TaskList { + if m != nil { + return m.TaskList + } + return nil +} + +func (m *StartChildWorkflowExecutionInitiatedEventAttributes) GetInput() *Payload { + if m != nil { + return m.Input + } + return nil +} + +func (m *StartChildWorkflowExecutionInitiatedEventAttributes) GetExecutionStartToCloseTimeout() *types.Duration { + if m != nil { + return m.ExecutionStartToCloseTimeout + } + return nil +} + +func (m *StartChildWorkflowExecutionInitiatedEventAttributes) GetTaskStartToCloseTimeout() *types.Duration { + if m != nil { + return m.TaskStartToCloseTimeout + } + return nil +} + +func (m *StartChildWorkflowExecutionInitiatedEventAttributes) GetParentClosePolicy() ParentClosePolicy { + if m != nil { + return m.ParentClosePolicy + } + return ParentClosePolicy_PARENT_CLOSE_POLICY_INVALID +} + +func (m *StartChildWorkflowExecutionInitiatedEventAttributes) GetControl() []byte { + if m != nil { + return m.Control + } + return nil +} + +func (m *StartChildWorkflowExecutionInitiatedEventAttributes) GetDecisionTaskCompletedEventId() int64 { + if m != nil { + return m.DecisionTaskCompletedEventId + } + return 0 +} + +func (m *StartChildWorkflowExecutionInitiatedEventAttributes) GetWorkflowIdReusePolicy() WorkflowIdReusePolicy { + if m != nil { + return m.WorkflowIdReusePolicy + } + return WorkflowIdReusePolicy_WORKFLOW_ID_REUSE_POLICY_INVALID +} + +func (m *StartChildWorkflowExecutionInitiatedEventAttributes) GetRetryPolicy() *RetryPolicy { + if m != nil { + return m.RetryPolicy + } + return nil +} + +func (m *StartChildWorkflowExecutionInitiatedEventAttributes) GetCronSchedule() string { + if m != nil { + return m.CronSchedule + } + return "" +} + +func (m *StartChildWorkflowExecutionInitiatedEventAttributes) GetHeader() *Header { + if m != nil { + return m.Header + } + return nil +} + +func (m *StartChildWorkflowExecutionInitiatedEventAttributes) GetMemo() *Memo { + if m != nil { + return m.Memo + } + return nil +} + +func (m *StartChildWorkflowExecutionInitiatedEventAttributes) GetSearchAttributes() *SearchAttributes { + if m != nil { + return m.SearchAttributes + } + return nil +} + +func (m *StartChildWorkflowExecutionInitiatedEventAttributes) GetDelayStart() *types.Duration { + if m != nil { + return m.DelayStart + } + return nil +} + +type StartChildWorkflowExecutionFailedEventAttributes struct { + Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` + WorkflowId string `protobuf:"bytes,2,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"` + WorkflowType *WorkflowType `protobuf:"bytes,3,opt,name=workflow_type,json=workflowType,proto3" json:"workflow_type,omitempty"` + Cause ChildWorkflowExecutionFailedCause `protobuf:"varint,4,opt,name=cause,proto3,enum=uber.cadence.api.v1.ChildWorkflowExecutionFailedCause" json:"cause,omitempty"` + Control []byte `protobuf:"bytes,5,opt,name=control,proto3" json:"control,omitempty"` + InitiatedEventId int64 `protobuf:"varint,6,opt,name=initiated_event_id,json=initiatedEventId,proto3" json:"initiated_event_id,omitempty"` + DecisionTaskCompletedEventId int64 `protobuf:"varint,7,opt,name=decision_task_completed_event_id,json=decisionTaskCompletedEventId,proto3" json:"decision_task_completed_event_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *StartChildWorkflowExecutionFailedEventAttributes) Reset() { + *m = StartChildWorkflowExecutionFailedEventAttributes{} +} +func (m *StartChildWorkflowExecutionFailedEventAttributes) String() string { + return proto.CompactTextString(m) +} +func (*StartChildWorkflowExecutionFailedEventAttributes) ProtoMessage() {} +func (*StartChildWorkflowExecutionFailedEventAttributes) Descriptor() ([]byte, []int) { + return fileDescriptor_8237ca6511ad6c62, []int{37} +} +func (m *StartChildWorkflowExecutionFailedEventAttributes) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *StartChildWorkflowExecutionFailedEventAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_StartChildWorkflowExecutionFailedEventAttributes.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *StartChildWorkflowExecutionFailedEventAttributes) XXX_Merge(src proto.Message) { + xxx_messageInfo_StartChildWorkflowExecutionFailedEventAttributes.Merge(m, src) +} +func (m *StartChildWorkflowExecutionFailedEventAttributes) XXX_Size() int { + return m.Size() +} +func (m *StartChildWorkflowExecutionFailedEventAttributes) XXX_DiscardUnknown() { + xxx_messageInfo_StartChildWorkflowExecutionFailedEventAttributes.DiscardUnknown(m) +} + +var xxx_messageInfo_StartChildWorkflowExecutionFailedEventAttributes proto.InternalMessageInfo + +func (m *StartChildWorkflowExecutionFailedEventAttributes) GetDomain() string { + if m != nil { + return m.Domain + } + return "" +} + +func (m *StartChildWorkflowExecutionFailedEventAttributes) GetWorkflowId() string { + if m != nil { + return m.WorkflowId + } + return "" +} + +func (m *StartChildWorkflowExecutionFailedEventAttributes) GetWorkflowType() *WorkflowType { + if m != nil { + return m.WorkflowType + } + return nil +} + +func (m *StartChildWorkflowExecutionFailedEventAttributes) GetCause() ChildWorkflowExecutionFailedCause { + if m != nil { + return m.Cause + } + return ChildWorkflowExecutionFailedCause_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_INVALID +} + +func (m *StartChildWorkflowExecutionFailedEventAttributes) GetControl() []byte { + if m != nil { + return m.Control + } + return nil +} + +func (m *StartChildWorkflowExecutionFailedEventAttributes) GetInitiatedEventId() int64 { + if m != nil { + return m.InitiatedEventId + } + return 0 +} + +func (m *StartChildWorkflowExecutionFailedEventAttributes) GetDecisionTaskCompletedEventId() int64 { + if m != nil { + return m.DecisionTaskCompletedEventId + } + return 0 +} + +type ChildWorkflowExecutionStartedEventAttributes struct { + Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` + WorkflowExecution *WorkflowExecution `protobuf:"bytes,2,opt,name=workflow_execution,json=workflowExecution,proto3" json:"workflow_execution,omitempty"` + WorkflowType *WorkflowType `protobuf:"bytes,3,opt,name=workflow_type,json=workflowType,proto3" json:"workflow_type,omitempty"` + InitiatedEventId int64 `protobuf:"varint,4,opt,name=initiated_event_id,json=initiatedEventId,proto3" json:"initiated_event_id,omitempty"` + Header *Header `protobuf:"bytes,5,opt,name=header,proto3" json:"header,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ChildWorkflowExecutionStartedEventAttributes) Reset() { + *m = ChildWorkflowExecutionStartedEventAttributes{} +} +func (m *ChildWorkflowExecutionStartedEventAttributes) String() string { + return proto.CompactTextString(m) +} +func (*ChildWorkflowExecutionStartedEventAttributes) ProtoMessage() {} +func (*ChildWorkflowExecutionStartedEventAttributes) Descriptor() ([]byte, []int) { + return fileDescriptor_8237ca6511ad6c62, []int{38} +} +func (m *ChildWorkflowExecutionStartedEventAttributes) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ChildWorkflowExecutionStartedEventAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ChildWorkflowExecutionStartedEventAttributes.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ChildWorkflowExecutionStartedEventAttributes) XXX_Merge(src proto.Message) { + xxx_messageInfo_ChildWorkflowExecutionStartedEventAttributes.Merge(m, src) +} +func (m *ChildWorkflowExecutionStartedEventAttributes) XXX_Size() int { + return m.Size() +} +func (m *ChildWorkflowExecutionStartedEventAttributes) XXX_DiscardUnknown() { + xxx_messageInfo_ChildWorkflowExecutionStartedEventAttributes.DiscardUnknown(m) +} + +var xxx_messageInfo_ChildWorkflowExecutionStartedEventAttributes proto.InternalMessageInfo + +func (m *ChildWorkflowExecutionStartedEventAttributes) GetDomain() string { + if m != nil { + return m.Domain + } + return "" +} + +func (m *ChildWorkflowExecutionStartedEventAttributes) GetWorkflowExecution() *WorkflowExecution { + if m != nil { + return m.WorkflowExecution + } + return nil +} + +func (m *ChildWorkflowExecutionStartedEventAttributes) GetWorkflowType() *WorkflowType { + if m != nil { + return m.WorkflowType + } + return nil +} + +func (m *ChildWorkflowExecutionStartedEventAttributes) GetInitiatedEventId() int64 { + if m != nil { + return m.InitiatedEventId + } + return 0 +} + +func (m *ChildWorkflowExecutionStartedEventAttributes) GetHeader() *Header { + if m != nil { + return m.Header + } + return nil +} + +type ChildWorkflowExecutionCompletedEventAttributes struct { + Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` + WorkflowExecution *WorkflowExecution `protobuf:"bytes,2,opt,name=workflow_execution,json=workflowExecution,proto3" json:"workflow_execution,omitempty"` + WorkflowType *WorkflowType `protobuf:"bytes,3,opt,name=workflow_type,json=workflowType,proto3" json:"workflow_type,omitempty"` + InitiatedEventId int64 `protobuf:"varint,4,opt,name=initiated_event_id,json=initiatedEventId,proto3" json:"initiated_event_id,omitempty"` + StartedEventId int64 `protobuf:"varint,5,opt,name=started_event_id,json=startedEventId,proto3" json:"started_event_id,omitempty"` + Result *Payload `protobuf:"bytes,6,opt,name=result,proto3" json:"result,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ChildWorkflowExecutionCompletedEventAttributes) Reset() { + *m = ChildWorkflowExecutionCompletedEventAttributes{} +} +func (m *ChildWorkflowExecutionCompletedEventAttributes) String() string { + return proto.CompactTextString(m) +} +func (*ChildWorkflowExecutionCompletedEventAttributes) ProtoMessage() {} +func (*ChildWorkflowExecutionCompletedEventAttributes) Descriptor() ([]byte, []int) { + return fileDescriptor_8237ca6511ad6c62, []int{39} +} +func (m *ChildWorkflowExecutionCompletedEventAttributes) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ChildWorkflowExecutionCompletedEventAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ChildWorkflowExecutionCompletedEventAttributes.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ChildWorkflowExecutionCompletedEventAttributes) XXX_Merge(src proto.Message) { + xxx_messageInfo_ChildWorkflowExecutionCompletedEventAttributes.Merge(m, src) +} +func (m *ChildWorkflowExecutionCompletedEventAttributes) XXX_Size() int { + return m.Size() +} +func (m *ChildWorkflowExecutionCompletedEventAttributes) XXX_DiscardUnknown() { + xxx_messageInfo_ChildWorkflowExecutionCompletedEventAttributes.DiscardUnknown(m) +} + +var xxx_messageInfo_ChildWorkflowExecutionCompletedEventAttributes proto.InternalMessageInfo + +func (m *ChildWorkflowExecutionCompletedEventAttributes) GetDomain() string { + if m != nil { + return m.Domain + } + return "" +} + +func (m *ChildWorkflowExecutionCompletedEventAttributes) GetWorkflowExecution() *WorkflowExecution { + if m != nil { + return m.WorkflowExecution + } + return nil +} + +func (m *ChildWorkflowExecutionCompletedEventAttributes) GetWorkflowType() *WorkflowType { + if m != nil { + return m.WorkflowType + } + return nil +} + +func (m *ChildWorkflowExecutionCompletedEventAttributes) GetInitiatedEventId() int64 { + if m != nil { + return m.InitiatedEventId + } + return 0 +} + +func (m *ChildWorkflowExecutionCompletedEventAttributes) GetStartedEventId() int64 { + if m != nil { + return m.StartedEventId + } + return 0 +} + +func (m *ChildWorkflowExecutionCompletedEventAttributes) GetResult() *Payload { + if m != nil { + return m.Result + } + return nil +} + +type ChildWorkflowExecutionFailedEventAttributes struct { + Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` + WorkflowExecution *WorkflowExecution `protobuf:"bytes,2,opt,name=workflow_execution,json=workflowExecution,proto3" json:"workflow_execution,omitempty"` + WorkflowType *WorkflowType `protobuf:"bytes,3,opt,name=workflow_type,json=workflowType,proto3" json:"workflow_type,omitempty"` + InitiatedEventId int64 `protobuf:"varint,4,opt,name=initiated_event_id,json=initiatedEventId,proto3" json:"initiated_event_id,omitempty"` + StartedEventId int64 `protobuf:"varint,5,opt,name=started_event_id,json=startedEventId,proto3" json:"started_event_id,omitempty"` + Failure *Failure `protobuf:"bytes,6,opt,name=failure,proto3" json:"failure,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ChildWorkflowExecutionFailedEventAttributes) Reset() { + *m = ChildWorkflowExecutionFailedEventAttributes{} +} +func (m *ChildWorkflowExecutionFailedEventAttributes) String() string { + return proto.CompactTextString(m) +} +func (*ChildWorkflowExecutionFailedEventAttributes) ProtoMessage() {} +func (*ChildWorkflowExecutionFailedEventAttributes) Descriptor() ([]byte, []int) { + return fileDescriptor_8237ca6511ad6c62, []int{40} +} +func (m *ChildWorkflowExecutionFailedEventAttributes) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ChildWorkflowExecutionFailedEventAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ChildWorkflowExecutionFailedEventAttributes.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ChildWorkflowExecutionFailedEventAttributes) XXX_Merge(src proto.Message) { + xxx_messageInfo_ChildWorkflowExecutionFailedEventAttributes.Merge(m, src) +} +func (m *ChildWorkflowExecutionFailedEventAttributes) XXX_Size() int { + return m.Size() +} +func (m *ChildWorkflowExecutionFailedEventAttributes) XXX_DiscardUnknown() { + xxx_messageInfo_ChildWorkflowExecutionFailedEventAttributes.DiscardUnknown(m) +} + +var xxx_messageInfo_ChildWorkflowExecutionFailedEventAttributes proto.InternalMessageInfo + +func (m *ChildWorkflowExecutionFailedEventAttributes) GetDomain() string { + if m != nil { + return m.Domain + } + return "" +} + +func (m *ChildWorkflowExecutionFailedEventAttributes) GetWorkflowExecution() *WorkflowExecution { + if m != nil { + return m.WorkflowExecution + } + return nil +} + +func (m *ChildWorkflowExecutionFailedEventAttributes) GetWorkflowType() *WorkflowType { + if m != nil { + return m.WorkflowType + } + return nil +} + +func (m *ChildWorkflowExecutionFailedEventAttributes) GetInitiatedEventId() int64 { + if m != nil { + return m.InitiatedEventId + } + return 0 +} + +func (m *ChildWorkflowExecutionFailedEventAttributes) GetStartedEventId() int64 { + if m != nil { + return m.StartedEventId + } + return 0 +} + +func (m *ChildWorkflowExecutionFailedEventAttributes) GetFailure() *Failure { + if m != nil { + return m.Failure + } + return nil +} + +type ChildWorkflowExecutionCanceledEventAttributes struct { + Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` + WorkflowExecution *WorkflowExecution `protobuf:"bytes,2,opt,name=workflow_execution,json=workflowExecution,proto3" json:"workflow_execution,omitempty"` + WorkflowType *WorkflowType `protobuf:"bytes,3,opt,name=workflow_type,json=workflowType,proto3" json:"workflow_type,omitempty"` + InitiatedEventId int64 `protobuf:"varint,4,opt,name=initiated_event_id,json=initiatedEventId,proto3" json:"initiated_event_id,omitempty"` + StartedEventId int64 `protobuf:"varint,5,opt,name=started_event_id,json=startedEventId,proto3" json:"started_event_id,omitempty"` + Details *Payload `protobuf:"bytes,6,opt,name=details,proto3" json:"details,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ChildWorkflowExecutionCanceledEventAttributes) Reset() { + *m = ChildWorkflowExecutionCanceledEventAttributes{} +} +func (m *ChildWorkflowExecutionCanceledEventAttributes) String() string { + return proto.CompactTextString(m) +} +func (*ChildWorkflowExecutionCanceledEventAttributes) ProtoMessage() {} +func (*ChildWorkflowExecutionCanceledEventAttributes) Descriptor() ([]byte, []int) { + return fileDescriptor_8237ca6511ad6c62, []int{41} +} +func (m *ChildWorkflowExecutionCanceledEventAttributes) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ChildWorkflowExecutionCanceledEventAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ChildWorkflowExecutionCanceledEventAttributes.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ChildWorkflowExecutionCanceledEventAttributes) XXX_Merge(src proto.Message) { + xxx_messageInfo_ChildWorkflowExecutionCanceledEventAttributes.Merge(m, src) +} +func (m *ChildWorkflowExecutionCanceledEventAttributes) XXX_Size() int { + return m.Size() +} +func (m *ChildWorkflowExecutionCanceledEventAttributes) XXX_DiscardUnknown() { + xxx_messageInfo_ChildWorkflowExecutionCanceledEventAttributes.DiscardUnknown(m) +} + +var xxx_messageInfo_ChildWorkflowExecutionCanceledEventAttributes proto.InternalMessageInfo + +func (m *ChildWorkflowExecutionCanceledEventAttributes) GetDomain() string { + if m != nil { + return m.Domain + } + return "" +} + +func (m *ChildWorkflowExecutionCanceledEventAttributes) GetWorkflowExecution() *WorkflowExecution { + if m != nil { + return m.WorkflowExecution + } + return nil +} + +func (m *ChildWorkflowExecutionCanceledEventAttributes) GetWorkflowType() *WorkflowType { + if m != nil { + return m.WorkflowType + } + return nil +} + +func (m *ChildWorkflowExecutionCanceledEventAttributes) GetInitiatedEventId() int64 { + if m != nil { + return m.InitiatedEventId + } + return 0 +} + +func (m *ChildWorkflowExecutionCanceledEventAttributes) GetStartedEventId() int64 { + if m != nil { + return m.StartedEventId + } + return 0 +} + +func (m *ChildWorkflowExecutionCanceledEventAttributes) GetDetails() *Payload { + if m != nil { + return m.Details + } + return nil +} + +type ChildWorkflowExecutionTimedOutEventAttributes struct { + Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` + WorkflowExecution *WorkflowExecution `protobuf:"bytes,2,opt,name=workflow_execution,json=workflowExecution,proto3" json:"workflow_execution,omitempty"` + WorkflowType *WorkflowType `protobuf:"bytes,3,opt,name=workflow_type,json=workflowType,proto3" json:"workflow_type,omitempty"` + InitiatedEventId int64 `protobuf:"varint,4,opt,name=initiated_event_id,json=initiatedEventId,proto3" json:"initiated_event_id,omitempty"` + StartedEventId int64 `protobuf:"varint,5,opt,name=started_event_id,json=startedEventId,proto3" json:"started_event_id,omitempty"` + TimeoutType TimeoutType `protobuf:"varint,6,opt,name=timeout_type,json=timeoutType,proto3,enum=uber.cadence.api.v1.TimeoutType" json:"timeout_type,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ChildWorkflowExecutionTimedOutEventAttributes) Reset() { + *m = ChildWorkflowExecutionTimedOutEventAttributes{} +} +func (m *ChildWorkflowExecutionTimedOutEventAttributes) String() string { + return proto.CompactTextString(m) +} +func (*ChildWorkflowExecutionTimedOutEventAttributes) ProtoMessage() {} +func (*ChildWorkflowExecutionTimedOutEventAttributes) Descriptor() ([]byte, []int) { + return fileDescriptor_8237ca6511ad6c62, []int{42} +} +func (m *ChildWorkflowExecutionTimedOutEventAttributes) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ChildWorkflowExecutionTimedOutEventAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ChildWorkflowExecutionTimedOutEventAttributes.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ChildWorkflowExecutionTimedOutEventAttributes) XXX_Merge(src proto.Message) { + xxx_messageInfo_ChildWorkflowExecutionTimedOutEventAttributes.Merge(m, src) +} +func (m *ChildWorkflowExecutionTimedOutEventAttributes) XXX_Size() int { + return m.Size() +} +func (m *ChildWorkflowExecutionTimedOutEventAttributes) XXX_DiscardUnknown() { + xxx_messageInfo_ChildWorkflowExecutionTimedOutEventAttributes.DiscardUnknown(m) +} + +var xxx_messageInfo_ChildWorkflowExecutionTimedOutEventAttributes proto.InternalMessageInfo + +func (m *ChildWorkflowExecutionTimedOutEventAttributes) GetDomain() string { + if m != nil { + return m.Domain + } + return "" +} + +func (m *ChildWorkflowExecutionTimedOutEventAttributes) GetWorkflowExecution() *WorkflowExecution { + if m != nil { + return m.WorkflowExecution + } + return nil +} + +func (m *ChildWorkflowExecutionTimedOutEventAttributes) GetWorkflowType() *WorkflowType { + if m != nil { + return m.WorkflowType + } + return nil +} + +func (m *ChildWorkflowExecutionTimedOutEventAttributes) GetInitiatedEventId() int64 { + if m != nil { + return m.InitiatedEventId + } + return 0 +} + +func (m *ChildWorkflowExecutionTimedOutEventAttributes) GetStartedEventId() int64 { + if m != nil { + return m.StartedEventId + } + return 0 +} + +func (m *ChildWorkflowExecutionTimedOutEventAttributes) GetTimeoutType() TimeoutType { + if m != nil { + return m.TimeoutType + } + return TimeoutType_TIMEOUT_TYPE_INVALID +} + +type ChildWorkflowExecutionTerminatedEventAttributes struct { + Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` + WorkflowExecution *WorkflowExecution `protobuf:"bytes,2,opt,name=workflow_execution,json=workflowExecution,proto3" json:"workflow_execution,omitempty"` + WorkflowType *WorkflowType `protobuf:"bytes,3,opt,name=workflow_type,json=workflowType,proto3" json:"workflow_type,omitempty"` + InitiatedEventId int64 `protobuf:"varint,4,opt,name=initiated_event_id,json=initiatedEventId,proto3" json:"initiated_event_id,omitempty"` + StartedEventId int64 `protobuf:"varint,5,opt,name=started_event_id,json=startedEventId,proto3" json:"started_event_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ChildWorkflowExecutionTerminatedEventAttributes) Reset() { + *m = ChildWorkflowExecutionTerminatedEventAttributes{} +} +func (m *ChildWorkflowExecutionTerminatedEventAttributes) String() string { + return proto.CompactTextString(m) +} +func (*ChildWorkflowExecutionTerminatedEventAttributes) ProtoMessage() {} +func (*ChildWorkflowExecutionTerminatedEventAttributes) Descriptor() ([]byte, []int) { + return fileDescriptor_8237ca6511ad6c62, []int{43} +} +func (m *ChildWorkflowExecutionTerminatedEventAttributes) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ChildWorkflowExecutionTerminatedEventAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ChildWorkflowExecutionTerminatedEventAttributes.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ChildWorkflowExecutionTerminatedEventAttributes) XXX_Merge(src proto.Message) { + xxx_messageInfo_ChildWorkflowExecutionTerminatedEventAttributes.Merge(m, src) +} +func (m *ChildWorkflowExecutionTerminatedEventAttributes) XXX_Size() int { + return m.Size() +} +func (m *ChildWorkflowExecutionTerminatedEventAttributes) XXX_DiscardUnknown() { + xxx_messageInfo_ChildWorkflowExecutionTerminatedEventAttributes.DiscardUnknown(m) +} + +var xxx_messageInfo_ChildWorkflowExecutionTerminatedEventAttributes proto.InternalMessageInfo + +func (m *ChildWorkflowExecutionTerminatedEventAttributes) GetDomain() string { + if m != nil { + return m.Domain + } + return "" +} + +func (m *ChildWorkflowExecutionTerminatedEventAttributes) GetWorkflowExecution() *WorkflowExecution { + if m != nil { + return m.WorkflowExecution + } + return nil +} + +func (m *ChildWorkflowExecutionTerminatedEventAttributes) GetWorkflowType() *WorkflowType { + if m != nil { + return m.WorkflowType + } + return nil +} + +func (m *ChildWorkflowExecutionTerminatedEventAttributes) GetInitiatedEventId() int64 { + if m != nil { + return m.InitiatedEventId + } + return 0 +} + +func (m *ChildWorkflowExecutionTerminatedEventAttributes) GetStartedEventId() int64 { + if m != nil { + return m.StartedEventId + } + return 0 +} + +func init() { + proto.RegisterEnum("uber.cadence.api.v1.EventFilterType", EventFilterType_name, EventFilterType_value) + proto.RegisterType((*History)(nil), "uber.cadence.api.v1.History") + proto.RegisterType((*HistoryEvent)(nil), "uber.cadence.api.v1.HistoryEvent") + proto.RegisterType((*WorkflowExecutionStartedEventAttributes)(nil), "uber.cadence.api.v1.WorkflowExecutionStartedEventAttributes") + proto.RegisterType((*WorkflowExecutionCompletedEventAttributes)(nil), "uber.cadence.api.v1.WorkflowExecutionCompletedEventAttributes") + proto.RegisterType((*WorkflowExecutionFailedEventAttributes)(nil), "uber.cadence.api.v1.WorkflowExecutionFailedEventAttributes") + proto.RegisterType((*WorkflowExecutionTimedOutEventAttributes)(nil), "uber.cadence.api.v1.WorkflowExecutionTimedOutEventAttributes") + proto.RegisterType((*DecisionTaskScheduledEventAttributes)(nil), "uber.cadence.api.v1.DecisionTaskScheduledEventAttributes") + proto.RegisterType((*DecisionTaskStartedEventAttributes)(nil), "uber.cadence.api.v1.DecisionTaskStartedEventAttributes") + proto.RegisterType((*DecisionTaskCompletedEventAttributes)(nil), "uber.cadence.api.v1.DecisionTaskCompletedEventAttributes") + proto.RegisterType((*DecisionTaskTimedOutEventAttributes)(nil), "uber.cadence.api.v1.DecisionTaskTimedOutEventAttributes") + proto.RegisterType((*DecisionTaskFailedEventAttributes)(nil), "uber.cadence.api.v1.DecisionTaskFailedEventAttributes") + proto.RegisterType((*ActivityTaskScheduledEventAttributes)(nil), "uber.cadence.api.v1.ActivityTaskScheduledEventAttributes") + proto.RegisterType((*ActivityTaskStartedEventAttributes)(nil), "uber.cadence.api.v1.ActivityTaskStartedEventAttributes") + proto.RegisterType((*ActivityTaskCompletedEventAttributes)(nil), "uber.cadence.api.v1.ActivityTaskCompletedEventAttributes") + proto.RegisterType((*ActivityTaskFailedEventAttributes)(nil), "uber.cadence.api.v1.ActivityTaskFailedEventAttributes") + proto.RegisterType((*ActivityTaskTimedOutEventAttributes)(nil), "uber.cadence.api.v1.ActivityTaskTimedOutEventAttributes") + proto.RegisterType((*ActivityTaskCancelRequestedEventAttributes)(nil), "uber.cadence.api.v1.ActivityTaskCancelRequestedEventAttributes") + proto.RegisterType((*RequestCancelActivityTaskFailedEventAttributes)(nil), "uber.cadence.api.v1.RequestCancelActivityTaskFailedEventAttributes") + proto.RegisterType((*ActivityTaskCanceledEventAttributes)(nil), "uber.cadence.api.v1.ActivityTaskCanceledEventAttributes") + proto.RegisterType((*TimerStartedEventAttributes)(nil), "uber.cadence.api.v1.TimerStartedEventAttributes") + proto.RegisterType((*TimerFiredEventAttributes)(nil), "uber.cadence.api.v1.TimerFiredEventAttributes") + proto.RegisterType((*TimerCanceledEventAttributes)(nil), "uber.cadence.api.v1.TimerCanceledEventAttributes") + proto.RegisterType((*CancelTimerFailedEventAttributes)(nil), "uber.cadence.api.v1.CancelTimerFailedEventAttributes") + proto.RegisterType((*WorkflowExecutionContinuedAsNewEventAttributes)(nil), "uber.cadence.api.v1.WorkflowExecutionContinuedAsNewEventAttributes") + proto.RegisterType((*WorkflowExecutionCancelRequestedEventAttributes)(nil), "uber.cadence.api.v1.WorkflowExecutionCancelRequestedEventAttributes") + proto.RegisterType((*WorkflowExecutionCanceledEventAttributes)(nil), "uber.cadence.api.v1.WorkflowExecutionCanceledEventAttributes") + proto.RegisterType((*MarkerRecordedEventAttributes)(nil), "uber.cadence.api.v1.MarkerRecordedEventAttributes") + proto.RegisterType((*WorkflowExecutionSignaledEventAttributes)(nil), "uber.cadence.api.v1.WorkflowExecutionSignaledEventAttributes") + proto.RegisterType((*WorkflowExecutionTerminatedEventAttributes)(nil), "uber.cadence.api.v1.WorkflowExecutionTerminatedEventAttributes") + proto.RegisterType((*RequestCancelExternalWorkflowExecutionInitiatedEventAttributes)(nil), "uber.cadence.api.v1.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes") + proto.RegisterType((*RequestCancelExternalWorkflowExecutionFailedEventAttributes)(nil), "uber.cadence.api.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes") + proto.RegisterType((*ExternalWorkflowExecutionCancelRequestedEventAttributes)(nil), "uber.cadence.api.v1.ExternalWorkflowExecutionCancelRequestedEventAttributes") + proto.RegisterType((*SignalExternalWorkflowExecutionInitiatedEventAttributes)(nil), "uber.cadence.api.v1.SignalExternalWorkflowExecutionInitiatedEventAttributes") + proto.RegisterType((*SignalExternalWorkflowExecutionFailedEventAttributes)(nil), "uber.cadence.api.v1.SignalExternalWorkflowExecutionFailedEventAttributes") + proto.RegisterType((*ExternalWorkflowExecutionSignaledEventAttributes)(nil), "uber.cadence.api.v1.ExternalWorkflowExecutionSignaledEventAttributes") + proto.RegisterType((*UpsertWorkflowSearchAttributesEventAttributes)(nil), "uber.cadence.api.v1.UpsertWorkflowSearchAttributesEventAttributes") + proto.RegisterType((*StartChildWorkflowExecutionInitiatedEventAttributes)(nil), "uber.cadence.api.v1.StartChildWorkflowExecutionInitiatedEventAttributes") + proto.RegisterType((*StartChildWorkflowExecutionFailedEventAttributes)(nil), "uber.cadence.api.v1.StartChildWorkflowExecutionFailedEventAttributes") + proto.RegisterType((*ChildWorkflowExecutionStartedEventAttributes)(nil), "uber.cadence.api.v1.ChildWorkflowExecutionStartedEventAttributes") + proto.RegisterType((*ChildWorkflowExecutionCompletedEventAttributes)(nil), "uber.cadence.api.v1.ChildWorkflowExecutionCompletedEventAttributes") + proto.RegisterType((*ChildWorkflowExecutionFailedEventAttributes)(nil), "uber.cadence.api.v1.ChildWorkflowExecutionFailedEventAttributes") + proto.RegisterType((*ChildWorkflowExecutionCanceledEventAttributes)(nil), "uber.cadence.api.v1.ChildWorkflowExecutionCanceledEventAttributes") + proto.RegisterType((*ChildWorkflowExecutionTimedOutEventAttributes)(nil), "uber.cadence.api.v1.ChildWorkflowExecutionTimedOutEventAttributes") + proto.RegisterType((*ChildWorkflowExecutionTerminatedEventAttributes)(nil), "uber.cadence.api.v1.ChildWorkflowExecutionTerminatedEventAttributes") +} + +func init() { proto.RegisterFile("uber/cadence/api/v1/history.proto", fileDescriptor_8237ca6511ad6c62) } + +var fileDescriptor_8237ca6511ad6c62 = []byte{ + // 3609 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x5c, 0x5f, 0x6c, 0x1c, 0x57, + 0xd5, 0xef, 0xdd, 0xb5, 0x77, 0xbd, 0x67, 0x1d, 0xc7, 0xbe, 0x49, 0x1c, 0x3b, 0x7f, 0x9d, 0x49, + 0x9a, 0xb8, 0x8e, 0xb3, 0x4e, 0x9c, 0x34, 0xf9, 0xd2, 0x7c, 0x6d, 0x3f, 0xc7, 0xb1, 0xd5, 0x95, + 0xfc, 0x25, 0xd6, 0xc4, 0x49, 0x01, 0x21, 0x2d, 0xe3, 0x9d, 0xeb, 0x78, 0xe4, 0xdd, 0x9d, 0xed, + 0xcc, 0xac, 0x37, 0x46, 0xe2, 0x89, 0x07, 0x24, 0xd4, 0x0a, 0xaa, 0x0a, 0x89, 0x0a, 0x10, 0x08, + 0x09, 0xd4, 0x22, 0xa4, 0x22, 0x10, 0x02, 0xc4, 0x0b, 0x20, 0x21, 0x2a, 0x81, 0x4a, 0x9f, 0x78, + 0xe1, 0x81, 0xaa, 0xe2, 0x81, 0xbe, 0xf1, 0x40, 0x79, 0x43, 0x42, 0x73, 0xe7, 0xce, 0xee, 0xce, + 0xcc, 0xbd, 0x33, 0x77, 0xd6, 0x4e, 0x0b, 0x6a, 0xde, 0x3c, 0x77, 0xce, 0x3d, 0xf3, 0xbb, 0xe7, + 0x9e, 0x73, 0xee, 0xb9, 0xe7, 0x9c, 0x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82, 0x69, 0x9d, 0x54, 0x0d, 0x9b, 0x02, 0x73, 0xb5, 0xd4, 0xae, 0x6e, 0x12, + 0xbd, 0xc5, 0x15, 0x5e, 0x81, 0xa2, 0xbb, 0xce, 0x45, 0x77, 0x8b, 0x31, 0x59, 0xd3, 0xec, 0xad, + 0xbb, 0x3e, 0x8b, 0x28, 0xb2, 0x33, 0xba, 0x04, 0x1d, 0x7e, 0x05, 0xc1, 0xd9, 0x10, 0x2a, 0x91, + 0x4d, 0x00, 0xc5, 0x74, 0x2d, 0x19, 0x93, 0xc8, 0x1c, 0x14, 0x3d, 0x91, 0x8a, 0x23, 0xa5, 0x18, + 0x23, 0x28, 0x4a, 0x4a, 0x29, 0x46, 0xff, 0x03, 0x52, 0x12, 0xaa, 0xfe, 0xab, 0x11, 0x54, 0x31, + 0x9a, 0x35, 0x4c, 0x51, 0xfd, 0x4f, 0x22, 0x2a, 0xb1, 0x52, 0x9d, 0xd6, 0x93, 0xc9, 0xf0, 0x97, + 0x11, 0x3c, 0x19, 0xc4, 0x24, 0xb2, 0xc4, 0x7d, 0x14, 0xd0, 0xd5, 0x44, 0x40, 0x22, 0x23, 0x3c, + 0xa5, 0x27, 0x11, 0xd1, 0x6d, 0xd3, 0xaa, 0x8e, 0xb1, 0x6d, 0x38, 0x3b, 0x89, 0xca, 0x3d, 0x12, + 0xb3, 0x6d, 0x0b, 0x8c, 0x49, 0x92, 0x72, 0x6b, 0x12, 0x74, 0x54, 0xb9, 0x43, 0xa8, 0x44, 0xca, + 0xbd, 0x3f, 0x46, 0xb9, 0x03, 0x98, 0x84, 0xca, 0xad, 0x25, 0x52, 0x71, 0xa4, 0x14, 0xa3, 0xdc, + 0xa3, 0x92, 0x52, 0x8a, 0x53, 0x6e, 0x4d, 0x82, 0x8e, 0x2a, 0x52, 0x10, 0x95, 0x48, 0x91, 0xc6, + 0x62, 0x14, 0xa9, 0x17, 0x92, 0x50, 0x91, 0xb4, 0x24, 0x22, 0x6a, 0x69, 0x41, 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x73, 0x14, 0xf1, 0xff, 0xa5, 0x40, 0x2c, 0x52, 0x8a, 0xf3, 0xd5, 0x14, 0xfa, 0xf0, 0x16, + 0x82, 0x79, 0xb1, 0x80, 0x85, 0x87, 0xf0, 0x34, 0x45, 0x7b, 0x33, 0x8d, 0x7c, 0x85, 0x27, 0xf1, + 0x85, 0x6a, 0x9a, 0x09, 0xf8, 0x47, 0x71, 0x2a, 0x11, 0x73, 0x69, 0x7e, 0x2a, 0x35, 0x64, 0xf1, + 0xf5, 0x59, 0x00, 0x59, 0x74, 0x91, 0x76, 0x63, 0x33, 0x31, 0xe4, 0x98, 0x48, 0x72, 0x26, 0x26, + 0x36, 0x13, 0x60, 0x8e, 0x09, 0x27, 0xe7, 0xaa, 0xe9, 0xa6, 0xd0, 0x43, 0xd3, 0x0b, 0xc5, 0xfb, + 0x8d, 0x78, 0xce, 0xc7, 0x1c, 0x9a, 0x5e, 0xc4, 0xdd, 0x4f, 0xa8, 0x73, 0xcd, 0xee, 0x6f, 0x2a, + 0xfe, 0x2d, 0x82, 0x67, 0x24, 0x16, 0x24, 0xb2, 0xd1, 0x59, 0xba, 0x9a, 0x72, 0x3f, 0xab, 0x11, + 0x19, 0xeb, 0x15, 0xbb, 0x8f, 0x79, 0xf8, 0xe7, 0x08, 0x9e, 0x8e, 0x5b, 0x80, 0xf8, 0xfe, 0x74, + 0x21, 0xe6, 0x00, 0x12, 0x82, 0x10, 0xdf, 0xa3, 0x2e, 0x92, 0x94, 0x73, 0xa8, 0xc3, 0x69, 0x35, + 0x6d, 0x62, 0x39, 0x5d, 0xe0, 0x36, 0xd1, 0xac, 0xea, 0x66, 0x0f, 0xcc, 0x28, 0xee, 0x52, 0x8c, + 0xf5, 0xde, 0xa3, 0xec, 0x7c, 0x04, 0x77, 0x29, 0xb3, 0xee, 0x17, 0x39, 0xd6, 0xdb, 0x4a, 0x33, + 0xe1, 0xe6, 0x30, 0x40, 0x17, 0x88, 0xf2, 0x5e, 0x11, 0xce, 0xc9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 0xae, 0xd4, 0x96, + 0x75, 0xe5, 0x0d, 0x04, 0x67, 0x25, 0x83, 0x86, 0xab, 0x90, 0xf7, 0x3d, 0x05, 0x92, 0xf0, 0x14, + 0x3e, 0xf1, 0x9e, 0x41, 0x35, 0x61, 0x5a, 0x3a, 0x62, 0x5e, 0x84, 0x61, 0xe6, 0xac, 0xbb, 0x07, + 0xe7, 0x88, 0x40, 0x09, 0x98, 0x6f, 0xa6, 0xe7, 0x66, 0xd1, 0xe9, 0x3e, 0x28, 0x7f, 0x40, 0x70, + 0x46, 0xa6, 0x69, 0x20, 0x78, 0x02, 0xa2, 0x74, 0x27, 0xe0, 0x6d, 0x18, 0x17, 0x9c, 0x32, 0x99, + 0x24, 0x83, 0x3c, 0x60, 0x73, 0x4e, 0x98, 0x1e, 0x4f, 0x93, 0x0d, 0x78, 0x1a, 0xe5, 0x15, 0x04, + 0x4a, 0x72, 0xbf, 0x01, 0x9e, 0x05, 0x1c, 0xae, 0x41, 0x77, 0xba, 0x90, 0x46, 0xed, 0x80, 0x08, + 0x42, 0xee, 0x36, 0x13, 0x72, 0xb7, 0xc7, 0x01, 0xfc, 0x84, 0xa0, 0xa1, 0x53, 0x34, 0x05, 0xb5, + 0xc0, 0x46, 0xca, 0xba, 0xf2, 0xf7, 0x90, 0x78, 0x85, 0x16, 0x92, 0x0e, 0xd1, 0x34, 0x8c, 0x06, + 0xf3, 0x10, 0x1d, 0xf5, 0x1a, 0xb1, 0x7b, 0x56, 0x1c, 0xc2, 0x9e, 0x0d, 0x61, 0x3f, 0x07, 0xfb, + 0xd7, 0x8d, 0x86, 0x66, 0xed, 0x54, 0xaa, 0x9b, 0xa4, 0xba, 0x65, 0xb7, 0xea, 0x34, 0x44, 0x29, + 0xa8, 0x23, 0xde, 0xf0, 0x22, 0x1b, 0xc5, 0xe7, 0x61, 0x2c, 0x98, 0x3d, 0x23, 0x0f, 0xbd, 0xf0, + 0x63, 0x58, 0x1d, 0x25, 0xbd, 0x49, 0x2d, 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e, 0xe1, 0x55, 0x00, 0x00, +} + +func (m *History) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *History) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *History) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.Events) > 0 { + for iNdEx := len(m.Events) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Events[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *HistoryEvent) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *HistoryEvent) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *HistoryEvent) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.Attributes != nil { + { + size := m.Attributes.Size() + i -= size + if _, err := m.Attributes.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + } + } + if m.TaskId != 0 { + i = encodeVarintHistory(dAtA, i, uint64(m.TaskId)) + i-- + dAtA[i] = 0x20 + } + if m.Version != 0 { + i = encodeVarintHistory(dAtA, i, uint64(m.Version)) + i-- + dAtA[i] = 0x18 + } + if m.EventTime != nil { + { + size, err := m.EventTime.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if m.EventId != 0 { + i = encodeVarintHistory(dAtA, i, uint64(m.EventId)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *HistoryEvent_WorkflowExecutionStartedEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *HistoryEvent_WorkflowExecutionStartedEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.WorkflowExecutionStartedEventAttributes != nil { + { + size, err := m.WorkflowExecutionStartedEventAttributes.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a + } + return len(dAtA) - i, nil +} +func (m *HistoryEvent_WorkflowExecutionCompletedEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *HistoryEvent_WorkflowExecutionCompletedEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.WorkflowExecutionCompletedEventAttributes != nil { + { + size, err := m.WorkflowExecutionCompletedEventAttributes.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x32 + } + return len(dAtA) - i, nil +} +func (m *HistoryEvent_WorkflowExecutionFailedEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *HistoryEvent_WorkflowExecutionFailedEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.WorkflowExecutionFailedEventAttributes != nil { + { + size, err := m.WorkflowExecutionFailedEventAttributes.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x3a + } + return len(dAtA) - i, nil +} +func (m *HistoryEvent_WorkflowExecutionTimedOutEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *HistoryEvent_WorkflowExecutionTimedOutEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.WorkflowExecutionTimedOutEventAttributes != nil { + { + size, err := m.WorkflowExecutionTimedOutEventAttributes.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x42 + } + return len(dAtA) - i, nil +} +func (m *HistoryEvent_DecisionTaskScheduledEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *HistoryEvent_DecisionTaskScheduledEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.DecisionTaskScheduledEventAttributes != nil { + { + size, err := m.DecisionTaskScheduledEventAttributes.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x4a + } + return len(dAtA) - i, nil +} +func (m *HistoryEvent_DecisionTaskStartedEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *HistoryEvent_DecisionTaskStartedEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.DecisionTaskStartedEventAttributes != nil { + { + size, err := m.DecisionTaskStartedEventAttributes.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x52 + } + return len(dAtA) - i, nil +} +func (m *HistoryEvent_DecisionTaskCompletedEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *HistoryEvent_DecisionTaskCompletedEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.DecisionTaskCompletedEventAttributes != nil { + { + size, err := m.DecisionTaskCompletedEventAttributes.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x5a + } + return len(dAtA) - i, nil +} +func (m *HistoryEvent_DecisionTaskTimedOutEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *HistoryEvent_DecisionTaskTimedOutEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.DecisionTaskTimedOutEventAttributes != nil { + { + size, err := m.DecisionTaskTimedOutEventAttributes.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x62 + } + return len(dAtA) - i, nil +} +func (m *HistoryEvent_DecisionTaskFailedEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *HistoryEvent_DecisionTaskFailedEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.DecisionTaskFailedEventAttributes != nil { + { + size, err := m.DecisionTaskFailedEventAttributes.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x6a + } + return len(dAtA) - i, nil +} +func (m *HistoryEvent_ActivityTaskScheduledEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *HistoryEvent_ActivityTaskScheduledEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.ActivityTaskScheduledEventAttributes != nil { + { + size, err := m.ActivityTaskScheduledEventAttributes.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x72 + } + return len(dAtA) - i, nil +} +func (m *HistoryEvent_ActivityTaskStartedEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *HistoryEvent_ActivityTaskStartedEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.ActivityTaskStartedEventAttributes != nil { + { + size, err := m.ActivityTaskStartedEventAttributes.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x7a + } + return len(dAtA) - i, nil +} +func (m *HistoryEvent_ActivityTaskCompletedEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *HistoryEvent_ActivityTaskCompletedEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.ActivityTaskCompletedEventAttributes != nil { + { + size, err := m.ActivityTaskCompletedEventAttributes.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x82 + } + return len(dAtA) - i, nil +} +func (m *HistoryEvent_ActivityTaskFailedEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *HistoryEvent_ActivityTaskFailedEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.ActivityTaskFailedEventAttributes != nil { + { + size, err := m.ActivityTaskFailedEventAttributes.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x8a + } + return len(dAtA) - i, nil +} +func (m *HistoryEvent_ActivityTaskTimedOutEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *HistoryEvent_ActivityTaskTimedOutEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.ActivityTaskTimedOutEventAttributes != nil { + { + size, err := m.ActivityTaskTimedOutEventAttributes.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x92 + } + return len(dAtA) - i, nil +} +func (m *HistoryEvent_TimerStartedEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *HistoryEvent_TimerStartedEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.TimerStartedEventAttributes != nil { + { + size, err := m.TimerStartedEventAttributes.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x9a + } + return len(dAtA) - i, nil +} +func (m *HistoryEvent_TimerFiredEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *HistoryEvent_TimerFiredEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.TimerFiredEventAttributes != nil { + { + size, err := m.TimerFiredEventAttributes.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xa2 + } + return len(dAtA) - i, nil +} +func (m *HistoryEvent_ActivityTaskCancelRequestedEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *HistoryEvent_ActivityTaskCancelRequestedEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.ActivityTaskCancelRequestedEventAttributes != nil { + { + size, err := m.ActivityTaskCancelRequestedEventAttributes.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xaa + } + return len(dAtA) - i, nil +} +func (m *HistoryEvent_RequestCancelActivityTaskFailedEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *HistoryEvent_RequestCancelActivityTaskFailedEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.RequestCancelActivityTaskFailedEventAttributes != nil { + { + size, err := m.RequestCancelActivityTaskFailedEventAttributes.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xb2 + } + return len(dAtA) - i, nil +} +func (m *HistoryEvent_ActivityTaskCanceledEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *HistoryEvent_ActivityTaskCanceledEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.ActivityTaskCanceledEventAttributes != nil { + { + size, err := m.ActivityTaskCanceledEventAttributes.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xba + } + return len(dAtA) - i, nil +} +func (m *HistoryEvent_TimerCanceledEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *HistoryEvent_TimerCanceledEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.TimerCanceledEventAttributes != nil { + { + size, err := m.TimerCanceledEventAttributes.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xc2 + } + return len(dAtA) - i, nil +} +func (m *HistoryEvent_CancelTimerFailedEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *HistoryEvent_CancelTimerFailedEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.CancelTimerFailedEventAttributes != nil { + { + size, err := m.CancelTimerFailedEventAttributes.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xca + } + return len(dAtA) - i, nil +} +func (m *HistoryEvent_MarkerRecordedEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *HistoryEvent_MarkerRecordedEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.MarkerRecordedEventAttributes != nil { + { + size, err := m.MarkerRecordedEventAttributes.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xd2 + } + return len(dAtA) - i, nil +} +func (m *HistoryEvent_WorkflowExecutionSignaledEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *HistoryEvent_WorkflowExecutionSignaledEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.WorkflowExecutionSignaledEventAttributes != nil { + { + size, err := m.WorkflowExecutionSignaledEventAttributes.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xda + } + return len(dAtA) - i, nil +} +func (m *HistoryEvent_WorkflowExecutionTerminatedEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *HistoryEvent_WorkflowExecutionTerminatedEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.WorkflowExecutionTerminatedEventAttributes != nil { + { + size, err := m.WorkflowExecutionTerminatedEventAttributes.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xe2 + } + return len(dAtA) - i, nil +} +func (m *HistoryEvent_WorkflowExecutionCancelRequestedEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *HistoryEvent_WorkflowExecutionCancelRequestedEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.WorkflowExecutionCancelRequestedEventAttributes != nil { + { + size, err := m.WorkflowExecutionCancelRequestedEventAttributes.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xea + } + return len(dAtA) - i, nil +} +func (m *HistoryEvent_WorkflowExecutionCanceledEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *HistoryEvent_WorkflowExecutionCanceledEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.WorkflowExecutionCanceledEventAttributes != nil { + { + size, err := m.WorkflowExecutionCanceledEventAttributes.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xf2 + } + return len(dAtA) - i, nil +} +func (m *HistoryEvent_RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *HistoryEvent_RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes != nil { + { + size, err := m.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xfa + } + return len(dAtA) - i, nil +} +func (m *HistoryEvent_RequestCancelExternalWorkflowExecutionFailedEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *HistoryEvent_RequestCancelExternalWorkflowExecutionFailedEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.RequestCancelExternalWorkflowExecutionFailedEventAttributes != nil { + { + size, err := m.RequestCancelExternalWorkflowExecutionFailedEventAttributes.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0x82 + } + return len(dAtA) - i, nil +} +func (m *HistoryEvent_ExternalWorkflowExecutionCancelRequestedEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *HistoryEvent_ExternalWorkflowExecutionCancelRequestedEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.ExternalWorkflowExecutionCancelRequestedEventAttributes != nil { + { + size, err := m.ExternalWorkflowExecutionCancelRequestedEventAttributes.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0x8a + } + return len(dAtA) - i, nil +} +func (m *HistoryEvent_WorkflowExecutionContinuedAsNewEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *HistoryEvent_WorkflowExecutionContinuedAsNewEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.WorkflowExecutionContinuedAsNewEventAttributes != nil { + { + size, err := m.WorkflowExecutionContinuedAsNewEventAttributes.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0x92 + } + return len(dAtA) - i, nil +} +func (m *HistoryEvent_StartChildWorkflowExecutionInitiatedEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *HistoryEvent_StartChildWorkflowExecutionInitiatedEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.StartChildWorkflowExecutionInitiatedEventAttributes != nil { + { + size, err := m.StartChildWorkflowExecutionInitiatedEventAttributes.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0x9a + } + return len(dAtA) - i, nil +} +func (m *HistoryEvent_StartChildWorkflowExecutionFailedEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *HistoryEvent_StartChildWorkflowExecutionFailedEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.StartChildWorkflowExecutionFailedEventAttributes != nil { + { + size, err := m.StartChildWorkflowExecutionFailedEventAttributes.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xa2 + } + return len(dAtA) - i, nil +} +func (m *HistoryEvent_ChildWorkflowExecutionStartedEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *HistoryEvent_ChildWorkflowExecutionStartedEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.ChildWorkflowExecutionStartedEventAttributes != nil { + { + size, err := m.ChildWorkflowExecutionStartedEventAttributes.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xaa + } + return len(dAtA) - i, nil +} +func (m *HistoryEvent_ChildWorkflowExecutionCompletedEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *HistoryEvent_ChildWorkflowExecutionCompletedEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.ChildWorkflowExecutionCompletedEventAttributes != nil { + { + size, err := m.ChildWorkflowExecutionCompletedEventAttributes.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xb2 + } + return len(dAtA) - i, nil +} +func (m *HistoryEvent_ChildWorkflowExecutionFailedEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *HistoryEvent_ChildWorkflowExecutionFailedEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.ChildWorkflowExecutionFailedEventAttributes != nil { + { + size, err := m.ChildWorkflowExecutionFailedEventAttributes.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xba + } + return len(dAtA) - i, nil +} +func (m *HistoryEvent_ChildWorkflowExecutionCanceledEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *HistoryEvent_ChildWorkflowExecutionCanceledEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.ChildWorkflowExecutionCanceledEventAttributes != nil { + { + size, err := m.ChildWorkflowExecutionCanceledEventAttributes.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xc2 + } + return len(dAtA) - i, nil +} +func (m *HistoryEvent_ChildWorkflowExecutionTimedOutEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *HistoryEvent_ChildWorkflowExecutionTimedOutEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.ChildWorkflowExecutionTimedOutEventAttributes != nil { + { + size, err := m.ChildWorkflowExecutionTimedOutEventAttributes.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xca + } + return len(dAtA) - i, nil +} +func (m *HistoryEvent_ChildWorkflowExecutionTerminatedEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *HistoryEvent_ChildWorkflowExecutionTerminatedEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.ChildWorkflowExecutionTerminatedEventAttributes != nil { + { + size, err := m.ChildWorkflowExecutionTerminatedEventAttributes.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xd2 + } + return len(dAtA) - i, nil +} +func (m *HistoryEvent_SignalExternalWorkflowExecutionInitiatedEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *HistoryEvent_SignalExternalWorkflowExecutionInitiatedEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.SignalExternalWorkflowExecutionInitiatedEventAttributes != nil { + { + size, err := m.SignalExternalWorkflowExecutionInitiatedEventAttributes.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xda + } + return len(dAtA) - i, nil +} +func (m *HistoryEvent_SignalExternalWorkflowExecutionFailedEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *HistoryEvent_SignalExternalWorkflowExecutionFailedEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.SignalExternalWorkflowExecutionFailedEventAttributes != nil { + { + size, err := m.SignalExternalWorkflowExecutionFailedEventAttributes.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xe2 + } + return len(dAtA) - i, nil +} +func (m *HistoryEvent_ExternalWorkflowExecutionSignaledEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *HistoryEvent_ExternalWorkflowExecutionSignaledEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.ExternalWorkflowExecutionSignaledEventAttributes != nil { + { + size, err := m.ExternalWorkflowExecutionSignaledEventAttributes.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xea + } + return len(dAtA) - i, nil +} +func (m *HistoryEvent_UpsertWorkflowSearchAttributesEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *HistoryEvent_UpsertWorkflowSearchAttributesEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.UpsertWorkflowSearchAttributesEventAttributes != nil { + { + size, err := m.UpsertWorkflowSearchAttributesEventAttributes.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xf2 + } + return len(dAtA) - i, nil +} +func (m *WorkflowExecutionStartedEventAttributes) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *WorkflowExecutionStartedEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *WorkflowExecutionStartedEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.Header != nil { + { + size, err := m.Header.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xb2 + } + if m.PrevAutoResetPoints != nil { + { + size, err := m.PrevAutoResetPoints.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xaa + } + if m.SearchAttributes != nil { + { + size, err := m.SearchAttributes.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xa2 + } + if m.Memo != nil { + { + size, err := m.Memo.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x9a + } + if m.FirstDecisionTaskBackoff != nil { + { + size, err := m.FirstDecisionTaskBackoff.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x92 + } + if len(m.CronSchedule) > 0 { + i -= len(m.CronSchedule) + copy(dAtA[i:], m.CronSchedule) + i = encodeVarintHistory(dAtA, i, uint64(len(m.CronSchedule))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x8a + } + if m.ExpirationTime != nil { + { + size, err := m.ExpirationTime.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x82 + } + if m.Attempt != 0 { + i = encodeVarintHistory(dAtA, i, uint64(m.Attempt)) + i-- + dAtA[i] = 0x78 + } + if m.RetryPolicy != nil { + { + size, err := m.RetryPolicy.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x72 + } + if len(m.FirstExecutionRunId) > 0 { + i -= len(m.FirstExecutionRunId) + copy(dAtA[i:], m.FirstExecutionRunId) + i = encodeVarintHistory(dAtA, i, uint64(len(m.FirstExecutionRunId))) + i-- + dAtA[i] = 0x6a + } + if len(m.Identity) > 0 { + i -= len(m.Identity) + copy(dAtA[i:], m.Identity) + i = encodeVarintHistory(dAtA, i, uint64(len(m.Identity))) + i-- + dAtA[i] = 0x62 + } + if len(m.OriginalExecutionRunId) > 0 { + i -= len(m.OriginalExecutionRunId) + copy(dAtA[i:], m.OriginalExecutionRunId) + i = encodeVarintHistory(dAtA, i, uint64(len(m.OriginalExecutionRunId))) + i-- + dAtA[i] = 0x5a + } + if m.LastCompletionResult != nil { + { + size, err := m.LastCompletionResult.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x52 + } + if m.ContinuedFailure != nil { + { + size, err := m.ContinuedFailure.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x4a + } + if m.Initiator != 0 { + i = encodeVarintHistory(dAtA, i, uint64(m.Initiator)) + i-- + dAtA[i] = 0x40 + } + if len(m.ContinuedExecutionRunId) > 0 { + i -= len(m.ContinuedExecutionRunId) + copy(dAtA[i:], m.ContinuedExecutionRunId) + i = encodeVarintHistory(dAtA, i, uint64(len(m.ContinuedExecutionRunId))) + i-- + dAtA[i] = 0x3a + } + if m.TaskStartToCloseTimeout != nil { + { + size, err := m.TaskStartToCloseTimeout.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x32 + } + if m.ExecutionStartToCloseTimeout != nil { + { + size, err := m.ExecutionStartToCloseTimeout.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a + } + if m.Input != nil { + { + size, err := m.Input.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 + } + if m.TaskList != nil { + { + size, err := m.TaskList.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + if m.ParentExecutionInfo != nil { + { + size, err := m.ParentExecutionInfo.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if m.WorkflowType != nil { + { + size, err := m.WorkflowType.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *WorkflowExecutionCompletedEventAttributes) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *WorkflowExecutionCompletedEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *WorkflowExecutionCompletedEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.DecisionTaskCompletedEventId != 0 { + i = encodeVarintHistory(dAtA, i, uint64(m.DecisionTaskCompletedEventId)) + i-- + dAtA[i] = 0x10 + } + if m.Result != nil { + { + size, err := m.Result.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *WorkflowExecutionFailedEventAttributes) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *WorkflowExecutionFailedEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *WorkflowExecutionFailedEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.DecisionTaskCompletedEventId != 0 { + i = encodeVarintHistory(dAtA, i, uint64(m.DecisionTaskCompletedEventId)) + i-- + dAtA[i] = 0x10 + } + if m.Failure != nil { + { + size, err := m.Failure.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *WorkflowExecutionTimedOutEventAttributes) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *WorkflowExecutionTimedOutEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *WorkflowExecutionTimedOutEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.TimeoutType != 0 { + i = encodeVarintHistory(dAtA, i, uint64(m.TimeoutType)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *DecisionTaskScheduledEventAttributes) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *DecisionTaskScheduledEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *DecisionTaskScheduledEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.Attempt != 0 { + i = encodeVarintHistory(dAtA, i, uint64(m.Attempt)) + i-- + dAtA[i] = 0x18 + } + if m.StartToCloseTimeout != nil { + { + size, err := m.StartToCloseTimeout.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if m.TaskList != nil { + { + size, err := m.TaskList.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *DecisionTaskStartedEventAttributes) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *DecisionTaskStartedEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *DecisionTaskStartedEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.RequestId) > 0 { + i -= len(m.RequestId) + copy(dAtA[i:], m.RequestId) + i = encodeVarintHistory(dAtA, i, uint64(len(m.RequestId))) + i-- + dAtA[i] = 0x1a + } + if len(m.Identity) > 0 { + i -= len(m.Identity) + copy(dAtA[i:], m.Identity) + i = encodeVarintHistory(dAtA, i, uint64(len(m.Identity))) + i-- + dAtA[i] = 0x12 + } + if m.ScheduledEventId != 0 { + i = encodeVarintHistory(dAtA, i, uint64(m.ScheduledEventId)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *DecisionTaskCompletedEventAttributes) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *DecisionTaskCompletedEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *DecisionTaskCompletedEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.ExecutionContext) > 0 { + i -= len(m.ExecutionContext) + copy(dAtA[i:], m.ExecutionContext) + i = encodeVarintHistory(dAtA, i, uint64(len(m.ExecutionContext))) + i-- + dAtA[i] = 0x2a + } + if len(m.BinaryChecksum) > 0 { + i -= len(m.BinaryChecksum) + copy(dAtA[i:], m.BinaryChecksum) + i = encodeVarintHistory(dAtA, i, uint64(len(m.BinaryChecksum))) + i-- + dAtA[i] = 0x22 + } + if len(m.Identity) > 0 { + i -= len(m.Identity) + copy(dAtA[i:], m.Identity) + i = encodeVarintHistory(dAtA, i, uint64(len(m.Identity))) + i-- + dAtA[i] = 0x1a + } + if m.StartedEventId != 0 { + i = encodeVarintHistory(dAtA, i, uint64(m.StartedEventId)) + i-- + dAtA[i] = 0x10 + } + if m.ScheduledEventId != 0 { + i = encodeVarintHistory(dAtA, i, uint64(m.ScheduledEventId)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *DecisionTaskTimedOutEventAttributes) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *DecisionTaskTimedOutEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *DecisionTaskTimedOutEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.Cause != 0 { + i = encodeVarintHistory(dAtA, i, uint64(m.Cause)) + i-- + dAtA[i] = 0x40 + } + if len(m.Reason) > 0 { + i -= len(m.Reason) + copy(dAtA[i:], m.Reason) + i = encodeVarintHistory(dAtA, i, uint64(len(m.Reason))) + i-- + dAtA[i] = 0x3a + } + if m.ForkEventVersion != 0 { + i = encodeVarintHistory(dAtA, i, uint64(m.ForkEventVersion)) + i-- + dAtA[i] = 0x30 + } + if len(m.NewRunId) > 0 { + i -= len(m.NewRunId) + copy(dAtA[i:], m.NewRunId) + i = encodeVarintHistory(dAtA, i, uint64(len(m.NewRunId))) + i-- + dAtA[i] = 0x2a + } + if len(m.BaseRunId) > 0 { + i -= len(m.BaseRunId) + copy(dAtA[i:], m.BaseRunId) + i = encodeVarintHistory(dAtA, i, uint64(len(m.BaseRunId))) + i-- + dAtA[i] = 0x22 + } + if m.TimeoutType != 0 { + i = encodeVarintHistory(dAtA, i, uint64(m.TimeoutType)) + i-- + dAtA[i] = 0x18 + } + if m.StartedEventId != 0 { + i = encodeVarintHistory(dAtA, i, uint64(m.StartedEventId)) + i-- + dAtA[i] = 0x10 + } + if m.ScheduledEventId != 0 { + i = encodeVarintHistory(dAtA, i, uint64(m.ScheduledEventId)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *DecisionTaskFailedEventAttributes) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *DecisionTaskFailedEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *DecisionTaskFailedEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.BinaryChecksum) > 0 { + i -= len(m.BinaryChecksum) + copy(dAtA[i:], m.BinaryChecksum) + i = encodeVarintHistory(dAtA, i, uint64(len(m.BinaryChecksum))) + i-- + dAtA[i] = 0x4a + } + if m.ForkEventVersion != 0 { + i = encodeVarintHistory(dAtA, i, uint64(m.ForkEventVersion)) + i-- + dAtA[i] = 0x40 + } + if len(m.NewRunId) > 0 { + i -= len(m.NewRunId) + copy(dAtA[i:], m.NewRunId) + i = encodeVarintHistory(dAtA, i, uint64(len(m.NewRunId))) + i-- + dAtA[i] = 0x3a + } + if len(m.BaseRunId) > 0 { + i -= len(m.BaseRunId) + copy(dAtA[i:], m.BaseRunId) + i = encodeVarintHistory(dAtA, i, uint64(len(m.BaseRunId))) + i-- + dAtA[i] = 0x32 + } + if len(m.Identity) > 0 { + i -= len(m.Identity) + copy(dAtA[i:], m.Identity) + i = encodeVarintHistory(dAtA, i, uint64(len(m.Identity))) + i-- + dAtA[i] = 0x2a + } + if m.Failure != nil { + { + size, err := m.Failure.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 + } + if m.Cause != 0 { + i = encodeVarintHistory(dAtA, i, uint64(m.Cause)) + i-- + dAtA[i] = 0x18 + } + if m.StartedEventId != 0 { + i = encodeVarintHistory(dAtA, i, uint64(m.StartedEventId)) + i-- + dAtA[i] = 0x10 + } + if m.ScheduledEventId != 0 { + i = encodeVarintHistory(dAtA, i, uint64(m.ScheduledEventId)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *ActivityTaskScheduledEventAttributes) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ActivityTaskScheduledEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ActivityTaskScheduledEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.Header != nil { + { + size, err := m.Header.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x6a + } + if m.RetryPolicy != nil { + { + size, err := m.RetryPolicy.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x62 + } + if m.DecisionTaskCompletedEventId != 0 { + i = encodeVarintHistory(dAtA, i, uint64(m.DecisionTaskCompletedEventId)) + i-- + dAtA[i] = 0x58 + } + if m.HeartbeatTimeout != nil { + { + size, err := m.HeartbeatTimeout.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x52 + } + if m.StartToCloseTimeout != nil { + { + size, err := m.StartToCloseTimeout.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x4a + } + if m.ScheduleToStartTimeout != nil { + { + size, err := m.ScheduleToStartTimeout.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x42 + } + if m.ScheduleToCloseTimeout != nil { + { + size, err := m.ScheduleToCloseTimeout.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x3a + } + if m.Input != nil { + { + size, err := m.Input.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x32 + } + if m.TaskList != nil { + { + size, err := m.TaskList.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 + } + if len(m.Domain) > 0 { + i -= len(m.Domain) + copy(dAtA[i:], m.Domain) + i = encodeVarintHistory(dAtA, i, uint64(len(m.Domain))) + i-- + dAtA[i] = 0x1a + } + if m.ActivityType != nil { + { + size, err := m.ActivityType.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if len(m.ActivityId) > 0 { + i -= len(m.ActivityId) + copy(dAtA[i:], m.ActivityId) + i = encodeVarintHistory(dAtA, i, uint64(len(m.ActivityId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ActivityTaskStartedEventAttributes) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ActivityTaskStartedEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ActivityTaskStartedEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.LastFailure != nil { + { + size, err := m.LastFailure.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a + } + if m.Attempt != 0 { + i = encodeVarintHistory(dAtA, i, uint64(m.Attempt)) + i-- + dAtA[i] = 0x20 + } + if len(m.RequestId) > 0 { + i -= len(m.RequestId) + copy(dAtA[i:], m.RequestId) + i = encodeVarintHistory(dAtA, i, uint64(len(m.RequestId))) + i-- + dAtA[i] = 0x1a + } + if len(m.Identity) > 0 { + i -= len(m.Identity) + copy(dAtA[i:], m.Identity) + i = encodeVarintHistory(dAtA, i, uint64(len(m.Identity))) + i-- + dAtA[i] = 0x12 + } + if m.ScheduledEventId != 0 { + i = encodeVarintHistory(dAtA, i, uint64(m.ScheduledEventId)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *ActivityTaskCompletedEventAttributes) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ActivityTaskCompletedEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ActivityTaskCompletedEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.Identity) > 0 { + i -= len(m.Identity) + copy(dAtA[i:], m.Identity) + i = encodeVarintHistory(dAtA, i, uint64(len(m.Identity))) + i-- + dAtA[i] = 0x22 + } + if m.StartedEventId != 0 { + i = encodeVarintHistory(dAtA, i, uint64(m.StartedEventId)) + i-- + dAtA[i] = 0x18 + } + if m.ScheduledEventId != 0 { + i = encodeVarintHistory(dAtA, i, uint64(m.ScheduledEventId)) + i-- + dAtA[i] = 0x10 + } + if m.Result != nil { + { + size, err := m.Result.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ActivityTaskFailedEventAttributes) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ActivityTaskFailedEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ActivityTaskFailedEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.Identity) > 0 { + i -= len(m.Identity) + copy(dAtA[i:], m.Identity) + i = encodeVarintHistory(dAtA, i, uint64(len(m.Identity))) + i-- + dAtA[i] = 0x22 + } + if m.StartedEventId != 0 { + i = encodeVarintHistory(dAtA, i, uint64(m.StartedEventId)) + i-- + dAtA[i] = 0x18 + } + if m.ScheduledEventId != 0 { + i = encodeVarintHistory(dAtA, i, uint64(m.ScheduledEventId)) + i-- + dAtA[i] = 0x10 + } + if m.Failure != nil { + { + size, err := m.Failure.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ActivityTaskTimedOutEventAttributes) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ActivityTaskTimedOutEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ActivityTaskTimedOutEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.LastFailure != nil { + { + size, err := m.LastFailure.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a + } + if m.TimeoutType != 0 { + i = encodeVarintHistory(dAtA, i, uint64(m.TimeoutType)) + i-- + dAtA[i] = 0x20 + } + if m.StartedEventId != 0 { + i = encodeVarintHistory(dAtA, i, uint64(m.StartedEventId)) + i-- + dAtA[i] = 0x18 + } + if m.ScheduledEventId != 0 { + i = encodeVarintHistory(dAtA, i, uint64(m.ScheduledEventId)) + i-- + dAtA[i] = 0x10 + } + if m.Details != nil { + { + size, err := m.Details.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ActivityTaskCancelRequestedEventAttributes) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ActivityTaskCancelRequestedEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ActivityTaskCancelRequestedEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.DecisionTaskCompletedEventId != 0 { + i = encodeVarintHistory(dAtA, i, uint64(m.DecisionTaskCompletedEventId)) + i-- + dAtA[i] = 0x10 + } + if len(m.ActivityId) > 0 { + i -= len(m.ActivityId) + copy(dAtA[i:], m.ActivityId) + i = encodeVarintHistory(dAtA, i, uint64(len(m.ActivityId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *RequestCancelActivityTaskFailedEventAttributes) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RequestCancelActivityTaskFailedEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *RequestCancelActivityTaskFailedEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.DecisionTaskCompletedEventId != 0 { + i = encodeVarintHistory(dAtA, i, uint64(m.DecisionTaskCompletedEventId)) + i-- + dAtA[i] = 0x18 + } + if len(m.Cause) > 0 { + i -= len(m.Cause) + copy(dAtA[i:], m.Cause) + i = encodeVarintHistory(dAtA, i, uint64(len(m.Cause))) + i-- + dAtA[i] = 0x12 + } + if len(m.ActivityId) > 0 { + i -= len(m.ActivityId) + copy(dAtA[i:], m.ActivityId) + i = encodeVarintHistory(dAtA, i, uint64(len(m.ActivityId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ActivityTaskCanceledEventAttributes) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ActivityTaskCanceledEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ActivityTaskCanceledEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.Identity) > 0 { + i -= len(m.Identity) + copy(dAtA[i:], m.Identity) + i = encodeVarintHistory(dAtA, i, uint64(len(m.Identity))) + i-- + dAtA[i] = 0x2a + } + if m.StartedEventId != 0 { + i = encodeVarintHistory(dAtA, i, uint64(m.StartedEventId)) + i-- + dAtA[i] = 0x20 + } + if m.ScheduledEventId != 0 { + i = encodeVarintHistory(dAtA, i, uint64(m.ScheduledEventId)) + i-- + dAtA[i] = 0x18 + } + if m.LatestCancelRequestedEventId != 0 { + i = encodeVarintHistory(dAtA, i, uint64(m.LatestCancelRequestedEventId)) + i-- + dAtA[i] = 0x10 + } + if m.Details != nil { + { + size, err := m.Details.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *TimerStartedEventAttributes) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *TimerStartedEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *TimerStartedEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.DecisionTaskCompletedEventId != 0 { + i = encodeVarintHistory(dAtA, i, uint64(m.DecisionTaskCompletedEventId)) + i-- + dAtA[i] = 0x18 + } + if m.StartToFireTimeout != nil { + { + size, err := m.StartToFireTimeout.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if len(m.TimerId) > 0 { + i -= len(m.TimerId) + copy(dAtA[i:], m.TimerId) + i = encodeVarintHistory(dAtA, i, uint64(len(m.TimerId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *TimerFiredEventAttributes) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *TimerFiredEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *TimerFiredEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.StartedEventId != 0 { + i = encodeVarintHistory(dAtA, i, uint64(m.StartedEventId)) + i-- + dAtA[i] = 0x10 + } + if len(m.TimerId) > 0 { + i -= len(m.TimerId) + copy(dAtA[i:], m.TimerId) + i = encodeVarintHistory(dAtA, i, uint64(len(m.TimerId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *TimerCanceledEventAttributes) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *TimerCanceledEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *TimerCanceledEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.Identity) > 0 { + i -= len(m.Identity) + copy(dAtA[i:], m.Identity) + i = encodeVarintHistory(dAtA, i, uint64(len(m.Identity))) + i-- + dAtA[i] = 0x22 + } + if m.DecisionTaskCompletedEventId != 0 { + i = encodeVarintHistory(dAtA, i, uint64(m.DecisionTaskCompletedEventId)) + i-- + dAtA[i] = 0x18 + } + if m.StartedEventId != 0 { + i = encodeVarintHistory(dAtA, i, uint64(m.StartedEventId)) + i-- + dAtA[i] = 0x10 + } + if len(m.TimerId) > 0 { + i -= len(m.TimerId) + copy(dAtA[i:], m.TimerId) + i = encodeVarintHistory(dAtA, i, uint64(len(m.TimerId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *CancelTimerFailedEventAttributes) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *CancelTimerFailedEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *CancelTimerFailedEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.Identity) > 0 { + i -= len(m.Identity) + copy(dAtA[i:], m.Identity) + i = encodeVarintHistory(dAtA, i, uint64(len(m.Identity))) + i-- + dAtA[i] = 0x22 + } + if m.DecisionTaskCompletedEventId != 0 { + i = encodeVarintHistory(dAtA, i, uint64(m.DecisionTaskCompletedEventId)) + i-- + dAtA[i] = 0x18 + } + if len(m.Cause) > 0 { + i -= len(m.Cause) + copy(dAtA[i:], m.Cause) + i = encodeVarintHistory(dAtA, i, uint64(len(m.Cause))) + i-- + dAtA[i] = 0x12 + } + if len(m.TimerId) > 0 { + i -= len(m.TimerId) + copy(dAtA[i:], m.TimerId) + i = encodeVarintHistory(dAtA, i, uint64(len(m.TimerId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *WorkflowExecutionContinuedAsNewEventAttributes) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *WorkflowExecutionContinuedAsNewEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *WorkflowExecutionContinuedAsNewEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.SearchAttributes != nil { + { + size, err := m.SearchAttributes.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x72 + } + if m.Memo != nil { + { + size, err := m.Memo.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x6a + } + if m.Header != nil { + { + size, err := m.Header.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x62 + } + if m.LastCompletionResult != nil { + { + size, err := m.LastCompletionResult.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x5a + } + if m.Failure != nil { + { + size, err := m.Failure.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x52 + } + if m.Initiator != 0 { + i = encodeVarintHistory(dAtA, i, uint64(m.Initiator)) + i-- + dAtA[i] = 0x48 + } + if m.BackoffStartInterval != nil { + { + size, err := m.BackoffStartInterval.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x42 + } + if m.DecisionTaskCompletedEventId != 0 { + i = encodeVarintHistory(dAtA, i, uint64(m.DecisionTaskCompletedEventId)) + i-- + dAtA[i] = 0x38 + } + if m.TaskStartToCloseTimeout != nil { + { + size, err := m.TaskStartToCloseTimeout.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x32 + } + if m.ExecutionStartToCloseTimeout != nil { + { + size, err := m.ExecutionStartToCloseTimeout.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a + } + if m.Input != nil { + { + size, err := m.Input.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 + } + if m.TaskList != nil { + { + size, err := m.TaskList.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + if m.WorkflowType != nil { + { + size, err := m.WorkflowType.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if len(m.NewExecutionRunId) > 0 { + i -= len(m.NewExecutionRunId) + copy(dAtA[i:], m.NewExecutionRunId) + i = encodeVarintHistory(dAtA, i, uint64(len(m.NewExecutionRunId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *WorkflowExecutionCancelRequestedEventAttributes) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *WorkflowExecutionCancelRequestedEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *WorkflowExecutionCancelRequestedEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.ExternalExecutionInfo != nil { + { + size, err := m.ExternalExecutionInfo.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + if len(m.Identity) > 0 { + i -= len(m.Identity) + copy(dAtA[i:], m.Identity) + i = encodeVarintHistory(dAtA, i, uint64(len(m.Identity))) + i-- + dAtA[i] = 0x12 + } + if len(m.Cause) > 0 { + i -= len(m.Cause) + copy(dAtA[i:], m.Cause) + i = encodeVarintHistory(dAtA, i, uint64(len(m.Cause))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *WorkflowExecutionCanceledEventAttributes) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *WorkflowExecutionCanceledEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *WorkflowExecutionCanceledEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.Details != nil { + { + size, err := m.Details.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if m.DecisionTaskCompletedEventId != 0 { + i = encodeVarintHistory(dAtA, i, uint64(m.DecisionTaskCompletedEventId)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *MarkerRecordedEventAttributes) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MarkerRecordedEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MarkerRecordedEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.Header != nil { + { + size, err := m.Header.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 + } + if m.DecisionTaskCompletedEventId != 0 { + i = encodeVarintHistory(dAtA, i, uint64(m.DecisionTaskCompletedEventId)) + i-- + dAtA[i] = 0x18 + } + if m.Details != nil { + { + size, err := m.Details.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if len(m.MarkerName) > 0 { + i -= len(m.MarkerName) + copy(dAtA[i:], m.MarkerName) + i = encodeVarintHistory(dAtA, i, uint64(len(m.MarkerName))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *WorkflowExecutionSignaledEventAttributes) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *WorkflowExecutionSignaledEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *WorkflowExecutionSignaledEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.Identity) > 0 { + i -= len(m.Identity) + copy(dAtA[i:], m.Identity) + i = encodeVarintHistory(dAtA, i, uint64(len(m.Identity))) + i-- + dAtA[i] = 0x1a + } + if m.Input != nil { + { + size, err := m.Input.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if len(m.SignalName) > 0 { + i -= len(m.SignalName) + copy(dAtA[i:], m.SignalName) + i = encodeVarintHistory(dAtA, i, uint64(len(m.SignalName))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *WorkflowExecutionTerminatedEventAttributes) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *WorkflowExecutionTerminatedEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *WorkflowExecutionTerminatedEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.Identity) > 0 { + i -= len(m.Identity) + copy(dAtA[i:], m.Identity) + i = encodeVarintHistory(dAtA, i, uint64(len(m.Identity))) + i-- + dAtA[i] = 0x1a + } + if m.Details != nil { + { + size, err := m.Details.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if len(m.Reason) > 0 { + i -= len(m.Reason) + copy(dAtA[i:], m.Reason) + i = encodeVarintHistory(dAtA, i, uint64(len(m.Reason))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.ChildWorkflowOnly { + i-- + if m.ChildWorkflowOnly { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x28 + } + if len(m.Control) > 0 { + i -= len(m.Control) + copy(dAtA[i:], m.Control) + i = encodeVarintHistory(dAtA, i, uint64(len(m.Control))) + i-- + dAtA[i] = 0x22 + } + if m.WorkflowExecution != nil { + { + size, err := m.WorkflowExecution.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + if len(m.Domain) > 0 { + i -= len(m.Domain) + copy(dAtA[i:], m.Domain) + i = encodeVarintHistory(dAtA, i, uint64(len(m.Domain))) + i-- + dAtA[i] = 0x12 + } + if m.DecisionTaskCompletedEventId != 0 { + i = encodeVarintHistory(dAtA, i, uint64(m.DecisionTaskCompletedEventId)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *RequestCancelExternalWorkflowExecutionFailedEventAttributes) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RequestCancelExternalWorkflowExecutionFailedEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *RequestCancelExternalWorkflowExecutionFailedEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.Control) > 0 { + i -= len(m.Control) + copy(dAtA[i:], m.Control) + i = encodeVarintHistory(dAtA, i, uint64(len(m.Control))) + i-- + dAtA[i] = 0x32 + } + if m.InitiatedEventId != 0 { + i = encodeVarintHistory(dAtA, i, uint64(m.InitiatedEventId)) + i-- + dAtA[i] = 0x28 + } + if m.WorkflowExecution != nil { + { + size, err := m.WorkflowExecution.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 + } + if len(m.Domain) > 0 { + i -= len(m.Domain) + copy(dAtA[i:], m.Domain) + i = encodeVarintHistory(dAtA, i, uint64(len(m.Domain))) + i-- + dAtA[i] = 0x1a + } + if m.DecisionTaskCompletedEventId != 0 { + i = encodeVarintHistory(dAtA, i, uint64(m.DecisionTaskCompletedEventId)) + i-- + dAtA[i] = 0x10 + } + if m.Cause != 0 { + i = encodeVarintHistory(dAtA, i, uint64(m.Cause)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *ExternalWorkflowExecutionCancelRequestedEventAttributes) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ExternalWorkflowExecutionCancelRequestedEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ExternalWorkflowExecutionCancelRequestedEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.WorkflowExecution != nil { + { + size, err := m.WorkflowExecution.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + if len(m.Domain) > 0 { + i -= len(m.Domain) + copy(dAtA[i:], m.Domain) + i = encodeVarintHistory(dAtA, i, uint64(len(m.Domain))) + i-- + dAtA[i] = 0x12 + } + if m.InitiatedEventId != 0 { + i = encodeVarintHistory(dAtA, i, uint64(m.InitiatedEventId)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *SignalExternalWorkflowExecutionInitiatedEventAttributes) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *SignalExternalWorkflowExecutionInitiatedEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *SignalExternalWorkflowExecutionInitiatedEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.ChildWorkflowOnly { + i-- + if m.ChildWorkflowOnly { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x38 + } + if len(m.Control) > 0 { + i -= len(m.Control) + copy(dAtA[i:], m.Control) + i = encodeVarintHistory(dAtA, i, uint64(len(m.Control))) + i-- + dAtA[i] = 0x32 + } + if m.Input != nil { + { + size, err := m.Input.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a + } + if len(m.SignalName) > 0 { + i -= len(m.SignalName) + copy(dAtA[i:], m.SignalName) + i = encodeVarintHistory(dAtA, i, uint64(len(m.SignalName))) + i-- + dAtA[i] = 0x22 + } + if m.WorkflowExecution != nil { + { + size, err := m.WorkflowExecution.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + if len(m.Domain) > 0 { + i -= len(m.Domain) + copy(dAtA[i:], m.Domain) + i = encodeVarintHistory(dAtA, i, uint64(len(m.Domain))) + i-- + dAtA[i] = 0x12 + } + if m.DecisionTaskCompletedEventId != 0 { + i = encodeVarintHistory(dAtA, i, uint64(m.DecisionTaskCompletedEventId)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *SignalExternalWorkflowExecutionFailedEventAttributes) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *SignalExternalWorkflowExecutionFailedEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *SignalExternalWorkflowExecutionFailedEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.Control) > 0 { + i -= len(m.Control) + copy(dAtA[i:], m.Control) + i = encodeVarintHistory(dAtA, i, uint64(len(m.Control))) + i-- + dAtA[i] = 0x32 + } + if m.InitiatedEventId != 0 { + i = encodeVarintHistory(dAtA, i, uint64(m.InitiatedEventId)) + i-- + dAtA[i] = 0x28 + } + if m.WorkflowExecution != nil { + { + size, err := m.WorkflowExecution.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 + } + if len(m.Domain) > 0 { + i -= len(m.Domain) + copy(dAtA[i:], m.Domain) + i = encodeVarintHistory(dAtA, i, uint64(len(m.Domain))) + i-- + dAtA[i] = 0x1a + } + if m.DecisionTaskCompletedEventId != 0 { + i = encodeVarintHistory(dAtA, i, uint64(m.DecisionTaskCompletedEventId)) + i-- + dAtA[i] = 0x10 + } + if m.Cause != 0 { + i = encodeVarintHistory(dAtA, i, uint64(m.Cause)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *ExternalWorkflowExecutionSignaledEventAttributes) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ExternalWorkflowExecutionSignaledEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ExternalWorkflowExecutionSignaledEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.Control) > 0 { + i -= len(m.Control) + copy(dAtA[i:], m.Control) + i = encodeVarintHistory(dAtA, i, uint64(len(m.Control))) + i-- + dAtA[i] = 0x22 + } + if m.WorkflowExecution != nil { + { + size, err := m.WorkflowExecution.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + if len(m.Domain) > 0 { + i -= len(m.Domain) + copy(dAtA[i:], m.Domain) + i = encodeVarintHistory(dAtA, i, uint64(len(m.Domain))) + i-- + dAtA[i] = 0x12 + } + if m.InitiatedEventId != 0 { + i = encodeVarintHistory(dAtA, i, uint64(m.InitiatedEventId)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *UpsertWorkflowSearchAttributesEventAttributes) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *UpsertWorkflowSearchAttributesEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *UpsertWorkflowSearchAttributesEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.SearchAttributes != nil { + { + size, err := m.SearchAttributes.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if m.DecisionTaskCompletedEventId != 0 { + i = encodeVarintHistory(dAtA, i, uint64(m.DecisionTaskCompletedEventId)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *StartChildWorkflowExecutionInitiatedEventAttributes) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *StartChildWorkflowExecutionInitiatedEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *StartChildWorkflowExecutionInitiatedEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.DelayStart != nil { + { + size, err := m.DelayStart.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x92 + } + if m.SearchAttributes != nil { + { + size, err := m.SearchAttributes.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x8a + } + if m.Memo != nil { + { + size, err := m.Memo.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x82 + } + if m.Header != nil { + { + size, err := m.Header.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x7a + } + if len(m.CronSchedule) > 0 { + i -= len(m.CronSchedule) + copy(dAtA[i:], m.CronSchedule) + i = encodeVarintHistory(dAtA, i, uint64(len(m.CronSchedule))) + i-- + dAtA[i] = 0x72 + } + if m.RetryPolicy != nil { + { + size, err := m.RetryPolicy.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x6a + } + if m.WorkflowIdReusePolicy != 0 { + i = encodeVarintHistory(dAtA, i, uint64(m.WorkflowIdReusePolicy)) + i-- + dAtA[i] = 0x58 + } + if m.DecisionTaskCompletedEventId != 0 { + i = encodeVarintHistory(dAtA, i, uint64(m.DecisionTaskCompletedEventId)) + i-- + dAtA[i] = 0x50 + } + if len(m.Control) > 0 { + i -= len(m.Control) + copy(dAtA[i:], m.Control) + i = encodeVarintHistory(dAtA, i, uint64(len(m.Control))) + i-- + dAtA[i] = 0x4a + } + if m.ParentClosePolicy != 0 { + i = encodeVarintHistory(dAtA, i, uint64(m.ParentClosePolicy)) + i-- + dAtA[i] = 0x40 + } + if m.TaskStartToCloseTimeout != nil { + { + size, err := m.TaskStartToCloseTimeout.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x3a + } + if m.ExecutionStartToCloseTimeout != nil { + { + size, err := m.ExecutionStartToCloseTimeout.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x32 + } + if m.Input != nil { + { + size, err := m.Input.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a + } + if m.TaskList != nil { + { + size, err := m.TaskList.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 + } + if m.WorkflowType != nil { + { + size, err := m.WorkflowType.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + if len(m.WorkflowId) > 0 { + i -= len(m.WorkflowId) + copy(dAtA[i:], m.WorkflowId) + i = encodeVarintHistory(dAtA, i, uint64(len(m.WorkflowId))) + i-- + dAtA[i] = 0x12 + } + if len(m.Domain) > 0 { + i -= len(m.Domain) + copy(dAtA[i:], m.Domain) + i = encodeVarintHistory(dAtA, i, uint64(len(m.Domain))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *StartChildWorkflowExecutionFailedEventAttributes) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *StartChildWorkflowExecutionFailedEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *StartChildWorkflowExecutionFailedEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.DecisionTaskCompletedEventId != 0 { + i = encodeVarintHistory(dAtA, i, uint64(m.DecisionTaskCompletedEventId)) + i-- + dAtA[i] = 0x38 + } + if m.InitiatedEventId != 0 { + i = encodeVarintHistory(dAtA, i, uint64(m.InitiatedEventId)) + i-- + dAtA[i] = 0x30 + } + if len(m.Control) > 0 { + i -= len(m.Control) + copy(dAtA[i:], m.Control) + i = encodeVarintHistory(dAtA, i, uint64(len(m.Control))) + i-- + dAtA[i] = 0x2a + } + if m.Cause != 0 { + i = encodeVarintHistory(dAtA, i, uint64(m.Cause)) + i-- + dAtA[i] = 0x20 + } + if m.WorkflowType != nil { + { + size, err := m.WorkflowType.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + if len(m.WorkflowId) > 0 { + i -= len(m.WorkflowId) + copy(dAtA[i:], m.WorkflowId) + i = encodeVarintHistory(dAtA, i, uint64(len(m.WorkflowId))) + i-- + dAtA[i] = 0x12 + } + if len(m.Domain) > 0 { + i -= len(m.Domain) + copy(dAtA[i:], m.Domain) + i = encodeVarintHistory(dAtA, i, uint64(len(m.Domain))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ChildWorkflowExecutionStartedEventAttributes) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ChildWorkflowExecutionStartedEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ChildWorkflowExecutionStartedEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.Header != nil { + { + size, err := m.Header.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a + } + if m.InitiatedEventId != 0 { + i = encodeVarintHistory(dAtA, i, uint64(m.InitiatedEventId)) + i-- + dAtA[i] = 0x20 + } + if m.WorkflowType != nil { + { + size, err := m.WorkflowType.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + if m.WorkflowExecution != nil { + { + size, err := m.WorkflowExecution.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if len(m.Domain) > 0 { + i -= len(m.Domain) + copy(dAtA[i:], m.Domain) + i = encodeVarintHistory(dAtA, i, uint64(len(m.Domain))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ChildWorkflowExecutionCompletedEventAttributes) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ChildWorkflowExecutionCompletedEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ChildWorkflowExecutionCompletedEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.Result != nil { + { + size, err := m.Result.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x32 + } + if m.StartedEventId != 0 { + i = encodeVarintHistory(dAtA, i, uint64(m.StartedEventId)) + i-- + dAtA[i] = 0x28 + } + if m.InitiatedEventId != 0 { + i = encodeVarintHistory(dAtA, i, uint64(m.InitiatedEventId)) + i-- + dAtA[i] = 0x20 + } + if m.WorkflowType != nil { + { + size, err := m.WorkflowType.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + if m.WorkflowExecution != nil { + { + size, err := m.WorkflowExecution.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if len(m.Domain) > 0 { + i -= len(m.Domain) + copy(dAtA[i:], m.Domain) + i = encodeVarintHistory(dAtA, i, uint64(len(m.Domain))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ChildWorkflowExecutionFailedEventAttributes) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ChildWorkflowExecutionFailedEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ChildWorkflowExecutionFailedEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.Failure != nil { + { + size, err := m.Failure.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x32 + } + if m.StartedEventId != 0 { + i = encodeVarintHistory(dAtA, i, uint64(m.StartedEventId)) + i-- + dAtA[i] = 0x28 + } + if m.InitiatedEventId != 0 { + i = encodeVarintHistory(dAtA, i, uint64(m.InitiatedEventId)) + i-- + dAtA[i] = 0x20 + } + if m.WorkflowType != nil { + { + size, err := m.WorkflowType.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + if m.WorkflowExecution != nil { + { + size, err := m.WorkflowExecution.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if len(m.Domain) > 0 { + i -= len(m.Domain) + copy(dAtA[i:], m.Domain) + i = encodeVarintHistory(dAtA, i, uint64(len(m.Domain))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ChildWorkflowExecutionCanceledEventAttributes) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ChildWorkflowExecutionCanceledEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ChildWorkflowExecutionCanceledEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.Details != nil { + { + size, err := m.Details.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x32 + } + if m.StartedEventId != 0 { + i = encodeVarintHistory(dAtA, i, uint64(m.StartedEventId)) + i-- + dAtA[i] = 0x28 + } + if m.InitiatedEventId != 0 { + i = encodeVarintHistory(dAtA, i, uint64(m.InitiatedEventId)) + i-- + dAtA[i] = 0x20 + } + if m.WorkflowType != nil { + { + size, err := m.WorkflowType.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + if m.WorkflowExecution != nil { + { + size, err := m.WorkflowExecution.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if len(m.Domain) > 0 { + i -= len(m.Domain) + copy(dAtA[i:], m.Domain) + i = encodeVarintHistory(dAtA, i, uint64(len(m.Domain))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ChildWorkflowExecutionTimedOutEventAttributes) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ChildWorkflowExecutionTimedOutEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ChildWorkflowExecutionTimedOutEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.TimeoutType != 0 { + i = encodeVarintHistory(dAtA, i, uint64(m.TimeoutType)) + i-- + dAtA[i] = 0x30 + } + if m.StartedEventId != 0 { + i = encodeVarintHistory(dAtA, i, uint64(m.StartedEventId)) + i-- + dAtA[i] = 0x28 + } + if m.InitiatedEventId != 0 { + i = encodeVarintHistory(dAtA, i, uint64(m.InitiatedEventId)) + i-- + dAtA[i] = 0x20 + } + if m.WorkflowType != nil { + { + size, err := m.WorkflowType.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + if m.WorkflowExecution != nil { + { + size, err := m.WorkflowExecution.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if len(m.Domain) > 0 { + i -= len(m.Domain) + copy(dAtA[i:], m.Domain) + i = encodeVarintHistory(dAtA, i, uint64(len(m.Domain))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ChildWorkflowExecutionTerminatedEventAttributes) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ChildWorkflowExecutionTerminatedEventAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ChildWorkflowExecutionTerminatedEventAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.StartedEventId != 0 { + i = encodeVarintHistory(dAtA, i, uint64(m.StartedEventId)) + i-- + dAtA[i] = 0x28 + } + if m.InitiatedEventId != 0 { + i = encodeVarintHistory(dAtA, i, uint64(m.InitiatedEventId)) + i-- + dAtA[i] = 0x20 + } + if m.WorkflowType != nil { + { + size, err := m.WorkflowType.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + if m.WorkflowExecution != nil { + { + size, err := m.WorkflowExecution.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintHistory(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if len(m.Domain) > 0 { + i -= len(m.Domain) + copy(dAtA[i:], m.Domain) + i = encodeVarintHistory(dAtA, i, uint64(len(m.Domain))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func encodeVarintHistory(dAtA []byte, offset int, v uint64) int { + offset -= sovHistory(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *History) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Events) > 0 { + for _, e := range m.Events { + l = e.Size() + n += 1 + l + sovHistory(uint64(l)) + } + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *HistoryEvent) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.EventId != 0 { + n += 1 + sovHistory(uint64(m.EventId)) + } + if m.EventTime != nil { + l = m.EventTime.Size() + n += 1 + l + sovHistory(uint64(l)) + } + if m.Version != 0 { + n += 1 + sovHistory(uint64(m.Version)) + } + if m.TaskId != 0 { + n += 1 + sovHistory(uint64(m.TaskId)) + } + if m.Attributes != nil { + n += m.Attributes.Size() + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *HistoryEvent_WorkflowExecutionStartedEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.WorkflowExecutionStartedEventAttributes != nil { + l = m.WorkflowExecutionStartedEventAttributes.Size() + n += 1 + l + sovHistory(uint64(l)) + } + return n +} +func (m *HistoryEvent_WorkflowExecutionCompletedEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.WorkflowExecutionCompletedEventAttributes != nil { + l = m.WorkflowExecutionCompletedEventAttributes.Size() + n += 1 + l + sovHistory(uint64(l)) + } + return n +} +func (m *HistoryEvent_WorkflowExecutionFailedEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.WorkflowExecutionFailedEventAttributes != nil { + l = m.WorkflowExecutionFailedEventAttributes.Size() + n += 1 + l + sovHistory(uint64(l)) + } + return n +} +func (m *HistoryEvent_WorkflowExecutionTimedOutEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.WorkflowExecutionTimedOutEventAttributes != nil { + l = m.WorkflowExecutionTimedOutEventAttributes.Size() + n += 1 + l + sovHistory(uint64(l)) + } + return n +} +func (m *HistoryEvent_DecisionTaskScheduledEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.DecisionTaskScheduledEventAttributes != nil { + l = m.DecisionTaskScheduledEventAttributes.Size() + n += 1 + l + sovHistory(uint64(l)) + } + return n +} +func (m *HistoryEvent_DecisionTaskStartedEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.DecisionTaskStartedEventAttributes != nil { + l = m.DecisionTaskStartedEventAttributes.Size() + n += 1 + l + sovHistory(uint64(l)) + } + return n +} +func (m *HistoryEvent_DecisionTaskCompletedEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.DecisionTaskCompletedEventAttributes != nil { + l = m.DecisionTaskCompletedEventAttributes.Size() + n += 1 + l + sovHistory(uint64(l)) + } + return n +} +func (m *HistoryEvent_DecisionTaskTimedOutEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.DecisionTaskTimedOutEventAttributes != nil { + l = m.DecisionTaskTimedOutEventAttributes.Size() + n += 1 + l + sovHistory(uint64(l)) + } + return n +} +func (m *HistoryEvent_DecisionTaskFailedEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.DecisionTaskFailedEventAttributes != nil { + l = m.DecisionTaskFailedEventAttributes.Size() + n += 1 + l + sovHistory(uint64(l)) + } + return n +} +func (m *HistoryEvent_ActivityTaskScheduledEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.ActivityTaskScheduledEventAttributes != nil { + l = m.ActivityTaskScheduledEventAttributes.Size() + n += 1 + l + sovHistory(uint64(l)) + } + return n +} +func (m *HistoryEvent_ActivityTaskStartedEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.ActivityTaskStartedEventAttributes != nil { + l = m.ActivityTaskStartedEventAttributes.Size() + n += 1 + l + sovHistory(uint64(l)) + } + return n +} +func (m *HistoryEvent_ActivityTaskCompletedEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.ActivityTaskCompletedEventAttributes != nil { + l = m.ActivityTaskCompletedEventAttributes.Size() + n += 2 + l + sovHistory(uint64(l)) + } + return n +} +func (m *HistoryEvent_ActivityTaskFailedEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.ActivityTaskFailedEventAttributes != nil { + l = m.ActivityTaskFailedEventAttributes.Size() + n += 2 + l + sovHistory(uint64(l)) + } + return n +} +func (m *HistoryEvent_ActivityTaskTimedOutEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.ActivityTaskTimedOutEventAttributes != nil { + l = m.ActivityTaskTimedOutEventAttributes.Size() + n += 2 + l + sovHistory(uint64(l)) + } + return n +} +func (m *HistoryEvent_TimerStartedEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.TimerStartedEventAttributes != nil { + l = m.TimerStartedEventAttributes.Size() + n += 2 + l + sovHistory(uint64(l)) + } + return n +} +func (m *HistoryEvent_TimerFiredEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.TimerFiredEventAttributes != nil { + l = m.TimerFiredEventAttributes.Size() + n += 2 + l + sovHistory(uint64(l)) + } + return n +} +func (m *HistoryEvent_ActivityTaskCancelRequestedEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.ActivityTaskCancelRequestedEventAttributes != nil { + l = m.ActivityTaskCancelRequestedEventAttributes.Size() + n += 2 + l + sovHistory(uint64(l)) + } + return n +} +func (m *HistoryEvent_RequestCancelActivityTaskFailedEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.RequestCancelActivityTaskFailedEventAttributes != nil { + l = m.RequestCancelActivityTaskFailedEventAttributes.Size() + n += 2 + l + sovHistory(uint64(l)) + } + return n +} +func (m *HistoryEvent_ActivityTaskCanceledEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.ActivityTaskCanceledEventAttributes != nil { + l = m.ActivityTaskCanceledEventAttributes.Size() + n += 2 + l + sovHistory(uint64(l)) + } + return n +} +func (m *HistoryEvent_TimerCanceledEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.TimerCanceledEventAttributes != nil { + l = m.TimerCanceledEventAttributes.Size() + n += 2 + l + sovHistory(uint64(l)) + } + return n +} +func (m *HistoryEvent_CancelTimerFailedEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.CancelTimerFailedEventAttributes != nil { + l = m.CancelTimerFailedEventAttributes.Size() + n += 2 + l + sovHistory(uint64(l)) + } + return n +} +func (m *HistoryEvent_MarkerRecordedEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.MarkerRecordedEventAttributes != nil { + l = m.MarkerRecordedEventAttributes.Size() + n += 2 + l + sovHistory(uint64(l)) + } + return n +} +func (m *HistoryEvent_WorkflowExecutionSignaledEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.WorkflowExecutionSignaledEventAttributes != nil { + l = m.WorkflowExecutionSignaledEventAttributes.Size() + n += 2 + l + sovHistory(uint64(l)) + } + return n +} +func (m *HistoryEvent_WorkflowExecutionTerminatedEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.WorkflowExecutionTerminatedEventAttributes != nil { + l = m.WorkflowExecutionTerminatedEventAttributes.Size() + n += 2 + l + sovHistory(uint64(l)) + } + return n +} +func (m *HistoryEvent_WorkflowExecutionCancelRequestedEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.WorkflowExecutionCancelRequestedEventAttributes != nil { + l = m.WorkflowExecutionCancelRequestedEventAttributes.Size() + n += 2 + l + sovHistory(uint64(l)) + } + return n +} +func (m *HistoryEvent_WorkflowExecutionCanceledEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.WorkflowExecutionCanceledEventAttributes != nil { + l = m.WorkflowExecutionCanceledEventAttributes.Size() + n += 2 + l + sovHistory(uint64(l)) + } + return n +} +func (m *HistoryEvent_RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes != nil { + l = m.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes.Size() + n += 2 + l + sovHistory(uint64(l)) + } + return n +} +func (m *HistoryEvent_RequestCancelExternalWorkflowExecutionFailedEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.RequestCancelExternalWorkflowExecutionFailedEventAttributes != nil { + l = m.RequestCancelExternalWorkflowExecutionFailedEventAttributes.Size() + n += 2 + l + sovHistory(uint64(l)) + } + return n +} +func (m *HistoryEvent_ExternalWorkflowExecutionCancelRequestedEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.ExternalWorkflowExecutionCancelRequestedEventAttributes != nil { + l = m.ExternalWorkflowExecutionCancelRequestedEventAttributes.Size() + n += 2 + l + sovHistory(uint64(l)) + } + return n +} +func (m *HistoryEvent_WorkflowExecutionContinuedAsNewEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.WorkflowExecutionContinuedAsNewEventAttributes != nil { + l = m.WorkflowExecutionContinuedAsNewEventAttributes.Size() + n += 2 + l + sovHistory(uint64(l)) + } + return n +} +func (m *HistoryEvent_StartChildWorkflowExecutionInitiatedEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.StartChildWorkflowExecutionInitiatedEventAttributes != nil { + l = m.StartChildWorkflowExecutionInitiatedEventAttributes.Size() + n += 2 + l + sovHistory(uint64(l)) + } + return n +} +func (m *HistoryEvent_StartChildWorkflowExecutionFailedEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.StartChildWorkflowExecutionFailedEventAttributes != nil { + l = m.StartChildWorkflowExecutionFailedEventAttributes.Size() + n += 2 + l + sovHistory(uint64(l)) + } + return n +} +func (m *HistoryEvent_ChildWorkflowExecutionStartedEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.ChildWorkflowExecutionStartedEventAttributes != nil { + l = m.ChildWorkflowExecutionStartedEventAttributes.Size() + n += 2 + l + sovHistory(uint64(l)) + } + return n +} +func (m *HistoryEvent_ChildWorkflowExecutionCompletedEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.ChildWorkflowExecutionCompletedEventAttributes != nil { + l = m.ChildWorkflowExecutionCompletedEventAttributes.Size() + n += 2 + l + sovHistory(uint64(l)) + } + return n +} +func (m *HistoryEvent_ChildWorkflowExecutionFailedEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.ChildWorkflowExecutionFailedEventAttributes != nil { + l = m.ChildWorkflowExecutionFailedEventAttributes.Size() + n += 2 + l + sovHistory(uint64(l)) + } + return n +} +func (m *HistoryEvent_ChildWorkflowExecutionCanceledEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.ChildWorkflowExecutionCanceledEventAttributes != nil { + l = m.ChildWorkflowExecutionCanceledEventAttributes.Size() + n += 2 + l + sovHistory(uint64(l)) + } + return n +} +func (m *HistoryEvent_ChildWorkflowExecutionTimedOutEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.ChildWorkflowExecutionTimedOutEventAttributes != nil { + l = m.ChildWorkflowExecutionTimedOutEventAttributes.Size() + n += 2 + l + sovHistory(uint64(l)) + } + return n +} +func (m *HistoryEvent_ChildWorkflowExecutionTerminatedEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.ChildWorkflowExecutionTerminatedEventAttributes != nil { + l = m.ChildWorkflowExecutionTerminatedEventAttributes.Size() + n += 2 + l + sovHistory(uint64(l)) + } + return n +} +func (m *HistoryEvent_SignalExternalWorkflowExecutionInitiatedEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.SignalExternalWorkflowExecutionInitiatedEventAttributes != nil { + l = m.SignalExternalWorkflowExecutionInitiatedEventAttributes.Size() + n += 2 + l + sovHistory(uint64(l)) + } + return n +} +func (m *HistoryEvent_SignalExternalWorkflowExecutionFailedEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.SignalExternalWorkflowExecutionFailedEventAttributes != nil { + l = m.SignalExternalWorkflowExecutionFailedEventAttributes.Size() + n += 2 + l + sovHistory(uint64(l)) + } + return n +} +func (m *HistoryEvent_ExternalWorkflowExecutionSignaledEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.ExternalWorkflowExecutionSignaledEventAttributes != nil { + l = m.ExternalWorkflowExecutionSignaledEventAttributes.Size() + n += 2 + l + sovHistory(uint64(l)) + } + return n +} +func (m *HistoryEvent_UpsertWorkflowSearchAttributesEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.UpsertWorkflowSearchAttributesEventAttributes != nil { + l = m.UpsertWorkflowSearchAttributesEventAttributes.Size() + n += 2 + l + sovHistory(uint64(l)) + } + return n +} +func (m *WorkflowExecutionStartedEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.WorkflowType != nil { + l = m.WorkflowType.Size() + n += 1 + l + sovHistory(uint64(l)) + } + if m.ParentExecutionInfo != nil { + l = m.ParentExecutionInfo.Size() + n += 1 + l + sovHistory(uint64(l)) + } + if m.TaskList != nil { + l = m.TaskList.Size() + n += 1 + l + sovHistory(uint64(l)) + } + if m.Input != nil { + l = m.Input.Size() + n += 1 + l + sovHistory(uint64(l)) + } + if m.ExecutionStartToCloseTimeout != nil { + l = m.ExecutionStartToCloseTimeout.Size() + n += 1 + l + sovHistory(uint64(l)) + } + if m.TaskStartToCloseTimeout != nil { + l = m.TaskStartToCloseTimeout.Size() + n += 1 + l + sovHistory(uint64(l)) + } + l = len(m.ContinuedExecutionRunId) + if l > 0 { + n += 1 + l + sovHistory(uint64(l)) + } + if m.Initiator != 0 { + n += 1 + sovHistory(uint64(m.Initiator)) + } + if m.ContinuedFailure != nil { + l = m.ContinuedFailure.Size() + n += 1 + l + sovHistory(uint64(l)) + } + if m.LastCompletionResult != nil { + l = m.LastCompletionResult.Size() + n += 1 + l + sovHistory(uint64(l)) + } + l = len(m.OriginalExecutionRunId) + if l > 0 { + n += 1 + l + sovHistory(uint64(l)) + } + l = len(m.Identity) + if l > 0 { + n += 1 + l + sovHistory(uint64(l)) + } + l = len(m.FirstExecutionRunId) + if l > 0 { + n += 1 + l + sovHistory(uint64(l)) + } + if m.RetryPolicy != nil { + l = m.RetryPolicy.Size() + n += 1 + l + sovHistory(uint64(l)) + } + if m.Attempt != 0 { + n += 1 + sovHistory(uint64(m.Attempt)) + } + if m.ExpirationTime != nil { + l = m.ExpirationTime.Size() + n += 2 + l + sovHistory(uint64(l)) + } + l = len(m.CronSchedule) + if l > 0 { + n += 2 + l + sovHistory(uint64(l)) + } + if m.FirstDecisionTaskBackoff != nil { + l = m.FirstDecisionTaskBackoff.Size() + n += 2 + l + sovHistory(uint64(l)) + } + if m.Memo != nil { + l = m.Memo.Size() + n += 2 + l + sovHistory(uint64(l)) + } + if m.SearchAttributes != nil { + l = m.SearchAttributes.Size() + n += 2 + l + sovHistory(uint64(l)) + } + if m.PrevAutoResetPoints != nil { + l = m.PrevAutoResetPoints.Size() + n += 2 + l + sovHistory(uint64(l)) + } + if m.Header != nil { + l = m.Header.Size() + n += 2 + l + sovHistory(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *WorkflowExecutionCompletedEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Result != nil { + l = m.Result.Size() + n += 1 + l + sovHistory(uint64(l)) + } + if m.DecisionTaskCompletedEventId != 0 { + n += 1 + sovHistory(uint64(m.DecisionTaskCompletedEventId)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *WorkflowExecutionFailedEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Failure != nil { + l = m.Failure.Size() + n += 1 + l + sovHistory(uint64(l)) + } + if m.DecisionTaskCompletedEventId != 0 { + n += 1 + sovHistory(uint64(m.DecisionTaskCompletedEventId)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *WorkflowExecutionTimedOutEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.TimeoutType != 0 { + n += 1 + sovHistory(uint64(m.TimeoutType)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *DecisionTaskScheduledEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.TaskList != nil { + l = m.TaskList.Size() + n += 1 + l + sovHistory(uint64(l)) + } + if m.StartToCloseTimeout != nil { + l = m.StartToCloseTimeout.Size() + n += 1 + l + sovHistory(uint64(l)) + } + if m.Attempt != 0 { + n += 1 + sovHistory(uint64(m.Attempt)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *DecisionTaskStartedEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.ScheduledEventId != 0 { + n += 1 + sovHistory(uint64(m.ScheduledEventId)) + } + l = len(m.Identity) + if l > 0 { + n += 1 + l + sovHistory(uint64(l)) + } + l = len(m.RequestId) + if l > 0 { + n += 1 + l + sovHistory(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *DecisionTaskCompletedEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.ScheduledEventId != 0 { + n += 1 + sovHistory(uint64(m.ScheduledEventId)) + } + if m.StartedEventId != 0 { + n += 1 + sovHistory(uint64(m.StartedEventId)) + } + l = len(m.Identity) + if l > 0 { + n += 1 + l + sovHistory(uint64(l)) + } + l = len(m.BinaryChecksum) + if l > 0 { + n += 1 + l + sovHistory(uint64(l)) + } + l = len(m.ExecutionContext) + if l > 0 { + n += 1 + l + sovHistory(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *DecisionTaskTimedOutEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.ScheduledEventId != 0 { + n += 1 + sovHistory(uint64(m.ScheduledEventId)) + } + if m.StartedEventId != 0 { + n += 1 + sovHistory(uint64(m.StartedEventId)) + } + if m.TimeoutType != 0 { + n += 1 + sovHistory(uint64(m.TimeoutType)) + } + l = len(m.BaseRunId) + if l > 0 { + n += 1 + l + sovHistory(uint64(l)) + } + l = len(m.NewRunId) + if l > 0 { + n += 1 + l + sovHistory(uint64(l)) + } + if m.ForkEventVersion != 0 { + n += 1 + sovHistory(uint64(m.ForkEventVersion)) + } + l = len(m.Reason) + if l > 0 { + n += 1 + l + sovHistory(uint64(l)) + } + if m.Cause != 0 { + n += 1 + sovHistory(uint64(m.Cause)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *DecisionTaskFailedEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.ScheduledEventId != 0 { + n += 1 + sovHistory(uint64(m.ScheduledEventId)) + } + if m.StartedEventId != 0 { + n += 1 + sovHistory(uint64(m.StartedEventId)) + } + if m.Cause != 0 { + n += 1 + sovHistory(uint64(m.Cause)) + } + if m.Failure != nil { + l = m.Failure.Size() + n += 1 + l + sovHistory(uint64(l)) + } + l = len(m.Identity) + if l > 0 { + n += 1 + l + sovHistory(uint64(l)) + } + l = len(m.BaseRunId) + if l > 0 { + n += 1 + l + sovHistory(uint64(l)) + } + l = len(m.NewRunId) + if l > 0 { + n += 1 + l + sovHistory(uint64(l)) + } + if m.ForkEventVersion != 0 { + n += 1 + sovHistory(uint64(m.ForkEventVersion)) + } + l = len(m.BinaryChecksum) + if l > 0 { + n += 1 + l + sovHistory(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *ActivityTaskScheduledEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ActivityId) + if l > 0 { + n += 1 + l + sovHistory(uint64(l)) + } + if m.ActivityType != nil { + l = m.ActivityType.Size() + n += 1 + l + sovHistory(uint64(l)) + } + l = len(m.Domain) + if l > 0 { + n += 1 + l + sovHistory(uint64(l)) + } + if m.TaskList != nil { + l = m.TaskList.Size() + n += 1 + l + sovHistory(uint64(l)) + } + if m.Input != nil { + l = m.Input.Size() + n += 1 + l + sovHistory(uint64(l)) + } + if m.ScheduleToCloseTimeout != nil { + l = m.ScheduleToCloseTimeout.Size() + n += 1 + l + sovHistory(uint64(l)) + } + if m.ScheduleToStartTimeout != nil { + l = m.ScheduleToStartTimeout.Size() + n += 1 + l + sovHistory(uint64(l)) + } + if m.StartToCloseTimeout != nil { + l = m.StartToCloseTimeout.Size() + n += 1 + l + sovHistory(uint64(l)) + } + if m.HeartbeatTimeout != nil { + l = m.HeartbeatTimeout.Size() + n += 1 + l + sovHistory(uint64(l)) + } + if m.DecisionTaskCompletedEventId != 0 { + n += 1 + sovHistory(uint64(m.DecisionTaskCompletedEventId)) + } + if m.RetryPolicy != nil { + l = m.RetryPolicy.Size() + n += 1 + l + sovHistory(uint64(l)) + } + if m.Header != nil { + l = m.Header.Size() + n += 1 + l + sovHistory(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *ActivityTaskStartedEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.ScheduledEventId != 0 { + n += 1 + sovHistory(uint64(m.ScheduledEventId)) + } + l = len(m.Identity) + if l > 0 { + n += 1 + l + sovHistory(uint64(l)) + } + l = len(m.RequestId) + if l > 0 { + n += 1 + l + sovHistory(uint64(l)) + } + if m.Attempt != 0 { + n += 1 + sovHistory(uint64(m.Attempt)) + } + if m.LastFailure != nil { + l = m.LastFailure.Size() + n += 1 + l + sovHistory(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *ActivityTaskCompletedEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Result != nil { + l = m.Result.Size() + n += 1 + l + sovHistory(uint64(l)) + } + if m.ScheduledEventId != 0 { + n += 1 + sovHistory(uint64(m.ScheduledEventId)) + } + if m.StartedEventId != 0 { + n += 1 + sovHistory(uint64(m.StartedEventId)) + } + l = len(m.Identity) + if l > 0 { + n += 1 + l + sovHistory(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *ActivityTaskFailedEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Failure != nil { + l = m.Failure.Size() + n += 1 + l + sovHistory(uint64(l)) + } + if m.ScheduledEventId != 0 { + n += 1 + sovHistory(uint64(m.ScheduledEventId)) + } + if m.StartedEventId != 0 { + n += 1 + sovHistory(uint64(m.StartedEventId)) + } + l = len(m.Identity) + if l > 0 { + n += 1 + l + sovHistory(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *ActivityTaskTimedOutEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Details != nil { + l = m.Details.Size() + n += 1 + l + sovHistory(uint64(l)) + } + if m.ScheduledEventId != 0 { + n += 1 + sovHistory(uint64(m.ScheduledEventId)) + } + if m.StartedEventId != 0 { + n += 1 + sovHistory(uint64(m.StartedEventId)) + } + if m.TimeoutType != 0 { + n += 1 + sovHistory(uint64(m.TimeoutType)) + } + if m.LastFailure != nil { + l = m.LastFailure.Size() + n += 1 + l + sovHistory(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *ActivityTaskCancelRequestedEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ActivityId) + if l > 0 { + n += 1 + l + sovHistory(uint64(l)) + } + if m.DecisionTaskCompletedEventId != 0 { + n += 1 + sovHistory(uint64(m.DecisionTaskCompletedEventId)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *RequestCancelActivityTaskFailedEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ActivityId) + if l > 0 { + n += 1 + l + sovHistory(uint64(l)) + } + l = len(m.Cause) + if l > 0 { + n += 1 + l + sovHistory(uint64(l)) + } + if m.DecisionTaskCompletedEventId != 0 { + n += 1 + sovHistory(uint64(m.DecisionTaskCompletedEventId)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *ActivityTaskCanceledEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Details != nil { + l = m.Details.Size() + n += 1 + l + sovHistory(uint64(l)) + } + if m.LatestCancelRequestedEventId != 0 { + n += 1 + sovHistory(uint64(m.LatestCancelRequestedEventId)) + } + if m.ScheduledEventId != 0 { + n += 1 + sovHistory(uint64(m.ScheduledEventId)) + } + if m.StartedEventId != 0 { + n += 1 + sovHistory(uint64(m.StartedEventId)) + } + l = len(m.Identity) + if l > 0 { + n += 1 + l + sovHistory(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *TimerStartedEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.TimerId) + if l > 0 { + n += 1 + l + sovHistory(uint64(l)) + } + if m.StartToFireTimeout != nil { + l = m.StartToFireTimeout.Size() + n += 1 + l + sovHistory(uint64(l)) + } + if m.DecisionTaskCompletedEventId != 0 { + n += 1 + sovHistory(uint64(m.DecisionTaskCompletedEventId)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *TimerFiredEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.TimerId) + if l > 0 { + n += 1 + l + sovHistory(uint64(l)) + } + if m.StartedEventId != 0 { + n += 1 + sovHistory(uint64(m.StartedEventId)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *TimerCanceledEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.TimerId) + if l > 0 { + n += 1 + l + sovHistory(uint64(l)) + } + if m.StartedEventId != 0 { + n += 1 + sovHistory(uint64(m.StartedEventId)) + } + if m.DecisionTaskCompletedEventId != 0 { + n += 1 + sovHistory(uint64(m.DecisionTaskCompletedEventId)) + } + l = len(m.Identity) + if l > 0 { + n += 1 + l + sovHistory(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *CancelTimerFailedEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.TimerId) + if l > 0 { + n += 1 + l + sovHistory(uint64(l)) + } + l = len(m.Cause) + if l > 0 { + n += 1 + l + sovHistory(uint64(l)) + } + if m.DecisionTaskCompletedEventId != 0 { + n += 1 + sovHistory(uint64(m.DecisionTaskCompletedEventId)) + } + l = len(m.Identity) + if l > 0 { + n += 1 + l + sovHistory(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *WorkflowExecutionContinuedAsNewEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.NewExecutionRunId) + if l > 0 { + n += 1 + l + sovHistory(uint64(l)) + } + if m.WorkflowType != nil { + l = m.WorkflowType.Size() + n += 1 + l + sovHistory(uint64(l)) + } + if m.TaskList != nil { + l = m.TaskList.Size() + n += 1 + l + sovHistory(uint64(l)) + } + if m.Input != nil { + l = m.Input.Size() + n += 1 + l + sovHistory(uint64(l)) + } + if m.ExecutionStartToCloseTimeout != nil { + l = m.ExecutionStartToCloseTimeout.Size() + n += 1 + l + sovHistory(uint64(l)) + } + if m.TaskStartToCloseTimeout != nil { + l = m.TaskStartToCloseTimeout.Size() + n += 1 + l + sovHistory(uint64(l)) + } + if m.DecisionTaskCompletedEventId != 0 { + n += 1 + sovHistory(uint64(m.DecisionTaskCompletedEventId)) + } + if m.BackoffStartInterval != nil { + l = m.BackoffStartInterval.Size() + n += 1 + l + sovHistory(uint64(l)) + } + if m.Initiator != 0 { + n += 1 + sovHistory(uint64(m.Initiator)) + } + if m.Failure != nil { + l = m.Failure.Size() + n += 1 + l + sovHistory(uint64(l)) + } + if m.LastCompletionResult != nil { + l = m.LastCompletionResult.Size() + n += 1 + l + sovHistory(uint64(l)) + } + if m.Header != nil { + l = m.Header.Size() + n += 1 + l + sovHistory(uint64(l)) + } + if m.Memo != nil { + l = m.Memo.Size() + n += 1 + l + sovHistory(uint64(l)) + } + if m.SearchAttributes != nil { + l = m.SearchAttributes.Size() + n += 1 + l + sovHistory(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *WorkflowExecutionCancelRequestedEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Cause) + if l > 0 { + n += 1 + l + sovHistory(uint64(l)) + } + l = len(m.Identity) + if l > 0 { + n += 1 + l + sovHistory(uint64(l)) + } + if m.ExternalExecutionInfo != nil { + l = m.ExternalExecutionInfo.Size() + n += 1 + l + sovHistory(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *WorkflowExecutionCanceledEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.DecisionTaskCompletedEventId != 0 { + n += 1 + sovHistory(uint64(m.DecisionTaskCompletedEventId)) + } + if m.Details != nil { + l = m.Details.Size() + n += 1 + l + sovHistory(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *MarkerRecordedEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.MarkerName) + if l > 0 { + n += 1 + l + sovHistory(uint64(l)) + } + if m.Details != nil { + l = m.Details.Size() + n += 1 + l + sovHistory(uint64(l)) + } + if m.DecisionTaskCompletedEventId != 0 { + n += 1 + sovHistory(uint64(m.DecisionTaskCompletedEventId)) + } + if m.Header != nil { + l = m.Header.Size() + n += 1 + l + sovHistory(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *WorkflowExecutionSignaledEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.SignalName) + if l > 0 { + n += 1 + l + sovHistory(uint64(l)) + } + if m.Input != nil { + l = m.Input.Size() + n += 1 + l + sovHistory(uint64(l)) + } + l = len(m.Identity) + if l > 0 { + n += 1 + l + sovHistory(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *WorkflowExecutionTerminatedEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Reason) + if l > 0 { + n += 1 + l + sovHistory(uint64(l)) + } + if m.Details != nil { + l = m.Details.Size() + n += 1 + l + sovHistory(uint64(l)) + } + l = len(m.Identity) + if l > 0 { + n += 1 + l + sovHistory(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.DecisionTaskCompletedEventId != 0 { + n += 1 + sovHistory(uint64(m.DecisionTaskCompletedEventId)) + } + l = len(m.Domain) + if l > 0 { + n += 1 + l + sovHistory(uint64(l)) + } + if m.WorkflowExecution != nil { + l = m.WorkflowExecution.Size() + n += 1 + l + sovHistory(uint64(l)) + } + l = len(m.Control) + if l > 0 { + n += 1 + l + sovHistory(uint64(l)) + } + if m.ChildWorkflowOnly { + n += 2 + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *RequestCancelExternalWorkflowExecutionFailedEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Cause != 0 { + n += 1 + sovHistory(uint64(m.Cause)) + } + if m.DecisionTaskCompletedEventId != 0 { + n += 1 + sovHistory(uint64(m.DecisionTaskCompletedEventId)) + } + l = len(m.Domain) + if l > 0 { + n += 1 + l + sovHistory(uint64(l)) + } + if m.WorkflowExecution != nil { + l = m.WorkflowExecution.Size() + n += 1 + l + sovHistory(uint64(l)) + } + if m.InitiatedEventId != 0 { + n += 1 + sovHistory(uint64(m.InitiatedEventId)) + } + l = len(m.Control) + if l > 0 { + n += 1 + l + sovHistory(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *ExternalWorkflowExecutionCancelRequestedEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.InitiatedEventId != 0 { + n += 1 + sovHistory(uint64(m.InitiatedEventId)) + } + l = len(m.Domain) + if l > 0 { + n += 1 + l + sovHistory(uint64(l)) + } + if m.WorkflowExecution != nil { + l = m.WorkflowExecution.Size() + n += 1 + l + sovHistory(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *SignalExternalWorkflowExecutionInitiatedEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.DecisionTaskCompletedEventId != 0 { + n += 1 + sovHistory(uint64(m.DecisionTaskCompletedEventId)) + } + l = len(m.Domain) + if l > 0 { + n += 1 + l + sovHistory(uint64(l)) + } + if m.WorkflowExecution != nil { + l = m.WorkflowExecution.Size() + n += 1 + l + sovHistory(uint64(l)) + } + l = len(m.SignalName) + if l > 0 { + n += 1 + l + sovHistory(uint64(l)) + } + if m.Input != nil { + l = m.Input.Size() + n += 1 + l + sovHistory(uint64(l)) + } + l = len(m.Control) + if l > 0 { + n += 1 + l + sovHistory(uint64(l)) + } + if m.ChildWorkflowOnly { + n += 2 + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *SignalExternalWorkflowExecutionFailedEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Cause != 0 { + n += 1 + sovHistory(uint64(m.Cause)) + } + if m.DecisionTaskCompletedEventId != 0 { + n += 1 + sovHistory(uint64(m.DecisionTaskCompletedEventId)) + } + l = len(m.Domain) + if l > 0 { + n += 1 + l + sovHistory(uint64(l)) + } + if m.WorkflowExecution != nil { + l = m.WorkflowExecution.Size() + n += 1 + l + sovHistory(uint64(l)) + } + if m.InitiatedEventId != 0 { + n += 1 + sovHistory(uint64(m.InitiatedEventId)) + } + l = len(m.Control) + if l > 0 { + n += 1 + l + sovHistory(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *ExternalWorkflowExecutionSignaledEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.InitiatedEventId != 0 { + n += 1 + sovHistory(uint64(m.InitiatedEventId)) + } + l = len(m.Domain) + if l > 0 { + n += 1 + l + sovHistory(uint64(l)) + } + if m.WorkflowExecution != nil { + l = m.WorkflowExecution.Size() + n += 1 + l + sovHistory(uint64(l)) + } + l = len(m.Control) + if l > 0 { + n += 1 + l + sovHistory(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *UpsertWorkflowSearchAttributesEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.DecisionTaskCompletedEventId != 0 { + n += 1 + sovHistory(uint64(m.DecisionTaskCompletedEventId)) + } + if m.SearchAttributes != nil { + l = m.SearchAttributes.Size() + n += 1 + l + sovHistory(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *StartChildWorkflowExecutionInitiatedEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Domain) + if l > 0 { + n += 1 + l + sovHistory(uint64(l)) + } + l = len(m.WorkflowId) + if l > 0 { + n += 1 + l + sovHistory(uint64(l)) + } + if m.WorkflowType != nil { + l = m.WorkflowType.Size() + n += 1 + l + sovHistory(uint64(l)) + } + if m.TaskList != nil { + l = m.TaskList.Size() + n += 1 + l + sovHistory(uint64(l)) + } + if m.Input != nil { + l = m.Input.Size() + n += 1 + l + sovHistory(uint64(l)) + } + if m.ExecutionStartToCloseTimeout != nil { + l = m.ExecutionStartToCloseTimeout.Size() + n += 1 + l + sovHistory(uint64(l)) + } + if m.TaskStartToCloseTimeout != nil { + l = m.TaskStartToCloseTimeout.Size() + n += 1 + l + sovHistory(uint64(l)) + } + if m.ParentClosePolicy != 0 { + n += 1 + sovHistory(uint64(m.ParentClosePolicy)) + } + l = len(m.Control) + if l > 0 { + n += 1 + l + sovHistory(uint64(l)) + } + if m.DecisionTaskCompletedEventId != 0 { + n += 1 + sovHistory(uint64(m.DecisionTaskCompletedEventId)) + } + if m.WorkflowIdReusePolicy != 0 { + n += 1 + sovHistory(uint64(m.WorkflowIdReusePolicy)) + } + if m.RetryPolicy != nil { + l = m.RetryPolicy.Size() + n += 1 + l + sovHistory(uint64(l)) + } + l = len(m.CronSchedule) + if l > 0 { + n += 1 + l + sovHistory(uint64(l)) + } + if m.Header != nil { + l = m.Header.Size() + n += 1 + l + sovHistory(uint64(l)) + } + if m.Memo != nil { + l = m.Memo.Size() + n += 2 + l + sovHistory(uint64(l)) + } + if m.SearchAttributes != nil { + l = m.SearchAttributes.Size() + n += 2 + l + sovHistory(uint64(l)) + } + if m.DelayStart != nil { + l = m.DelayStart.Size() + n += 2 + l + sovHistory(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *StartChildWorkflowExecutionFailedEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Domain) + if l > 0 { + n += 1 + l + sovHistory(uint64(l)) + } + l = len(m.WorkflowId) + if l > 0 { + n += 1 + l + sovHistory(uint64(l)) + } + if m.WorkflowType != nil { + l = m.WorkflowType.Size() + n += 1 + l + sovHistory(uint64(l)) + } + if m.Cause != 0 { + n += 1 + sovHistory(uint64(m.Cause)) + } + l = len(m.Control) + if l > 0 { + n += 1 + l + sovHistory(uint64(l)) + } + if m.InitiatedEventId != 0 { + n += 1 + sovHistory(uint64(m.InitiatedEventId)) + } + if m.DecisionTaskCompletedEventId != 0 { + n += 1 + sovHistory(uint64(m.DecisionTaskCompletedEventId)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *ChildWorkflowExecutionStartedEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Domain) + if l > 0 { + n += 1 + l + sovHistory(uint64(l)) + } + if m.WorkflowExecution != nil { + l = m.WorkflowExecution.Size() + n += 1 + l + sovHistory(uint64(l)) + } + if m.WorkflowType != nil { + l = m.WorkflowType.Size() + n += 1 + l + sovHistory(uint64(l)) + } + if m.InitiatedEventId != 0 { + n += 1 + sovHistory(uint64(m.InitiatedEventId)) + } + if m.Header != nil { + l = m.Header.Size() + n += 1 + l + sovHistory(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *ChildWorkflowExecutionCompletedEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Domain) + if l > 0 { + n += 1 + l + sovHistory(uint64(l)) + } + if m.WorkflowExecution != nil { + l = m.WorkflowExecution.Size() + n += 1 + l + sovHistory(uint64(l)) + } + if m.WorkflowType != nil { + l = m.WorkflowType.Size() + n += 1 + l + sovHistory(uint64(l)) + } + if m.InitiatedEventId != 0 { + n += 1 + sovHistory(uint64(m.InitiatedEventId)) + } + if m.StartedEventId != 0 { + n += 1 + sovHistory(uint64(m.StartedEventId)) + } + if m.Result != nil { + l = m.Result.Size() + n += 1 + l + sovHistory(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *ChildWorkflowExecutionFailedEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Domain) + if l > 0 { + n += 1 + l + sovHistory(uint64(l)) + } + if m.WorkflowExecution != nil { + l = m.WorkflowExecution.Size() + n += 1 + l + sovHistory(uint64(l)) + } + if m.WorkflowType != nil { + l = m.WorkflowType.Size() + n += 1 + l + sovHistory(uint64(l)) + } + if m.InitiatedEventId != 0 { + n += 1 + sovHistory(uint64(m.InitiatedEventId)) + } + if m.StartedEventId != 0 { + n += 1 + sovHistory(uint64(m.StartedEventId)) + } + if m.Failure != nil { + l = m.Failure.Size() + n += 1 + l + sovHistory(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *ChildWorkflowExecutionCanceledEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Domain) + if l > 0 { + n += 1 + l + sovHistory(uint64(l)) + } + if m.WorkflowExecution != nil { + l = m.WorkflowExecution.Size() + n += 1 + l + sovHistory(uint64(l)) + } + if m.WorkflowType != nil { + l = m.WorkflowType.Size() + n += 1 + l + sovHistory(uint64(l)) + } + if m.InitiatedEventId != 0 { + n += 1 + sovHistory(uint64(m.InitiatedEventId)) + } + if m.StartedEventId != 0 { + n += 1 + sovHistory(uint64(m.StartedEventId)) + } + if m.Details != nil { + l = m.Details.Size() + n += 1 + l + sovHistory(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *ChildWorkflowExecutionTimedOutEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Domain) + if l > 0 { + n += 1 + l + sovHistory(uint64(l)) + } + if m.WorkflowExecution != nil { + l = m.WorkflowExecution.Size() + n += 1 + l + sovHistory(uint64(l)) + } + if m.WorkflowType != nil { + l = m.WorkflowType.Size() + n += 1 + l + sovHistory(uint64(l)) + } + if m.InitiatedEventId != 0 { + n += 1 + sovHistory(uint64(m.InitiatedEventId)) + } + if m.StartedEventId != 0 { + n += 1 + sovHistory(uint64(m.StartedEventId)) + } + if m.TimeoutType != 0 { + n += 1 + sovHistory(uint64(m.TimeoutType)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *ChildWorkflowExecutionTerminatedEventAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Domain) + if l > 0 { + n += 1 + l + sovHistory(uint64(l)) + } + if m.WorkflowExecution != nil { + l = m.WorkflowExecution.Size() + n += 1 + l + sovHistory(uint64(l)) + } + if m.WorkflowType != nil { + l = m.WorkflowType.Size() + n += 1 + l + sovHistory(uint64(l)) + } + if m.InitiatedEventId != 0 { + n += 1 + sovHistory(uint64(m.InitiatedEventId)) + } + if m.StartedEventId != 0 { + n += 1 + sovHistory(uint64(m.StartedEventId)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func sovHistory(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozHistory(x uint64) (n int) { + return sovHistory(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *History) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: History: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: History: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Events", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Events = append(m.Events, &HistoryEvent{}) + if err := m.Events[len(m.Events)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipHistory(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthHistory + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *HistoryEvent) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: HistoryEvent: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: HistoryEvent: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field EventId", wireType) + } + m.EventId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.EventId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field EventTime", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.EventTime == nil { + m.EventTime = &types.Timestamp{} + } + if err := m.EventTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) + } + m.Version = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Version |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TaskId", wireType) + } + m.TaskId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TaskId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowExecutionStartedEventAttributes", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &WorkflowExecutionStartedEventAttributes{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Attributes = &HistoryEvent_WorkflowExecutionStartedEventAttributes{v} + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowExecutionCompletedEventAttributes", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &WorkflowExecutionCompletedEventAttributes{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Attributes = &HistoryEvent_WorkflowExecutionCompletedEventAttributes{v} + iNdEx = postIndex + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowExecutionFailedEventAttributes", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &WorkflowExecutionFailedEventAttributes{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Attributes = &HistoryEvent_WorkflowExecutionFailedEventAttributes{v} + iNdEx = postIndex + case 8: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowExecutionTimedOutEventAttributes", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &WorkflowExecutionTimedOutEventAttributes{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Attributes = &HistoryEvent_WorkflowExecutionTimedOutEventAttributes{v} + iNdEx = postIndex + case 9: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DecisionTaskScheduledEventAttributes", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &DecisionTaskScheduledEventAttributes{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Attributes = &HistoryEvent_DecisionTaskScheduledEventAttributes{v} + iNdEx = postIndex + case 10: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DecisionTaskStartedEventAttributes", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &DecisionTaskStartedEventAttributes{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Attributes = &HistoryEvent_DecisionTaskStartedEventAttributes{v} + iNdEx = postIndex + case 11: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DecisionTaskCompletedEventAttributes", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &DecisionTaskCompletedEventAttributes{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Attributes = &HistoryEvent_DecisionTaskCompletedEventAttributes{v} + iNdEx = postIndex + case 12: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DecisionTaskTimedOutEventAttributes", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &DecisionTaskTimedOutEventAttributes{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Attributes = &HistoryEvent_DecisionTaskTimedOutEventAttributes{v} + iNdEx = postIndex + case 13: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DecisionTaskFailedEventAttributes", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &DecisionTaskFailedEventAttributes{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Attributes = &HistoryEvent_DecisionTaskFailedEventAttributes{v} + iNdEx = postIndex + case 14: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ActivityTaskScheduledEventAttributes", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &ActivityTaskScheduledEventAttributes{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Attributes = &HistoryEvent_ActivityTaskScheduledEventAttributes{v} + iNdEx = postIndex + case 15: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ActivityTaskStartedEventAttributes", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &ActivityTaskStartedEventAttributes{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Attributes = &HistoryEvent_ActivityTaskStartedEventAttributes{v} + iNdEx = postIndex + case 16: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ActivityTaskCompletedEventAttributes", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &ActivityTaskCompletedEventAttributes{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Attributes = &HistoryEvent_ActivityTaskCompletedEventAttributes{v} + iNdEx = postIndex + case 17: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ActivityTaskFailedEventAttributes", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &ActivityTaskFailedEventAttributes{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Attributes = &HistoryEvent_ActivityTaskFailedEventAttributes{v} + iNdEx = postIndex + case 18: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ActivityTaskTimedOutEventAttributes", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &ActivityTaskTimedOutEventAttributes{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Attributes = &HistoryEvent_ActivityTaskTimedOutEventAttributes{v} + iNdEx = postIndex + case 19: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TimerStartedEventAttributes", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &TimerStartedEventAttributes{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Attributes = &HistoryEvent_TimerStartedEventAttributes{v} + iNdEx = postIndex + case 20: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TimerFiredEventAttributes", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &TimerFiredEventAttributes{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Attributes = &HistoryEvent_TimerFiredEventAttributes{v} + iNdEx = postIndex + case 21: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ActivityTaskCancelRequestedEventAttributes", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &ActivityTaskCancelRequestedEventAttributes{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Attributes = &HistoryEvent_ActivityTaskCancelRequestedEventAttributes{v} + iNdEx = postIndex + case 22: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RequestCancelActivityTaskFailedEventAttributes", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &RequestCancelActivityTaskFailedEventAttributes{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Attributes = &HistoryEvent_RequestCancelActivityTaskFailedEventAttributes{v} + iNdEx = postIndex + case 23: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ActivityTaskCanceledEventAttributes", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &ActivityTaskCanceledEventAttributes{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Attributes = &HistoryEvent_ActivityTaskCanceledEventAttributes{v} + iNdEx = postIndex + case 24: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TimerCanceledEventAttributes", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &TimerCanceledEventAttributes{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Attributes = &HistoryEvent_TimerCanceledEventAttributes{v} + iNdEx = postIndex + case 25: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CancelTimerFailedEventAttributes", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &CancelTimerFailedEventAttributes{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Attributes = &HistoryEvent_CancelTimerFailedEventAttributes{v} + iNdEx = postIndex + case 26: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field MarkerRecordedEventAttributes", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &MarkerRecordedEventAttributes{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Attributes = &HistoryEvent_MarkerRecordedEventAttributes{v} + iNdEx = postIndex + case 27: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowExecutionSignaledEventAttributes", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &WorkflowExecutionSignaledEventAttributes{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Attributes = &HistoryEvent_WorkflowExecutionSignaledEventAttributes{v} + iNdEx = postIndex + case 28: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowExecutionTerminatedEventAttributes", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &WorkflowExecutionTerminatedEventAttributes{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Attributes = &HistoryEvent_WorkflowExecutionTerminatedEventAttributes{v} + iNdEx = postIndex + case 29: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowExecutionCancelRequestedEventAttributes", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &WorkflowExecutionCancelRequestedEventAttributes{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Attributes = &HistoryEvent_WorkflowExecutionCancelRequestedEventAttributes{v} + iNdEx = postIndex + case 30: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowExecutionCanceledEventAttributes", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &WorkflowExecutionCanceledEventAttributes{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Attributes = &HistoryEvent_WorkflowExecutionCanceledEventAttributes{v} + iNdEx = postIndex + case 31: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RequestCancelExternalWorkflowExecutionInitiatedEventAttributes", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &RequestCancelExternalWorkflowExecutionInitiatedEventAttributes{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Attributes = &HistoryEvent_RequestCancelExternalWorkflowExecutionInitiatedEventAttributes{v} + iNdEx = postIndex + case 32: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RequestCancelExternalWorkflowExecutionFailedEventAttributes", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &RequestCancelExternalWorkflowExecutionFailedEventAttributes{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Attributes = &HistoryEvent_RequestCancelExternalWorkflowExecutionFailedEventAttributes{v} + iNdEx = postIndex + case 33: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ExternalWorkflowExecutionCancelRequestedEventAttributes", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &ExternalWorkflowExecutionCancelRequestedEventAttributes{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Attributes = &HistoryEvent_ExternalWorkflowExecutionCancelRequestedEventAttributes{v} + iNdEx = postIndex + case 34: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowExecutionContinuedAsNewEventAttributes", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &WorkflowExecutionContinuedAsNewEventAttributes{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Attributes = &HistoryEvent_WorkflowExecutionContinuedAsNewEventAttributes{v} + iNdEx = postIndex + case 35: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field StartChildWorkflowExecutionInitiatedEventAttributes", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &StartChildWorkflowExecutionInitiatedEventAttributes{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Attributes = &HistoryEvent_StartChildWorkflowExecutionInitiatedEventAttributes{v} + iNdEx = postIndex + case 36: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field StartChildWorkflowExecutionFailedEventAttributes", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &StartChildWorkflowExecutionFailedEventAttributes{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Attributes = &HistoryEvent_StartChildWorkflowExecutionFailedEventAttributes{v} + iNdEx = postIndex + case 37: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ChildWorkflowExecutionStartedEventAttributes", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &ChildWorkflowExecutionStartedEventAttributes{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Attributes = &HistoryEvent_ChildWorkflowExecutionStartedEventAttributes{v} + iNdEx = postIndex + case 38: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ChildWorkflowExecutionCompletedEventAttributes", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &ChildWorkflowExecutionCompletedEventAttributes{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Attributes = &HistoryEvent_ChildWorkflowExecutionCompletedEventAttributes{v} + iNdEx = postIndex + case 39: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ChildWorkflowExecutionFailedEventAttributes", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &ChildWorkflowExecutionFailedEventAttributes{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Attributes = &HistoryEvent_ChildWorkflowExecutionFailedEventAttributes{v} + iNdEx = postIndex + case 40: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ChildWorkflowExecutionCanceledEventAttributes", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &ChildWorkflowExecutionCanceledEventAttributes{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Attributes = &HistoryEvent_ChildWorkflowExecutionCanceledEventAttributes{v} + iNdEx = postIndex + case 41: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ChildWorkflowExecutionTimedOutEventAttributes", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &ChildWorkflowExecutionTimedOutEventAttributes{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Attributes = &HistoryEvent_ChildWorkflowExecutionTimedOutEventAttributes{v} + iNdEx = postIndex + case 42: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ChildWorkflowExecutionTerminatedEventAttributes", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &ChildWorkflowExecutionTerminatedEventAttributes{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Attributes = &HistoryEvent_ChildWorkflowExecutionTerminatedEventAttributes{v} + iNdEx = postIndex + case 43: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SignalExternalWorkflowExecutionInitiatedEventAttributes", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &SignalExternalWorkflowExecutionInitiatedEventAttributes{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Attributes = &HistoryEvent_SignalExternalWorkflowExecutionInitiatedEventAttributes{v} + iNdEx = postIndex + case 44: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SignalExternalWorkflowExecutionFailedEventAttributes", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &SignalExternalWorkflowExecutionFailedEventAttributes{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Attributes = &HistoryEvent_SignalExternalWorkflowExecutionFailedEventAttributes{v} + iNdEx = postIndex + case 45: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ExternalWorkflowExecutionSignaledEventAttributes", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &ExternalWorkflowExecutionSignaledEventAttributes{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Attributes = &HistoryEvent_ExternalWorkflowExecutionSignaledEventAttributes{v} + iNdEx = postIndex + case 46: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field UpsertWorkflowSearchAttributesEventAttributes", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &UpsertWorkflowSearchAttributesEventAttributes{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Attributes = &HistoryEvent_UpsertWorkflowSearchAttributesEventAttributes{v} + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipHistory(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthHistory + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *WorkflowExecutionStartedEventAttributes) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: WorkflowExecutionStartedEventAttributes: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: WorkflowExecutionStartedEventAttributes: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowType", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.WorkflowType == nil { + m.WorkflowType = &WorkflowType{} + } + if err := m.WorkflowType.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ParentExecutionInfo", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.ParentExecutionInfo == nil { + m.ParentExecutionInfo = &ParentExecutionInfo{} + } + if err := m.ParentExecutionInfo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TaskList", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.TaskList == nil { + m.TaskList = &TaskList{} + } + if err := m.TaskList.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Input", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Input == nil { + m.Input = &Payload{} + } + if err := m.Input.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ExecutionStartToCloseTimeout", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.ExecutionStartToCloseTimeout == nil { + m.ExecutionStartToCloseTimeout = &types.Duration{} + } + if err := m.ExecutionStartToCloseTimeout.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TaskStartToCloseTimeout", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.TaskStartToCloseTimeout == nil { + m.TaskStartToCloseTimeout = &types.Duration{} + } + if err := m.TaskStartToCloseTimeout.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ContinuedExecutionRunId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ContinuedExecutionRunId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 8: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Initiator", wireType) + } + m.Initiator = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Initiator |= ContinueAsNewInitiator(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 9: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ContinuedFailure", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.ContinuedFailure == nil { + m.ContinuedFailure = &Failure{} + } + if err := m.ContinuedFailure.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 10: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field LastCompletionResult", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.LastCompletionResult == nil { + m.LastCompletionResult = &Payload{} + } + if err := m.LastCompletionResult.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 11: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field OriginalExecutionRunId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.OriginalExecutionRunId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 12: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Identity", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Identity = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 13: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field FirstExecutionRunId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.FirstExecutionRunId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 14: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RetryPolicy", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.RetryPolicy == nil { + m.RetryPolicy = &RetryPolicy{} + } + if err := m.RetryPolicy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 15: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Attempt", wireType) + } + m.Attempt = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Attempt |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 16: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ExpirationTime", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.ExpirationTime == nil { + m.ExpirationTime = &types.Timestamp{} + } + if err := m.ExpirationTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 17: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CronSchedule", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.CronSchedule = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 18: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field FirstDecisionTaskBackoff", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.FirstDecisionTaskBackoff == nil { + m.FirstDecisionTaskBackoff = &types.Duration{} + } + if err := m.FirstDecisionTaskBackoff.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 19: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Memo", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Memo == nil { + m.Memo = &Memo{} + } + if err := m.Memo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 20: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SearchAttributes", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.SearchAttributes == nil { + m.SearchAttributes = &SearchAttributes{} + } + if err := m.SearchAttributes.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 21: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PrevAutoResetPoints", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.PrevAutoResetPoints == nil { + m.PrevAutoResetPoints = &ResetPoints{} + } + if err := m.PrevAutoResetPoints.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 22: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Header", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Header == nil { + m.Header = &Header{} + } + if err := m.Header.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipHistory(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthHistory + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *WorkflowExecutionCompletedEventAttributes) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: WorkflowExecutionCompletedEventAttributes: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: WorkflowExecutionCompletedEventAttributes: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Result", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Result == nil { + m.Result = &Payload{} + } + if err := m.Result.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field DecisionTaskCompletedEventId", wireType) + } + m.DecisionTaskCompletedEventId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.DecisionTaskCompletedEventId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipHistory(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthHistory + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *WorkflowExecutionFailedEventAttributes) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: WorkflowExecutionFailedEventAttributes: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: WorkflowExecutionFailedEventAttributes: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Failure", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Failure == nil { + m.Failure = &Failure{} + } + if err := m.Failure.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field DecisionTaskCompletedEventId", wireType) + } + m.DecisionTaskCompletedEventId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.DecisionTaskCompletedEventId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipHistory(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthHistory + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *WorkflowExecutionTimedOutEventAttributes) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: WorkflowExecutionTimedOutEventAttributes: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: WorkflowExecutionTimedOutEventAttributes: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TimeoutType", wireType) + } + m.TimeoutType = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TimeoutType |= TimeoutType(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipHistory(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthHistory + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *DecisionTaskScheduledEventAttributes) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: DecisionTaskScheduledEventAttributes: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: DecisionTaskScheduledEventAttributes: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TaskList", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.TaskList == nil { + m.TaskList = &TaskList{} + } + if err := m.TaskList.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field StartToCloseTimeout", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.StartToCloseTimeout == nil { + m.StartToCloseTimeout = &types.Duration{} + } + if err := m.StartToCloseTimeout.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Attempt", wireType) + } + m.Attempt = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Attempt |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipHistory(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthHistory + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *DecisionTaskStartedEventAttributes) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: DecisionTaskStartedEventAttributes: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: DecisionTaskStartedEventAttributes: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ScheduledEventId", wireType) + } + m.ScheduledEventId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ScheduledEventId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Identity", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Identity = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RequestId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.RequestId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipHistory(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthHistory + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *DecisionTaskCompletedEventAttributes) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: DecisionTaskCompletedEventAttributes: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: DecisionTaskCompletedEventAttributes: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ScheduledEventId", wireType) + } + m.ScheduledEventId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ScheduledEventId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field StartedEventId", wireType) + } + m.StartedEventId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.StartedEventId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Identity", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Identity = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field BinaryChecksum", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.BinaryChecksum = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ExecutionContext", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ExecutionContext = append(m.ExecutionContext[:0], dAtA[iNdEx:postIndex]...) + if m.ExecutionContext == nil { + m.ExecutionContext = []byte{} + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipHistory(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthHistory + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *DecisionTaskTimedOutEventAttributes) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: DecisionTaskTimedOutEventAttributes: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: DecisionTaskTimedOutEventAttributes: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ScheduledEventId", wireType) + } + m.ScheduledEventId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ScheduledEventId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field StartedEventId", wireType) + } + m.StartedEventId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.StartedEventId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TimeoutType", wireType) + } + m.TimeoutType = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TimeoutType |= TimeoutType(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field BaseRunId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.BaseRunId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field NewRunId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.NewRunId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 6: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ForkEventVersion", wireType) + } + m.ForkEventVersion = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ForkEventVersion |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Reason = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 8: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Cause", wireType) + } + m.Cause = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Cause |= DecisionTaskTimedOutCause(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipHistory(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthHistory + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *DecisionTaskFailedEventAttributes) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: DecisionTaskFailedEventAttributes: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: DecisionTaskFailedEventAttributes: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ScheduledEventId", wireType) + } + m.ScheduledEventId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ScheduledEventId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field StartedEventId", wireType) + } + m.StartedEventId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.StartedEventId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Cause", wireType) + } + m.Cause = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Cause |= DecisionTaskFailedCause(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Failure", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Failure == nil { + m.Failure = &Failure{} + } + if err := m.Failure.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Identity", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Identity = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field BaseRunId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.BaseRunId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field NewRunId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.NewRunId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 8: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ForkEventVersion", wireType) + } + m.ForkEventVersion = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ForkEventVersion |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 9: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field BinaryChecksum", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.BinaryChecksum = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipHistory(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthHistory + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ActivityTaskScheduledEventAttributes) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ActivityTaskScheduledEventAttributes: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ActivityTaskScheduledEventAttributes: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ActivityId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ActivityId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ActivityType", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.ActivityType == nil { + m.ActivityType = &ActivityType{} + } + if err := m.ActivityType.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Domain", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Domain = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TaskList", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.TaskList == nil { + m.TaskList = &TaskList{} + } + if err := m.TaskList.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Input", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Input == nil { + m.Input = &Payload{} + } + if err := m.Input.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ScheduleToCloseTimeout", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.ScheduleToCloseTimeout == nil { + m.ScheduleToCloseTimeout = &types.Duration{} + } + if err := m.ScheduleToCloseTimeout.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 8: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ScheduleToStartTimeout", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.ScheduleToStartTimeout == nil { + m.ScheduleToStartTimeout = &types.Duration{} + } + if err := m.ScheduleToStartTimeout.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 9: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field StartToCloseTimeout", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.StartToCloseTimeout == nil { + m.StartToCloseTimeout = &types.Duration{} + } + if err := m.StartToCloseTimeout.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 10: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field HeartbeatTimeout", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.HeartbeatTimeout == nil { + m.HeartbeatTimeout = &types.Duration{} + } + if err := m.HeartbeatTimeout.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 11: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field DecisionTaskCompletedEventId", wireType) + } + m.DecisionTaskCompletedEventId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.DecisionTaskCompletedEventId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 12: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RetryPolicy", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.RetryPolicy == nil { + m.RetryPolicy = &RetryPolicy{} + } + if err := m.RetryPolicy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 13: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Header", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Header == nil { + m.Header = &Header{} + } + if err := m.Header.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipHistory(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthHistory + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ActivityTaskStartedEventAttributes) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ActivityTaskStartedEventAttributes: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ActivityTaskStartedEventAttributes: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ScheduledEventId", wireType) + } + m.ScheduledEventId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ScheduledEventId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Identity", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Identity = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RequestId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.RequestId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Attempt", wireType) + } + m.Attempt = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Attempt |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field LastFailure", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.LastFailure == nil { + m.LastFailure = &Failure{} + } + if err := m.LastFailure.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipHistory(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthHistory + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ActivityTaskCompletedEventAttributes) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ActivityTaskCompletedEventAttributes: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ActivityTaskCompletedEventAttributes: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Result", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Result == nil { + m.Result = &Payload{} + } + if err := m.Result.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ScheduledEventId", wireType) + } + m.ScheduledEventId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ScheduledEventId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field StartedEventId", wireType) + } + m.StartedEventId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.StartedEventId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Identity", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Identity = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipHistory(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthHistory + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ActivityTaskFailedEventAttributes) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ActivityTaskFailedEventAttributes: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ActivityTaskFailedEventAttributes: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Failure", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Failure == nil { + m.Failure = &Failure{} + } + if err := m.Failure.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ScheduledEventId", wireType) + } + m.ScheduledEventId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ScheduledEventId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field StartedEventId", wireType) + } + m.StartedEventId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.StartedEventId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Identity", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Identity = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipHistory(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthHistory + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ActivityTaskTimedOutEventAttributes) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ActivityTaskTimedOutEventAttributes: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ActivityTaskTimedOutEventAttributes: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Details", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Details == nil { + m.Details = &Payload{} + } + if err := m.Details.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ScheduledEventId", wireType) + } + m.ScheduledEventId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ScheduledEventId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field StartedEventId", wireType) + } + m.StartedEventId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.StartedEventId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TimeoutType", wireType) + } + m.TimeoutType = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TimeoutType |= TimeoutType(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field LastFailure", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.LastFailure == nil { + m.LastFailure = &Failure{} + } + if err := m.LastFailure.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipHistory(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthHistory + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ActivityTaskCancelRequestedEventAttributes) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ActivityTaskCancelRequestedEventAttributes: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ActivityTaskCancelRequestedEventAttributes: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ActivityId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ActivityId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field DecisionTaskCompletedEventId", wireType) + } + m.DecisionTaskCompletedEventId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.DecisionTaskCompletedEventId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipHistory(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthHistory + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RequestCancelActivityTaskFailedEventAttributes) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RequestCancelActivityTaskFailedEventAttributes: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RequestCancelActivityTaskFailedEventAttributes: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ActivityId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ActivityId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cause", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Cause = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field DecisionTaskCompletedEventId", wireType) + } + m.DecisionTaskCompletedEventId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.DecisionTaskCompletedEventId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipHistory(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthHistory + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ActivityTaskCanceledEventAttributes) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ActivityTaskCanceledEventAttributes: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ActivityTaskCanceledEventAttributes: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Details", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Details == nil { + m.Details = &Payload{} + } + if err := m.Details.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field LatestCancelRequestedEventId", wireType) + } + m.LatestCancelRequestedEventId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.LatestCancelRequestedEventId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ScheduledEventId", wireType) + } + m.ScheduledEventId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ScheduledEventId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field StartedEventId", wireType) + } + m.StartedEventId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.StartedEventId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Identity", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Identity = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipHistory(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthHistory + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *TimerStartedEventAttributes) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: TimerStartedEventAttributes: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: TimerStartedEventAttributes: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TimerId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TimerId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field StartToFireTimeout", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.StartToFireTimeout == nil { + m.StartToFireTimeout = &types.Duration{} + } + if err := m.StartToFireTimeout.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field DecisionTaskCompletedEventId", wireType) + } + m.DecisionTaskCompletedEventId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.DecisionTaskCompletedEventId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipHistory(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthHistory + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *TimerFiredEventAttributes) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: TimerFiredEventAttributes: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: TimerFiredEventAttributes: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TimerId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TimerId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field StartedEventId", wireType) + } + m.StartedEventId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.StartedEventId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipHistory(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthHistory + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *TimerCanceledEventAttributes) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: TimerCanceledEventAttributes: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: TimerCanceledEventAttributes: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TimerId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TimerId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field StartedEventId", wireType) + } + m.StartedEventId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.StartedEventId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field DecisionTaskCompletedEventId", wireType) + } + m.DecisionTaskCompletedEventId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.DecisionTaskCompletedEventId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Identity", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Identity = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipHistory(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthHistory + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *CancelTimerFailedEventAttributes) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: CancelTimerFailedEventAttributes: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: CancelTimerFailedEventAttributes: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TimerId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TimerId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cause", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Cause = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field DecisionTaskCompletedEventId", wireType) + } + m.DecisionTaskCompletedEventId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.DecisionTaskCompletedEventId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Identity", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Identity = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipHistory(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthHistory + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *WorkflowExecutionContinuedAsNewEventAttributes) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: WorkflowExecutionContinuedAsNewEventAttributes: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: WorkflowExecutionContinuedAsNewEventAttributes: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field NewExecutionRunId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.NewExecutionRunId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowType", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.WorkflowType == nil { + m.WorkflowType = &WorkflowType{} + } + if err := m.WorkflowType.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TaskList", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.TaskList == nil { + m.TaskList = &TaskList{} + } + if err := m.TaskList.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Input", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Input == nil { + m.Input = &Payload{} + } + if err := m.Input.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ExecutionStartToCloseTimeout", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.ExecutionStartToCloseTimeout == nil { + m.ExecutionStartToCloseTimeout = &types.Duration{} + } + if err := m.ExecutionStartToCloseTimeout.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TaskStartToCloseTimeout", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.TaskStartToCloseTimeout == nil { + m.TaskStartToCloseTimeout = &types.Duration{} + } + if err := m.TaskStartToCloseTimeout.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 7: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field DecisionTaskCompletedEventId", wireType) + } + m.DecisionTaskCompletedEventId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.DecisionTaskCompletedEventId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 8: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field BackoffStartInterval", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.BackoffStartInterval == nil { + m.BackoffStartInterval = &types.Duration{} + } + if err := m.BackoffStartInterval.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 9: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Initiator", wireType) + } + m.Initiator = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Initiator |= ContinueAsNewInitiator(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 10: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Failure", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Failure == nil { + m.Failure = &Failure{} + } + if err := m.Failure.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 11: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field LastCompletionResult", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.LastCompletionResult == nil { + m.LastCompletionResult = &Payload{} + } + if err := m.LastCompletionResult.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 12: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Header", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Header == nil { + m.Header = &Header{} + } + if err := m.Header.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 13: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Memo", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Memo == nil { + m.Memo = &Memo{} + } + if err := m.Memo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 14: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SearchAttributes", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.SearchAttributes == nil { + m.SearchAttributes = &SearchAttributes{} + } + if err := m.SearchAttributes.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipHistory(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthHistory + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *WorkflowExecutionCancelRequestedEventAttributes) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: WorkflowExecutionCancelRequestedEventAttributes: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: WorkflowExecutionCancelRequestedEventAttributes: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Cause", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Cause = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Identity", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Identity = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ExternalExecutionInfo", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.ExternalExecutionInfo == nil { + m.ExternalExecutionInfo = &ExternalExecutionInfo{} + } + if err := m.ExternalExecutionInfo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipHistory(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthHistory + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *WorkflowExecutionCanceledEventAttributes) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: WorkflowExecutionCanceledEventAttributes: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: WorkflowExecutionCanceledEventAttributes: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field DecisionTaskCompletedEventId", wireType) + } + m.DecisionTaskCompletedEventId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.DecisionTaskCompletedEventId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Details", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Details == nil { + m.Details = &Payload{} + } + if err := m.Details.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipHistory(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthHistory + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MarkerRecordedEventAttributes) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MarkerRecordedEventAttributes: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MarkerRecordedEventAttributes: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field MarkerName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.MarkerName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Details", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Details == nil { + m.Details = &Payload{} + } + if err := m.Details.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field DecisionTaskCompletedEventId", wireType) + } + m.DecisionTaskCompletedEventId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.DecisionTaskCompletedEventId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Header", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Header == nil { + m.Header = &Header{} + } + if err := m.Header.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipHistory(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthHistory + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *WorkflowExecutionSignaledEventAttributes) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: WorkflowExecutionSignaledEventAttributes: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: WorkflowExecutionSignaledEventAttributes: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SignalName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.SignalName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Input", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Input == nil { + m.Input = &Payload{} + } + if err := m.Input.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Identity", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Identity = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipHistory(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthHistory + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *WorkflowExecutionTerminatedEventAttributes) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: WorkflowExecutionTerminatedEventAttributes: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: WorkflowExecutionTerminatedEventAttributes: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Reason = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Details", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Details == nil { + m.Details = &Payload{} + } + if err := m.Details.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Identity", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Identity = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipHistory(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthHistory + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RequestCancelExternalWorkflowExecutionInitiatedEventAttributes) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RequestCancelExternalWorkflowExecutionInitiatedEventAttributes: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RequestCancelExternalWorkflowExecutionInitiatedEventAttributes: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field DecisionTaskCompletedEventId", wireType) + } + m.DecisionTaskCompletedEventId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.DecisionTaskCompletedEventId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Domain", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Domain = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowExecution", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.WorkflowExecution == nil { + m.WorkflowExecution = &WorkflowExecution{} + } + if err := m.WorkflowExecution.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Control", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Control = append(m.Control[:0], dAtA[iNdEx:postIndex]...) + if m.Control == nil { + m.Control = []byte{} + } + iNdEx = postIndex + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ChildWorkflowOnly", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.ChildWorkflowOnly = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skipHistory(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthHistory + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RequestCancelExternalWorkflowExecutionFailedEventAttributes) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RequestCancelExternalWorkflowExecutionFailedEventAttributes: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RequestCancelExternalWorkflowExecutionFailedEventAttributes: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Cause", wireType) + } + m.Cause = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Cause |= CancelExternalWorkflowExecutionFailedCause(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field DecisionTaskCompletedEventId", wireType) + } + m.DecisionTaskCompletedEventId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.DecisionTaskCompletedEventId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Domain", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Domain = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowExecution", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.WorkflowExecution == nil { + m.WorkflowExecution = &WorkflowExecution{} + } + if err := m.WorkflowExecution.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field InitiatedEventId", wireType) + } + m.InitiatedEventId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.InitiatedEventId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Control", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Control = append(m.Control[:0], dAtA[iNdEx:postIndex]...) + if m.Control == nil { + m.Control = []byte{} + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipHistory(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthHistory + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ExternalWorkflowExecutionCancelRequestedEventAttributes) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ExternalWorkflowExecutionCancelRequestedEventAttributes: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ExternalWorkflowExecutionCancelRequestedEventAttributes: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field InitiatedEventId", wireType) + } + m.InitiatedEventId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.InitiatedEventId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Domain", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Domain = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowExecution", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.WorkflowExecution == nil { + m.WorkflowExecution = &WorkflowExecution{} + } + if err := m.WorkflowExecution.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipHistory(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthHistory + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SignalExternalWorkflowExecutionInitiatedEventAttributes) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: SignalExternalWorkflowExecutionInitiatedEventAttributes: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SignalExternalWorkflowExecutionInitiatedEventAttributes: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field DecisionTaskCompletedEventId", wireType) + } + m.DecisionTaskCompletedEventId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.DecisionTaskCompletedEventId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Domain", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Domain = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowExecution", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.WorkflowExecution == nil { + m.WorkflowExecution = &WorkflowExecution{} + } + if err := m.WorkflowExecution.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SignalName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.SignalName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Input", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Input == nil { + m.Input = &Payload{} + } + if err := m.Input.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Control", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Control = append(m.Control[:0], dAtA[iNdEx:postIndex]...) + if m.Control == nil { + m.Control = []byte{} + } + iNdEx = postIndex + case 7: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ChildWorkflowOnly", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.ChildWorkflowOnly = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skipHistory(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthHistory + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SignalExternalWorkflowExecutionFailedEventAttributes) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: SignalExternalWorkflowExecutionFailedEventAttributes: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SignalExternalWorkflowExecutionFailedEventAttributes: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Cause", wireType) + } + m.Cause = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Cause |= SignalExternalWorkflowExecutionFailedCause(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field DecisionTaskCompletedEventId", wireType) + } + m.DecisionTaskCompletedEventId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.DecisionTaskCompletedEventId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Domain", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Domain = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowExecution", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.WorkflowExecution == nil { + m.WorkflowExecution = &WorkflowExecution{} + } + if err := m.WorkflowExecution.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field InitiatedEventId", wireType) + } + m.InitiatedEventId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.InitiatedEventId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Control", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Control = append(m.Control[:0], dAtA[iNdEx:postIndex]...) + if m.Control == nil { + m.Control = []byte{} + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipHistory(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthHistory + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ExternalWorkflowExecutionSignaledEventAttributes) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ExternalWorkflowExecutionSignaledEventAttributes: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ExternalWorkflowExecutionSignaledEventAttributes: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field InitiatedEventId", wireType) + } + m.InitiatedEventId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.InitiatedEventId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Domain", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Domain = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowExecution", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.WorkflowExecution == nil { + m.WorkflowExecution = &WorkflowExecution{} + } + if err := m.WorkflowExecution.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Control", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Control = append(m.Control[:0], dAtA[iNdEx:postIndex]...) + if m.Control == nil { + m.Control = []byte{} + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipHistory(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthHistory + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *UpsertWorkflowSearchAttributesEventAttributes) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: UpsertWorkflowSearchAttributesEventAttributes: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: UpsertWorkflowSearchAttributesEventAttributes: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field DecisionTaskCompletedEventId", wireType) + } + m.DecisionTaskCompletedEventId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.DecisionTaskCompletedEventId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SearchAttributes", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.SearchAttributes == nil { + m.SearchAttributes = &SearchAttributes{} + } + if err := m.SearchAttributes.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipHistory(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthHistory + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *StartChildWorkflowExecutionInitiatedEventAttributes) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: StartChildWorkflowExecutionInitiatedEventAttributes: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: StartChildWorkflowExecutionInitiatedEventAttributes: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Domain", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Domain = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.WorkflowId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowType", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.WorkflowType == nil { + m.WorkflowType = &WorkflowType{} + } + if err := m.WorkflowType.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TaskList", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.TaskList == nil { + m.TaskList = &TaskList{} + } + if err := m.TaskList.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Input", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Input == nil { + m.Input = &Payload{} + } + if err := m.Input.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ExecutionStartToCloseTimeout", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.ExecutionStartToCloseTimeout == nil { + m.ExecutionStartToCloseTimeout = &types.Duration{} + } + if err := m.ExecutionStartToCloseTimeout.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TaskStartToCloseTimeout", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.TaskStartToCloseTimeout == nil { + m.TaskStartToCloseTimeout = &types.Duration{} + } + if err := m.TaskStartToCloseTimeout.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 8: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ParentClosePolicy", wireType) + } + m.ParentClosePolicy = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ParentClosePolicy |= ParentClosePolicy(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 9: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Control", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Control = append(m.Control[:0], dAtA[iNdEx:postIndex]...) + if m.Control == nil { + m.Control = []byte{} + } + iNdEx = postIndex + case 10: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field DecisionTaskCompletedEventId", wireType) + } + m.DecisionTaskCompletedEventId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.DecisionTaskCompletedEventId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 11: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowIdReusePolicy", wireType) + } + m.WorkflowIdReusePolicy = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.WorkflowIdReusePolicy |= WorkflowIdReusePolicy(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 13: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RetryPolicy", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.RetryPolicy == nil { + m.RetryPolicy = &RetryPolicy{} + } + if err := m.RetryPolicy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 14: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CronSchedule", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.CronSchedule = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 15: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Header", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Header == nil { + m.Header = &Header{} + } + if err := m.Header.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 16: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Memo", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Memo == nil { + m.Memo = &Memo{} + } + if err := m.Memo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 17: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SearchAttributes", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.SearchAttributes == nil { + m.SearchAttributes = &SearchAttributes{} + } + if err := m.SearchAttributes.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 18: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DelayStart", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.DelayStart == nil { + m.DelayStart = &types.Duration{} + } + if err := m.DelayStart.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipHistory(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthHistory + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *StartChildWorkflowExecutionFailedEventAttributes) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: StartChildWorkflowExecutionFailedEventAttributes: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: StartChildWorkflowExecutionFailedEventAttributes: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Domain", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Domain = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.WorkflowId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowType", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.WorkflowType == nil { + m.WorkflowType = &WorkflowType{} + } + if err := m.WorkflowType.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Cause", wireType) + } + m.Cause = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Cause |= ChildWorkflowExecutionFailedCause(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Control", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Control = append(m.Control[:0], dAtA[iNdEx:postIndex]...) + if m.Control == nil { + m.Control = []byte{} + } + iNdEx = postIndex + case 6: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field InitiatedEventId", wireType) + } + m.InitiatedEventId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.InitiatedEventId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 7: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field DecisionTaskCompletedEventId", wireType) + } + m.DecisionTaskCompletedEventId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.DecisionTaskCompletedEventId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipHistory(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthHistory + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ChildWorkflowExecutionStartedEventAttributes) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ChildWorkflowExecutionStartedEventAttributes: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ChildWorkflowExecutionStartedEventAttributes: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Domain", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Domain = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowExecution", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.WorkflowExecution == nil { + m.WorkflowExecution = &WorkflowExecution{} + } + if err := m.WorkflowExecution.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowType", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.WorkflowType == nil { + m.WorkflowType = &WorkflowType{} + } + if err := m.WorkflowType.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field InitiatedEventId", wireType) + } + m.InitiatedEventId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.InitiatedEventId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Header", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Header == nil { + m.Header = &Header{} + } + if err := m.Header.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipHistory(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthHistory + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ChildWorkflowExecutionCompletedEventAttributes) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ChildWorkflowExecutionCompletedEventAttributes: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ChildWorkflowExecutionCompletedEventAttributes: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Domain", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Domain = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowExecution", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.WorkflowExecution == nil { + m.WorkflowExecution = &WorkflowExecution{} + } + if err := m.WorkflowExecution.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowType", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.WorkflowType == nil { + m.WorkflowType = &WorkflowType{} + } + if err := m.WorkflowType.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field InitiatedEventId", wireType) + } + m.InitiatedEventId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.InitiatedEventId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field StartedEventId", wireType) + } + m.StartedEventId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.StartedEventId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Result", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Result == nil { + m.Result = &Payload{} + } + if err := m.Result.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipHistory(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthHistory + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ChildWorkflowExecutionFailedEventAttributes) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ChildWorkflowExecutionFailedEventAttributes: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ChildWorkflowExecutionFailedEventAttributes: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Domain", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Domain = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowExecution", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.WorkflowExecution == nil { + m.WorkflowExecution = &WorkflowExecution{} + } + if err := m.WorkflowExecution.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowType", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.WorkflowType == nil { + m.WorkflowType = &WorkflowType{} + } + if err := m.WorkflowType.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field InitiatedEventId", wireType) + } + m.InitiatedEventId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.InitiatedEventId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field StartedEventId", wireType) + } + m.StartedEventId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.StartedEventId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Failure", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Failure == nil { + m.Failure = &Failure{} + } + if err := m.Failure.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipHistory(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthHistory + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ChildWorkflowExecutionCanceledEventAttributes) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ChildWorkflowExecutionCanceledEventAttributes: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ChildWorkflowExecutionCanceledEventAttributes: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Domain", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Domain = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowExecution", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.WorkflowExecution == nil { + m.WorkflowExecution = &WorkflowExecution{} + } + if err := m.WorkflowExecution.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowType", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.WorkflowType == nil { + m.WorkflowType = &WorkflowType{} + } + if err := m.WorkflowType.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field InitiatedEventId", wireType) + } + m.InitiatedEventId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.InitiatedEventId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field StartedEventId", wireType) + } + m.StartedEventId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.StartedEventId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Details", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Details == nil { + m.Details = &Payload{} + } + if err := m.Details.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipHistory(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthHistory + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ChildWorkflowExecutionTimedOutEventAttributes) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ChildWorkflowExecutionTimedOutEventAttributes: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ChildWorkflowExecutionTimedOutEventAttributes: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Domain", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Domain = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowExecution", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.WorkflowExecution == nil { + m.WorkflowExecution = &WorkflowExecution{} + } + if err := m.WorkflowExecution.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowType", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.WorkflowType == nil { + m.WorkflowType = &WorkflowType{} + } + if err := m.WorkflowType.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field InitiatedEventId", wireType) + } + m.InitiatedEventId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.InitiatedEventId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field StartedEventId", wireType) + } + m.StartedEventId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.StartedEventId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 6: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TimeoutType", wireType) + } + m.TimeoutType = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TimeoutType |= TimeoutType(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipHistory(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthHistory + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ChildWorkflowExecutionTerminatedEventAttributes) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ChildWorkflowExecutionTerminatedEventAttributes: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ChildWorkflowExecutionTerminatedEventAttributes: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Domain", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Domain = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowExecution", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.WorkflowExecution == nil { + m.WorkflowExecution = &WorkflowExecution{} + } + if err := m.WorkflowExecution.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowType", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthHistory + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthHistory + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.WorkflowType == nil { + m.WorkflowType = &WorkflowType{} + } + if err := m.WorkflowType.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field InitiatedEventId", wireType) + } + m.InitiatedEventId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.InitiatedEventId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field StartedEventId", wireType) + } + m.StartedEventId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowHistory + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.StartedEventId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipHistory(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthHistory + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func skipHistory(dAtA []byte) (n int, err error) { + l := len(dAtA) + iNdEx := 0 + depth := 0 + for iNdEx < l { + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowHistory + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + wireType := int(wire & 0x7) + switch wireType { + case 0: + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowHistory + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + iNdEx++ + if dAtA[iNdEx-1] < 0x80 { + break + } + } + case 1: + iNdEx += 8 + case 2: + var length int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowHistory + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + length |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if length < 0 { + return 0, ErrInvalidLengthHistory + } + iNdEx += length + case 3: + depth++ + case 4: + if depth == 0 { + return 0, ErrUnexpectedEndOfGroupHistory + } + depth-- + case 5: + iNdEx += 4 + default: + return 0, fmt.Errorf("proto: illegal wireType %d", wireType) + } + if iNdEx < 0 { + return 0, ErrInvalidLengthHistory + } + if depth == 0 { + return iNdEx, nil + } + } + return 0, io.ErrUnexpectedEOF +} + +var ( + ErrInvalidLengthHistory = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflowHistory = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroupHistory = fmt.Errorf("proto: unexpected end of group") +) diff --git a/go/proto/api/v1/history.pb.yarpc.go b/go/proto/api/v1/history.pb.yarpc.go new file mode 100644 index 0000000..aa8a8e5 --- /dev/null +++ b/go/proto/api/v1/history.pb.yarpc.go @@ -0,0 +1,557 @@ +// The MIT License (MIT) +// +// Copyright (c) 2021 Uber Technologies, Inc. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +// SOFTWARE. + +// Code generated by protoc-gen-yarpc-go. DO NOT EDIT. +// source: uber/cadence/api/v1/history.proto + +package apiv1 + +var yarpcFileDescriptorClosure8237ca6511ad6c62 = [][]byte{ + // uber/cadence/api/v1/history.proto + []byte{ + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x5c, 0x5f, 0x6c, 0x1c, 0x57, + 0xd5, 0xef, 0xec, 0xda, 0xbb, 0xde, 0xb3, 0x8e, 0x63, 0xdf, 0x24, 0x8e, 0x9d, 0xbf, 0xce, 0x24, + 0x4d, 0x5c, 0xc7, 0x59, 0x27, 0x4e, 0x9a, 0x7c, 0x69, 0xbe, 0xb6, 0x38, 0x8e, 0xad, 0xae, 0x64, + 0x92, 0x68, 0xe2, 0xa4, 0x80, 0x90, 0x96, 0xf1, 0xcc, 0x75, 0x3c, 0xf2, 0xee, 0xcc, 0x76, 0x66, + 0xd6, 0x1b, 0x23, 0xf1, 0xc4, 0x03, 0x12, 0x6a, 0x05, 0x55, 0x85, 0x44, 0x05, 0x08, 0x84, 0x04, + 0x6a, 0x11, 0x52, 0x11, 0x08, 0x01, 0xe2, 0x05, 0x90, 0x10, 0x48, 0xa0, 0xc2, 0x13, 0x2f, 0x3c, + 0xc0, 0x03, 0x0f, 0xf4, 0x8d, 0x07, 0xca, 0x1b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82, 0x72, 0x8f, 0x0b, + 0x4a, 0x29, 0x49, 0xb9, 0x55, 0x01, 0x3a, 0xa2, 0x48, 0x61, 0x54, 0x3c, 0x45, 0x9a, 0x48, 0x50, + 0xa4, 0x5e, 0x48, 0x5c, 0x45, 0x52, 0xd3, 0x88, 0x88, 0xa5, 0x85, 0xc1, 0x24, 0x58, 0x1a, 0x4a, + 0xb0, 0xb4, 0x5e, 0x3c, 0x09, 0x96, 0xa6, 0xa6, 0x93, 0xa1, 0x36, 0x9c, 0xf0, 0x40, 0xd8, 0x7c, + 0xed, 0x39, 0x40, 0x80, 0x5c, 0x64, 0x02, 0xf1, 0xb8, 0xda, 0x5c, 0xb5, 0x39, 0xea, 0xf2, 0x5f, + 0xa3, 0x57, 0xe0, 0x98, 0xff, 0xe1, 0x4d, 0xc3, 0x66, 0x7d, 0xf6, 0x20, 0xf9, 0x6c, 0x85, 0xff, + 0xd9, 0x55, 0x6f, 0x5e, 0xfc, 0xa3, 0xd3, 0x2e, 0xef, 0x25, 0xfa, 0xae, 0x04, 0x0b, 0x11, 0x15, + 0x55, 0x4d, 0x0d, 0xd7, 0x6b, 0x36, 0x7e, 0xa5, 0x85, 0x1d, 0xe6, 0xea, 0x0f, 0x11, 0x18, 0x2f, + 0xa6, 0x6b, 0x2a, 0xe1, 0xa4, 0x04, 0x8c, 0xe2, 0xb8, 0xe6, 0x54, 0x61, 0x6a, 0xf4, 0x23, 0x09, + 0xae, 0x50, 0x4c, 0x01, 0x44, 0x31, 0x25, 0x9e, 0x24, 0x68, 0x97, 0x99, 0x68, 0xe9, 0xd7, 0xfc, + 0x4f, 0x8b, 0x68, 0x74, 0xc5, 0xce, 0x34, 0x03, 0x7d, 0x59, 0x82, 0x73, 0x2c, 0xf1, 0xb2, 0x80, + 0x1e, 0x16, 0xd4, 0xee, 0x65, 0xca, 0x21, 0x45, 0xbb, 0x39, 0x64, 0xe8, 0xb3, 0x70, 0xd2, 0x57, + 0x32, 0x3e, 0x92, 0x29, 0x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0x2e, 0x6d, 0x14, 0xc8, 0xd8, 0xe5, 0xff, 0x04, 0x00, 0x00, + 0xff, 0xff, 0xee, 0x07, 0x38, 0xbd, 0xd5, 0x55, 0x00, 0x00, + }, + // google/protobuf/duration.proto + []byte{ + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4b, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x2f, 0x28, 0xca, 0x2f, 0xc9, 0x4f, 0x2a, 0x4d, 0xd3, 0x4f, 0x29, 0x2d, 0x4a, + 0x2c, 0xc9, 0xcc, 0xcf, 0xd3, 0x03, 0x8b, 0x08, 0xf1, 0x43, 0xe4, 0xf5, 0x60, 0xf2, 0x4a, 0x56, + 0x5c, 0x1c, 0x2e, 0x50, 0x25, 0x42, 0x12, 0x5c, 0xec, 0xc5, 0xa9, 0xc9, 0xf9, 0x79, 0x29, 0xc5, + 0x12, 0x8c, 0x0a, 0x8c, 0x1a, 0xcc, 0x41, 0x30, 0xae, 0x90, 0x08, 0x17, 0x6b, 0x5e, 0x62, 0x5e, + 0x7e, 0xb1, 0x04, 0x93, 0x02, 0xa3, 0x06, 0x6b, 0x10, 0x84, 0xe3, 0xd4, 0xcc, 0xc8, 0x25, 0x9c, + 0x9c, 0x9f, 0xab, 0x87, 0x66, 0xa6, 0x13, 0x2f, 0xcc, 0xc4, 0x00, 0x90, 0x48, 0x00, 0x63, 0x94, + 0x21, 0x54, 0x45, 0x7a, 0x7e, 0x4e, 0x62, 0x5e, 0xba, 0x5e, 0x7e, 0x51, 0x3a, 0xc2, 0x81, 0x25, + 0x95, 0x05, 0xa9, 0xc5, 0xfa, 0xd9, 0x79, 0xf9, 0xe5, 0x79, 0x70, 0xc7, 0x16, 0x24, 0xfd, 0x60, + 0x64, 0x5c, 0xc4, 0xc4, 0xec, 0x1e, 0xe0, 0xb4, 0x8a, 0x49, 0xce, 0x1d, 0xa2, 0x39, 0x00, 0xaa, + 0x43, 0x2f, 0x3c, 0x35, 0x27, 0xc7, 0x1b, 0xa4, 0x3e, 0x04, 0xa4, 0x35, 0x89, 0x0d, 0x6c, 0x94, + 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0xef, 0x8a, 0xb4, 0xc3, 0xfb, 0x00, 0x00, 0x00, + }, + // google/protobuf/timestamp.proto + []byte{ + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4f, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x2f, 0x28, 0xca, 0x2f, 0xc9, 0x4f, 0x2a, 0x4d, 0xd3, 0x2f, 0xc9, 0xcc, 0x4d, + 0x2d, 0x2e, 0x49, 0xcc, 0x2d, 0xd0, 0x03, 0x0b, 0x09, 0xf1, 0x43, 0x14, 0xe8, 0xc1, 0x14, 0x28, + 0x59, 0x73, 0x71, 0x86, 0xc0, 0xd4, 0x08, 0x49, 0x70, 0xb1, 0x17, 0xa7, 0x26, 0xe7, 0xe7, 0xa5, + 0x14, 0x4b, 0x30, 0x2a, 0x30, 0x6a, 0x30, 0x07, 0xc1, 0xb8, 0x42, 0x22, 0x5c, 0xac, 0x79, 0x89, + 0x79, 0xf9, 0xc5, 0x12, 0x4c, 0x0a, 0x8c, 0x1a, 0xac, 0x41, 0x10, 0x8e, 0x53, 0x2b, 0x23, 0x97, + 0x70, 0x72, 0x7e, 0xae, 0x1e, 0x9a, 0xa1, 0x4e, 0x7c, 0x70, 0x23, 0x03, 0x40, 0x42, 0x01, 0x8c, + 0x51, 0x46, 0x50, 0x25, 0xe9, 0xf9, 0x39, 0x89, 0x79, 0xe9, 0x7a, 0xf9, 0x45, 0xe9, 0x48, 0x6e, + 0xac, 0x2c, 0x48, 0x2d, 0xd6, 0xcf, 0xce, 0xcb, 0x2f, 0xcf, 0x43, 0xb8, 0xb7, 0x20, 0xe9, 0x07, + 0x23, 0xe3, 0x22, 0x26, 0x66, 0xf7, 0x00, 0xa7, 0x55, 0x4c, 0x72, 0xee, 0x10, 0xdd, 0x01, 0x50, + 0x2d, 0x7a, 0xe1, 0xa9, 0x39, 0x39, 0xde, 0x20, 0x0d, 0x21, 0x20, 0xbd, 0x49, 0x6c, 0x60, 0xb3, + 0x8c, 0x01, 0x01, 0x00, 0x00, 0xff, 0xff, 0xae, 0x65, 0xce, 0x7d, 0xff, 0x00, 0x00, 0x00, + }, + // uber/cadence/api/v1/common.proto + []byte{ + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x55, 0x4f, 0x6f, 0xdb, 0x36, + 0x14, 0x9f, 0xe2, 0xda, 0x49, 0x9f, 0xdd, 0xd4, 0x63, 0xd6, 0xd4, 0xc9, 0xfe, 0x79, 0x06, 0x86, + 0x66, 0x3b, 0x48, 0x88, 0x7b, 0x29, 0x56, 0x14, 0x83, 0x13, 0x3b, 0xab, 0xda, 0x2d, 0x31, 0x64, + 0x23, 0xc1, 0x76, 0x98, 0x40, 0x4b, 0x4f, 0x2e, 0x67, 0x89, 0x14, 0x28, 0xca, 0x89, 0x6f, 0xfb, + 0x24, 0x3b, 0xec, 0x2b, 0xed, 0x0b, 0x0d, 0x94, 0xe8, 0xd8, 0xee, 0x3c, 0xf4, 0x32, 0xec, 0x46, + 0xbe, 0xdf, 0x9f, 0xf7, 0xa3, 0xf0, 0x48, 0x41, 0x3b, 0x9f, 0xa0, 0x74, 0x02, 0x1a, 0x22, 0x0f, + 0xd0, 0xa1, 0x29, 0x73, 0xe6, 0xa7, 0x4e, 0x20, 0x92, 0x44, 0x70, 0x3b, 0x95, 0x42, 0x09, 0x72, + 0xa0, 0x19, 0xb6, 0x61, 0xd8, 0x34, 0x65, 0xf6, 0xfc, 0xf4, 0xf8, 0x8b, 0xa9, 0x10, 0xd3, 0x18, + 0x9d, 0x82, 0x32, 0xc9, 0x23, 0x27, 0xcc, 0x25, 0x55, 0x6c, 0x29, 0x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xac, 0xcf, 0x14, + 0x39, 0x82, 0x27, 0x83, 0xcb, 0xf3, 0xab, 0xbe, 0x7b, 0xf9, 0x83, 0x3f, 0xfe, 0x79, 0x38, 0xf0, + 0xdd, 0xcb, 0xeb, 0xde, 0x8f, 0x6e, 0xbf, 0xf9, 0x11, 0x39, 0x86, 0xc3, 0x4d, 0x68, 0xfc, 0xda, + 0x73, 0x2f, 0xc6, 0xde, 0x4d, 0xd3, 0x22, 0x87, 0x40, 0x36, 0xb1, 0x37, 0xa3, 0xab, 0xcb, 0xe6, + 0x0e, 0x69, 0xc1, 0x27, 0x9b, 0xf5, 0xa1, 0x77, 0x35, 0xbe, 0x7a, 0xde, 0xac, 0x9c, 0x5d, 0xc3, + 0xd3, 0x40, 0x24, 0xdb, 0x86, 0xfc, 0x6c, 0xaf, 0x97, 0xb2, 0xa1, 0x4e, 0x3f, 0xb4, 0x7e, 0x71, + 0xa6, 0x4c, 0xbd, 0xcb, 0x27, 0x76, 0x20, 0x12, 0x67, 0xe3, 0xc7, 0x64, 0x4f, 0x91, 0x97, 0x3f, + 0x1b, 0xf3, 0x8f, 0x7a, 0x49, 0x53, 0x36, 0x3f, 0x9d, 0xd4, 0x8a, 0xda, 0xf3, 0xbf, 0x03, 0x00, + 0x00, 0xff, 0xff, 0xdc, 0x8c, 0x77, 0x9a, 0xc7, 0x06, 0x00, 0x00, + }, + // uber/cadence/api/v1/tasklist.proto + []byte{ + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x54, 0xdd, 0x6e, 0xdb, 0x36, + 0x14, 0x9e, 0xe2, 0xb4, 0x73, 0x98, 0x25, 0xd5, 0xb8, 0xb5, 0x8d, 0xdd, 0x75, 0xcb, 0x74, 0x51, + 0x04, 0xc5, 0x20, 0x21, 0x19, 0x76, 0xb5, 0x8b, 0xc1, 0x89, 0x83, 0x55, 0x88, 0xe3, 0x1a, 0x92, + 0x1a, 0x20, 0xbb, 0xe1,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3f, 0xd1, 0x57, 0xeb, 0x1b, 0x85, 0x87, 0xe8, 0x45, 0x32, 0x8a, 0x2f, + 0xc8, 0x24, 0x8c, 0x13, 0x72, 0x11, 0x4e, 0xc7, 0x24, 0x9c, 0x5e, 0x8d, 0x26, 0xe1, 0xd8, 0xfd, + 0x02, 0x0f, 0xd0, 0xf3, 0x07, 0xd8, 0xf4, 0x7d, 0x74, 0x39, 0x9a, 0xb8, 0xce, 0x06, 0x28, 0x4e, + 0xc2, 0xb3, 0x8b, 0x6b, 0x77, 0xeb, 0x2d, 0xfb, 0x2f, 0x43, 0xb2, 0xa8, 0xe1, 0xd3, 0x0c, 0xc9, + 0xf5, 0xec, 0x7c, 0x2d, 0xc3, 0x2b, 0xf4, 0xf2, 0x01, 0x36, 0x3e, 0x3f, 0x0b, 0xe3, 0xf0, 0xfd, + 0xd4, 0x75, 0x36, 0x80, 0xa3, 0xb3, 0x24, 0xbc, 0x0a, 0x93, 0x6b, 0x77, 0xeb, 0xf4, 0x0a, 0xbd, + 0xcc, 0x44, 0xb9, 0x49, 0xd1, 0xd3, 0xfe, 0xa8, 0xe6, 0x33, 0x23, 0xc8, 0xcc, 0xf9, 0x23, 0x98, + 0x73, 0x7d, 0xd3, 0xa4, 0x7e, 0x26, 0xca, 0xe0, 0x93, 0x6f, 0xd2, 0x9f, 0x43, 0xd5, 0xfe, 0x5b, + 0xdd, 0x8f, 0xf9, 0x2b, 0xad, 0xf9, 0xed, 0x71, 0xfa, 0xd4, 0xda, 0x7e, 0xfe, 0x37, 0x00, 0x00, + 0xff, 0xff, 0x58, 0x62, 0x2b, 0xbf, 0x55, 0x05, 0x00, 0x00, + }, + // google/protobuf/wrappers.proto + []byte{ + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4b, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x2f, 0x28, 0xca, 0x2f, 0xc9, 0x4f, 0x2a, 0x4d, 0xd3, 0x2f, 0x2f, 0x4a, 0x2c, + 0x28, 0x48, 0x2d, 0x2a, 0xd6, 0x03, 0x8b, 0x08, 0xf1, 0x43, 0xe4, 0xf5, 0x60, 0xf2, 0x4a, 0xca, + 0x5c, 0xdc, 0x2e, 0xf9, 0xa5, 0x49, 0x39, 0xa9, 0x61, 0x89, 0x39, 0xa5, 0xa9, 0x42, 0x22, 0x5c, + 0xac, 0x65, 0x20, 0x86, 0x04, 0xa3, 0x02, 0xa3, 0x06, 0x63, 0x10, 0x84, 0xa3, 0xa4, 0xc4, 0xc5, + 0xe5, 0x96, 0x93, 0x9f, 0x58, 0x82, 0x45, 0x0d, 0x13, 0x92, 0x1a, 0xcf, 0xbc, 0x12, 0x33, 0x13, + 0x2c, 0x6a, 0x98, 0x61, 0x6a, 0x94, 0xb9, 0xb8, 0x43, 0x71, 0x29, 0x62, 0x41, 0x35, 0xc8, 0xd8, + 0x08, 0x8b, 0x1a, 0x56, 0x34, 0x83, 0xb0, 0x2a, 0xe2, 0x85, 0x29, 0x52, 0xe4, 0xe2, 0x74, 0xca, + 0xcf, 0xcf, 0xc1, 0xa2, 0x84, 0x03, 0xc9, 0x9c, 0xe0, 0x92, 0xa2, 0xcc, 0xbc, 0x74, 0x2c, 0x8a, + 0x38, 0x91, 0x1c, 0xe4, 0x54, 0x59, 0x92, 0x5a, 0x8c, 0x45, 0x0d, 0x0f, 0x54, 0x8d, 0x53, 0x33, + 0x23, 0x97, 0x70, 0x72, 0x7e, 0xae, 0x1e, 0x5a, 0xf0, 0x3a, 0xf1, 0x86, 0x43, 0xc3, 0x3f, 0x00, + 0x24, 0x12, 0xc0, 0x18, 0x65, 0x08, 0x55, 0x91, 0x9e, 0x9f, 0x93, 0x98, 0x97, 0xae, 0x97, 0x5f, + 0x94, 0x8e, 0x88, 0xab, 0x92, 0xca, 0x82, 0xd4, 0x62, 0xfd, 0xec, 0xbc, 0xfc, 0xf2, 0x3c, 0x78, + 0xbc, 0x15, 0x24, 0xfd, 0x60, 0x64, 0x5c, 0xc4, 0xc4, 0xec, 0x1e, 0xe0, 0xb4, 0x8a, 0x49, 0xce, + 0x1d, 0xa2, 0x39, 0x00, 0xaa, 0x43, 0x2f, 0x3c, 0x35, 0x27, 0xc7, 0x1b, 0xa4, 0x3e, 0x04, 0xa4, + 0x35, 0x89, 0x0d, 0x6c, 0x94, 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0x3c, 0x92, 0x48, 0x30, 0x06, + 0x02, 0x00, 0x00, + }, + // uber/cadence/api/v1/workflow.proto + []byte{ + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x59, 0x4d, 0x6f, 0xdb, 0xca, + 0xd5, 0x7e, 0x29, 0xd9, 0x8e, 0x7d, 0xe4, 0x0f, 0x7a, 0x1c, 0xc7, 0xca, 0xb7, 0xa3, 0xfb, 0x26, + 0x71, 0xd4, 0x1b, 0xf9, 0x3a, 0xb9, 0xb9, 0x69, 0x6e, 0x9a, 0xa6, 0x34, 0x49, 0xc7, 0x4c, 0x64, + 0x4a, 0x1d, 0x51, 0x71, 0x7c, 0x51, 0x94, 0xa0, 0xa5, 0xb1, 0x4d, 0x44, 0x22, 0x05, 0x72, 0x94, + 0xc4, 0xfb, 0x02, 0x5d, 0x77, 0x57, 0xb4, 0x9b, 0xfe, 0x80, 0x02, 0x45, 0x7f, 0x40, 0xd1, 0xa2, + 0x8b, 0xee, 0xba, 0xed, 0xb2, 0xfb, 0xfe, 0x8b, 0x62, 0x86, 0x43, 0x89, 0xb2, 0x3e, 0xa8, 0xb4, + 0xc0, 0xed, 0xce, 0x3c, 0x7c, 0x9e, 0x87, 0x67, 0xce, 0x9c, 0xf3, 0x70, 0x68, 0x41, 0xa1, 0x7b, + 0x4c, 0x82, 0xed, 0x86, 0xd3, 0x24, 0x5e, 0x83, 0x6c, 0x3b, 0x1d, 0x77, 0xfb, 0xc3, 0xce, 0xf6, + 0x47, 0x3f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f, 0x9b, 0x8d, + 0x02, 0x2a, 0x41, 0x31, 0x0d, 0xdd, 0xab, 0x82, 0x26, 0xcf, 0xa0, 0xaf, 0xe1, 0xab, 0xf4, 0xc4, + 0x4d, 0xcb, 0x30, 0xeb, 0xba, 0x66, 0x2b, 0x35, 0xdb, 0xd4, 0x0f, 0xe5, 0xd9, 0x69, 0x96, 0x6b, + 0x19, 0x07, 0xac, 0x3f, 0xeb, 0x96, 0x3c, 0x57, 0xfc, 0xb3, 0x04, 0x57, 0x54, 0xdf, 0xa3, 0xae, + 0xd7, 0x25, 0x4a, 0x68, 0x92, 0x8f, 0x46, 0x74, 0x9e, 0xf1, 0x03, 0x74, 0x17, 0xee, 0xc4, 0xfa, + 0x42, 0xde, 0x36, 0x4c, 0xc3, 0x32, 0x14, 0xab, 0x82, 0x13, 0xf5, 0x9d, 0x08, 0x63, 0x03, 0xa9, + 0xe9, 0x38, 0xaa, 0xeb, 0x78, 0x18, 0xd6, 0x2d, 0x7c, 0x24, 0x5a, 0x21, 0x72, 0x98, 0xf1, 0x58, + 0x15, 0xb3, 0xf9, 0x16, 0xf3, 0x2f, 0x67, 0x8b, 0xbf, 0x97, 0x20, 0x27, 0xbe, 0x45, 0xf9, 0xa7, + 0x4a, 0x1e, 0x2e, 0xb3, 0x05, 0x56, 0xea, 0x96, 0x6d, 0x1d, 0x55, 0xf5, 0xc1, 0x1e, 0x1e, 0xb8, + 0xc3, 0xed, 0xc1, 0xb6, 0x2a, 0x51, 0x75, 0x22, 0x27, 0x19, 0x04, 0x88, 0xa7, 0x30, 0x0c, 0x07, + 0xcb, 0x99, 0x89, 0x98, 0x48, 0x27, 0x8b, 0xae, 0xc1, 0x95, 0x01, 0xcc, 0xbe, 0xae, 0x60, 0x6b, + 0x57, 0x57, 0x2c, 0x79, 0xa6, 0xf8, 0x1b, 0x09, 0xae, 0xc6, 0x4e, 0x68, 0xb1, 0x17, 0xab, 0xdb, + 0x26, 0xcd, 0x4a, 0x97, 0xaa, 0x4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0xd0, 0xb9, 0x2a, 0x69, 0xf1, 0x3b, 0xf0, 0x30, 0xda, 0xb7, 0x11, 0x5d, 0x30, 0xc6, + 0xed, 0x77, 0xe1, 0xc7, 0xd3, 0x51, 0x7a, 0xf7, 0x95, 0x32, 0xd6, 0x15, 0xed, 0xa8, 0x77, 0x24, + 0x95, 0x8a, 0x7f, 0x95, 0xa0, 0xa8, 0x3a, 0x5e, 0x83, 0xb4, 0xe2, 0xff, 0xbb, 0x4e, 0xcc, 0xf2, + 0x39, 0x3c, 0x9d, 0x62, 0xde, 0xc7, 0xe4, 0x7b, 0x08, 0xb5, 0xcf, 0x25, 0xd7, 0xcd, 0x37, 0x66, + 0xe5, 0xd0, 0x9c, 0x44, 0x10, 0x8b, 0xa8, 0xb9, 0xa7, 0xfc, 0x9f, 0xc6, 0xd3, 0x2d, 0x42, 0xb4, + 0xdd, 0x7f, 0xb6, 0x88, 0xcf, 0x25, 0x4f, 0xb5, 0x88, 0xdd, 0xb7, 0xb0, 0xd1, 0xf0, 0xdb, 0xa3, + 0xbe, 0xe2, 0x77, 0xe7, 0x95, 0x8e, 0x5b, 0x65, 0x5f, 0xb0, 0x55, 0xe9, 0xbb, 0xed, 0x53, 0x97, + 0x9e, 0x75, 0x8f, 0x4b, 0x0d, 0xbf, 0xbd, 0x3d, 0xf0, 0xfb, 0x63, 0xe9, 0x94, 0x78, 0xd1, 0xaf, + 0x99, 0xe2, 0xa7, 0xc8, 0xe7, 0x4e, 0xc7, 0xfd, 0xb0, 0x73, 0x3c, 0xc7, 0x63, 0x8f, 0xff, 0x1d, + 0x00, 0x00, 0xff, 0xff, 0x1c, 0xfe, 0xdc, 0x7d, 0x4a, 0x1d, 0x00, 0x00, + }, +} diff --git a/go/proto/api/v1/query.pb.go b/go/proto/api/v1/query.pb.go new file mode 100644 index 0000000..270f7cb --- /dev/null +++ b/go/proto/api/v1/query.pb.go @@ -0,0 +1,964 @@ +// The MIT License (MIT) +// +// Copyright (c) 2021 Uber Technologies, Inc. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +// SOFTWARE. + +// Code generated by protoc-gen-gogo. DO NOT EDIT. +// source: uber/cadence/api/v1/query.proto + +package apiv1 + +import ( + fmt "fmt" + proto "github.com/gogo/protobuf/proto" + io "io" + math "math" + math_bits "math/bits" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package + +type QueryResultType int32 + +const ( + QueryResultType_QUERY_RESULT_TYPE_INVALID QueryResultType = 0 + QueryResultType_QUERY_RESULT_TYPE_ANSWERED QueryResultType = 1 + QueryResultType_QUERY_RESULT_TYPE_FAILED QueryResultType = 2 +) + +var QueryResultType_name = map[int32]string{ + 0: "QUERY_RESULT_TYPE_INVALID", + 1: "QUERY_RESULT_TYPE_ANSWERED", + 2: "QUERY_RESULT_TYPE_FAILED", +} + +var QueryResultType_value = map[string]int32{ + "QUERY_RESULT_TYPE_INVALID": 0, + "QUERY_RESULT_TYPE_ANSWERED": 1, + "QUERY_RESULT_TYPE_FAILED": 2, +} + +func (x QueryResultType) String() string { + return proto.EnumName(QueryResultType_name, int32(x)) +} + +func (QueryResultType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_91769cfce21084c6, []int{0} +} + +type QueryRejectCondition int32 + +const ( + QueryRejectCondition_QUERY_REJECT_CONDITION_INVALID QueryRejectCondition = 0 + // QUERY_REJECT_CONDITION_NOT_OPEN indicates that query should be rejected if workflow is not open. + QueryRejectCondition_QUERY_REJECT_CONDITION_NOT_OPEN QueryRejectCondition = 1 + // QUERY_REJECT_CONDITION_NOT_COMPLETED_CLEANLY indicates that query should be rejected if workflow did not complete cleanly. + QueryRejectCondition_QUERY_REJECT_CONDITION_NOT_COMPLETED_CLEANLY QueryRejectCondition = 2 +) + +var QueryRejectCondition_name = map[int32]string{ + 0: "QUERY_REJECT_CONDITION_INVALID", + 1: "QUERY_REJECT_CONDITION_NOT_OPEN", + 2: "QUERY_REJECT_CONDITION_NOT_COMPLETED_CLEANLY", +} + +var QueryRejectCondition_value = map[string]int32{ + "QUERY_REJECT_CONDITION_INVALID": 0, + "QUERY_REJECT_CONDITION_NOT_OPEN": 1, + "QUERY_REJECT_CONDITION_NOT_COMPLETED_CLEANLY": 2, +} + +func (x QueryRejectCondition) String() string { + return proto.EnumName(QueryRejectCondition_name, int32(x)) +} + +func (QueryRejectCondition) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_91769cfce21084c6, []int{1} +} + +type QueryConsistencyLevel int32 + +const ( + QueryConsistencyLevel_QUERY_CONSISTENCY_LEVEL_INVALID QueryConsistencyLevel = 0 + // EVENTUAL indicates that query should be eventually consistent. + QueryConsistencyLevel_QUERY_CONSISTENCY_LEVEL_EVENTUAL QueryConsistencyLevel = 1 + // STRONG indicates that any events that came before query should be reflected in workflow state before running query. + QueryConsistencyLevel_QUERY_CONSISTENCY_LEVEL_STRONG QueryConsistencyLevel = 2 +) + +var QueryConsistencyLevel_name = map[int32]string{ + 0: "QUERY_CONSISTENCY_LEVEL_INVALID", + 1: "QUERY_CONSISTENCY_LEVEL_EVENTUAL", + 2: "QUERY_CONSISTENCY_LEVEL_STRONG", +} + +var QueryConsistencyLevel_value = map[string]int32{ + "QUERY_CONSISTENCY_LEVEL_INVALID": 0, + "QUERY_CONSISTENCY_LEVEL_EVENTUAL": 1, + "QUERY_CONSISTENCY_LEVEL_STRONG": 2, +} + +func (x QueryConsistencyLevel) String() string { + return proto.EnumName(QueryConsistencyLevel_name, int32(x)) +} + +func (QueryConsistencyLevel) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_91769cfce21084c6, []int{2} +} + +type WorkflowQuery struct { + QueryType string `protobuf:"bytes,1,opt,name=query_type,json=queryType,proto3" json:"query_type,omitempty"` + QueryArgs *Payload `protobuf:"bytes,2,opt,name=query_args,json=queryArgs,proto3" json:"query_args,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *WorkflowQuery) Reset() { *m = WorkflowQuery{} } +func (m *WorkflowQuery) String() string { return proto.CompactTextString(m) } +func (*WorkflowQuery) ProtoMessage() {} +func (*WorkflowQuery) Descriptor() ([]byte, []int) { + return fileDescriptor_91769cfce21084c6, []int{0} +} +func (m *WorkflowQuery) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *WorkflowQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_WorkflowQuery.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *WorkflowQuery) XXX_Merge(src proto.Message) { + xxx_messageInfo_WorkflowQuery.Merge(m, src) +} +func (m *WorkflowQuery) XXX_Size() int { + return m.Size() +} +func (m *WorkflowQuery) XXX_DiscardUnknown() { + xxx_messageInfo_WorkflowQuery.DiscardUnknown(m) +} + +var xxx_messageInfo_WorkflowQuery proto.InternalMessageInfo + +func (m *WorkflowQuery) GetQueryType() string { + if m != nil { + return m.QueryType + } + return "" +} + +func (m *WorkflowQuery) GetQueryArgs() *Payload { + if m != nil { + return m.QueryArgs + } + return nil +} + +type WorkflowQueryResult struct { + ResultType QueryResultType `protobuf:"varint,1,opt,name=result_type,json=resultType,proto3,enum=uber.cadence.api.v1.QueryResultType" json:"result_type,omitempty"` + Answer *Payload `protobuf:"bytes,2,opt,name=answer,proto3" json:"answer,omitempty"` + ErrorMessage string `protobuf:"bytes,3,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *WorkflowQueryResult) Reset() { *m = WorkflowQueryResult{} } +func (m *WorkflowQueryResult) String() string { return proto.CompactTextString(m) } +func (*WorkflowQueryResult) ProtoMessage() {} +func (*WorkflowQueryResult) Descriptor() ([]byte, []int) { + return fileDescriptor_91769cfce21084c6, []int{1} +} +func (m *WorkflowQueryResult) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *WorkflowQueryResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_WorkflowQueryResult.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *WorkflowQueryResult) XXX_Merge(src proto.Message) { + xxx_messageInfo_WorkflowQueryResult.Merge(m, src) +} +func (m *WorkflowQueryResult) XXX_Size() int { + return m.Size() +} +func (m *WorkflowQueryResult) XXX_DiscardUnknown() { + xxx_messageInfo_WorkflowQueryResult.DiscardUnknown(m) +} + +var xxx_messageInfo_WorkflowQueryResult proto.InternalMessageInfo + +func (m *WorkflowQueryResult) GetResultType() QueryResultType { + if m != nil { + return m.ResultType + } + return QueryResultType_QUERY_RESULT_TYPE_INVALID +} + +func (m *WorkflowQueryResult) GetAnswer() *Payload { + if m != nil { + return m.Answer + } + return nil +} + +func (m *WorkflowQueryResult) GetErrorMessage() string { + if m != nil { + return m.ErrorMessage + } + return "" +} + +type QueryRejected struct { + CloseStatus WorkflowExecutionCloseStatus `protobuf:"varint,1,opt,name=close_status,json=closeStatus,proto3,enum=uber.cadence.api.v1.WorkflowExecutionCloseStatus" json:"close_status,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *QueryRejected) Reset() { *m = QueryRejected{} } +func (m *QueryRejected) String() string { return proto.CompactTextString(m) } +func (*QueryRejected) ProtoMessage() {} +func (*QueryRejected) Descriptor() ([]byte, []int) { + return fileDescriptor_91769cfce21084c6, []int{2} +} +func (m *QueryRejected) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QueryRejected) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QueryRejected.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *QueryRejected) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryRejected.Merge(m, src) +} +func (m *QueryRejected) XXX_Size() int { + return m.Size() +} +func (m *QueryRejected) XXX_DiscardUnknown() { + xxx_messageInfo_QueryRejected.DiscardUnknown(m) +} + +var xxx_messageInfo_QueryRejected proto.InternalMessageInfo + +func (m *QueryRejected) GetCloseStatus() WorkflowExecutionCloseStatus { + if m != nil { + return m.CloseStatus + } + return WorkflowExecutionCloseStatus_WORKFLOW_EXECUTION_CLOSE_STATUS_INVALID +} + +func init() { + proto.RegisterEnum("uber.cadence.api.v1.QueryResultType", QueryResultType_name, QueryResultType_value) + proto.RegisterEnum("uber.cadence.api.v1.QueryRejectCondition", QueryRejectCondition_name, QueryRejectCondition_value) + proto.RegisterEnum("uber.cadence.api.v1.QueryConsistencyLevel", QueryConsistencyLevel_name, QueryConsistencyLevel_value) + proto.RegisterType((*WorkflowQuery)(nil), "uber.cadence.api.v1.WorkflowQuery") + proto.RegisterType((*WorkflowQueryResult)(nil), "uber.cadence.api.v1.WorkflowQueryResult") + proto.RegisterType((*QueryRejected)(nil), "uber.cadence.api.v1.QueryRejected") +} + +func init() { proto.RegisterFile("uber/cadence/api/v1/query.proto", fileDescriptor_91769cfce21084c6) } + +var fileDescriptor_91769cfce21084c6 = []byte{ + // 549 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x53, 0xc1, 0x6e, 0xd3, 0x40, + 0x14, 0x64, 0x83, 0x54, 0xd1, 0x4d, 0x03, 0xd6, 0x16, 0x44, 0x88, 0xda, 0x34, 0x4a, 0x7b, 0xa8, + 0x22, 0x64, 0x93, 0xc2, 0xad, 0x27, 0xd7, 0x59, 0x90, 0x91, 0x6b, 0xbb, 0xb6, 0x93, 0x2a, 0x5c, + 0x2c, 0xc7, 0x59, 0x82, 0x69, 0xe2, 0x35, 0xbb, 0x76, 0x42, 0x7e, 0x80, 0x3b, 0x5f, 0xc3, 0x2f, + 0x70, 0xe4, 0x13, 0x50, 0xbe, 0x04, 0xd9, 0x71, 0x48, 0x4a, 0x5c, 0xd4, 0xdb, 0xf3, 0xbc, 0x19, + 0xcf, 0x8c, 0x56, 0x0f, 0x1e, 0x25, 0x03, 0xc2, 0x24, 0xdf, 0x1b, 0x92, 0xd0, 0x27, 0x92, 0x17, + 0x05, 0xd2, 0xb4, 0x2d, 0x7d, 0x49, 0x08, 0x9b, 0x8b, 0x11, 0xa3, 0x31, 0x45, 0xfb, 0x29, 0x41, + 0xcc, 0x09, 0xa2, 0x17, 0x05, 0xe2, 0xb4, 0x5d, 0x6b, 0x14, 0x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, 0x51, 0x07, 0xf0, 0xb9, 0x4f, 0x27, 0x45, 0xaf, 0x7b, + 0xf1, 0x48, 0x8e, 0x02, 0x33, 0xbd, 0x25, 0x13, 0x7c, 0x90, 0x46, 0x41, 0xfc, 0x29, 0x19, 0x88, + 0x3e, 0x9d, 0x48, 0xb7, 0x8e, 0x4f, 0x1c, 0x91, 0x50, 0xca, 0x2e, 0x2e, 0xbf, 0xc3, 0x73, 0x2f, + 0x0a, 0xa6, 0xed, 0xc1, 0x4e, 0x86, 0xbd, 0xfe, 0x13, 0x00, 0x00, 0xff, 0xff, 0xa7, 0xde, 0x5a, + 0x02, 0x03, 0x04, 0x00, 0x00, +} + +func (m *WorkflowQuery) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *WorkflowQuery) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *WorkflowQuery) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.QueryArgs != nil { + { + size, err := m.QueryArgs.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if len(m.QueryType) > 0 { + i -= len(m.QueryType) + copy(dAtA[i:], m.QueryType) + i = encodeVarintQuery(dAtA, i, uint64(len(m.QueryType))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *WorkflowQueryResult) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *WorkflowQueryResult) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *WorkflowQueryResult) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.ErrorMessage) > 0 { + i -= len(m.ErrorMessage) + copy(dAtA[i:], m.ErrorMessage) + i = encodeVarintQuery(dAtA, i, uint64(len(m.ErrorMessage))) + i-- + dAtA[i] = 0x1a + } + if m.Answer != nil { + { + size, err := m.Answer.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if m.ResultType != 0 { + i = encodeVarintQuery(dAtA, i, uint64(m.ResultType)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *QueryRejected) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryRejected) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryRejected) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.CloseStatus != 0 { + i = encodeVarintQuery(dAtA, i, uint64(m.CloseStatus)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func encodeVarintQuery(dAtA []byte, offset int, v uint64) int { + offset -= sovQuery(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *WorkflowQuery) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.QueryType) + if l > 0 { + n += 1 + l + sovQuery(uint64(l)) + } + if m.QueryArgs != nil { + l = m.QueryArgs.Size() + n += 1 + l + sovQuery(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *WorkflowQueryResult) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.ResultType != 0 { + n += 1 + sovQuery(uint64(m.ResultType)) + } + if m.Answer != nil { + l = m.Answer.Size() + n += 1 + l + sovQuery(uint64(l)) + } + l = len(m.ErrorMessage) + if l > 0 { + n += 1 + l + sovQuery(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *QueryRejected) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.CloseStatus != 0 { + n += 1 + sovQuery(uint64(m.CloseStatus)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func sovQuery(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozQuery(x uint64) (n int) { + return sovQuery(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *WorkflowQuery) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: WorkflowQuery: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: WorkflowQuery: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field QueryType", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.QueryType = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field QueryArgs", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.QueryArgs == nil { + m.QueryArgs = &Payload{} + } + if err := m.QueryArgs.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *WorkflowQueryResult) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: WorkflowQueryResult: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: WorkflowQueryResult: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ResultType", wireType) + } + m.ResultType = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ResultType |= QueryResultType(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Answer", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Answer == nil { + m.Answer = &Payload{} + } + if err := m.Answer.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ErrorMessage", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ErrorMessage = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *QueryRejected) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: QueryRejected: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryRejected: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field CloseStatus", wireType) + } + m.CloseStatus = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.CloseStatus |= WorkflowExecutionCloseStatus(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func skipQuery(dAtA []byte) (n int, err error) { + l := len(dAtA) + iNdEx := 0 + depth := 0 + for iNdEx < l { + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowQuery + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + wireType := int(wire & 0x7) + switch wireType { + case 0: + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowQuery + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + iNdEx++ + if dAtA[iNdEx-1] < 0x80 { + break + } + } + case 1: + iNdEx += 8 + case 2: + var length int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowQuery + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + length |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if length < 0 { + return 0, ErrInvalidLengthQuery + } + iNdEx += length + case 3: + depth++ + case 4: + if depth == 0 { + return 0, ErrUnexpectedEndOfGroupQuery + } + depth-- + case 5: + iNdEx += 4 + default: + return 0, fmt.Errorf("proto: illegal wireType %d", wireType) + } + if iNdEx < 0 { + return 0, ErrInvalidLengthQuery + } + if depth == 0 { + return iNdEx, nil + } + } + return 0, io.ErrUnexpectedEOF +} + +var ( + ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") +) diff --git a/go/proto/api/v1/query.pb.yarpc.go b/go/proto/api/v1/query.pb.yarpc.go new file mode 100644 index 0000000..6af1c6a --- /dev/null +++ b/go/proto/api/v1/query.pb.yarpc.go @@ -0,0 +1,366 @@ +// The MIT License (MIT) +// +// Copyright (c) 2021 Uber Technologies, Inc. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +// SOFTWARE. + +// Code generated by protoc-gen-yarpc-go. DO NOT EDIT. +// source: uber/cadence/api/v1/query.proto + +package apiv1 + +var yarpcFileDescriptorClosure91769cfce21084c6 = [][]byte{ + // uber/cadence/api/v1/query.proto + []byte{ + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x53, 0x4d, 0x6f, 0xd3, 0x40, + 0x14, 0xc4, 0x41, 0xaa, 0xe8, 0x6b, 0x0b, 0xd6, 0x16, 0x44, 0xa8, 0xfa, 0x11, 0xa5, 0x3d, 0x54, + 0x11, 0xb2, 0x49, 0xe1, 0xd6, 0x93, 0xeb, 0x2c, 0xc8, 0xc8, 0xb5, 0x5d, 0x7b, 0x93, 0x2a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, 0xfb, 0x72, 0xad, 0xf5, 0x43, + 0x82, 0x17, 0x45, 0x26, 0x9d, 0xc5, 0x22, 0x12, 0x29, 0x8d, 0xc3, 0xb9, 0x49, 0xa7, 0x74, 0xbc, + 0x32, 0xd4, 0x6d, 0xcb, 0x33, 0x3c, 0x82, 0x2d, 0xbd, 0xef, 0x9b, 0xb8, 0x87, 0xcd, 0xb5, 0x54, + 0x67, 0xd0, 0x78, 0x88, 0x84, 0x7b, 0xd8, 0x22, 0x5d, 0xcd, 0x94, 0xa5, 0x55, 0xbf, 0x4d, 0x96, + 0x47, 0x5c, 0xdb, 0xfa, 0x20, 0xd7, 0xae, 0x7a, 0xf0, 0x32, 0x64, 0x93, 0xaa, 0x17, 0xbd, 0x7a, + 0xa2, 0x25, 0x91, 0x93, 0xdf, 0x8f, 0x23, 0x7d, 0x52, 0x47, 0x51, 0xfa, 0x25, 0x1b, 0x28, 0x21, + 0x9b, 0xa8, 0xf7, 0x0e, 0x4e, 0x19, 0xd1, 0x58, 0x2d, 0xae, 0xac, 0xbc, 0xbd, 0xcb, 0x20, 0x89, + 0xa6, 0xed, 0xc1, 0x56, 0x81, 0xbd, 0xfd, 0x1d, 0x00, 0x00, 0xff, 0xff, 0x96, 0x7d, 0xf9, 0x10, + 0xf7, 0x03, 0x00, 0x00, + }, + // uber/cadence/api/v1/common.proto + []byte{ + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x55, 0x4f, 0x6f, 0xdb, 0x36, + 0x14, 0x9f, 0xe2, 0xda, 0x49, 0x9f, 0xdd, 0xd4, 0x63, 0xd6, 0xd4, 0xc9, 0xfe, 0x79, 0x06, 0x86, + 0x66, 0x3b, 0x48, 0x88, 0x7b, 0x29, 0x56, 0x14, 0x83, 0x13, 0x3b, 0xab, 0xda, 0x2d, 0x31, 0x64, + 0x23, 0xc1, 0x76, 0x98, 0x40, 0x4b, 0x4f, 0x2e, 0x67, 0x89, 0x14, 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x7a, 0x49, 0x53, 0x36, 0x3f, 0x9d, 0xd4, 0x8a, 0xda, 0xf3, 0xbf, 0x03, 0x00, + 0x00, 0xff, 0xff, 0xdc, 0x8c, 0x77, 0x9a, 0xc7, 0x06, 0x00, 0x00, + }, + // google/protobuf/duration.proto + []byte{ + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4b, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x2f, 0x28, 0xca, 0x2f, 0xc9, 0x4f, 0x2a, 0x4d, 0xd3, 0x4f, 0x29, 0x2d, 0x4a, + 0x2c, 0xc9, 0xcc, 0xcf, 0xd3, 0x03, 0x8b, 0x08, 0xf1, 0x43, 0xe4, 0xf5, 0x60, 0xf2, 0x4a, 0x56, + 0x5c, 0x1c, 0x2e, 0x50, 0x25, 0x42, 0x12, 0x5c, 0xec, 0xc5, 0xa9, 0xc9, 0xf9, 0x79, 0x29, 0xc5, + 0x12, 0x8c, 0x0a, 0x8c, 0x1a, 0xcc, 0x41, 0x30, 0xae, 0x90, 0x08, 0x17, 0x6b, 0x5e, 0x62, 0x5e, + 0x7e, 0xb1, 0x04, 0x93, 0x02, 0xa3, 0x06, 0x6b, 0x10, 0x84, 0xe3, 0xd4, 0xcc, 0xc8, 0x25, 0x9c, + 0x9c, 0x9f, 0xab, 0x87, 0x66, 0xa6, 0x13, 0x2f, 0xcc, 0xc4, 0x00, 0x90, 0x48, 0x00, 0x63, 0x94, + 0x21, 0x54, 0x45, 0x7a, 0x7e, 0x4e, 0x62, 0x5e, 0xba, 0x5e, 0x7e, 0x51, 0x3a, 0xc2, 0x81, 0x25, + 0x95, 0x05, 0xa9, 0xc5, 0xfa, 0xd9, 0x79, 0xf9, 0xe5, 0x79, 0x70, 0xc7, 0x16, 0x24, 0xfd, 0x60, + 0x64, 0x5c, 0xc4, 0xc4, 0xec, 0x1e, 0xe0, 0xb4, 0x8a, 0x49, 0xce, 0x1d, 0xa2, 0x39, 0x00, 0xaa, + 0x43, 0x2f, 0x3c, 0x35, 0x27, 0xc7, 0x1b, 0xa4, 0x3e, 0x04, 0xa4, 0x35, 0x89, 0x0d, 0x6c, 0x94, + 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0xef, 0x8a, 0xb4, 0xc3, 0xfb, 0x00, 0x00, 0x00, + }, + // uber/cadence/api/v1/workflow.proto + []byte{ + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x59, 0x4d, 0x6f, 0xdb, 0xca, + 0xd5, 0x7e, 0x29, 0xd9, 0x8e, 0x7d, 0xe4, 0x0f, 0x7a, 0x1c, 0xc7, 0xca, 0xb7, 0xa3, 0xfb, 0x26, + 0x71, 0xd4, 0x1b, 0xf9, 0x3a, 0xb9, 0xb9, 0x69, 0x6e, 0x9a, 0xa6, 0x34, 0x49, 0xc7, 0x4c, 0x64, + 0x4a, 0x1d, 0x51, 0x71, 0x7c, 0x51, 0x94, 0xa0, 0xa5, 0xb1, 0x4d, 0x44, 0x22, 0x05, 0x72, 0x94, + 0xc4, 0xfb, 0x02, 0x5d, 0x77, 0x57, 0xb4, 0x9b, 0xfe, 0x80, 0x02, 0x45, 0x7f, 0x40, 0xd1, 0xa2, + 0x8b, 0xee, 0xba, 0xed, 0xb2, 0xfb, 0xfe, 0x8b, 0x62, 0x86, 0x43, 0x89, 0xb2, 0x3e, 0xa8, 0xb4, + 0xc0, 0xed, 0xce, 0x3c, 0x7c, 0x9e, 0x87, 0x67, 0xce, 0x9c, 0xf3, 0x70, 0x68, 0x41, 0xa1, 0x7b, + 0x4c, 0x82, 0xed, 0x86, 0xd3, 0x24, 0x5e, 0x83, 0x6c, 0x3b, 0x1d, 0x77, 0xfb, 0xc3, 0xce, 0xf6, + 0x47, 0x3f, 0x78, 0x7f, 0xd2, 0xf2, 0x3f, 0x96, 0x3a, 0x81, 0x4f, 0x7d, 0xb4, 0xc6, 0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a0, 0xaf, 0xe1, 0xab, 0xf4, 0xc4, + 0x4d, 0xcb, 0x30, 0xeb, 0xba, 0x66, 0x2b, 0x35, 0xdb, 0xd4, 0x0f, 0xe5, 0xd9, 0x69, 0x96, 0x6b, + 0x19, 0x07, 0xac, 0x3f, 0xeb, 0x96, 0x3c, 0x57, 0xfc, 0xb3, 0x04, 0x57, 0x54, 0xdf, 0xa3, 0xae, + 0xd7, 0x25, 0x4a, 0x68, 0x92, 0x8f, 0x46, 0x74, 0x9e, 0xf1, 0x03, 0x74, 0x17, 0xee, 0xc4, 0xfa, + 0x42, 0xde, 0x36, 0x4c, 0xc3, 0x32, 0x14, 0xab, 0x82, 0x13, 0xf5, 0x9d, 0x08, 0x63, 0x03, 0xa9, + 0xe9, 0x38, 0xaa, 0xeb, 0x78, 0x18, 0xd6, 0x2d, 0x7c, 0x24, 0x5a, 0x21, 0x72, 0x98, 0xf1, 0x58, + 0x15, 0xb3, 0xf9, 0x16, 0xf3, 0x2f, 0x67, 0x8b, 0xbf, 0x97, 0x20, 0x27, 0xbe, 0x45, 0xf9, 0xa7, + 0x4a, 0x1e, 0x2e, 0xb3, 0x05, 0x56, 0xea, 0x96, 0x6d, 0x1d, 0x55, 0xf5, 0xc1, 0x1e, 0x1e, 0xb8, + 0xc3, 0xed, 0xc1, 0xb6, 0x2a, 0x51, 0x75, 0x22, 0x27, 0x19, 0x04, 0x88, 0xa7, 0x30, 0x0c, 0x07, + 0xcb, 0x99, 0x89, 0x98, 0x48, 0x27, 0x8b, 0xae, 0xc1, 0x95, 0x01, 0xcc, 0xbe, 0xae, 0x60, 0x6b, + 0x57, 0x57, 0x2c, 0x79, 0xa6, 0xf8, 0x1b, 0x09, 0xae, 0xc6, 0x4e, 0x68, 0xb1, 0x17, 0xab, 0xdb, + 0x26, 0xcd, 0x4a, 0x97, 0xaa, 0x4e, 0x37, 0x24, 0xe8, 0x01, 0xdc, 0xed, 0x79, 0x98, 0xa5, 0xd4, + 0xde, 0xf4, 0xf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x2e, 0x49, 0xcc, 0x2d, 0xd0, 0x03, 0x0b, 0x09, 0xf1, 0x43, 0x14, 0xe8, 0xc1, 0x14, 0x28, + 0x59, 0x73, 0x71, 0x86, 0xc0, 0xd4, 0x08, 0x49, 0x70, 0xb1, 0x17, 0xa7, 0x26, 0xe7, 0xe7, 0xa5, + 0x14, 0x4b, 0x30, 0x2a, 0x30, 0x6a, 0x30, 0x07, 0xc1, 0xb8, 0x42, 0x22, 0x5c, 0xac, 0x79, 0x89, + 0x79, 0xf9, 0xc5, 0x12, 0x4c, 0x0a, 0x8c, 0x1a, 0xac, 0x41, 0x10, 0x8e, 0x53, 0x2b, 0x23, 0x97, + 0x70, 0x72, 0x7e, 0xae, 0x1e, 0x9a, 0xa1, 0x4e, 0x7c, 0x70, 0x23, 0x03, 0x40, 0x42, 0x01, 0x8c, + 0x51, 0x46, 0x50, 0x25, 0xe9, 0xf9, 0x39, 0x89, 0x79, 0xe9, 0x7a, 0xf9, 0x45, 0xe9, 0x48, 0x6e, + 0xac, 0x2c, 0x48, 0x2d, 0xd6, 0xcf, 0xce, 0xcb, 0x2f, 0xcf, 0x43, 0xb8, 0xb7, 0x20, 0xe9, 0x07, + 0x23, 0xe3, 0x22, 0x26, 0x66, 0xf7, 0x00, 0xa7, 0x55, 0x4c, 0x72, 0xee, 0x10, 0xdd, 0x01, 0x50, + 0x2d, 0x7a, 0xe1, 0xa9, 0x39, 0x39, 0xde, 0x20, 0x0d, 0x21, 0x20, 0xbd, 0x49, 0x6c, 0x60, 0xb3, + 0x8c, 0x01, 0x01, 0x00, 0x00, 0xff, 0xff, 0xae, 0x65, 0xce, 0x7d, 0xff, 0x00, 0x00, 0x00, + }, + // uber/cadence/api/v1/tasklist.proto + []byte{ + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x54, 0xdd, 0x6e, 0xdb, 0x36, + 0x14, 0x9e, 0xe2, 0xb4, 0x73, 0x98, 0x25, 0x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appers.proto + []byte{ + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4b, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x2f, 0x28, 0xca, 0x2f, 0xc9, 0x4f, 0x2a, 0x4d, 0xd3, 0x2f, 0x2f, 0x4a, 0x2c, + 0x28, 0x48, 0x2d, 0x2a, 0xd6, 0x03, 0x8b, 0x08, 0xf1, 0x43, 0xe4, 0xf5, 0x60, 0xf2, 0x4a, 0xca, + 0x5c, 0xdc, 0x2e, 0xf9, 0xa5, 0x49, 0x39, 0xa9, 0x61, 0x89, 0x39, 0xa5, 0xa9, 0x42, 0x22, 0x5c, + 0xac, 0x65, 0x20, 0x86, 0x04, 0xa3, 0x02, 0xa3, 0x06, 0x63, 0x10, 0x84, 0xa3, 0xa4, 0xc4, 0xc5, + 0xe5, 0x96, 0x93, 0x9f, 0x58, 0x82, 0x45, 0x0d, 0x13, 0x92, 0x1a, 0xcf, 0xbc, 0x12, 0x33, 0x13, + 0x2c, 0x6a, 0x98, 0x61, 0x6a, 0x94, 0xb9, 0xb8, 0x43, 0x71, 0x29, 0x62, 0x41, 0x35, 0xc8, 0xd8, + 0x08, 0x8b, 0x1a, 0x56, 0x34, 0x83, 0xb0, 0x2a, 0xe2, 0x85, 0x29, 0x52, 0xe4, 0xe2, 0x74, 0xca, + 0xcf, 0xcf, 0xc1, 0xa2, 0x84, 0x03, 0xc9, 0x9c, 0xe0, 0x92, 0xa2, 0xcc, 0xbc, 0x74, 0x2c, 0x8a, + 0x38, 0x91, 0x1c, 0xe4, 0x54, 0x59, 0x92, 0x5a, 0x8c, 0x45, 0x0d, 0x0f, 0x54, 0x8d, 0x53, 0x33, + 0x23, 0x97, 0x70, 0x72, 0x7e, 0xae, 0x1e, 0x5a, 0xf0, 0x3a, 0xf1, 0x86, 0x43, 0xc3, 0x3f, 0x00, + 0x24, 0x12, 0xc0, 0x18, 0x65, 0x08, 0x55, 0x91, 0x9e, 0x9f, 0x93, 0x98, 0x97, 0xae, 0x97, 0x5f, + 0x94, 0x8e, 0x88, 0xab, 0x92, 0xca, 0x82, 0xd4, 0x62, 0xfd, 0xec, 0xbc, 0xfc, 0xf2, 0x3c, 0x78, + 0xbc, 0x15, 0x24, 0xfd, 0x60, 0x64, 0x5c, 0xc4, 0xc4, 0xec, 0x1e, 0xe0, 0xb4, 0x8a, 0x49, 0xce, + 0x1d, 0xa2, 0x39, 0x00, 0xaa, 0x43, 0x2f, 0x3c, 0x35, 0x27, 0xc7, 0x1b, 0xa4, 0x3e, 0x04, 0xa4, + 0x35, 0x89, 0x0d, 0x6c, 0x94, 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0x3c, 0x92, 0x48, 0x30, 0x06, + 0x02, 0x00, 0x00, + }, +} diff --git a/go/proto/api/v1/service_domain.pb.go b/go/proto/api/v1/service_domain.pb.go new file mode 100644 index 0000000..3cba9cd --- /dev/null +++ b/go/proto/api/v1/service_domain.pb.go @@ -0,0 +1,3835 @@ +// The MIT License (MIT) +// +// Copyright (c) 2021 Uber Technologies, Inc. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +// SOFTWARE. + +// Code generated by protoc-gen-gogo. DO NOT EDIT. +// source: uber/cadence/api/v1/service_domain.proto + +package apiv1 + +import ( + fmt "fmt" + proto "github.com/gogo/protobuf/proto" + types "github.com/gogo/protobuf/types" + io "io" + math "math" + math_bits "math/bits" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package + +type RegisterDomainRequest struct { + SecurityToken string `protobuf:"bytes,1,opt,name=security_token,json=securityToken,proto3" json:"security_token,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` + OwnerEmail string `protobuf:"bytes,4,opt,name=owner_email,json=ownerEmail,proto3" json:"owner_email,omitempty"` + WorkflowExecutionRetentionPeriod *types.Duration `protobuf:"bytes,5,opt,name=workflow_execution_retention_period,json=workflowExecutionRetentionPeriod,proto3" json:"workflow_execution_retention_period,omitempty"` + Clusters []*ClusterReplicationConfiguration `protobuf:"bytes,6,rep,name=clusters,proto3" json:"clusters,omitempty"` + ActiveClusterName string `protobuf:"bytes,7,opt,name=active_cluster_name,json=activeClusterName,proto3" json:"active_cluster_name,omitempty"` + Data map[string]string `protobuf:"bytes,8,rep,name=data,proto3" json:"data,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + IsGlobalDomain bool `protobuf:"varint,9,opt,name=is_global_domain,json=isGlobalDomain,proto3" json:"is_global_domain,omitempty"` + HistoryArchivalStatus ArchivalStatus `protobuf:"varint,10,opt,name=history_archival_status,json=historyArchivalStatus,proto3,enum=uber.cadence.api.v1.ArchivalStatus" json:"history_archival_status,omitempty"` + HistoryArchivalUri string `protobuf:"bytes,11,opt,name=history_archival_uri,json=historyArchivalUri,proto3" json:"history_archival_uri,omitempty"` + VisibilityArchivalStatus ArchivalStatus `protobuf:"varint,12,opt,name=visibility_archival_status,json=visibilityArchivalStatus,proto3,enum=uber.cadence.api.v1.ArchivalStatus" json:"visibility_archival_status,omitempty"` + VisibilityArchivalUri string `protobuf:"bytes,13,opt,name=visibility_archival_uri,json=visibilityArchivalUri,proto3" json:"visibility_archival_uri,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RegisterDomainRequest) Reset() { *m = RegisterDomainRequest{} } +func (m *RegisterDomainRequest) String() string { return proto.CompactTextString(m) } +func (*RegisterDomainRequest) ProtoMessage() {} +func (*RegisterDomainRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_2e37d15268893114, []int{0} +} +func (m *RegisterDomainRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RegisterDomainRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RegisterDomainRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RegisterDomainRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RegisterDomainRequest.Merge(m, src) +} +func (m *RegisterDomainRequest) XXX_Size() int { + return m.Size() +} +func (m *RegisterDomainRequest) XXX_DiscardUnknown() { + xxx_messageInfo_RegisterDomainRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_RegisterDomainRequest proto.InternalMessageInfo + +func (m *RegisterDomainRequest) GetSecurityToken() string { + if m != nil { + return m.SecurityToken + } + return "" +} + +func (m *RegisterDomainRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *RegisterDomainRequest) GetDescription() string { + if m != nil { + return m.Description + } + return "" +} + +func (m *RegisterDomainRequest) GetOwnerEmail() string { + if m != nil { + return m.OwnerEmail + } + return "" +} + +func (m *RegisterDomainRequest) GetWorkflowExecutionRetentionPeriod() *types.Duration { + if m != nil { + return m.WorkflowExecutionRetentionPeriod + } + return nil +} + +func (m *RegisterDomainRequest) GetClusters() []*ClusterReplicationConfiguration { + if m != nil { + return m.Clusters + } + return nil +} + +func (m *RegisterDomainRequest) GetActiveClusterName() string { + if m != nil { + return m.ActiveClusterName + } + return "" +} + +func (m *RegisterDomainRequest) GetData() map[string]string { + if m != nil { + return m.Data + } + return nil +} + +func (m *RegisterDomainRequest) GetIsGlobalDomain() bool { + if m != nil { + return m.IsGlobalDomain + } + return false +} + +func (m *RegisterDomainRequest) GetHistoryArchivalStatus() ArchivalStatus { + if m != nil { + return m.HistoryArchivalStatus + } + return ArchivalStatus_ARCHIVAL_STATUS_INVALID +} + +func (m *RegisterDomainRequest) GetHistoryArchivalUri() string { + if m != nil { + return m.HistoryArchivalUri + } + return "" +} + +func (m *RegisterDomainRequest) GetVisibilityArchivalStatus() ArchivalStatus { + if m != nil { + return m.VisibilityArchivalStatus + } + return ArchivalStatus_ARCHIVAL_STATUS_INVALID +} + +func (m *RegisterDomainRequest) GetVisibilityArchivalUri() string { + if m != nil { + return m.VisibilityArchivalUri + } + return "" +} + +type RegisterDomainResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RegisterDomainResponse) Reset() { *m = RegisterDomainResponse{} } +func (m *RegisterDomainResponse) String() string { return proto.CompactTextString(m) } +func (*RegisterDomainResponse) ProtoMessage() {} +func (*RegisterDomainResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_2e37d15268893114, []int{1} +} +func (m *RegisterDomainResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RegisterDomainResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RegisterDomainResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RegisterDomainResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_RegisterDomainResponse.Merge(m, src) +} +func (m *RegisterDomainResponse) XXX_Size() int { + return m.Size() +} +func (m *RegisterDomainResponse) XXX_DiscardUnknown() { + xxx_messageInfo_RegisterDomainResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_RegisterDomainResponse proto.InternalMessageInfo + +type UpdateDomainRequest struct { + SecurityToken string `protobuf:"bytes,1,opt,name=security_token,json=securityToken,proto3" json:"security_token,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + // Below are the fields that can be updated if specified by update_mask. + UpdateMask *types.FieldMask `protobuf:"bytes,10,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` + Description string `protobuf:"bytes,11,opt,name=description,proto3" json:"description,omitempty"` + OwnerEmail string `protobuf:"bytes,12,opt,name=owner_email,json=ownerEmail,proto3" json:"owner_email,omitempty"` + Data map[string]string `protobuf:"bytes,13,rep,name=data,proto3" json:"data,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + WorkflowExecutionRetentionPeriod *types.Duration `protobuf:"bytes,14,opt,name=workflow_execution_retention_period,json=workflowExecutionRetentionPeriod,proto3" json:"workflow_execution_retention_period,omitempty"` + BadBinaries *BadBinaries `protobuf:"bytes,15,opt,name=bad_binaries,json=badBinaries,proto3" json:"bad_binaries,omitempty"` + HistoryArchivalStatus ArchivalStatus `protobuf:"varint,16,opt,name=history_archival_status,json=historyArchivalStatus,proto3,enum=uber.cadence.api.v1.ArchivalStatus" json:"history_archival_status,omitempty"` + HistoryArchivalUri string `protobuf:"bytes,17,opt,name=history_archival_uri,json=historyArchivalUri,proto3" json:"history_archival_uri,omitempty"` + VisibilityArchivalStatus ArchivalStatus `protobuf:"varint,18,opt,name=visibility_archival_status,json=visibilityArchivalStatus,proto3,enum=uber.cadence.api.v1.ArchivalStatus" json:"visibility_archival_status,omitempty"` + VisibilityArchivalUri string `protobuf:"bytes,19,opt,name=visibility_archival_uri,json=visibilityArchivalUri,proto3" json:"visibility_archival_uri,omitempty"` + ActiveClusterName string `protobuf:"bytes,20,opt,name=active_cluster_name,json=activeClusterName,proto3" json:"active_cluster_name,omitempty"` + Clusters []*ClusterReplicationConfiguration `protobuf:"bytes,21,rep,name=clusters,proto3" json:"clusters,omitempty"` + DeleteBadBinary string `protobuf:"bytes,22,opt,name=delete_bad_binary,json=deleteBadBinary,proto3" json:"delete_bad_binary,omitempty"` + FailoverTimeout *types.Duration `protobuf:"bytes,23,opt,name=failover_timeout,json=failoverTimeout,proto3" json:"failover_timeout,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UpdateDomainRequest) Reset() { *m = UpdateDomainRequest{} } +func (m *UpdateDomainRequest) String() string { return proto.CompactTextString(m) } +func (*UpdateDomainRequest) ProtoMessage() {} +func (*UpdateDomainRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_2e37d15268893114, []int{2} +} +func (m *UpdateDomainRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *UpdateDomainRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_UpdateDomainRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *UpdateDomainRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateDomainRequest.Merge(m, src) +} +func (m *UpdateDomainRequest) XXX_Size() int { + return m.Size() +} +func (m *UpdateDomainRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateDomainRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateDomainRequest proto.InternalMessageInfo + +func (m *UpdateDomainRequest) GetSecurityToken() string { + if m != nil { + return m.SecurityToken + } + return "" +} + +func (m *UpdateDomainRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *UpdateDomainRequest) GetUpdateMask() *types.FieldMask { + if m != nil { + return m.UpdateMask + } + return nil +} + +func (m *UpdateDomainRequest) GetDescription() string { + if m != nil { + return m.Description + } + return "" +} + +func (m *UpdateDomainRequest) GetOwnerEmail() string { + if m != nil { + return m.OwnerEmail + } + return "" +} + +func (m *UpdateDomainRequest) GetData() map[string]string { + if m != nil { + return m.Data + } + return nil +} + +func (m *UpdateDomainRequest) GetWorkflowExecutionRetentionPeriod() *types.Duration { + if m != nil { + return m.WorkflowExecutionRetentionPeriod + } + return nil +} + +func (m *UpdateDomainRequest) GetBadBinaries() *BadBinaries { + if m != nil { + return m.BadBinaries + } + return nil +} + +func (m *UpdateDomainRequest) GetHistoryArchivalStatus() ArchivalStatus { + if m != nil { + return m.HistoryArchivalStatus + } + return ArchivalStatus_ARCHIVAL_STATUS_INVALID +} + +func (m *UpdateDomainRequest) GetHistoryArchivalUri() string { + if m != nil { + return m.HistoryArchivalUri + } + return "" +} + +func (m *UpdateDomainRequest) GetVisibilityArchivalStatus() ArchivalStatus { + if m != nil { + return m.VisibilityArchivalStatus + } + return ArchivalStatus_ARCHIVAL_STATUS_INVALID +} + +func (m *UpdateDomainRequest) GetVisibilityArchivalUri() string { + if m != nil { + return m.VisibilityArchivalUri + } + return "" +} + +func (m *UpdateDomainRequest) GetActiveClusterName() string { + if m != nil { + return m.ActiveClusterName + } + return "" +} + +func (m *UpdateDomainRequest) GetClusters() []*ClusterReplicationConfiguration { + if m != nil { + return m.Clusters + } + return nil +} + +func (m *UpdateDomainRequest) GetDeleteBadBinary() string { + if m != nil { + return m.DeleteBadBinary + } + return "" +} + +func (m *UpdateDomainRequest) GetFailoverTimeout() *types.Duration { + if m != nil { + return m.FailoverTimeout + } + return nil +} + +type UpdateDomainResponse struct { + Domain *Domain `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UpdateDomainResponse) Reset() { *m = UpdateDomainResponse{} } +func (m *UpdateDomainResponse) String() string { return proto.CompactTextString(m) } +func (*UpdateDomainResponse) ProtoMessage() {} +func (*UpdateDomainResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_2e37d15268893114, []int{3} +} +func (m *UpdateDomainResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *UpdateDomainResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_UpdateDomainResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *UpdateDomainResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateDomainResponse.Merge(m, src) +} +func (m *UpdateDomainResponse) XXX_Size() int { + return m.Size() +} +func (m *UpdateDomainResponse) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateDomainResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateDomainResponse proto.InternalMessageInfo + +func (m *UpdateDomainResponse) GetDomain() *Domain { + if m != nil { + return m.Domain + } + return nil +} + +type DeprecateDomainRequest struct { + SecurityToken string `protobuf:"bytes,1,opt,name=security_token,json=securityToken,proto3" json:"security_token,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DeprecateDomainRequest) Reset() { *m = DeprecateDomainRequest{} } +func (m *DeprecateDomainRequest) String() string { return proto.CompactTextString(m) } +func (*DeprecateDomainRequest) ProtoMessage() {} +func (*DeprecateDomainRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_2e37d15268893114, []int{4} +} +func (m *DeprecateDomainRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *DeprecateDomainRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_DeprecateDomainRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *DeprecateDomainRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeprecateDomainRequest.Merge(m, src) +} +func (m *DeprecateDomainRequest) XXX_Size() int { + return m.Size() +} +func (m *DeprecateDomainRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DeprecateDomainRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_DeprecateDomainRequest proto.InternalMessageInfo + +func (m *DeprecateDomainRequest) GetSecurityToken() string { + if m != nil { + return m.SecurityToken + } + return "" +} + +func (m *DeprecateDomainRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +type DeprecateDomainResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DeprecateDomainResponse) Reset() { *m = DeprecateDomainResponse{} } +func (m *DeprecateDomainResponse) String() string { return proto.CompactTextString(m) } +func (*DeprecateDomainResponse) ProtoMessage() {} +func (*DeprecateDomainResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_2e37d15268893114, []int{5} +} +func (m *DeprecateDomainResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *DeprecateDomainResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_DeprecateDomainResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *DeprecateDomainResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeprecateDomainResponse.Merge(m, src) +} +func (m *DeprecateDomainResponse) XXX_Size() int { + return m.Size() +} +func (m *DeprecateDomainResponse) XXX_DiscardUnknown() { + xxx_messageInfo_DeprecateDomainResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_DeprecateDomainResponse proto.InternalMessageInfo + +type DescribeDomainRequest struct { + // Types that are valid to be assigned to DescribeBy: + // *DescribeDomainRequest_Id + // *DescribeDomainRequest_Name + DescribeBy isDescribeDomainRequest_DescribeBy `protobuf_oneof:"describe_by"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DescribeDomainRequest) Reset() { *m = DescribeDomainRequest{} } +func (m *DescribeDomainRequest) String() string { return proto.CompactTextString(m) } +func (*DescribeDomainRequest) ProtoMessage() {} +func (*DescribeDomainRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_2e37d15268893114, []int{6} +} +func (m *DescribeDomainRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *DescribeDomainRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_DescribeDomainRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *DescribeDomainRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DescribeDomainRequest.Merge(m, src) +} +func (m *DescribeDomainRequest) XXX_Size() int { + return m.Size() +} +func (m *DescribeDomainRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DescribeDomainRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_DescribeDomainRequest proto.InternalMessageInfo + +type isDescribeDomainRequest_DescribeBy interface { + isDescribeDomainRequest_DescribeBy() + MarshalTo([]byte) (int, error) + Size() int +} + +type DescribeDomainRequest_Id struct { + Id string `protobuf:"bytes,1,opt,name=id,proto3,oneof" json:"id,omitempty"` +} +type DescribeDomainRequest_Name struct { + Name string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"` +} + +func (*DescribeDomainRequest_Id) isDescribeDomainRequest_DescribeBy() {} +func (*DescribeDomainRequest_Name) isDescribeDomainRequest_DescribeBy() {} + +func (m *DescribeDomainRequest) GetDescribeBy() isDescribeDomainRequest_DescribeBy { + if m != nil { + return m.DescribeBy + } + return nil +} + +func (m *DescribeDomainRequest) GetId() string { + if x, ok := m.GetDescribeBy().(*DescribeDomainRequest_Id); ok { + return x.Id + } + return "" +} + +func (m *DescribeDomainRequest) GetName() string { + if x, ok := m.GetDescribeBy().(*DescribeDomainRequest_Name); ok { + return x.Name + } + return "" +} + +// XXX_OneofWrappers is for the internal use of the proto package. +func (*DescribeDomainRequest) XXX_OneofWrappers() []interface{} { + return []interface{}{ + (*DescribeDomainRequest_Id)(nil), + (*DescribeDomainRequest_Name)(nil), + } +} + +type DescribeDomainResponse struct { + Domain *Domain `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DescribeDomainResponse) Reset() { *m = DescribeDomainResponse{} } +func (m *DescribeDomainResponse) String() string { return proto.CompactTextString(m) } +func (*DescribeDomainResponse) ProtoMessage() {} +func (*DescribeDomainResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_2e37d15268893114, []int{7} +} +func (m *DescribeDomainResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *DescribeDomainResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_DescribeDomainResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *DescribeDomainResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_DescribeDomainResponse.Merge(m, src) +} +func (m *DescribeDomainResponse) XXX_Size() int { + return m.Size() +} +func (m *DescribeDomainResponse) XXX_DiscardUnknown() { + xxx_messageInfo_DescribeDomainResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_DescribeDomainResponse proto.InternalMessageInfo + +func (m *DescribeDomainResponse) GetDomain() *Domain { + if m != nil { + return m.Domain + } + return nil +} + +type ListDomainsRequest struct { + PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + NextPageToken []byte `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListDomainsRequest) Reset() { *m = ListDomainsRequest{} } +func (m *ListDomainsRequest) String() string { return proto.CompactTextString(m) } +func (*ListDomainsRequest) ProtoMessage() {} +func (*ListDomainsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_2e37d15268893114, []int{8} +} +func (m *ListDomainsRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ListDomainsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ListDomainsRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ListDomainsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListDomainsRequest.Merge(m, src) +} +func (m *ListDomainsRequest) XXX_Size() int { + return m.Size() +} +func (m *ListDomainsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListDomainsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListDomainsRequest proto.InternalMessageInfo + +func (m *ListDomainsRequest) GetPageSize() int32 { + if m != nil { + return m.PageSize + } + return 0 +} + +func (m *ListDomainsRequest) GetNextPageToken() []byte { + if m != nil { + return m.NextPageToken + } + return nil +} + +type ListDomainsResponse struct { + Domains []*Domain `protobuf:"bytes,1,rep,name=domains,proto3" json:"domains,omitempty"` + NextPageToken []byte `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListDomainsResponse) Reset() { *m = ListDomainsResponse{} } +func (m *ListDomainsResponse) String() string { return proto.CompactTextString(m) } +func (*ListDomainsResponse) ProtoMessage() {} +func (*ListDomainsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_2e37d15268893114, []int{9} +} +func (m *ListDomainsResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ListDomainsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ListDomainsResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ListDomainsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListDomainsResponse.Merge(m, src) +} +func (m *ListDomainsResponse) XXX_Size() int { + return m.Size() +} +func (m *ListDomainsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListDomainsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListDomainsResponse proto.InternalMessageInfo + +func (m *ListDomainsResponse) GetDomains() []*Domain { + if m != nil { + return m.Domains + } + return nil +} + +func (m *ListDomainsResponse) GetNextPageToken() []byte { + if m != nil { + return m.NextPageToken + } + return nil +} + +func init() { + proto.RegisterType((*RegisterDomainRequest)(nil), "uber.cadence.api.v1.RegisterDomainRequest") + proto.RegisterMapType((map[string]string)(nil), "uber.cadence.api.v1.RegisterDomainRequest.DataEntry") + proto.RegisterType((*RegisterDomainResponse)(nil), "uber.cadence.api.v1.RegisterDomainResponse") + proto.RegisterType((*UpdateDomainRequest)(nil), "uber.cadence.api.v1.UpdateDomainRequest") + proto.RegisterMapType((map[string]string)(nil), "uber.cadence.api.v1.UpdateDomainRequest.DataEntry") + proto.RegisterType((*UpdateDomainResponse)(nil), "uber.cadence.api.v1.UpdateDomainResponse") + proto.RegisterType((*DeprecateDomainRequest)(nil), "uber.cadence.api.v1.DeprecateDomainRequest") + proto.RegisterType((*DeprecateDomainResponse)(nil), "uber.cadence.api.v1.DeprecateDomainResponse") + proto.RegisterType((*DescribeDomainRequest)(nil), "uber.cadence.api.v1.DescribeDomainRequest") + proto.RegisterType((*DescribeDomainResponse)(nil), "uber.cadence.api.v1.DescribeDomainResponse") + proto.RegisterType((*ListDomainsRequest)(nil), "uber.cadence.api.v1.ListDomainsRequest") + proto.RegisterType((*ListDomainsResponse)(nil), "uber.cadence.api.v1.ListDomainsResponse") +} + +func init() { + proto.RegisterFile("uber/cadence/api/v1/service_domain.proto", fileDescriptor_2e37d15268893114) +} + +var fileDescriptor_2e37d15268893114 = []byte{ + // 1033 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x57, 0xcd, 0x6e, 0xdb, 0x46, + 0x10, 0x0e, 0x1d, 0xdb, 0x91, 0x47, 0xb6, 0x6c, 0xaf, 0xff, 0x18, 0x05, 0x70, 0x05, 0x05, 0x6d, + 0xd5, 0xb4, 0xa0, 0x6a, 0xa5, 0x7f, 0x68, 0x4e, 0xb6, 0xe5, 0xd4, 0x45, 0x9b, 0x40, 0xa0, 0xe3, + 0x43, 0xdb, 0x03, 0xbb, 0x24, 0xc7, 0xf2, 0xc2, 0x14, 0xc9, 0xee, 0x2e, 0xe5, 0x28, 0x0f, 0xd2, + 0x63, 0x9f, 0xa7, 0xc7, 0x1e, 0x7b, 0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0x75, 0xd2, 0x65, 0xd6, 0x31, 0x7e, 0x6d, 0x76, 0x99, 0x3c, + 0x4f, 0x5c, 0xcb, 0x8b, 0x7a, 0xcd, 0x91, 0x6f, 0x07, 0xab, 0x8b, 0x61, 0xf6, 0xa1, 0xa1, 0x3f, + 0x23, 0x9e, 0xd1, 0x98, 0xf5, 0xf7, 0xdc, 0x45, 0x65, 0x7b, 0xfa, 0x7f, 0x00, 0x00, 0x00, 0xff, + 0xff, 0xd3, 0xdf, 0xea, 0xd2, 0xeb, 0x0c, 0x00, 0x00, +} + +func (m *RegisterDomainRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RegisterDomainRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *RegisterDomainRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.VisibilityArchivalUri) > 0 { + i -= len(m.VisibilityArchivalUri) + copy(dAtA[i:], m.VisibilityArchivalUri) + i = encodeVarintServiceDomain(dAtA, i, uint64(len(m.VisibilityArchivalUri))) + i-- + dAtA[i] = 0x6a + } + if m.VisibilityArchivalStatus != 0 { + i = encodeVarintServiceDomain(dAtA, i, uint64(m.VisibilityArchivalStatus)) + i-- + dAtA[i] = 0x60 + } + if len(m.HistoryArchivalUri) > 0 { + i -= len(m.HistoryArchivalUri) + copy(dAtA[i:], m.HistoryArchivalUri) + i = encodeVarintServiceDomain(dAtA, i, uint64(len(m.HistoryArchivalUri))) + i-- + dAtA[i] = 0x5a + } + if m.HistoryArchivalStatus != 0 { + i = encodeVarintServiceDomain(dAtA, i, uint64(m.HistoryArchivalStatus)) + i-- + dAtA[i] = 0x50 + } + if m.IsGlobalDomain { + i-- + if m.IsGlobalDomain { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x48 + } + if len(m.Data) > 0 { + for k := range m.Data { + v := m.Data[k] + baseI := i + i -= len(v) + copy(dAtA[i:], v) + i = encodeVarintServiceDomain(dAtA, i, uint64(len(v))) + i-- + dAtA[i] = 0x12 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarintServiceDomain(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarintServiceDomain(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0x42 + } + } + if len(m.ActiveClusterName) > 0 { + i -= len(m.ActiveClusterName) + copy(dAtA[i:], m.ActiveClusterName) + i = encodeVarintServiceDomain(dAtA, i, uint64(len(m.ActiveClusterName))) + i-- + dAtA[i] = 0x3a + } + if len(m.Clusters) > 0 { + for iNdEx := len(m.Clusters) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Clusters[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceDomain(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x32 + } + } + if m.WorkflowExecutionRetentionPeriod != nil { + { + size, err := m.WorkflowExecutionRetentionPeriod.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceDomain(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a + } + if len(m.OwnerEmail) > 0 { + i -= len(m.OwnerEmail) + copy(dAtA[i:], m.OwnerEmail) + i = encodeVarintServiceDomain(dAtA, i, uint64(len(m.OwnerEmail))) + i-- + dAtA[i] = 0x22 + } + if len(m.Description) > 0 { + i -= len(m.Description) + copy(dAtA[i:], m.Description) + i = encodeVarintServiceDomain(dAtA, i, uint64(len(m.Description))) + i-- + dAtA[i] = 0x1a + } + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarintServiceDomain(dAtA, i, uint64(len(m.Name))) + i-- + dAtA[i] = 0x12 + } + if len(m.SecurityToken) > 0 { + i -= len(m.SecurityToken) + copy(dAtA[i:], m.SecurityToken) + i = encodeVarintServiceDomain(dAtA, i, uint64(len(m.SecurityToken))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *RegisterDomainResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RegisterDomainResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *RegisterDomainResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + return len(dAtA) - i, nil +} + +func (m *UpdateDomainRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *UpdateDomainRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *UpdateDomainRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.FailoverTimeout != nil { + { + size, err := m.FailoverTimeout.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceDomain(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xba + } + if len(m.DeleteBadBinary) > 0 { + i -= len(m.DeleteBadBinary) + copy(dAtA[i:], m.DeleteBadBinary) + i = encodeVarintServiceDomain(dAtA, i, uint64(len(m.DeleteBadBinary))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xb2 + } + if len(m.Clusters) > 0 { + for iNdEx := len(m.Clusters) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Clusters[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceDomain(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xaa + } + } + if len(m.ActiveClusterName) > 0 { + i -= len(m.ActiveClusterName) + copy(dAtA[i:], m.ActiveClusterName) + i = encodeVarintServiceDomain(dAtA, i, uint64(len(m.ActiveClusterName))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xa2 + } + if len(m.VisibilityArchivalUri) > 0 { + i -= len(m.VisibilityArchivalUri) + copy(dAtA[i:], m.VisibilityArchivalUri) + i = encodeVarintServiceDomain(dAtA, i, uint64(len(m.VisibilityArchivalUri))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x9a + } + if m.VisibilityArchivalStatus != 0 { + i = encodeVarintServiceDomain(dAtA, i, uint64(m.VisibilityArchivalStatus)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x90 + } + if len(m.HistoryArchivalUri) > 0 { + i -= len(m.HistoryArchivalUri) + copy(dAtA[i:], m.HistoryArchivalUri) + i = encodeVarintServiceDomain(dAtA, i, uint64(len(m.HistoryArchivalUri))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x8a + } + if m.HistoryArchivalStatus != 0 { + i = encodeVarintServiceDomain(dAtA, i, uint64(m.HistoryArchivalStatus)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x80 + } + if m.BadBinaries != nil { + { + size, err := m.BadBinaries.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceDomain(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x7a + } + if m.WorkflowExecutionRetentionPeriod != nil { + { + size, err := m.WorkflowExecutionRetentionPeriod.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceDomain(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x72 + } + if len(m.Data) > 0 { + for k := range m.Data { + v := m.Data[k] + baseI := i + i -= len(v) + copy(dAtA[i:], v) + i = encodeVarintServiceDomain(dAtA, i, uint64(len(v))) + i-- + dAtA[i] = 0x12 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarintServiceDomain(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarintServiceDomain(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0x6a + } + } + if len(m.OwnerEmail) > 0 { + i -= len(m.OwnerEmail) + copy(dAtA[i:], m.OwnerEmail) + i = encodeVarintServiceDomain(dAtA, i, uint64(len(m.OwnerEmail))) + i-- + dAtA[i] = 0x62 + } + if len(m.Description) > 0 { + i -= len(m.Description) + copy(dAtA[i:], m.Description) + i = encodeVarintServiceDomain(dAtA, i, uint64(len(m.Description))) + i-- + dAtA[i] = 0x5a + } + if m.UpdateMask != nil { + { + size, err := m.UpdateMask.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceDomain(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x52 + } + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarintServiceDomain(dAtA, i, uint64(len(m.Name))) + i-- + dAtA[i] = 0x12 + } + if len(m.SecurityToken) > 0 { + i -= len(m.SecurityToken) + copy(dAtA[i:], m.SecurityToken) + i = encodeVarintServiceDomain(dAtA, i, uint64(len(m.SecurityToken))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *UpdateDomainResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *UpdateDomainResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *UpdateDomainResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.Domain != nil { + { + size, err := m.Domain.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceDomain(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *DeprecateDomainRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *DeprecateDomainRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *DeprecateDomainRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarintServiceDomain(dAtA, i, uint64(len(m.Name))) + i-- + dAtA[i] = 0x12 + } + if len(m.SecurityToken) > 0 { + i -= len(m.SecurityToken) + copy(dAtA[i:], m.SecurityToken) + i = encodeVarintServiceDomain(dAtA, i, uint64(len(m.SecurityToken))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *DeprecateDomainResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *DeprecateDomainResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *DeprecateDomainResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + return len(dAtA) - i, nil +} + +func (m *DescribeDomainRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *DescribeDomainRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *DescribeDomainRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.DescribeBy != nil { + { + size := m.DescribeBy.Size() + i -= size + if _, err := m.DescribeBy.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + } + } + return len(dAtA) - i, nil +} + +func (m *DescribeDomainRequest_Id) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *DescribeDomainRequest_Id) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + i -= len(m.Id) + copy(dAtA[i:], m.Id) + i = encodeVarintServiceDomain(dAtA, i, uint64(len(m.Id))) + i-- + dAtA[i] = 0xa + return len(dAtA) - i, nil +} +func (m *DescribeDomainRequest_Name) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *DescribeDomainRequest_Name) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarintServiceDomain(dAtA, i, uint64(len(m.Name))) + i-- + dAtA[i] = 0x12 + return len(dAtA) - i, nil +} +func (m *DescribeDomainResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *DescribeDomainResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *DescribeDomainResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.Domain != nil { + { + size, err := m.Domain.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceDomain(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ListDomainsRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ListDomainsRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ListDomainsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.NextPageToken) > 0 { + i -= len(m.NextPageToken) + copy(dAtA[i:], m.NextPageToken) + i = encodeVarintServiceDomain(dAtA, i, uint64(len(m.NextPageToken))) + i-- + dAtA[i] = 0x12 + } + if m.PageSize != 0 { + i = encodeVarintServiceDomain(dAtA, i, uint64(m.PageSize)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *ListDomainsResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ListDomainsResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ListDomainsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.NextPageToken) > 0 { + i -= len(m.NextPageToken) + copy(dAtA[i:], m.NextPageToken) + i = encodeVarintServiceDomain(dAtA, i, uint64(len(m.NextPageToken))) + i-- + dAtA[i] = 0x12 + } + if len(m.Domains) > 0 { + for iNdEx := len(m.Domains) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Domains[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceDomain(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func encodeVarintServiceDomain(dAtA []byte, offset int, v uint64) int { + offset -= sovServiceDomain(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *RegisterDomainRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.SecurityToken) + if l > 0 { + n += 1 + l + sovServiceDomain(uint64(l)) + } + l = len(m.Name) + if l > 0 { + n += 1 + l + sovServiceDomain(uint64(l)) + } + l = len(m.Description) + if l > 0 { + n += 1 + l + sovServiceDomain(uint64(l)) + } + l = len(m.OwnerEmail) + if l > 0 { + n += 1 + l + sovServiceDomain(uint64(l)) + } + if m.WorkflowExecutionRetentionPeriod != nil { + l = m.WorkflowExecutionRetentionPeriod.Size() + n += 1 + l + sovServiceDomain(uint64(l)) + } + if len(m.Clusters) > 0 { + for _, e := range m.Clusters { + l = e.Size() + n += 1 + l + sovServiceDomain(uint64(l)) + } + } + l = len(m.ActiveClusterName) + if l > 0 { + n += 1 + l + sovServiceDomain(uint64(l)) + } + if len(m.Data) > 0 { + for k, v := range m.Data { + _ = k + _ = v + mapEntrySize := 1 + len(k) + sovServiceDomain(uint64(len(k))) + 1 + len(v) + sovServiceDomain(uint64(len(v))) + n += mapEntrySize + 1 + sovServiceDomain(uint64(mapEntrySize)) + } + } + if m.IsGlobalDomain { + n += 2 + } + if m.HistoryArchivalStatus != 0 { + n += 1 + sovServiceDomain(uint64(m.HistoryArchivalStatus)) + } + l = len(m.HistoryArchivalUri) + if l > 0 { + n += 1 + l + sovServiceDomain(uint64(l)) + } + if m.VisibilityArchivalStatus != 0 { + n += 1 + sovServiceDomain(uint64(m.VisibilityArchivalStatus)) + } + l = len(m.VisibilityArchivalUri) + if l > 0 { + n += 1 + l + sovServiceDomain(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *RegisterDomainResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *UpdateDomainRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.SecurityToken) + if l > 0 { + n += 1 + l + sovServiceDomain(uint64(l)) + } + l = len(m.Name) + if l > 0 { + n += 1 + l + sovServiceDomain(uint64(l)) + } + if m.UpdateMask != nil { + l = m.UpdateMask.Size() + n += 1 + l + sovServiceDomain(uint64(l)) + } + l = len(m.Description) + if l > 0 { + n += 1 + l + sovServiceDomain(uint64(l)) + } + l = len(m.OwnerEmail) + if l > 0 { + n += 1 + l + sovServiceDomain(uint64(l)) + } + if len(m.Data) > 0 { + for k, v := range m.Data { + _ = k + _ = v + mapEntrySize := 1 + len(k) + sovServiceDomain(uint64(len(k))) + 1 + len(v) + sovServiceDomain(uint64(len(v))) + n += mapEntrySize + 1 + sovServiceDomain(uint64(mapEntrySize)) + } + } + if m.WorkflowExecutionRetentionPeriod != nil { + l = m.WorkflowExecutionRetentionPeriod.Size() + n += 1 + l + sovServiceDomain(uint64(l)) + } + if m.BadBinaries != nil { + l = m.BadBinaries.Size() + n += 1 + l + sovServiceDomain(uint64(l)) + } + if m.HistoryArchivalStatus != 0 { + n += 2 + sovServiceDomain(uint64(m.HistoryArchivalStatus)) + } + l = len(m.HistoryArchivalUri) + if l > 0 { + n += 2 + l + sovServiceDomain(uint64(l)) + } + if m.VisibilityArchivalStatus != 0 { + n += 2 + sovServiceDomain(uint64(m.VisibilityArchivalStatus)) + } + l = len(m.VisibilityArchivalUri) + if l > 0 { + n += 2 + l + sovServiceDomain(uint64(l)) + } + l = len(m.ActiveClusterName) + if l > 0 { + n += 2 + l + sovServiceDomain(uint64(l)) + } + if len(m.Clusters) > 0 { + for _, e := range m.Clusters { + l = e.Size() + n += 2 + l + sovServiceDomain(uint64(l)) + } + } + l = len(m.DeleteBadBinary) + if l > 0 { + n += 2 + l + sovServiceDomain(uint64(l)) + } + if m.FailoverTimeout != nil { + l = m.FailoverTimeout.Size() + n += 2 + l + sovServiceDomain(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *UpdateDomainResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Domain != nil { + l = m.Domain.Size() + n += 1 + l + sovServiceDomain(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *DeprecateDomainRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.SecurityToken) + if l > 0 { + n += 1 + l + sovServiceDomain(uint64(l)) + } + l = len(m.Name) + if l > 0 { + n += 1 + l + sovServiceDomain(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *DeprecateDomainResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *DescribeDomainRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.DescribeBy != nil { + n += m.DescribeBy.Size() + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *DescribeDomainRequest_Id) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Id) + n += 1 + l + sovServiceDomain(uint64(l)) + return n +} +func (m *DescribeDomainRequest_Name) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Name) + n += 1 + l + sovServiceDomain(uint64(l)) + return n +} +func (m *DescribeDomainResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Domain != nil { + l = m.Domain.Size() + n += 1 + l + sovServiceDomain(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *ListDomainsRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.PageSize != 0 { + n += 1 + sovServiceDomain(uint64(m.PageSize)) + } + l = len(m.NextPageToken) + if l > 0 { + n += 1 + l + sovServiceDomain(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *ListDomainsResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Domains) > 0 { + for _, e := range m.Domains { + l = e.Size() + n += 1 + l + sovServiceDomain(uint64(l)) + } + } + l = len(m.NextPageToken) + if l > 0 { + n += 1 + l + sovServiceDomain(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func sovServiceDomain(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozServiceDomain(x uint64) (n int) { + return sovServiceDomain(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *RegisterDomainRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RegisterDomainRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RegisterDomainRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SecurityToken", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceDomain + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceDomain + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.SecurityToken = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceDomain + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceDomain + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceDomain + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceDomain + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Description = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field OwnerEmail", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceDomain + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceDomain + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.OwnerEmail = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowExecutionRetentionPeriod", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceDomain + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceDomain + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.WorkflowExecutionRetentionPeriod == nil { + m.WorkflowExecutionRetentionPeriod = &types.Duration{} + } + if err := m.WorkflowExecutionRetentionPeriod.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Clusters", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceDomain + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceDomain + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Clusters = append(m.Clusters, &ClusterReplicationConfiguration{}) + if err := m.Clusters[len(m.Clusters)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ActiveClusterName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceDomain + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceDomain + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ActiveClusterName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 8: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceDomain + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceDomain + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Data == nil { + m.Data = make(map[string]string) + } + var mapkey string + var mapvalue string + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLengthServiceDomain + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLengthServiceDomain + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var stringLenmapvalue uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapvalue |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapvalue := int(stringLenmapvalue) + if intStringLenmapvalue < 0 { + return ErrInvalidLengthServiceDomain + } + postStringIndexmapvalue := iNdEx + intStringLenmapvalue + if postStringIndexmapvalue < 0 { + return ErrInvalidLengthServiceDomain + } + if postStringIndexmapvalue > l { + return io.ErrUnexpectedEOF + } + mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) + iNdEx = postStringIndexmapvalue + } else { + iNdEx = entryPreIndex + skippy, err := skipServiceDomain(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceDomain + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.Data[mapkey] = mapvalue + iNdEx = postIndex + case 9: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IsGlobalDomain", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.IsGlobalDomain = bool(v != 0) + case 10: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field HistoryArchivalStatus", wireType) + } + m.HistoryArchivalStatus = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.HistoryArchivalStatus |= ArchivalStatus(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 11: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field HistoryArchivalUri", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceDomain + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceDomain + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.HistoryArchivalUri = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 12: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field VisibilityArchivalStatus", wireType) + } + m.VisibilityArchivalStatus = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.VisibilityArchivalStatus |= ArchivalStatus(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 13: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field VisibilityArchivalUri", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceDomain + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceDomain + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.VisibilityArchivalUri = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipServiceDomain(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceDomain + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RegisterDomainResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RegisterDomainResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RegisterDomainResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipServiceDomain(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceDomain + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *UpdateDomainRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: UpdateDomainRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: UpdateDomainRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SecurityToken", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceDomain + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceDomain + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.SecurityToken = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceDomain + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceDomain + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 10: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field UpdateMask", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceDomain + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceDomain + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.UpdateMask == nil { + m.UpdateMask = &types.FieldMask{} + } + if err := m.UpdateMask.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 11: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceDomain + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceDomain + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Description = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 12: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field OwnerEmail", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceDomain + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceDomain + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.OwnerEmail = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 13: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceDomain + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceDomain + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Data == nil { + m.Data = make(map[string]string) + } + var mapkey string + var mapvalue string + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLengthServiceDomain + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLengthServiceDomain + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var stringLenmapvalue uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapvalue |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapvalue := int(stringLenmapvalue) + if intStringLenmapvalue < 0 { + return ErrInvalidLengthServiceDomain + } + postStringIndexmapvalue := iNdEx + intStringLenmapvalue + if postStringIndexmapvalue < 0 { + return ErrInvalidLengthServiceDomain + } + if postStringIndexmapvalue > l { + return io.ErrUnexpectedEOF + } + mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) + iNdEx = postStringIndexmapvalue + } else { + iNdEx = entryPreIndex + skippy, err := skipServiceDomain(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceDomain + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.Data[mapkey] = mapvalue + iNdEx = postIndex + case 14: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowExecutionRetentionPeriod", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceDomain + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceDomain + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.WorkflowExecutionRetentionPeriod == nil { + m.WorkflowExecutionRetentionPeriod = &types.Duration{} + } + if err := m.WorkflowExecutionRetentionPeriod.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 15: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field BadBinaries", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceDomain + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceDomain + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.BadBinaries == nil { + m.BadBinaries = &BadBinaries{} + } + if err := m.BadBinaries.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 16: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field HistoryArchivalStatus", wireType) + } + m.HistoryArchivalStatus = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.HistoryArchivalStatus |= ArchivalStatus(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 17: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field HistoryArchivalUri", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceDomain + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceDomain + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.HistoryArchivalUri = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 18: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field VisibilityArchivalStatus", wireType) + } + m.VisibilityArchivalStatus = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.VisibilityArchivalStatus |= ArchivalStatus(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 19: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field VisibilityArchivalUri", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceDomain + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceDomain + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.VisibilityArchivalUri = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 20: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ActiveClusterName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceDomain + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceDomain + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ActiveClusterName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 21: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Clusters", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceDomain + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceDomain + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Clusters = append(m.Clusters, &ClusterReplicationConfiguration{}) + if err := m.Clusters[len(m.Clusters)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 22: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DeleteBadBinary", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceDomain + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceDomain + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.DeleteBadBinary = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 23: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field FailoverTimeout", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceDomain + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceDomain + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.FailoverTimeout == nil { + m.FailoverTimeout = &types.Duration{} + } + if err := m.FailoverTimeout.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipServiceDomain(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceDomain + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *UpdateDomainResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: UpdateDomainResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: UpdateDomainResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Domain", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceDomain + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceDomain + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Domain == nil { + m.Domain = &Domain{} + } + if err := m.Domain.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipServiceDomain(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceDomain + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *DeprecateDomainRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: DeprecateDomainRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: DeprecateDomainRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SecurityToken", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceDomain + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceDomain + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.SecurityToken = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceDomain + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceDomain + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipServiceDomain(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceDomain + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *DeprecateDomainResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: DeprecateDomainResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: DeprecateDomainResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipServiceDomain(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceDomain + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *DescribeDomainRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: DescribeDomainRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: DescribeDomainRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceDomain + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceDomain + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.DescribeBy = &DescribeDomainRequest_Id{string(dAtA[iNdEx:postIndex])} + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceDomain + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceDomain + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.DescribeBy = &DescribeDomainRequest_Name{string(dAtA[iNdEx:postIndex])} + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipServiceDomain(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceDomain + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *DescribeDomainResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: DescribeDomainResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: DescribeDomainResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Domain", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceDomain + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceDomain + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Domain == nil { + m.Domain = &Domain{} + } + if err := m.Domain.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipServiceDomain(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceDomain + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ListDomainsRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ListDomainsRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ListDomainsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType) + } + m.PageSize = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.PageSize |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthServiceDomain + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthServiceDomain + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.NextPageToken = append(m.NextPageToken[:0], dAtA[iNdEx:postIndex]...) + if m.NextPageToken == nil { + m.NextPageToken = []byte{} + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipServiceDomain(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceDomain + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ListDomainsResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ListDomainsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ListDomainsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Domains", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceDomain + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceDomain + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Domains = append(m.Domains, &Domain{}) + if err := m.Domains[len(m.Domains)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceDomain + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthServiceDomain + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthServiceDomain + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.NextPageToken = append(m.NextPageToken[:0], dAtA[iNdEx:postIndex]...) + if m.NextPageToken == nil { + m.NextPageToken = []byte{} + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipServiceDomain(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceDomain + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func skipServiceDomain(dAtA []byte) (n int, err error) { + l := len(dAtA) + iNdEx := 0 + depth := 0 + for iNdEx < l { + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowServiceDomain + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + wireType := int(wire & 0x7) + switch wireType { + case 0: + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowServiceDomain + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + iNdEx++ + if dAtA[iNdEx-1] < 0x80 { + break + } + } + case 1: + iNdEx += 8 + case 2: + var length int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowServiceDomain + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + length |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if length < 0 { + return 0, ErrInvalidLengthServiceDomain + } + iNdEx += length + case 3: + depth++ + case 4: + if depth == 0 { + return 0, ErrUnexpectedEndOfGroupServiceDomain + } + depth-- + case 5: + iNdEx += 4 + default: + return 0, fmt.Errorf("proto: illegal wireType %d", wireType) + } + if iNdEx < 0 { + return 0, ErrInvalidLengthServiceDomain + } + if depth == 0 { + return iNdEx, nil + } + } + return 0, io.ErrUnexpectedEOF +} + +var ( + ErrInvalidLengthServiceDomain = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflowServiceDomain = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroupServiceDomain = fmt.Errorf("proto: unexpected end of group") +) diff --git a/go/proto/api/v1/service_domain.pb.yarpc.go b/go/proto/api/v1/service_domain.pb.yarpc.go new file mode 100644 index 0000000..91f1ed1 --- /dev/null +++ b/go/proto/api/v1/service_domain.pb.yarpc.go @@ -0,0 +1,634 @@ +// The MIT License (MIT) +// +// Copyright (c) 2021 Uber Technologies, Inc. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +// SOFTWARE. + +// Code generated by protoc-gen-yarpc-go. DO NOT EDIT. +// source: uber/cadence/api/v1/service_domain.proto + +package apiv1 + +import ( + "context" + "io/ioutil" + "reflect" + + "github.com/gogo/protobuf/jsonpb" + "github.com/gogo/protobuf/proto" + "go.uber.org/fx" + "go.uber.org/yarpc" + "go.uber.org/yarpc/api/transport" + "go.uber.org/yarpc/api/x/restriction" + "go.uber.org/yarpc/encoding/protobuf" + "go.uber.org/yarpc/encoding/protobuf/reflection" +) + +var _ = ioutil.NopCloser + +// DomainAPIYARPCClient is the YARPC client-side interface for the DomainAPI service. +type DomainAPIYARPCClient interface { + RegisterDomain(context.Context, *RegisterDomainRequest, ...yarpc.CallOption) (*RegisterDomainResponse, error) + DescribeDomain(context.Context, *DescribeDomainRequest, ...yarpc.CallOption) (*DescribeDomainResponse, error) + ListDomains(context.Context, *ListDomainsRequest, ...yarpc.CallOption) (*ListDomainsResponse, error) + UpdateDomain(context.Context, *UpdateDomainRequest, ...yarpc.CallOption) (*UpdateDomainResponse, error) + DeprecateDomain(context.Context, *DeprecateDomainRequest, ...yarpc.CallOption) (*DeprecateDomainResponse, error) +} + +func newDomainAPIYARPCClient(clientConfig transport.ClientConfig, anyResolver jsonpb.AnyResolver, options ...protobuf.ClientOption) DomainAPIYARPCClient { + return &_DomainAPIYARPCCaller{protobuf.NewStreamClient( + protobuf.ClientParams{ + ServiceName: "uber.cadence.api.v1.DomainAPI", + ClientConfig: clientConfig, + AnyResolver: anyResolver, + Options: options, + }, + )} +} + +// NewDomainAPIYARPCClient builds a new YARPC client for the DomainAPI service. +func NewDomainAPIYARPCClient(clientConfig transport.ClientConfig, options ...protobuf.ClientOption) DomainAPIYARPCClient { + return newDomainAPIYARPCClient(clientConfig, nil, options...) +} + +// DomainAPIYARPCServer is the YARPC server-side interface for the DomainAPI service. +type DomainAPIYARPCServer interface { + RegisterDomain(context.Context, *RegisterDomainRequest) (*RegisterDomainResponse, error) + DescribeDomain(context.Context, *DescribeDomainRequest) (*DescribeDomainResponse, error) + ListDomains(context.Context, *ListDomainsRequest) (*ListDomainsResponse, error) + UpdateDomain(context.Context, *UpdateDomainRequest) (*UpdateDomainResponse, error) + DeprecateDomain(context.Context, *DeprecateDomainRequest) (*DeprecateDomainResponse, error) +} + +type buildDomainAPIYARPCProceduresParams struct { + Server DomainAPIYARPCServer + AnyResolver jsonpb.AnyResolver +} + +func buildDomainAPIYARPCProcedures(params buildDomainAPIYARPCProceduresParams) []transport.Procedure { + handler := &_DomainAPIYARPCHandler{params.Server} + return protobuf.BuildProcedures( + protobuf.BuildProceduresParams{ + ServiceName: "uber.cadence.api.v1.DomainAPI", + UnaryHandlerParams: []protobuf.BuildProceduresUnaryHandlerParams{ + { + MethodName: "RegisterDomain", + Handler: protobuf.NewUnaryHandler( + protobuf.UnaryHandlerParams{ + Handle: handler.RegisterDomain, + NewRequest: newDomainAPIServiceRegisterDomainYARPCRequest, + AnyResolver: params.AnyResolver, + }, + ), + }, + { + MethodName: "DescribeDomain", + Handler: protobuf.NewUnaryHandler( + protobuf.UnaryHandlerParams{ + Handle: handler.DescribeDomain, + NewRequest: newDomainAPIServiceDescribeDomainYARPCRequest, + AnyResolver: params.AnyResolver, + }, + ), + }, + { + MethodName: "ListDomains", + Handler: protobuf.NewUnaryHandler( + protobuf.UnaryHandlerParams{ + Handle: handler.ListDomains, + NewRequest: newDomainAPIServiceListDomainsYARPCRequest, + AnyResolver: params.AnyResolver, + }, + ), + }, + { + MethodName: "UpdateDomain", + Handler: protobuf.NewUnaryHandler( + protobuf.UnaryHandlerParams{ + Handle: handler.UpdateDomain, + NewRequest: newDomainAPIServiceUpdateDomainYARPCRequest, + AnyResolver: params.AnyResolver, + }, + ), + }, + { + MethodName: "DeprecateDomain", + Handler: protobuf.NewUnaryHandler( + protobuf.UnaryHandlerParams{ + Handle: handler.DeprecateDomain, + NewRequest: newDomainAPIServiceDeprecateDomainYARPCRequest, + AnyResolver: params.AnyResolver, + }, + ), + }, + }, + OnewayHandlerParams: []protobuf.BuildProceduresOnewayHandlerParams{}, + StreamHandlerParams: []protobuf.BuildProceduresStreamHandlerParams{}, + }, + ) +} + +// BuildDomainAPIYARPCProcedures prepares an implementation of the DomainAPI service for YARPC registration. +func BuildDomainAPIYARPCProcedures(server DomainAPIYARPCServer) []transport.Procedure { + return buildDomainAPIYARPCProcedures(buildDomainAPIYARPCProceduresParams{Server: server}) +} + +// FxDomainAPIYARPCClientParams defines the input +// for NewFxDomainAPIYARPCClient. It provides the +// paramaters to get a DomainAPIYARPCClient in an +// Fx application. +type FxDomainAPIYARPCClientParams struct { + fx.In + + Provider yarpc.ClientConfig + AnyResolver jsonpb.AnyResolver `name:"yarpcfx" optional:"true"` + Restriction restriction.Checker `optional:"true"` +} + +// FxDomainAPIYARPCClientResult defines the output +// of NewFxDomainAPIYARPCClient. It provides a +// DomainAPIYARPCClient to an Fx application. +type FxDomainAPIYARPCClientResult struct { + fx.Out + + Client DomainAPIYARPCClient + + // We are using an fx.Out struct here instead of just returning a client + // so that we can add more values or add named versions of the client in + // the future without breaking any existing code. +} + +// NewFxDomainAPIYARPCClient provides a DomainAPIYARPCClient +// to an Fx application using the given name for routing. +// +// fx.Provide( +// apiv1.NewFxDomainAPIYARPCClient("service-name"), +// ... +// ) +func NewFxDomainAPIYARPCClient(name string, options ...protobuf.ClientOption) interface{} { + return func(params FxDomainAPIYARPCClientParams) FxDomainAPIYARPCClientResult { + cc := params.Provider.ClientConfig(name) + + if params.Restriction != nil { + if namer, ok := cc.GetUnaryOutbound().(transport.Namer); ok { + if err := params.Restriction.Check(protobuf.Encoding, namer.TransportName()); err != nil { + panic(err.Error()) + } + } + } + + return FxDomainAPIYARPCClientResult{ + Client: newDomainAPIYARPCClient(cc, params.AnyResolver, options...), + } + } +} + +// FxDomainAPIYARPCProceduresParams defines the input +// for NewFxDomainAPIYARPCProcedures. It provides the +// paramaters to get DomainAPIYARPCServer procedures in an +// Fx application. +type FxDomainAPIYARPCProceduresParams struct { + fx.In + + Server DomainAPIYARPCServer + AnyResolver jsonpb.AnyResolver `name:"yarpcfx" optional:"true"` +} + +// FxDomainAPIYARPCProceduresResult defines the output +// of NewFxDomainAPIYARPCProcedures. It provides +// DomainAPIYARPCServer procedures to an Fx application. +// +// The procedures are provided to the "yarpcfx" value group. +// Dig 1.2 or newer must be used for this feature to work. +type FxDomainAPIYARPCProceduresResult struct { + fx.Out + + Procedures []transport.Procedure `group:"yarpcfx"` + ReflectionMeta reflection.ServerMeta `group:"yarpcfx"` +} + +// NewFxDomainAPIYARPCProcedures provides DomainAPIYARPCServer procedures to an Fx application. +// It expects a DomainAPIYARPCServer to be present in the container. +// +// fx.Provide( +// apiv1.NewFxDomainAPIYARPCProcedures(), +// ... +// ) +func NewFxDomainAPIYARPCProcedures() interface{} { + return func(params FxDomainAPIYARPCProceduresParams) FxDomainAPIYARPCProceduresResult { + return FxDomainAPIYARPCProceduresResult{ + Procedures: buildDomainAPIYARPCProcedures(buildDomainAPIYARPCProceduresParams{ + Server: params.Server, + AnyResolver: params.AnyResolver, + }), + ReflectionMeta: reflection.ServerMeta{ + ServiceName: "uber.cadence.api.v1.DomainAPI", + FileDescriptors: yarpcFileDescriptorClosure2e37d15268893114, + }, + } + } +} + +type _DomainAPIYARPCCaller struct { + streamClient protobuf.StreamClient +} + +func (c *_DomainAPIYARPCCaller) RegisterDomain(ctx context.Context, request *RegisterDomainRequest, options ...yarpc.CallOption) (*RegisterDomainResponse, error) { + responseMessage, err := c.streamClient.Call(ctx, "RegisterDomain", request, newDomainAPIServiceRegisterDomainYARPCResponse, options...) + if responseMessage == nil { + return nil, err + } + response, ok := responseMessage.(*RegisterDomainResponse) + if !ok { + return nil, protobuf.CastError(emptyDomainAPIServiceRegisterDomainYARPCResponse, responseMessage) + } + return response, err +} + +func (c *_DomainAPIYARPCCaller) DescribeDomain(ctx context.Context, request *DescribeDomainRequest, options ...yarpc.CallOption) (*DescribeDomainResponse, error) { + responseMessage, err := c.streamClient.Call(ctx, "DescribeDomain", request, newDomainAPIServiceDescribeDomainYARPCResponse, options...) + if responseMessage == nil { + return nil, err + } + response, ok := responseMessage.(*DescribeDomainResponse) + if !ok { + return nil, protobuf.CastError(emptyDomainAPIServiceDescribeDomainYARPCResponse, responseMessage) + } + return response, err +} + +func (c *_DomainAPIYARPCCaller) ListDomains(ctx context.Context, request *ListDomainsRequest, options ...yarpc.CallOption) (*ListDomainsResponse, error) { + responseMessage, err := c.streamClient.Call(ctx, "ListDomains", request, newDomainAPIServiceListDomainsYARPCResponse, options...) + if responseMessage == nil { + return nil, err + } + response, ok := responseMessage.(*ListDomainsResponse) + if !ok { + return nil, protobuf.CastError(emptyDomainAPIServiceListDomainsYARPCResponse, responseMessage) + } + return response, err +} + +func (c *_DomainAPIYARPCCaller) UpdateDomain(ctx context.Context, request *UpdateDomainRequest, options ...yarpc.CallOption) (*UpdateDomainResponse, error) { + responseMessage, err := c.streamClient.Call(ctx, "UpdateDomain", request, newDomainAPIServiceUpdateDomainYARPCResponse, options...) + if responseMessage == nil { + return nil, err + } + response, ok := responseMessage.(*UpdateDomainResponse) + if !ok { + return nil, protobuf.CastError(emptyDomainAPIServiceUpdateDomainYARPCResponse, responseMessage) + } + return response, err +} + +func (c *_DomainAPIYARPCCaller) DeprecateDomain(ctx context.Context, request *DeprecateDomainRequest, options ...yarpc.CallOption) (*DeprecateDomainResponse, error) { + responseMessage, err := c.streamClient.Call(ctx, "DeprecateDomain", request, newDomainAPIServiceDeprecateDomainYARPCResponse, options...) + if responseMessage == nil { + return nil, err + } + response, ok := responseMessage.(*DeprecateDomainResponse) + if !ok { + return nil, protobuf.CastError(emptyDomainAPIServiceDeprecateDomainYARPCResponse, responseMessage) + } + return response, err +} + +type _DomainAPIYARPCHandler struct { + server DomainAPIYARPCServer +} + +func (h *_DomainAPIYARPCHandler) RegisterDomain(ctx context.Context, requestMessage proto.Message) (proto.Message, error) { + var request *RegisterDomainRequest + var ok bool + if requestMessage != nil { + request, ok = requestMessage.(*RegisterDomainRequest) + if !ok { + return nil, protobuf.CastError(emptyDomainAPIServiceRegisterDomainYARPCRequest, requestMessage) + } + } + response, err := h.server.RegisterDomain(ctx, request) + if response == nil { + return nil, err + } + return response, err +} + +func (h *_DomainAPIYARPCHandler) DescribeDomain(ctx context.Context, requestMessage proto.Message) (proto.Message, error) { + var request *DescribeDomainRequest + var ok bool + if requestMessage != nil { + request, ok = requestMessage.(*DescribeDomainRequest) + if !ok { + return nil, protobuf.CastError(emptyDomainAPIServiceDescribeDomainYARPCRequest, requestMessage) + } + } + response, err := h.server.DescribeDomain(ctx, request) + if response == nil { + return nil, err + } + return response, err +} + +func (h *_DomainAPIYARPCHandler) ListDomains(ctx context.Context, requestMessage proto.Message) (proto.Message, error) { + var request *ListDomainsRequest + var ok bool + if requestMessage != nil { + request, ok = requestMessage.(*ListDomainsRequest) + if !ok { + return nil, protobuf.CastError(emptyDomainAPIServiceListDomainsYARPCRequest, requestMessage) + } + } + response, err := h.server.ListDomains(ctx, request) + if response == nil { + return nil, err + } + return response, err +} + +func (h *_DomainAPIYARPCHandler) UpdateDomain(ctx context.Context, requestMessage proto.Message) (proto.Message, error) { + var request *UpdateDomainRequest + var ok bool + if requestMessage != nil { + request, ok = requestMessage.(*UpdateDomainRequest) + if !ok { + return nil, protobuf.CastError(emptyDomainAPIServiceUpdateDomainYARPCRequest, requestMessage) + } + } + response, err := h.server.UpdateDomain(ctx, request) + if response == nil { + return nil, err + } + return response, err +} + +func (h *_DomainAPIYARPCHandler) DeprecateDomain(ctx context.Context, requestMessage proto.Message) (proto.Message, error) { + var request *DeprecateDomainRequest + var ok bool + if requestMessage != nil { + request, ok = requestMessage.(*DeprecateDomainRequest) + if !ok { + return nil, protobuf.CastError(emptyDomainAPIServiceDeprecateDomainYARPCRequest, requestMessage) + } + } + response, err := h.server.DeprecateDomain(ctx, request) + if response == nil { + return nil, err + } + return response, err +} + +func newDomainAPIServiceRegisterDomainYARPCRequest() proto.Message { + return &RegisterDomainRequest{} +} + +func newDomainAPIServiceRegisterDomainYARPCResponse() proto.Message { + return &RegisterDomainResponse{} +} + +func newDomainAPIServiceDescribeDomainYARPCRequest() proto.Message { + return &DescribeDomainRequest{} +} + +func newDomainAPIServiceDescribeDomainYARPCResponse() proto.Message { + return &DescribeDomainResponse{} +} + +func newDomainAPIServiceListDomainsYARPCRequest() proto.Message { + return &ListDomainsRequest{} +} + +func newDomainAPIServiceListDomainsYARPCResponse() proto.Message { + return &ListDomainsResponse{} +} + +func newDomainAPIServiceUpdateDomainYARPCRequest() proto.Message { + return &UpdateDomainRequest{} +} + +func newDomainAPIServiceUpdateDomainYARPCResponse() proto.Message { + return &UpdateDomainResponse{} +} + +func newDomainAPIServiceDeprecateDomainYARPCRequest() proto.Message { + return &DeprecateDomainRequest{} +} + +func newDomainAPIServiceDeprecateDomainYARPCResponse() proto.Message { + return &DeprecateDomainResponse{} +} + +var ( + emptyDomainAPIServiceRegisterDomainYARPCRequest = &RegisterDomainRequest{} + emptyDomainAPIServiceRegisterDomainYARPCResponse = &RegisterDomainResponse{} + emptyDomainAPIServiceDescribeDomainYARPCRequest = &DescribeDomainRequest{} + emptyDomainAPIServiceDescribeDomainYARPCResponse = &DescribeDomainResponse{} + emptyDomainAPIServiceListDomainsYARPCRequest = &ListDomainsRequest{} + emptyDomainAPIServiceListDomainsYARPCResponse = &ListDomainsResponse{} + emptyDomainAPIServiceUpdateDomainYARPCRequest = &UpdateDomainRequest{} + emptyDomainAPIServiceUpdateDomainYARPCResponse = &UpdateDomainResponse{} + emptyDomainAPIServiceDeprecateDomainYARPCRequest = &DeprecateDomainRequest{} + emptyDomainAPIServiceDeprecateDomainYARPCResponse = &DeprecateDomainResponse{} +) + +var yarpcFileDescriptorClosure2e37d15268893114 = [][]byte{ + // uber/cadence/api/v1/service_domain.proto + []byte{ + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x57, 0xdb, 0x6e, 0xdb, 0x46, + 0x13, 0x8e, 0x7c, 0x8a, 0x3c, 0xb4, 0x65, 0x7b, 0x7d, 0x62, 0x14, 0xe0, 0xff, 0x05, 0x05, 0x6d, + 0xd5, 0xb4, 0x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0x1a, 0x18, 0x3e, 0x0a, 0x8f, 0xb3, 0x38, + 0xcd, 0xd6, 0x5c, 0x56, 0x47, 0xe3, 0x26, 0xf2, 0x7f, 0x30, 0xa2, 0xeb, 0x10, 0xb9, 0x83, 0x03, + 0xca, 0x02, 0x73, 0x45, 0x21, 0x40, 0x99, 0xce, 0x52, 0x0b, 0xb9, 0x82, 0x27, 0xd7, 0x11, 0xef, + 0x77, 0x83, 0xe8, 0xda, 0xc1, 0x37, 0xe8, 0x25, 0xa9, 0x9b, 0xc3, 0x51, 0x62, 0xa8, 0x9e, 0x62, + 0xe4, 0x2c, 0xf2, 0xcd, 0xd5, 0x5a, 0xa9, 0x61, 0xb4, 0x1e, 0x59, 0x59, 0x25, 0xac, 0xbc, 0x12, + 0x56, 0x5b, 0x57, 0xca, 0xae, 0xe5, 0x2c, 0x67, 0x39, 0x89, 0x9d, 0x73, 0x74, 0x14, 0x05, 0xe9, + 0x40, 0xd9, 0x0b, 0x92, 0xf4, 0xfe, 0xc2, 0x5c, 0xab, 0x2d, 0x37, 0x8c, 0xd6, 0xd7, 0x56, 0x41, + 0x37, 0xac, 0xd3, 0x0c, 0x64, 0x63, 0x1c, 0x30, 0x4f, 0x91, 0x9f, 0x46, 0x61, 0x97, 0xf5, 0xf2, + 0x48, 0x37, 0x2c, 0xc4, 0x82, 0x5d, 0xea, 0x49, 0x36, 0x44, 0x47, 0x9b, 0x1c, 0x55, 0xa1, 0x87, + 0xea, 0x92, 0x3b, 0xd9, 0x91, 0x66, 0x7b, 0x95, 0x96, 0xeb, 0x1c, 0x56, 0x7c, 0x2a, 0xa9, 0x59, + 0xbe, 0x25, 0x7a, 0x61, 0x8f, 0xac, 0x36, 0x95, 0xf4, 0x2c, 0x94, 0x7c, 0x64, 0x2b, 0x06, 0xd2, + 0x80, 0x6d, 0x26, 0x9c, 0x5e, 0x10, 0xb9, 0x34, 0xd0, 0x03, 0x66, 0xae, 0xd7, 0x4a, 0x8d, 0xb2, + 0x5d, 0x61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xd8, 0xea, 0x97, 0x8b, 0x81, 0xb3, 0x68, 0x27, 0xbf, 0xc2, 0xa1, 0x17, 0x0d, 0x8a, + 0x5c, 0x4e, 0xca, 0xc7, 0x31, 0xeb, 0xa4, 0x0b, 0xac, 0x53, 0xfa, 0xbd, 0xd9, 0x63, 0xf2, 0x2a, + 0x71, 0x2d, 0x2f, 0x1a, 0x34, 0x27, 0xbe, 0x17, 0xac, 0x1e, 0x86, 0xd9, 0xc7, 0x85, 0xfe, 0x74, + 0x78, 0x4e, 0x63, 0x36, 0x3c, 0x72, 0xd7, 0x94, 0xed, 0xd9, 0x7f, 0x01, 0x00, 0x00, 0xff, 0xff, + 0xb6, 0x3b, 0xc8, 0x88, 0xdf, 0x0c, 0x00, 0x00, + }, + // google/protobuf/duration.proto + []byte{ + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4b, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x2f, 0x28, 0xca, 0x2f, 0xc9, 0x4f, 0x2a, 0x4d, 0xd3, 0x4f, 0x29, 0x2d, 0x4a, + 0x2c, 0xc9, 0xcc, 0xcf, 0xd3, 0x03, 0x8b, 0x08, 0xf1, 0x43, 0xe4, 0xf5, 0x60, 0xf2, 0x4a, 0x56, + 0x5c, 0x1c, 0x2e, 0x50, 0x25, 0x42, 0x12, 0x5c, 0xec, 0xc5, 0xa9, 0xc9, 0xf9, 0x79, 0x29, 0xc5, + 0x12, 0x8c, 0x0a, 0x8c, 0x1a, 0xcc, 0x41, 0x30, 0xae, 0x90, 0x08, 0x17, 0x6b, 0x5e, 0x62, 0x5e, + 0x7e, 0xb1, 0x04, 0x93, 0x02, 0xa3, 0x06, 0x6b, 0x10, 0x84, 0xe3, 0xd4, 0xcc, 0xc8, 0x25, 0x9c, + 0x9c, 0x9f, 0xab, 0x87, 0x66, 0xa6, 0x13, 0x2f, 0xcc, 0xc4, 0x00, 0x90, 0x48, 0x00, 0x63, 0x94, + 0x21, 0x54, 0x45, 0x7a, 0x7e, 0x4e, 0x62, 0x5e, 0xba, 0x5e, 0x7e, 0x51, 0x3a, 0xc2, 0x81, 0x25, + 0x95, 0x05, 0xa9, 0xc5, 0xfa, 0xd9, 0x79, 0xf9, 0xe5, 0x79, 0x70, 0xc7, 0x16, 0x24, 0xfd, 0x60, + 0x64, 0x5c, 0xc4, 0xc4, 0xec, 0x1e, 0xe0, 0xb4, 0x8a, 0x49, 0xce, 0x1d, 0xa2, 0x39, 0x00, 0xaa, + 0x43, 0x2f, 0x3c, 0x35, 0x27, 0xc7, 0x1b, 0xa4, 0x3e, 0x04, 0xa4, 0x35, 0x89, 0x0d, 0x6c, 0x94, + 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0xef, 0x8a, 0xb4, 0xc3, 0xfb, 0x00, 0x00, 0x00, + }, + // google/protobuf/field_mask.proto + []byte{ + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x48, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x2f, 0x28, 0xca, 0x2f, 0xc9, 0x4f, 0x2a, 0x4d, 0xd3, 0x4f, 0xcb, 0x4c, 0xcd, + 0x49, 0x89, 0xcf, 0x4d, 0x2c, 0xce, 0xd6, 0x03, 0x8b, 0x09, 0xf1, 0x43, 0x54, 0xe8, 0xc1, 0x54, + 0x28, 0x29, 0x72, 0x71, 0xba, 0x81, 0x14, 0xf9, 0x26, 0x16, 0x67, 0x0b, 0x89, 0x70, 0xb1, 0x16, + 0x24, 0x96, 0x64, 0x14, 0x4b, 0x30, 0x2a, 0x30, 0x6b, 0x70, 0x06, 0x41, 0x38, 0x4e, 0xad, 0x8c, + 0x5c, 0xc2, 0xc9, 0xf9, 0xb9, 0x7a, 0x68, 0x5a, 0x9d, 0xf8, 0xe0, 0x1a, 0x03, 0x40, 0x42, 0x01, + 0x8c, 0x51, 0x46, 0x50, 0x25, 0xe9, 0xf9, 0x39, 0x89, 0x79, 0xe9, 0x7a, 0xf9, 0x45, 0xe9, 0x08, + 0xa7, 0x94, 0x54, 0x16, 0xa4, 0x16, 0xeb, 0x67, 0xe7, 0xe5, 0x97, 0xe7, 0x41, 0x9c, 0x05, 0x72, + 0x55, 0x41, 0xd2, 0x0f, 0x46, 0xc6, 0x45, 0x4c, 0xcc, 0xee, 0x01, 0x4e, 0xab, 0x98, 0xe4, 0xdc, + 0x21, 0xba, 0x03, 0xa0, 0x5a, 0xf4, 0xc2, 0x53, 0x73, 0x72, 0xbc, 0x41, 0x1a, 0x42, 0x40, 0x7a, + 0x93, 0xd8, 0xc0, 0x66, 0x19, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0x94, 0x66, 0x94, 0x9d, 0xe6, + 0x00, 0x00, 0x00, + }, + // uber/cadence/api/v1/domain.proto + []byte{ + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x56, 0x5f, 0x6f, 0xdb, 0xb6, + 0x17, 0xfd, 0xc9, 0x4e, 0xf2, 0x73, 0xae, 0x1c, 0xd7, 0x65, 0x9a, 0x46, 0xf1, 0x86, 0x45, 0x4d, + 0x51, 0xc0, 0xeb, 0x83, 0xbc, 0x78, 0xc3, 0xd6, 0x6e, 0xd8, 0x83, 0x63, 0xa9, 0x9d, 0x87, 0x2c, + 0x0b, 0x64, 0x37, 0x0f, 0xdb, 0x83, 0x40, 0x4b, 0xb4, 0x4d, 0x54, 0x16, 0x05, 0x8a, 0x76, 0x9a, + 0xb7, 0x61, 0x1f, 0x62, 0x1f, 0x66, 0x8f, 0xfb, 0x64, 0x83, 0x28, 0x4a, 0xf1, 0x1f, 0x21, 0xd9, + 0x1b, 0x79, 0xef, 0x3d, 0x87, 0x47, 0x47, 0xf7, 0x52, 0x02, 0x73, 0x31, 0x26, 0xbc, 0xe3, 0xe3, + 0x80, 0x44, 0x3e, 0xe9, 0xe0, 0x98, 0x76, 0x96, 0xe7, 0x9d, 0x80, 0xcd, 0x31, 0x8d, 0xac, 0x98, + 0x33, 0xc1, 0xd0, 0x61, 0x5a, 0x61, 0xa9, 0x0a, 0x0b, 0xc7, 0xd4, 0x5a, 0x9e, 0xb7, 0xbe, 0x98, + 0x32, 0x36, 0x0d, 0x49, 0x47, 0x96, 0x8c, 0x17, 0x93, 0x4e, 0xb0, 0xe0, 0x58, 0x50, 0xa6, 0x40, + 0xad, 0xd3, 0xcd, 0xbc, 0xa0, 0x73, 0x92, 0x08, 0x3c, 0x8f, 0xb3, 0x82, 0xb3, 0xbf, 0x6a, 0xb0, + 0x67, 0xcb, 0x63, 0x50, 0x03, 0x2a, 0x34, 0x30, 0x34, 0x53, 0x6b, 0xef, 0xbb, 0x15, 0x1a, 0x20, + 0x04, 0x3b, 0x11, 0x9e, 0x13, 0xa3, 0x22, 0x23, 0x72, 0x8d, 0xde, 0xc2, 0x5e, 0x22, 0xb0, 0x58, + 0x24, 0x46, 0xd5, 0xd4, 0xda, 0x8d, 0xee, 0x0b, 0xab, 0x44, 0x95, 0x95, 0x11, 0x0e, 0x65, 0xa1, + 0xab, 0x00, 0xc8, 0x04, 0x3d, 0x20, 0x89, 0xcf, 0x69, 0x9c, 0xea, 0x33, 0x76, 0x24, 0xeb, 0x6a, + 0x08, 0x9d, 0x82, 0xce, 0x6e, 0x23, 0xc2, 0x3d, 0x32, 0xc7, 0x34, 0x34, 0x76, 0x65, 0x05, 0xc8, + 0x90, 0x93, 0x46, 0xd0, 0x5b, 0xd8, 0x09, 0xb0, 0xc0, 0xc6, 0x9e, 0x59, 0x6d, 0xeb, 0xdd, 0x57, + 0x0f, 0x9c, 0x6d, 0xd9, 0x58, 0x60, 0x27, 0x12, 0xfc, 0xce, 0x95, 0x10, 0x34, 0x83, 0x97, 0xb7, + 0x8c, 0x7f, 0x9c, 0x84, 0xec, 0xd6, 0x23, 0x9f, 0x88, 0xbf, 0x48, 0x4f, 0xf4,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a, 0xa3, 0x0f, + 0x43, 0x6f, 0x70, 0x75, 0xd3, 0xbb, 0x1c, 0xd8, 0xcd, 0xff, 0xa1, 0xcf, 0xc1, 0x58, 0x4f, 0xb9, + 0xce, 0xfb, 0xc1, 0x70, 0xe4, 0xb8, 0x8e, 0xdd, 0xd4, 0xb6, 0xb3, 0xb6, 0x73, 0xed, 0x3a, 0xfd, + 0xde, 0xc8, 0xb1, 0x9b, 0x95, 0x6d, 0x5a, 0xdb, 0xb9, 0x74, 0xd2, 0x54, 0xf5, 0xf5, 0x0c, 0x1a, + 0x1b, 0x37, 0xde, 0x67, 0x70, 0xdc, 0x73, 0xfb, 0x3f, 0x0d, 0x6e, 0x7a, 0x97, 0xa5, 0x2a, 0x36, + 0x93, 0xf6, 0x60, 0xd8, 0xbb, 0xb8, 0x94, 0x2a, 0x4a, 0xa0, 0xce, 0x55, 0x96, 0xac, 0x5c, 0xdc, + 0xc0, 0xb1, 0xcf, 0xe6, 0x65, 0xad, 0x7e, 0x51, 0xeb, 0xc5, 0xf4, 0x3a, 0x7d, 0x25, 0xd7, 0xda, + 0x6f, 0x9d, 0x29, 0x15, 0xb3, 0xc5, 0xd8, 0xf2, 0xd9, 0xbc, 0xb3, 0xf6, 0xf3, 0x61, 0x4d, 0x49, + 0x94, 0xfd, 0x30, 0xa8, 0xff, 0x90, 0x1f, 0x70, 0x4c, 0x97, 0xe7, 0xe3, 0x3d, 0x19, 0xfb, 0xfa, + 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x6b, 0x36, 0xf7, 0xb7, 0xab, 0x08, 0x00, 0x00, + }, + // google/protobuf/timestamp.proto + []byte{ + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4f, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x2f, 0x28, 0xca, 0x2f, 0xc9, 0x4f, 0x2a, 0x4d, 0xd3, 0x2f, 0xc9, 0xcc, 0x4d, + 0x2d, 0x2e, 0x49, 0xcc, 0x2d, 0xd0, 0x03, 0x0b, 0x09, 0xf1, 0x43, 0x14, 0xe8, 0xc1, 0x14, 0x28, + 0x59, 0x73, 0x71, 0x86, 0xc0, 0xd4, 0x08, 0x49, 0x70, 0xb1, 0x17, 0xa7, 0x26, 0xe7, 0xe7, 0xa5, + 0x14, 0x4b, 0x30, 0x2a, 0x30, 0x6a, 0x30, 0x07, 0xc1, 0xb8, 0x42, 0x22, 0x5c, 0xac, 0x79, 0x89, + 0x79, 0xf9, 0xc5, 0x12, 0x4c, 0x0a, 0x8c, 0x1a, 0xac, 0x41, 0x10, 0x8e, 0x53, 0x2b, 0x23, 0x97, + 0x70, 0x72, 0x7e, 0xae, 0x1e, 0x9a, 0xa1, 0x4e, 0x7c, 0x70, 0x23, 0x03, 0x40, 0x42, 0x01, 0x8c, + 0x51, 0x46, 0x50, 0x25, 0xe9, 0xf9, 0x39, 0x89, 0x79, 0xe9, 0x7a, 0xf9, 0x45, 0xe9, 0x48, 0x6e, + 0xac, 0x2c, 0x48, 0x2d, 0xd6, 0xcf, 0xce, 0xcb, 0x2f, 0xcf, 0x43, 0xb8, 0xb7, 0x20, 0xe9, 0x07, + 0x23, 0xe3, 0x22, 0x26, 0x66, 0xf7, 0x00, 0xa7, 0x55, 0x4c, 0x72, 0xee, 0x10, 0xdd, 0x01, 0x50, + 0x2d, 0x7a, 0xe1, 0xa9, 0x39, 0x39, 0xde, 0x20, 0x0d, 0x21, 0x20, 0xbd, 0x49, 0x6c, 0x60, 0xb3, + 0x8c, 0x01, 0x01, 0x00, 0x00, 0xff, 0xff, 0xae, 0x65, 0xce, 0x7d, 0xff, 0x00, 0x00, 0x00, + }, +} + +func init() { + yarpc.RegisterClientBuilder( + func(clientConfig transport.ClientConfig, structField reflect.StructField) DomainAPIYARPCClient { + return NewDomainAPIYARPCClient(clientConfig, protobuf.ClientBuilderOptions(clientConfig, structField)...) + }, + ) +} diff --git a/go/proto/api/v1/service_meta.pb.go b/go/proto/api/v1/service_meta.pb.go new file mode 100644 index 0000000..127e14e --- /dev/null +++ b/go/proto/api/v1/service_meta.pb.go @@ -0,0 +1,526 @@ +// The MIT License (MIT) +// +// Copyright (c) 2021 Uber Technologies, Inc. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +// SOFTWARE. + +// Code generated by protoc-gen-gogo. DO NOT EDIT. +// source: uber/cadence/api/v1/service_meta.proto + +package apiv1 + +import ( + fmt "fmt" + proto "github.com/gogo/protobuf/proto" + io "io" + math "math" + math_bits "math/bits" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package + +type HealthRequest struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *HealthRequest) Reset() { *m = HealthRequest{} } +func (m *HealthRequest) String() string { return proto.CompactTextString(m) } +func (*HealthRequest) ProtoMessage() {} +func (*HealthRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_f45a67f89288e7f3, []int{0} +} +func (m *HealthRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *HealthRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_HealthRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *HealthRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_HealthRequest.Merge(m, src) +} +func (m *HealthRequest) XXX_Size() int { + return m.Size() +} +func (m *HealthRequest) XXX_DiscardUnknown() { + xxx_messageInfo_HealthRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_HealthRequest proto.InternalMessageInfo + +type HealthResponse struct { + Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"` + Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *HealthResponse) Reset() { *m = HealthResponse{} } +func (m *HealthResponse) String() string { return proto.CompactTextString(m) } +func (*HealthResponse) ProtoMessage() {} +func (*HealthResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_f45a67f89288e7f3, []int{1} +} +func (m *HealthResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *HealthResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_HealthResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *HealthResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_HealthResponse.Merge(m, src) +} +func (m *HealthResponse) XXX_Size() int { + return m.Size() +} +func (m *HealthResponse) XXX_DiscardUnknown() { + xxx_messageInfo_HealthResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_HealthResponse proto.InternalMessageInfo + +func (m *HealthResponse) GetOk() bool { + if m != nil { + return m.Ok + } + return false +} + +func (m *HealthResponse) GetMessage() string { + if m != nil { + return m.Message + } + return "" +} + +func init() { + proto.RegisterType((*HealthRequest)(nil), "uber.cadence.api.v1.HealthRequest") + proto.RegisterType((*HealthResponse)(nil), "uber.cadence.api.v1.HealthResponse") +} + +func init() { + proto.RegisterFile("uber/cadence/api/v1/service_meta.proto", fileDescriptor_f45a67f89288e7f3) +} + +var fileDescriptor_f45a67f89288e7f3 = []byte{ + // 243 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x2b, 0x4d, 0x4a, 0x2d, + 0xd2, 0x4f, 0x4e, 0x4c, 0x49, 0xcd, 0x4b, 0x4e, 0xd5, 0x4f, 0x2c, 0xc8, 0xd4, 0x2f, 0x33, 0xd4, + 0x2f, 0x4e, 0x2d, 0x2a, 0xcb, 0x4c, 0x4e, 0x8d, 0xcf, 0x4d, 0x2d, 0x49, 0xd4, 0x2b, 0x28, 0xca, + 0x2f, 0xc9, 0x17, 0x12, 0x06, 0xa9, 0xd3, 0x83, 0xaa, 0xd3, 0x4b, 0x2c, 0xc8, 0xd4, 0x2b, 0x33, + 0x54, 0xe2, 0xe7, 0xe2, 0xf5, 0x48, 0x4d, 0xcc, 0x29, 0xc9, 0x08, 0x4a, 0x2d, 0x2c, 0x4d, 0x2d, + 0x2e, 0x51, 0xb2, 0xe2, 0xe2, 0x83, 0x09, 0x14, 0x17, 0xe4, 0xe7, 0x15, 0xa7, 0x0a, 0xf1, 0x71, + 0x31, 0xe5, 0x67, 0x4b, 0x30, 0x2a, 0x30, 0x6a, 0x70, 0x04, 0x31, 0xe5, 0x67, 0x0b, 0x49, 0x70, + 0xb1, 0xe7, 0xa6, 0x16, 0x17, 0x27, 0xa6, 0xa7, 0x4a, 0x30, 0x29, 0x30, 0x6a, 0x70, 0x06, 0xc1, + 0xb8, 0x46, 0x31, 0x5c, 0xec, 0xbe, 0xa9, 0x25, 0x89, 0x8e, 0x01, 0x9e, 0x42, 0x81, 0x5c, 0x6c, + 0x10, 0x63, 0x84, 0x94, 0xf4, 0xb0, 0xd8, 0xab, 0x87, 0x62, 0xa9, 0x94, 0x32, 0x5e, 0x35, 0x10, + 0x77, 0x38, 0x25, 0x9d, 0x78, 0x24, 0xc7, 0x78, 0xe1, 0x91, 0x1c, 0xe3, 0x83, 0x47, 0x72, 0x8c, + 0x5c, 0xe2, 0xc9, 0xf9, 0xb9, 0xd8, 0x74, 0x39, 0x71, 0x38, 0x16, 0x64, 0x06, 0x80, 0x3c, 0x1c, + 0xc0, 0x18, 0xa5, 0x9f, 0x9e, 0x59, 0x92, 0x51, 0x9a, 0xa4, 0x97, 0x9c, 0x9f, 0xab, 0x8f, 0x12, + 0x4a, 0x7a, 0xe9, 0xa9, 0x79, 0xfa, 0xe0, 0x60, 0x81, 0x06, 0x98, 0x75, 0x62, 0x41, 0x66, 0x99, + 0x61, 0x12, 0x1b, 0x58, 0xcc, 0x18, 0x10, 0x00, 0x00, 0xff, 0xff, 0x8a, 0x60, 0x27, 0xd8, 0x54, + 0x01, 0x00, 0x00, +} + +func (m *HealthRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *HealthRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *HealthRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + return len(dAtA) - i, nil +} + +func (m *HealthResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *HealthResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *HealthResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.Message) > 0 { + i -= len(m.Message) + copy(dAtA[i:], m.Message) + i = encodeVarintServiceMeta(dAtA, i, uint64(len(m.Message))) + i-- + dAtA[i] = 0x12 + } + if m.Ok { + i-- + if m.Ok { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func encodeVarintServiceMeta(dAtA []byte, offset int, v uint64) int { + offset -= sovServiceMeta(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *HealthRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *HealthResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Ok { + n += 2 + } + l = len(m.Message) + if l > 0 { + n += 1 + l + sovServiceMeta(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func sovServiceMeta(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozServiceMeta(x uint64) (n int) { + return sovServiceMeta(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *HealthRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceMeta + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: HealthRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: HealthRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipServiceMeta(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceMeta + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *HealthResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceMeta + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: HealthResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: HealthResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Ok", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceMeta + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Ok = bool(v != 0) + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceMeta + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceMeta + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceMeta + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Message = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipServiceMeta(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceMeta + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func skipServiceMeta(dAtA []byte) (n int, err error) { + l := len(dAtA) + iNdEx := 0 + depth := 0 + for iNdEx < l { + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowServiceMeta + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + wireType := int(wire & 0x7) + switch wireType { + case 0: + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowServiceMeta + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + iNdEx++ + if dAtA[iNdEx-1] < 0x80 { + break + } + } + case 1: + iNdEx += 8 + case 2: + var length int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowServiceMeta + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + length |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if length < 0 { + return 0, ErrInvalidLengthServiceMeta + } + iNdEx += length + case 3: + depth++ + case 4: + if depth == 0 { + return 0, ErrUnexpectedEndOfGroupServiceMeta + } + depth-- + case 5: + iNdEx += 4 + default: + return 0, fmt.Errorf("proto: illegal wireType %d", wireType) + } + if iNdEx < 0 { + return 0, ErrInvalidLengthServiceMeta + } + if depth == 0 { + return iNdEx, nil + } + } + return 0, io.ErrUnexpectedEOF +} + +var ( + ErrInvalidLengthServiceMeta = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflowServiceMeta = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroupServiceMeta = fmt.Errorf("proto: unexpected end of group") +) diff --git a/go/proto/api/v1/service_meta.pb.yarpc.go b/go/proto/api/v1/service_meta.pb.yarpc.go new file mode 100644 index 0000000..360c8d8 --- /dev/null +++ b/go/proto/api/v1/service_meta.pb.yarpc.go @@ -0,0 +1,276 @@ +// The MIT License (MIT) +// +// Copyright (c) 2021 Uber Technologies, Inc. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +// SOFTWARE. + +// Code generated by protoc-gen-yarpc-go. DO NOT EDIT. +// source: uber/cadence/api/v1/service_meta.proto + +package apiv1 + +import ( + "context" + "io/ioutil" + "reflect" + + "github.com/gogo/protobuf/jsonpb" + "github.com/gogo/protobuf/proto" + "go.uber.org/fx" + "go.uber.org/yarpc" + "go.uber.org/yarpc/api/transport" + "go.uber.org/yarpc/api/x/restriction" + "go.uber.org/yarpc/encoding/protobuf" + "go.uber.org/yarpc/encoding/protobuf/reflection" +) + +var _ = ioutil.NopCloser + +// MetaAPIYARPCClient is the YARPC client-side interface for the MetaAPI service. +type MetaAPIYARPCClient interface { + Health(context.Context, *HealthRequest, ...yarpc.CallOption) (*HealthResponse, error) +} + +func newMetaAPIYARPCClient(clientConfig transport.ClientConfig, anyResolver jsonpb.AnyResolver, options ...protobuf.ClientOption) MetaAPIYARPCClient { + return &_MetaAPIYARPCCaller{protobuf.NewStreamClient( + protobuf.ClientParams{ + ServiceName: "uber.cadence.api.v1.MetaAPI", + ClientConfig: clientConfig, + AnyResolver: anyResolver, + Options: options, + }, + )} +} + +// NewMetaAPIYARPCClient builds a new YARPC client for the MetaAPI service. +func NewMetaAPIYARPCClient(clientConfig transport.ClientConfig, options ...protobuf.ClientOption) MetaAPIYARPCClient { + return newMetaAPIYARPCClient(clientConfig, nil, options...) +} + +// MetaAPIYARPCServer is the YARPC server-side interface for the MetaAPI service. +type MetaAPIYARPCServer interface { + Health(context.Context, *HealthRequest) (*HealthResponse, error) +} + +type buildMetaAPIYARPCProceduresParams struct { + Server MetaAPIYARPCServer + AnyResolver jsonpb.AnyResolver +} + +func buildMetaAPIYARPCProcedures(params buildMetaAPIYARPCProceduresParams) []transport.Procedure { + handler := &_MetaAPIYARPCHandler{params.Server} + return protobuf.BuildProcedures( + protobuf.BuildProceduresParams{ + ServiceName: "uber.cadence.api.v1.MetaAPI", + UnaryHandlerParams: []protobuf.BuildProceduresUnaryHandlerParams{ + { + MethodName: "Health", + Handler: protobuf.NewUnaryHandler( + protobuf.UnaryHandlerParams{ + Handle: handler.Health, + NewRequest: newMetaAPIServiceHealthYARPCRequest, + AnyResolver: params.AnyResolver, + }, + ), + }, + }, + OnewayHandlerParams: []protobuf.BuildProceduresOnewayHandlerParams{}, + StreamHandlerParams: []protobuf.BuildProceduresStreamHandlerParams{}, + }, + ) +} + +// BuildMetaAPIYARPCProcedures prepares an implementation of the MetaAPI service for YARPC registration. +func BuildMetaAPIYARPCProcedures(server MetaAPIYARPCServer) []transport.Procedure { + return buildMetaAPIYARPCProcedures(buildMetaAPIYARPCProceduresParams{Server: server}) +} + +// FxMetaAPIYARPCClientParams defines the input +// for NewFxMetaAPIYARPCClient. It provides the +// paramaters to get a MetaAPIYARPCClient in an +// Fx application. +type FxMetaAPIYARPCClientParams struct { + fx.In + + Provider yarpc.ClientConfig + AnyResolver jsonpb.AnyResolver `name:"yarpcfx" optional:"true"` + Restriction restriction.Checker `optional:"true"` +} + +// FxMetaAPIYARPCClientResult defines the output +// of NewFxMetaAPIYARPCClient. It provides a +// MetaAPIYARPCClient to an Fx application. +type FxMetaAPIYARPCClientResult struct { + fx.Out + + Client MetaAPIYARPCClient + + // We are using an fx.Out struct here instead of just returning a client + // so that we can add more values or add named versions of the client in + // the future without breaking any existing code. +} + +// NewFxMetaAPIYARPCClient provides a MetaAPIYARPCClient +// to an Fx application using the given name for routing. +// +// fx.Provide( +// apiv1.NewFxMetaAPIYARPCClient("service-name"), +// ... +// ) +func NewFxMetaAPIYARPCClient(name string, options ...protobuf.ClientOption) interface{} { + return func(params FxMetaAPIYARPCClientParams) FxMetaAPIYARPCClientResult { + cc := params.Provider.ClientConfig(name) + + if params.Restriction != nil { + if namer, ok := cc.GetUnaryOutbound().(transport.Namer); ok { + if err := params.Restriction.Check(protobuf.Encoding, namer.TransportName()); err != nil { + panic(err.Error()) + } + } + } + + return FxMetaAPIYARPCClientResult{ + Client: newMetaAPIYARPCClient(cc, params.AnyResolver, options...), + } + } +} + +// FxMetaAPIYARPCProceduresParams defines the input +// for NewFxMetaAPIYARPCProcedures. It provides the +// paramaters to get MetaAPIYARPCServer procedures in an +// Fx application. +type FxMetaAPIYARPCProceduresParams struct { + fx.In + + Server MetaAPIYARPCServer + AnyResolver jsonpb.AnyResolver `name:"yarpcfx" optional:"true"` +} + +// FxMetaAPIYARPCProceduresResult defines the output +// of NewFxMetaAPIYARPCProcedures. It provides +// MetaAPIYARPCServer procedures to an Fx application. +// +// The procedures are provided to the "yarpcfx" value group. +// Dig 1.2 or newer must be used for this feature to work. +type FxMetaAPIYARPCProceduresResult struct { + fx.Out + + Procedures []transport.Procedure `group:"yarpcfx"` + ReflectionMeta reflection.ServerMeta `group:"yarpcfx"` +} + +// NewFxMetaAPIYARPCProcedures provides MetaAPIYARPCServer procedures to an Fx application. +// It expects a MetaAPIYARPCServer to be present in the container. +// +// fx.Provide( +// apiv1.NewFxMetaAPIYARPCProcedures(), +// ... +// ) +func NewFxMetaAPIYARPCProcedures() interface{} { + return func(params FxMetaAPIYARPCProceduresParams) FxMetaAPIYARPCProceduresResult { + return FxMetaAPIYARPCProceduresResult{ + Procedures: buildMetaAPIYARPCProcedures(buildMetaAPIYARPCProceduresParams{ + Server: params.Server, + AnyResolver: params.AnyResolver, + }), + ReflectionMeta: reflection.ServerMeta{ + ServiceName: "uber.cadence.api.v1.MetaAPI", + FileDescriptors: yarpcFileDescriptorClosuref45a67f89288e7f3, + }, + } + } +} + +type _MetaAPIYARPCCaller struct { + streamClient protobuf.StreamClient +} + +func (c *_MetaAPIYARPCCaller) Health(ctx context.Context, request *HealthRequest, options ...yarpc.CallOption) (*HealthResponse, error) { + responseMessage, err := c.streamClient.Call(ctx, "Health", request, newMetaAPIServiceHealthYARPCResponse, options...) + if responseMessage == nil { + return nil, err + } + response, ok := responseMessage.(*HealthResponse) + if !ok { + return nil, protobuf.CastError(emptyMetaAPIServiceHealthYARPCResponse, responseMessage) + } + return response, err +} + +type _MetaAPIYARPCHandler struct { + server MetaAPIYARPCServer +} + +func (h *_MetaAPIYARPCHandler) Health(ctx context.Context, requestMessage proto.Message) (proto.Message, error) { + var request *HealthRequest + var ok bool + if requestMessage != nil { + request, ok = requestMessage.(*HealthRequest) + if !ok { + return nil, protobuf.CastError(emptyMetaAPIServiceHealthYARPCRequest, requestMessage) + } + } + response, err := h.server.Health(ctx, request) + if response == nil { + return nil, err + } + return response, err +} + +func newMetaAPIServiceHealthYARPCRequest() proto.Message { + return &HealthRequest{} +} + +func newMetaAPIServiceHealthYARPCResponse() proto.Message { + return &HealthResponse{} +} + +var ( + emptyMetaAPIServiceHealthYARPCRequest = &HealthRequest{} + emptyMetaAPIServiceHealthYARPCResponse = &HealthResponse{} +) + +var yarpcFileDescriptorClosuref45a67f89288e7f3 = [][]byte{ + // uber/cadence/api/v1/service_meta.proto + []byte{ + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xbf, 0x4b, 0x03, 0x41, + 0x10, 0x85, 0xd9, 0x2b, 0x92, 0x38, 0x60, 0x84, 0xb5, 0xf0, 0xb0, 0x0a, 0x27, 0x48, 0xaa, 0x59, + 0x4e, 0x3b, 0xad, 0x92, 0x4a, 0x0b, 0xe1, 0xbc, 0xc2, 0x42, 0x04, 0x99, 0x5b, 0x87, 0xcb, 0x12, + 0xf7, 0x76, 0xbd, 0xdd, 0xdb, 0xbf, 0x5f, 0xf2, 0xab, 0x08, 0x84, 0x94, 0xf3, 0xf8, 0x98, 0x37, + 0xf3, 0xc1, 0xfd, 0xd0, 0x70, 0xaf, 0x34, 0xfd, 0x70, 0xa7, 0x59, 0x91, 0x37, 0x2a, 0x95, 0x2a, + 0x70, 0x9f, 0x8c, 0xe6, 0x6f, 0xcb, 0x91, 0xd0, 0xf7, 0x2e, 0x3a, 0x79, 0xbd, 0xe1, 0x70, 0xcf, + 0x21, 0x79, 0x83, 0xa9, 0x2c, 0xae, 0xe0, 0xf2, 0x85, 0xe9, 0x37, 0xae, 0x6a, 0xfe, 0x1b, 0x38, + 0xc4, 0xe2, 0x09, 0xa6, 0x87, 0x20, 0x78, 0xd7, 0x05, 0x96, 0x53, 0xc8, 0xdc, 0x3a, 0x17, 0x33, + 0x31, 0x9f, 0xd4, 0x99, 0x5b, 0xcb, 0x1c, 0xc6, 0x96, 0x43, 0xa0, 0x96, 0xf3, 0x6c, 0x26, 0xe6, + 0x17, 0xf5, 0x61, 0x7c, 0xf8, 0x82, 0xf1, 0x1b, 0x47, 0x5a, 0x54, 0xaf, 0xf2, 0x1d, 0x46, 0xbb, + 0x35, 0xb2, 0xc0, 0x13, 0xbd, 0x78, 0x54, 0x7a, 0x7b, 0x77, 0x96, 0xd9, 0xdd, 0xb1, 0xfc, 0x80, + 0x1b, 0xed, 0xec, 0x29, 0x72, 0x39, 0x59, 0x78, 0x53, 0x6d, 0x9e, 0xac, 0xc4, 0xa7, 0x6a, 0x4d, + 0x5c, 0x0d, 0x0d, 0x6a, 0x67, 0xd5, 0x91, 0x19, 0x6c, 0xb9, 0x53, 0x5b, 0x15, 0x7b, 0x49, 0xcf, + 0xe4, 0x4d, 0x2a, 0x9b, 0xd1, 0x36, 0x7b, 0xfc, 0x0f, 0x00, 0x00, 0xff, 0xff, 0x6f, 0x9d, 0x1b, + 0x11, 0x48, 0x01, 0x00, 0x00, + }, +} + +func init() { + yarpc.RegisterClientBuilder( + func(clientConfig transport.ClientConfig, structField reflect.StructField) MetaAPIYARPCClient { + return NewMetaAPIYARPCClient(clientConfig, protobuf.ClientBuilderOptions(clientConfig, structField)...) + }, + ) +} diff --git a/go/proto/api/v1/service_visibility.pb.go b/go/proto/api/v1/service_visibility.pb.go new file mode 100644 index 0000000..b7defec --- /dev/null +++ b/go/proto/api/v1/service_visibility.pb.go @@ -0,0 +1,4338 @@ +// The MIT License (MIT) +// +// Copyright (c) 2021 Uber Technologies, Inc. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +// SOFTWARE. + +// Code generated by protoc-gen-gogo. DO NOT EDIT. +// source: uber/cadence/api/v1/service_visibility.proto + +package apiv1 + +import ( + fmt "fmt" + proto "github.com/gogo/protobuf/proto" + io "io" + math "math" + math_bits "math/bits" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package + +type ListWorkflowExecutionsRequest struct { + Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` + PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + NextPageToken []byte `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + Query string `protobuf:"bytes,4,opt,name=query,proto3" json:"query,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListWorkflowExecutionsRequest) Reset() { *m = ListWorkflowExecutionsRequest{} } +func (m *ListWorkflowExecutionsRequest) String() string { return proto.CompactTextString(m) } +func (*ListWorkflowExecutionsRequest) ProtoMessage() {} +func (*ListWorkflowExecutionsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_a7341dc69cef4364, []int{0} +} +func (m *ListWorkflowExecutionsRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ListWorkflowExecutionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ListWorkflowExecutionsRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ListWorkflowExecutionsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListWorkflowExecutionsRequest.Merge(m, src) +} +func (m *ListWorkflowExecutionsRequest) XXX_Size() int { + return m.Size() +} +func (m *ListWorkflowExecutionsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListWorkflowExecutionsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListWorkflowExecutionsRequest proto.InternalMessageInfo + +func (m *ListWorkflowExecutionsRequest) GetDomain() string { + if m != nil { + return m.Domain + } + return "" +} + +func (m *ListWorkflowExecutionsRequest) GetPageSize() int32 { + if m != nil { + return m.PageSize + } + return 0 +} + +func (m *ListWorkflowExecutionsRequest) GetNextPageToken() []byte { + if m != nil { + return m.NextPageToken + } + return nil +} + +func (m *ListWorkflowExecutionsRequest) GetQuery() string { + if m != nil { + return m.Query + } + return "" +} + +type ListWorkflowExecutionsResponse struct { + Executions []*WorkflowExecutionInfo `protobuf:"bytes,1,rep,name=executions,proto3" json:"executions,omitempty"` + NextPageToken []byte `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListWorkflowExecutionsResponse) Reset() { *m = ListWorkflowExecutionsResponse{} } +func (m *ListWorkflowExecutionsResponse) String() string { return proto.CompactTextString(m) } +func (*ListWorkflowExecutionsResponse) ProtoMessage() {} +func (*ListWorkflowExecutionsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_a7341dc69cef4364, []int{1} +} +func (m *ListWorkflowExecutionsResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ListWorkflowExecutionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ListWorkflowExecutionsResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ListWorkflowExecutionsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListWorkflowExecutionsResponse.Merge(m, src) +} +func (m *ListWorkflowExecutionsResponse) XXX_Size() int { + return m.Size() +} +func (m *ListWorkflowExecutionsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListWorkflowExecutionsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListWorkflowExecutionsResponse proto.InternalMessageInfo + +func (m *ListWorkflowExecutionsResponse) GetExecutions() []*WorkflowExecutionInfo { + if m != nil { + return m.Executions + } + return nil +} + +func (m *ListWorkflowExecutionsResponse) GetNextPageToken() []byte { + if m != nil { + return m.NextPageToken + } + return nil +} + +type ListOpenWorkflowExecutionsRequest struct { + Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` + PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + NextPageToken []byte `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + StartTimeFilter *StartTimeFilter `protobuf:"bytes,4,opt,name=start_time_filter,json=startTimeFilter,proto3" json:"start_time_filter,omitempty"` + // Types that are valid to be assigned to Filters: + // *ListOpenWorkflowExecutionsRequest_ExecutionFilter + // *ListOpenWorkflowExecutionsRequest_TypeFilter + Filters isListOpenWorkflowExecutionsRequest_Filters `protobuf_oneof:"filters"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListOpenWorkflowExecutionsRequest) Reset() { *m = ListOpenWorkflowExecutionsRequest{} } +func (m *ListOpenWorkflowExecutionsRequest) String() string { return proto.CompactTextString(m) } +func (*ListOpenWorkflowExecutionsRequest) ProtoMessage() {} +func (*ListOpenWorkflowExecutionsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_a7341dc69cef4364, []int{2} +} +func (m *ListOpenWorkflowExecutionsRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ListOpenWorkflowExecutionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ListOpenWorkflowExecutionsRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ListOpenWorkflowExecutionsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListOpenWorkflowExecutionsRequest.Merge(m, src) +} +func (m *ListOpenWorkflowExecutionsRequest) XXX_Size() int { + return m.Size() +} +func (m *ListOpenWorkflowExecutionsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListOpenWorkflowExecutionsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListOpenWorkflowExecutionsRequest proto.InternalMessageInfo + +type isListOpenWorkflowExecutionsRequest_Filters interface { + isListOpenWorkflowExecutionsRequest_Filters() + MarshalTo([]byte) (int, error) + Size() int +} + +type ListOpenWorkflowExecutionsRequest_ExecutionFilter struct { + ExecutionFilter *WorkflowExecutionFilter `protobuf:"bytes,5,opt,name=execution_filter,json=executionFilter,proto3,oneof" json:"execution_filter,omitempty"` +} +type ListOpenWorkflowExecutionsRequest_TypeFilter struct { + TypeFilter *WorkflowTypeFilter `protobuf:"bytes,6,opt,name=type_filter,json=typeFilter,proto3,oneof" json:"type_filter,omitempty"` +} + +func (*ListOpenWorkflowExecutionsRequest_ExecutionFilter) isListOpenWorkflowExecutionsRequest_Filters() { +} +func (*ListOpenWorkflowExecutionsRequest_TypeFilter) isListOpenWorkflowExecutionsRequest_Filters() {} + +func (m *ListOpenWorkflowExecutionsRequest) GetFilters() isListOpenWorkflowExecutionsRequest_Filters { + if m != nil { + return m.Filters + } + return nil +} + +func (m *ListOpenWorkflowExecutionsRequest) GetDomain() string { + if m != nil { + return m.Domain + } + return "" +} + +func (m *ListOpenWorkflowExecutionsRequest) GetPageSize() int32 { + if m != nil { + return m.PageSize + } + return 0 +} + +func (m *ListOpenWorkflowExecutionsRequest) GetNextPageToken() []byte { + if m != nil { + return m.NextPageToken + } + return nil +} + +func (m *ListOpenWorkflowExecutionsRequest) GetStartTimeFilter() *StartTimeFilter { + if m != nil { + return m.StartTimeFilter + } + return nil +} + +func (m *ListOpenWorkflowExecutionsRequest) GetExecutionFilter() *WorkflowExecutionFilter { + if x, ok := m.GetFilters().(*ListOpenWorkflowExecutionsRequest_ExecutionFilter); ok { + return x.ExecutionFilter + } + return nil +} + +func (m *ListOpenWorkflowExecutionsRequest) GetTypeFilter() *WorkflowTypeFilter { + if x, ok := m.GetFilters().(*ListOpenWorkflowExecutionsRequest_TypeFilter); ok { + return x.TypeFilter + } + return nil +} + +// XXX_OneofWrappers is for the internal use of the proto package. +func (*ListOpenWorkflowExecutionsRequest) XXX_OneofWrappers() []interface{} { + return []interface{}{ + (*ListOpenWorkflowExecutionsRequest_ExecutionFilter)(nil), + (*ListOpenWorkflowExecutionsRequest_TypeFilter)(nil), + } +} + +type ListOpenWorkflowExecutionsResponse struct { + Executions []*WorkflowExecutionInfo `protobuf:"bytes,1,rep,name=executions,proto3" json:"executions,omitempty"` + NextPageToken []byte `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListOpenWorkflowExecutionsResponse) Reset() { *m = ListOpenWorkflowExecutionsResponse{} } +func (m *ListOpenWorkflowExecutionsResponse) String() string { return proto.CompactTextString(m) } +func (*ListOpenWorkflowExecutionsResponse) ProtoMessage() {} +func (*ListOpenWorkflowExecutionsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_a7341dc69cef4364, []int{3} +} +func (m *ListOpenWorkflowExecutionsResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ListOpenWorkflowExecutionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ListOpenWorkflowExecutionsResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ListOpenWorkflowExecutionsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListOpenWorkflowExecutionsResponse.Merge(m, src) +} +func (m *ListOpenWorkflowExecutionsResponse) XXX_Size() int { + return m.Size() +} +func (m *ListOpenWorkflowExecutionsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListOpenWorkflowExecutionsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListOpenWorkflowExecutionsResponse proto.InternalMessageInfo + +func (m *ListOpenWorkflowExecutionsResponse) GetExecutions() []*WorkflowExecutionInfo { + if m != nil { + return m.Executions + } + return nil +} + +func (m *ListOpenWorkflowExecutionsResponse) GetNextPageToken() []byte { + if m != nil { + return m.NextPageToken + } + return nil +} + +type ListClosedWorkflowExecutionsRequest struct { + Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` + PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + NextPageToken []byte `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + StartTimeFilter *StartTimeFilter `protobuf:"bytes,4,opt,name=start_time_filter,json=startTimeFilter,proto3" json:"start_time_filter,omitempty"` + // Types that are valid to be assigned to Filters: + // *ListClosedWorkflowExecutionsRequest_ExecutionFilter + // *ListClosedWorkflowExecutionsRequest_TypeFilter + // *ListClosedWorkflowExecutionsRequest_StatusFilter + Filters isListClosedWorkflowExecutionsRequest_Filters `protobuf_oneof:"filters"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListClosedWorkflowExecutionsRequest) Reset() { *m = ListClosedWorkflowExecutionsRequest{} } +func (m *ListClosedWorkflowExecutionsRequest) String() string { return proto.CompactTextString(m) } +func (*ListClosedWorkflowExecutionsRequest) ProtoMessage() {} +func (*ListClosedWorkflowExecutionsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_a7341dc69cef4364, []int{4} +} +func (m *ListClosedWorkflowExecutionsRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ListClosedWorkflowExecutionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ListClosedWorkflowExecutionsRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ListClosedWorkflowExecutionsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListClosedWorkflowExecutionsRequest.Merge(m, src) +} +func (m *ListClosedWorkflowExecutionsRequest) XXX_Size() int { + return m.Size() +} +func (m *ListClosedWorkflowExecutionsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListClosedWorkflowExecutionsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListClosedWorkflowExecutionsRequest proto.InternalMessageInfo + +type isListClosedWorkflowExecutionsRequest_Filters interface { + isListClosedWorkflowExecutionsRequest_Filters() + MarshalTo([]byte) (int, error) + Size() int +} + +type ListClosedWorkflowExecutionsRequest_ExecutionFilter struct { + ExecutionFilter *WorkflowExecutionFilter `protobuf:"bytes,5,opt,name=execution_filter,json=executionFilter,proto3,oneof" json:"execution_filter,omitempty"` +} +type ListClosedWorkflowExecutionsRequest_TypeFilter struct { + TypeFilter *WorkflowTypeFilter `protobuf:"bytes,6,opt,name=type_filter,json=typeFilter,proto3,oneof" json:"type_filter,omitempty"` +} +type ListClosedWorkflowExecutionsRequest_StatusFilter struct { + StatusFilter *StatusFilter `protobuf:"bytes,7,opt,name=status_filter,json=statusFilter,proto3,oneof" json:"status_filter,omitempty"` +} + +func (*ListClosedWorkflowExecutionsRequest_ExecutionFilter) isListClosedWorkflowExecutionsRequest_Filters() { +} +func (*ListClosedWorkflowExecutionsRequest_TypeFilter) isListClosedWorkflowExecutionsRequest_Filters() { +} +func (*ListClosedWorkflowExecutionsRequest_StatusFilter) isListClosedWorkflowExecutionsRequest_Filters() { +} + +func (m *ListClosedWorkflowExecutionsRequest) GetFilters() isListClosedWorkflowExecutionsRequest_Filters { + if m != nil { + return m.Filters + } + return nil +} + +func (m *ListClosedWorkflowExecutionsRequest) GetDomain() string { + if m != nil { + return m.Domain + } + return "" +} + +func (m *ListClosedWorkflowExecutionsRequest) GetPageSize() int32 { + if m != nil { + return m.PageSize + } + return 0 +} + +func (m *ListClosedWorkflowExecutionsRequest) GetNextPageToken() []byte { + if m != nil { + return m.NextPageToken + } + return nil +} + +func (m *ListClosedWorkflowExecutionsRequest) GetStartTimeFilter() *StartTimeFilter { + if m != nil { + return m.StartTimeFilter + } + return nil +} + +func (m *ListClosedWorkflowExecutionsRequest) GetExecutionFilter() *WorkflowExecutionFilter { + if x, ok := m.GetFilters().(*ListClosedWorkflowExecutionsRequest_ExecutionFilter); ok { + return x.ExecutionFilter + } + return nil +} + +func (m *ListClosedWorkflowExecutionsRequest) GetTypeFilter() *WorkflowTypeFilter { + if x, ok := m.GetFilters().(*ListClosedWorkflowExecutionsRequest_TypeFilter); ok { + return x.TypeFilter + } + return nil +} + +func (m *ListClosedWorkflowExecutionsRequest) GetStatusFilter() *StatusFilter { + if x, ok := m.GetFilters().(*ListClosedWorkflowExecutionsRequest_StatusFilter); ok { + return x.StatusFilter + } + return nil +} + +// XXX_OneofWrappers is for the internal use of the proto package. +func (*ListClosedWorkflowExecutionsRequest) XXX_OneofWrappers() []interface{} { + return []interface{}{ + (*ListClosedWorkflowExecutionsRequest_ExecutionFilter)(nil), + (*ListClosedWorkflowExecutionsRequest_TypeFilter)(nil), + (*ListClosedWorkflowExecutionsRequest_StatusFilter)(nil), + } +} + +type ListClosedWorkflowExecutionsResponse struct { + Executions []*WorkflowExecutionInfo `protobuf:"bytes,1,rep,name=executions,proto3" json:"executions,omitempty"` + NextPageToken []byte `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListClosedWorkflowExecutionsResponse) Reset() { *m = ListClosedWorkflowExecutionsResponse{} } +func (m *ListClosedWorkflowExecutionsResponse) String() string { return proto.CompactTextString(m) } +func (*ListClosedWorkflowExecutionsResponse) ProtoMessage() {} +func (*ListClosedWorkflowExecutionsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_a7341dc69cef4364, []int{5} +} +func (m *ListClosedWorkflowExecutionsResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ListClosedWorkflowExecutionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ListClosedWorkflowExecutionsResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ListClosedWorkflowExecutionsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListClosedWorkflowExecutionsResponse.Merge(m, src) +} +func (m *ListClosedWorkflowExecutionsResponse) XXX_Size() int { + return m.Size() +} +func (m *ListClosedWorkflowExecutionsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListClosedWorkflowExecutionsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListClosedWorkflowExecutionsResponse proto.InternalMessageInfo + +func (m *ListClosedWorkflowExecutionsResponse) GetExecutions() []*WorkflowExecutionInfo { + if m != nil { + return m.Executions + } + return nil +} + +func (m *ListClosedWorkflowExecutionsResponse) GetNextPageToken() []byte { + if m != nil { + return m.NextPageToken + } + return nil +} + +type ListArchivedWorkflowExecutionsRequest struct { + Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` + PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + NextPageToken []byte `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + Query string `protobuf:"bytes,4,opt,name=query,proto3" json:"query,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListArchivedWorkflowExecutionsRequest) Reset() { *m = ListArchivedWorkflowExecutionsRequest{} } +func (m *ListArchivedWorkflowExecutionsRequest) String() string { return proto.CompactTextString(m) } +func (*ListArchivedWorkflowExecutionsRequest) ProtoMessage() {} +func (*ListArchivedWorkflowExecutionsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_a7341dc69cef4364, []int{6} +} +func (m *ListArchivedWorkflowExecutionsRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ListArchivedWorkflowExecutionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ListArchivedWorkflowExecutionsRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ListArchivedWorkflowExecutionsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListArchivedWorkflowExecutionsRequest.Merge(m, src) +} +func (m *ListArchivedWorkflowExecutionsRequest) XXX_Size() int { + return m.Size() +} +func (m *ListArchivedWorkflowExecutionsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListArchivedWorkflowExecutionsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListArchivedWorkflowExecutionsRequest proto.InternalMessageInfo + +func (m *ListArchivedWorkflowExecutionsRequest) GetDomain() string { + if m != nil { + return m.Domain + } + return "" +} + +func (m *ListArchivedWorkflowExecutionsRequest) GetPageSize() int32 { + if m != nil { + return m.PageSize + } + return 0 +} + +func (m *ListArchivedWorkflowExecutionsRequest) GetNextPageToken() []byte { + if m != nil { + return m.NextPageToken + } + return nil +} + +func (m *ListArchivedWorkflowExecutionsRequest) GetQuery() string { + if m != nil { + return m.Query + } + return "" +} + +type ListArchivedWorkflowExecutionsResponse struct { + Executions []*WorkflowExecutionInfo `protobuf:"bytes,1,rep,name=executions,proto3" json:"executions,omitempty"` + NextPageToken []byte `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListArchivedWorkflowExecutionsResponse) Reset() { + *m = ListArchivedWorkflowExecutionsResponse{} +} +func (m *ListArchivedWorkflowExecutionsResponse) String() string { return proto.CompactTextString(m) } +func (*ListArchivedWorkflowExecutionsResponse) ProtoMessage() {} +func (*ListArchivedWorkflowExecutionsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_a7341dc69cef4364, []int{7} +} +func (m *ListArchivedWorkflowExecutionsResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ListArchivedWorkflowExecutionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ListArchivedWorkflowExecutionsResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ListArchivedWorkflowExecutionsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListArchivedWorkflowExecutionsResponse.Merge(m, src) +} +func (m *ListArchivedWorkflowExecutionsResponse) XXX_Size() int { + return m.Size() +} +func (m *ListArchivedWorkflowExecutionsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListArchivedWorkflowExecutionsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListArchivedWorkflowExecutionsResponse proto.InternalMessageInfo + +func (m *ListArchivedWorkflowExecutionsResponse) GetExecutions() []*WorkflowExecutionInfo { + if m != nil { + return m.Executions + } + return nil +} + +func (m *ListArchivedWorkflowExecutionsResponse) GetNextPageToken() []byte { + if m != nil { + return m.NextPageToken + } + return nil +} + +type ScanWorkflowExecutionsRequest struct { + Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` + PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + NextPageToken []byte `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + Query string `protobuf:"bytes,4,opt,name=query,proto3" json:"query,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ScanWorkflowExecutionsRequest) Reset() { *m = ScanWorkflowExecutionsRequest{} } +func (m *ScanWorkflowExecutionsRequest) String() string { return proto.CompactTextString(m) } +func (*ScanWorkflowExecutionsRequest) ProtoMessage() {} +func (*ScanWorkflowExecutionsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_a7341dc69cef4364, []int{8} +} +func (m *ScanWorkflowExecutionsRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ScanWorkflowExecutionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ScanWorkflowExecutionsRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ScanWorkflowExecutionsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ScanWorkflowExecutionsRequest.Merge(m, src) +} +func (m *ScanWorkflowExecutionsRequest) XXX_Size() int { + return m.Size() +} +func (m *ScanWorkflowExecutionsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ScanWorkflowExecutionsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ScanWorkflowExecutionsRequest proto.InternalMessageInfo + +func (m *ScanWorkflowExecutionsRequest) GetDomain() string { + if m != nil { + return m.Domain + } + return "" +} + +func (m *ScanWorkflowExecutionsRequest) GetPageSize() int32 { + if m != nil { + return m.PageSize + } + return 0 +} + +func (m *ScanWorkflowExecutionsRequest) GetNextPageToken() []byte { + if m != nil { + return m.NextPageToken + } + return nil +} + +func (m *ScanWorkflowExecutionsRequest) GetQuery() string { + if m != nil { + return m.Query + } + return "" +} + +type ScanWorkflowExecutionsResponse struct { + Executions []*WorkflowExecutionInfo `protobuf:"bytes,1,rep,name=executions,proto3" json:"executions,omitempty"` + NextPageToken []byte `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ScanWorkflowExecutionsResponse) Reset() { *m = ScanWorkflowExecutionsResponse{} } +func (m *ScanWorkflowExecutionsResponse) String() string { return proto.CompactTextString(m) } +func (*ScanWorkflowExecutionsResponse) ProtoMessage() {} +func (*ScanWorkflowExecutionsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_a7341dc69cef4364, []int{9} +} +func (m *ScanWorkflowExecutionsResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ScanWorkflowExecutionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ScanWorkflowExecutionsResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ScanWorkflowExecutionsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ScanWorkflowExecutionsResponse.Merge(m, src) +} +func (m *ScanWorkflowExecutionsResponse) XXX_Size() int { + return m.Size() +} +func (m *ScanWorkflowExecutionsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ScanWorkflowExecutionsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ScanWorkflowExecutionsResponse proto.InternalMessageInfo + +func (m *ScanWorkflowExecutionsResponse) GetExecutions() []*WorkflowExecutionInfo { + if m != nil { + return m.Executions + } + return nil +} + +func (m *ScanWorkflowExecutionsResponse) GetNextPageToken() []byte { + if m != nil { + return m.NextPageToken + } + return nil +} + +type CountWorkflowExecutionsRequest struct { + Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` + Query string `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CountWorkflowExecutionsRequest) Reset() { *m = CountWorkflowExecutionsRequest{} } +func (m *CountWorkflowExecutionsRequest) String() string { return proto.CompactTextString(m) } +func (*CountWorkflowExecutionsRequest) ProtoMessage() {} +func (*CountWorkflowExecutionsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_a7341dc69cef4364, []int{10} +} +func (m *CountWorkflowExecutionsRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *CountWorkflowExecutionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_CountWorkflowExecutionsRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *CountWorkflowExecutionsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CountWorkflowExecutionsRequest.Merge(m, src) +} +func (m *CountWorkflowExecutionsRequest) XXX_Size() int { + return m.Size() +} +func (m *CountWorkflowExecutionsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CountWorkflowExecutionsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CountWorkflowExecutionsRequest proto.InternalMessageInfo + +func (m *CountWorkflowExecutionsRequest) GetDomain() string { + if m != nil { + return m.Domain + } + return "" +} + +func (m *CountWorkflowExecutionsRequest) GetQuery() string { + if m != nil { + return m.Query + } + return "" +} + +type CountWorkflowExecutionsResponse struct { + Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CountWorkflowExecutionsResponse) Reset() { *m = CountWorkflowExecutionsResponse{} } +func (m *CountWorkflowExecutionsResponse) String() string { return proto.CompactTextString(m) } +func (*CountWorkflowExecutionsResponse) ProtoMessage() {} +func (*CountWorkflowExecutionsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_a7341dc69cef4364, []int{11} +} +func (m *CountWorkflowExecutionsResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *CountWorkflowExecutionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_CountWorkflowExecutionsResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *CountWorkflowExecutionsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_CountWorkflowExecutionsResponse.Merge(m, src) +} +func (m *CountWorkflowExecutionsResponse) XXX_Size() int { + return m.Size() +} +func (m *CountWorkflowExecutionsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_CountWorkflowExecutionsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_CountWorkflowExecutionsResponse proto.InternalMessageInfo + +func (m *CountWorkflowExecutionsResponse) GetCount() int64 { + if m != nil { + return m.Count + } + return 0 +} + +type GetSearchAttributesRequest struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetSearchAttributesRequest) Reset() { *m = GetSearchAttributesRequest{} } +func (m *GetSearchAttributesRequest) String() string { return proto.CompactTextString(m) } +func (*GetSearchAttributesRequest) ProtoMessage() {} +func (*GetSearchAttributesRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_a7341dc69cef4364, []int{12} +} +func (m *GetSearchAttributesRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GetSearchAttributesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GetSearchAttributesRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GetSearchAttributesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetSearchAttributesRequest.Merge(m, src) +} +func (m *GetSearchAttributesRequest) XXX_Size() int { + return m.Size() +} +func (m *GetSearchAttributesRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetSearchAttributesRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetSearchAttributesRequest proto.InternalMessageInfo + +type GetSearchAttributesResponse struct { + Keys map[string]IndexedValueType `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3,enum=uber.cadence.api.v1.IndexedValueType"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetSearchAttributesResponse) Reset() { *m = GetSearchAttributesResponse{} } +func (m *GetSearchAttributesResponse) String() string { return proto.CompactTextString(m) } +func (*GetSearchAttributesResponse) ProtoMessage() {} +func (*GetSearchAttributesResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_a7341dc69cef4364, []int{13} +} +func (m *GetSearchAttributesResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GetSearchAttributesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GetSearchAttributesResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GetSearchAttributesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetSearchAttributesResponse.Merge(m, src) +} +func (m *GetSearchAttributesResponse) XXX_Size() int { + return m.Size() +} +func (m *GetSearchAttributesResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetSearchAttributesResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GetSearchAttributesResponse proto.InternalMessageInfo + +func (m *GetSearchAttributesResponse) GetKeys() map[string]IndexedValueType { + if m != nil { + return m.Keys + } + return nil +} + +func init() { + proto.RegisterType((*ListWorkflowExecutionsRequest)(nil), "uber.cadence.api.v1.ListWorkflowExecutionsRequest") + proto.RegisterType((*ListWorkflowExecutionsResponse)(nil), "uber.cadence.api.v1.ListWorkflowExecutionsResponse") + proto.RegisterType((*ListOpenWorkflowExecutionsRequest)(nil), "uber.cadence.api.v1.ListOpenWorkflowExecutionsRequest") + proto.RegisterType((*ListOpenWorkflowExecutionsResponse)(nil), "uber.cadence.api.v1.ListOpenWorkflowExecutionsResponse") + proto.RegisterType((*ListClosedWorkflowExecutionsRequest)(nil), "uber.cadence.api.v1.ListClosedWorkflowExecutionsRequest") + proto.RegisterType((*ListClosedWorkflowExecutionsResponse)(nil), "uber.cadence.api.v1.ListClosedWorkflowExecutionsResponse") + proto.RegisterType((*ListArchivedWorkflowExecutionsRequest)(nil), "uber.cadence.api.v1.ListArchivedWorkflowExecutionsRequest") + proto.RegisterType((*ListArchivedWorkflowExecutionsResponse)(nil), "uber.cadence.api.v1.ListArchivedWorkflowExecutionsResponse") + proto.RegisterType((*ScanWorkflowExecutionsRequest)(nil), "uber.cadence.api.v1.ScanWorkflowExecutionsRequest") + proto.RegisterType((*ScanWorkflowExecutionsResponse)(nil), "uber.cadence.api.v1.ScanWorkflowExecutionsResponse") + proto.RegisterType((*CountWorkflowExecutionsRequest)(nil), "uber.cadence.api.v1.CountWorkflowExecutionsRequest") + proto.RegisterType((*CountWorkflowExecutionsResponse)(nil), "uber.cadence.api.v1.CountWorkflowExecutionsResponse") + proto.RegisterType((*GetSearchAttributesRequest)(nil), "uber.cadence.api.v1.GetSearchAttributesRequest") + proto.RegisterType((*GetSearchAttributesResponse)(nil), "uber.cadence.api.v1.GetSearchAttributesResponse") + proto.RegisterMapType((map[string]IndexedValueType)(nil), "uber.cadence.api.v1.GetSearchAttributesResponse.KeysEntry") +} + +func init() { + proto.RegisterFile("uber/cadence/api/v1/service_visibility.proto", fileDescriptor_a7341dc69cef4364) +} + +var fileDescriptor_a7341dc69cef4364 = []byte{ + // 827 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x97, 0xcf, 0x6f, 0x1b, 0x45, + 0x14, 0xc7, 0x19, 0xbb, 0x4e, 0xea, 0x97, 0x86, 0x94, 0x69, 0xd5, 0x5a, 0xdb, 0x62, 0xdc, 0x25, + 0x2d, 0x16, 0xaa, 0x76, 0x89, 0x8b, 0x68, 0x49, 0x4e, 0x4e, 0x55, 0x68, 0x0a, 0x2a, 0xd6, 0x3a, + 0x2a, 0x82, 0x03, 0xd6, 0x7a, 0xfd, 0xe2, 0x8c, 0x6c, 0xef, 0x6e, 0x77, 0x66, 0x5d, 0x6f, 0x6f, + 0x48, 0xb9, 0x72, 0x01, 0x0e, 0x10, 0xf1, 0x07, 0x71, 0x41, 0xca, 0x99, 0x13, 0xca, 0x5f, 0x82, + 0xf6, 0x87, 0x57, 0x0e, 0xcc, 0xae, 0xe3, 0x1c, 0x30, 0x87, 0xde, 0x3c, 0xcf, 0xef, 0x7d, 0xf6, + 0x3b, 0x6f, 0xdf, 0xbe, 0x79, 0x03, 0xf7, 0xfd, 0x2e, 0x7a, 0xba, 0x65, 0xf6, 0xd0, 0xb6, 0x50, + 0x37, 0x5d, 0xa6, 0x8f, 0xb7, 0x74, 0x8e, 0xde, 0x98, 0x59, 0xd8, 0x19, 0x33, 0xce, 0xba, 0x6c, + 0xc8, 0x44, 0xa0, 0xb9, 0x9e, 0x23, 0x1c, 0x7a, 0x2d, 0xf4, 0xd6, 0x12, 0x6f, 0xcd, 0x74, 0x99, + 0x36, 0xde, 0x52, 0x36, 0x65, 0x88, 0x7f, 0x86, 0x2a, 0xaa, 0xcc, 0xeb, 0x95, 0xe3, 0x0d, 0x0e, + 0x86, 0xce, 0xab, 0xd8, 0x47, 0xfd, 0x91, 0xc0, 0xbb, 0x5f, 0x32, 0x2e, 0xbe, 0x4e, 0xcc, 0x4f, + 0x26, 0x68, 0xf9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 0x7a, 0x00, 0x95, 0x03, 0xf3, 0x3b, 0x90, 0xf2, 0xf1, 0x62, 0x41, 0x89, + 0x8c, 0x09, 0x5c, 0x93, 0x7c, 0xf1, 0x54, 0x3f, 0x7f, 0x6f, 0x88, 0x9f, 0xfe, 0xd1, 0xa2, 0xcd, + 0x64, 0xb7, 0xfb, 0xfb, 0x69, 0x95, 0x9c, 0x9c, 0x56, 0xc9, 0x5f, 0xa7, 0x55, 0x02, 0x37, 0x2d, + 0x67, 0x24, 0x43, 0xec, 0x5e, 0x6e, 0xba, 0xac, 0x15, 0x5e, 0xd5, 0x5a, 0xe4, 0x5b, 0xbd, 0xcf, + 0xc4, 0xa1, 0xdf, 0xd5, 0x2c, 0x67, 0xa4, 0x9f, 0xb9, 0xdb, 0x69, 0x7d, 0xb4, 0xf5, 0xe8, 0x42, + 0x97, 0x5c, 0xf3, 0x76, 0x4c, 0x97, 0x8d, 0xb7, 0xba, 0x2b, 0x91, 0xed, 0xc1, 0xdf, 0x01, 0x00, + 0x00, 0xff, 0xff, 0x3f, 0xeb, 0x89, 0xd3, 0x73, 0x0e, 0x00, 0x00, +} + +func (m *ListWorkflowExecutionsRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ListWorkflowExecutionsRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ListWorkflowExecutionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.Query) > 0 { + i -= len(m.Query) + copy(dAtA[i:], m.Query) + i = encodeVarintServiceVisibility(dAtA, i, uint64(len(m.Query))) + i-- + dAtA[i] = 0x22 + } + if len(m.NextPageToken) > 0 { + i -= len(m.NextPageToken) + copy(dAtA[i:], m.NextPageToken) + i = encodeVarintServiceVisibility(dAtA, i, uint64(len(m.NextPageToken))) + i-- + dAtA[i] = 0x1a + } + if m.PageSize != 0 { + i = encodeVarintServiceVisibility(dAtA, i, uint64(m.PageSize)) + i-- + dAtA[i] = 0x10 + } + if len(m.Domain) > 0 { + i -= len(m.Domain) + copy(dAtA[i:], m.Domain) + i = encodeVarintServiceVisibility(dAtA, i, uint64(len(m.Domain))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ListWorkflowExecutionsResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ListWorkflowExecutionsResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ListWorkflowExecutionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.NextPageToken) > 0 { + i -= len(m.NextPageToken) + copy(dAtA[i:], m.NextPageToken) + i = encodeVarintServiceVisibility(dAtA, i, uint64(len(m.NextPageToken))) + i-- + dAtA[i] = 0x12 + } + if len(m.Executions) > 0 { + for iNdEx := len(m.Executions) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Executions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceVisibility(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *ListOpenWorkflowExecutionsRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ListOpenWorkflowExecutionsRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ListOpenWorkflowExecutionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.Filters != nil { + { + size := m.Filters.Size() + i -= size + if _, err := m.Filters.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + } + } + if m.StartTimeFilter != nil { + { + size, err := m.StartTimeFilter.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceVisibility(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 + } + if len(m.NextPageToken) > 0 { + i -= len(m.NextPageToken) + copy(dAtA[i:], m.NextPageToken) + i = encodeVarintServiceVisibility(dAtA, i, uint64(len(m.NextPageToken))) + i-- + dAtA[i] = 0x1a + } + if m.PageSize != 0 { + i = encodeVarintServiceVisibility(dAtA, i, uint64(m.PageSize)) + i-- + dAtA[i] = 0x10 + } + if len(m.Domain) > 0 { + i -= len(m.Domain) + copy(dAtA[i:], m.Domain) + i = encodeVarintServiceVisibility(dAtA, i, uint64(len(m.Domain))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ListOpenWorkflowExecutionsRequest_ExecutionFilter) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ListOpenWorkflowExecutionsRequest_ExecutionFilter) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.ExecutionFilter != nil { + { + size, err := m.ExecutionFilter.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceVisibility(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a + } + return len(dAtA) - i, nil +} +func (m *ListOpenWorkflowExecutionsRequest_TypeFilter) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ListOpenWorkflowExecutionsRequest_TypeFilter) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.TypeFilter != nil { + { + size, err := m.TypeFilter.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceVisibility(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x32 + } + return len(dAtA) - i, nil +} +func (m *ListOpenWorkflowExecutionsResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ListOpenWorkflowExecutionsResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ListOpenWorkflowExecutionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.NextPageToken) > 0 { + i -= len(m.NextPageToken) + copy(dAtA[i:], m.NextPageToken) + i = encodeVarintServiceVisibility(dAtA, i, uint64(len(m.NextPageToken))) + i-- + dAtA[i] = 0x12 + } + if len(m.Executions) > 0 { + for iNdEx := len(m.Executions) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Executions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceVisibility(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *ListClosedWorkflowExecutionsRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ListClosedWorkflowExecutionsRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ListClosedWorkflowExecutionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.Filters != nil { + { + size := m.Filters.Size() + i -= size + if _, err := m.Filters.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + } + } + if m.StartTimeFilter != nil { + { + size, err := m.StartTimeFilter.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceVisibility(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 + } + if len(m.NextPageToken) > 0 { + i -= len(m.NextPageToken) + copy(dAtA[i:], m.NextPageToken) + i = encodeVarintServiceVisibility(dAtA, i, uint64(len(m.NextPageToken))) + i-- + dAtA[i] = 0x1a + } + if m.PageSize != 0 { + i = encodeVarintServiceVisibility(dAtA, i, uint64(m.PageSize)) + i-- + dAtA[i] = 0x10 + } + if len(m.Domain) > 0 { + i -= len(m.Domain) + copy(dAtA[i:], m.Domain) + i = encodeVarintServiceVisibility(dAtA, i, uint64(len(m.Domain))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ListClosedWorkflowExecutionsRequest_ExecutionFilter) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ListClosedWorkflowExecutionsRequest_ExecutionFilter) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.ExecutionFilter != nil { + { + size, err := m.ExecutionFilter.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceVisibility(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a + } + return len(dAtA) - i, nil +} +func (m *ListClosedWorkflowExecutionsRequest_TypeFilter) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ListClosedWorkflowExecutionsRequest_TypeFilter) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.TypeFilter != nil { + { + size, err := m.TypeFilter.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceVisibility(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x32 + } + return len(dAtA) - i, nil +} +func (m *ListClosedWorkflowExecutionsRequest_StatusFilter) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ListClosedWorkflowExecutionsRequest_StatusFilter) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + if m.StatusFilter != nil { + { + size, err := m.StatusFilter.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceVisibility(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x3a + } + return len(dAtA) - i, nil +} +func (m *ListClosedWorkflowExecutionsResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ListClosedWorkflowExecutionsResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ListClosedWorkflowExecutionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.NextPageToken) > 0 { + i -= len(m.NextPageToken) + copy(dAtA[i:], m.NextPageToken) + i = encodeVarintServiceVisibility(dAtA, i, uint64(len(m.NextPageToken))) + i-- + dAtA[i] = 0x12 + } + if len(m.Executions) > 0 { + for iNdEx := len(m.Executions) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Executions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceVisibility(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *ListArchivedWorkflowExecutionsRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ListArchivedWorkflowExecutionsRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ListArchivedWorkflowExecutionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.Query) > 0 { + i -= len(m.Query) + copy(dAtA[i:], m.Query) + i = encodeVarintServiceVisibility(dAtA, i, uint64(len(m.Query))) + i-- + dAtA[i] = 0x22 + } + if len(m.NextPageToken) > 0 { + i -= len(m.NextPageToken) + copy(dAtA[i:], m.NextPageToken) + i = encodeVarintServiceVisibility(dAtA, i, uint64(len(m.NextPageToken))) + i-- + dAtA[i] = 0x1a + } + if m.PageSize != 0 { + i = encodeVarintServiceVisibility(dAtA, i, uint64(m.PageSize)) + i-- + dAtA[i] = 0x10 + } + if len(m.Domain) > 0 { + i -= len(m.Domain) + copy(dAtA[i:], m.Domain) + i = encodeVarintServiceVisibility(dAtA, i, uint64(len(m.Domain))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ListArchivedWorkflowExecutionsResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ListArchivedWorkflowExecutionsResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ListArchivedWorkflowExecutionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.NextPageToken) > 0 { + i -= len(m.NextPageToken) + copy(dAtA[i:], m.NextPageToken) + i = encodeVarintServiceVisibility(dAtA, i, uint64(len(m.NextPageToken))) + i-- + dAtA[i] = 0x12 + } + if len(m.Executions) > 0 { + for iNdEx := len(m.Executions) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Executions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceVisibility(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *ScanWorkflowExecutionsRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ScanWorkflowExecutionsRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ScanWorkflowExecutionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.Query) > 0 { + i -= len(m.Query) + copy(dAtA[i:], m.Query) + i = encodeVarintServiceVisibility(dAtA, i, uint64(len(m.Query))) + i-- + dAtA[i] = 0x22 + } + if len(m.NextPageToken) > 0 { + i -= len(m.NextPageToken) + copy(dAtA[i:], m.NextPageToken) + i = encodeVarintServiceVisibility(dAtA, i, uint64(len(m.NextPageToken))) + i-- + dAtA[i] = 0x1a + } + if m.PageSize != 0 { + i = encodeVarintServiceVisibility(dAtA, i, uint64(m.PageSize)) + i-- + dAtA[i] = 0x10 + } + if len(m.Domain) > 0 { + i -= len(m.Domain) + copy(dAtA[i:], m.Domain) + i = encodeVarintServiceVisibility(dAtA, i, uint64(len(m.Domain))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ScanWorkflowExecutionsResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ScanWorkflowExecutionsResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ScanWorkflowExecutionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.NextPageToken) > 0 { + i -= len(m.NextPageToken) + copy(dAtA[i:], m.NextPageToken) + i = encodeVarintServiceVisibility(dAtA, i, uint64(len(m.NextPageToken))) + i-- + dAtA[i] = 0x12 + } + if len(m.Executions) > 0 { + for iNdEx := len(m.Executions) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Executions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceVisibility(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *CountWorkflowExecutionsRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *CountWorkflowExecutionsRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *CountWorkflowExecutionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.Query) > 0 { + i -= len(m.Query) + copy(dAtA[i:], m.Query) + i = encodeVarintServiceVisibility(dAtA, i, uint64(len(m.Query))) + i-- + dAtA[i] = 0x12 + } + if len(m.Domain) > 0 { + i -= len(m.Domain) + copy(dAtA[i:], m.Domain) + i = encodeVarintServiceVisibility(dAtA, i, uint64(len(m.Domain))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *CountWorkflowExecutionsResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *CountWorkflowExecutionsResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *CountWorkflowExecutionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.Count != 0 { + i = encodeVarintServiceVisibility(dAtA, i, uint64(m.Count)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *GetSearchAttributesRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetSearchAttributesRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *GetSearchAttributesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + return len(dAtA) - i, nil +} + +func (m *GetSearchAttributesResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetSearchAttributesResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *GetSearchAttributesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.Keys) > 0 { + for k := range m.Keys { + v := m.Keys[k] + baseI := i + i = encodeVarintServiceVisibility(dAtA, i, uint64(v)) + i-- + dAtA[i] = 0x10 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarintServiceVisibility(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarintServiceVisibility(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func encodeVarintServiceVisibility(dAtA []byte, offset int, v uint64) int { + offset -= sovServiceVisibility(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *ListWorkflowExecutionsRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Domain) + if l > 0 { + n += 1 + l + sovServiceVisibility(uint64(l)) + } + if m.PageSize != 0 { + n += 1 + sovServiceVisibility(uint64(m.PageSize)) + } + l = len(m.NextPageToken) + if l > 0 { + n += 1 + l + sovServiceVisibility(uint64(l)) + } + l = len(m.Query) + if l > 0 { + n += 1 + l + sovServiceVisibility(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *ListWorkflowExecutionsResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Executions) > 0 { + for _, e := range m.Executions { + l = e.Size() + n += 1 + l + sovServiceVisibility(uint64(l)) + } + } + l = len(m.NextPageToken) + if l > 0 { + n += 1 + l + sovServiceVisibility(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *ListOpenWorkflowExecutionsRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Domain) + if l > 0 { + n += 1 + l + sovServiceVisibility(uint64(l)) + } + if m.PageSize != 0 { + n += 1 + sovServiceVisibility(uint64(m.PageSize)) + } + l = len(m.NextPageToken) + if l > 0 { + n += 1 + l + sovServiceVisibility(uint64(l)) + } + if m.StartTimeFilter != nil { + l = m.StartTimeFilter.Size() + n += 1 + l + sovServiceVisibility(uint64(l)) + } + if m.Filters != nil { + n += m.Filters.Size() + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *ListOpenWorkflowExecutionsRequest_ExecutionFilter) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.ExecutionFilter != nil { + l = m.ExecutionFilter.Size() + n += 1 + l + sovServiceVisibility(uint64(l)) + } + return n +} +func (m *ListOpenWorkflowExecutionsRequest_TypeFilter) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.TypeFilter != nil { + l = m.TypeFilter.Size() + n += 1 + l + sovServiceVisibility(uint64(l)) + } + return n +} +func (m *ListOpenWorkflowExecutionsResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Executions) > 0 { + for _, e := range m.Executions { + l = e.Size() + n += 1 + l + sovServiceVisibility(uint64(l)) + } + } + l = len(m.NextPageToken) + if l > 0 { + n += 1 + l + sovServiceVisibility(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *ListClosedWorkflowExecutionsRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Domain) + if l > 0 { + n += 1 + l + sovServiceVisibility(uint64(l)) + } + if m.PageSize != 0 { + n += 1 + sovServiceVisibility(uint64(m.PageSize)) + } + l = len(m.NextPageToken) + if l > 0 { + n += 1 + l + sovServiceVisibility(uint64(l)) + } + if m.StartTimeFilter != nil { + l = m.StartTimeFilter.Size() + n += 1 + l + sovServiceVisibility(uint64(l)) + } + if m.Filters != nil { + n += m.Filters.Size() + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *ListClosedWorkflowExecutionsRequest_ExecutionFilter) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.ExecutionFilter != nil { + l = m.ExecutionFilter.Size() + n += 1 + l + sovServiceVisibility(uint64(l)) + } + return n +} +func (m *ListClosedWorkflowExecutionsRequest_TypeFilter) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.TypeFilter != nil { + l = m.TypeFilter.Size() + n += 1 + l + sovServiceVisibility(uint64(l)) + } + return n +} +func (m *ListClosedWorkflowExecutionsRequest_StatusFilter) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.StatusFilter != nil { + l = m.StatusFilter.Size() + n += 1 + l + sovServiceVisibility(uint64(l)) + } + return n +} +func (m *ListClosedWorkflowExecutionsResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Executions) > 0 { + for _, e := range m.Executions { + l = e.Size() + n += 1 + l + sovServiceVisibility(uint64(l)) + } + } + l = len(m.NextPageToken) + if l > 0 { + n += 1 + l + sovServiceVisibility(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *ListArchivedWorkflowExecutionsRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Domain) + if l > 0 { + n += 1 + l + sovServiceVisibility(uint64(l)) + } + if m.PageSize != 0 { + n += 1 + sovServiceVisibility(uint64(m.PageSize)) + } + l = len(m.NextPageToken) + if l > 0 { + n += 1 + l + sovServiceVisibility(uint64(l)) + } + l = len(m.Query) + if l > 0 { + n += 1 + l + sovServiceVisibility(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *ListArchivedWorkflowExecutionsResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Executions) > 0 { + for _, e := range m.Executions { + l = e.Size() + n += 1 + l + sovServiceVisibility(uint64(l)) + } + } + l = len(m.NextPageToken) + if l > 0 { + n += 1 + l + sovServiceVisibility(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *ScanWorkflowExecutionsRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Domain) + if l > 0 { + n += 1 + l + sovServiceVisibility(uint64(l)) + } + if m.PageSize != 0 { + n += 1 + sovServiceVisibility(uint64(m.PageSize)) + } + l = len(m.NextPageToken) + if l > 0 { + n += 1 + l + sovServiceVisibility(uint64(l)) + } + l = len(m.Query) + if l > 0 { + n += 1 + l + sovServiceVisibility(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *ScanWorkflowExecutionsResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Executions) > 0 { + for _, e := range m.Executions { + l = e.Size() + n += 1 + l + sovServiceVisibility(uint64(l)) + } + } + l = len(m.NextPageToken) + if l > 0 { + n += 1 + l + sovServiceVisibility(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *CountWorkflowExecutionsRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Domain) + if l > 0 { + n += 1 + l + sovServiceVisibility(uint64(l)) + } + l = len(m.Query) + if l > 0 { + n += 1 + l + sovServiceVisibility(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *CountWorkflowExecutionsResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Count != 0 { + n += 1 + sovServiceVisibility(uint64(m.Count)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *GetSearchAttributesRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *GetSearchAttributesResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Keys) > 0 { + for k, v := range m.Keys { + _ = k + _ = v + mapEntrySize := 1 + len(k) + sovServiceVisibility(uint64(len(k))) + 1 + sovServiceVisibility(uint64(v)) + n += mapEntrySize + 1 + sovServiceVisibility(uint64(mapEntrySize)) + } + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func sovServiceVisibility(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozServiceVisibility(x uint64) (n int) { + return sovServiceVisibility(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *ListWorkflowExecutionsRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceVisibility + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ListWorkflowExecutionsRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ListWorkflowExecutionsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Domain", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceVisibility + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceVisibility + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceVisibility + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Domain = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType) + } + m.PageSize = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceVisibility + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.PageSize |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceVisibility + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthServiceVisibility + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthServiceVisibility + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.NextPageToken = append(m.NextPageToken[:0], dAtA[iNdEx:postIndex]...) + if m.NextPageToken == nil { + m.NextPageToken = []byte{} + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Query", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceVisibility + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceVisibility + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceVisibility + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Query = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipServiceVisibility(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceVisibility + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ListWorkflowExecutionsResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceVisibility + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ListWorkflowExecutionsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ListWorkflowExecutionsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Executions", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceVisibility + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceVisibility + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceVisibility + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Executions = append(m.Executions, &WorkflowExecutionInfo{}) + if err := m.Executions[len(m.Executions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceVisibility + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthServiceVisibility + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthServiceVisibility + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.NextPageToken = append(m.NextPageToken[:0], dAtA[iNdEx:postIndex]...) + if m.NextPageToken == nil { + m.NextPageToken = []byte{} + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipServiceVisibility(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceVisibility + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ListOpenWorkflowExecutionsRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceVisibility + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ListOpenWorkflowExecutionsRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ListOpenWorkflowExecutionsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Domain", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceVisibility + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceVisibility + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceVisibility + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Domain = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType) + } + m.PageSize = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceVisibility + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.PageSize |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceVisibility + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthServiceVisibility + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthServiceVisibility + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.NextPageToken = append(m.NextPageToken[:0], dAtA[iNdEx:postIndex]...) + if m.NextPageToken == nil { + m.NextPageToken = []byte{} + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field StartTimeFilter", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceVisibility + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceVisibility + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceVisibility + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.StartTimeFilter == nil { + m.StartTimeFilter = &StartTimeFilter{} + } + if err := m.StartTimeFilter.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ExecutionFilter", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceVisibility + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceVisibility + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceVisibility + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &WorkflowExecutionFilter{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Filters = &ListOpenWorkflowExecutionsRequest_ExecutionFilter{v} + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeFilter", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceVisibility + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceVisibility + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceVisibility + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &WorkflowTypeFilter{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Filters = &ListOpenWorkflowExecutionsRequest_TypeFilter{v} + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipServiceVisibility(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceVisibility + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ListOpenWorkflowExecutionsResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceVisibility + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ListOpenWorkflowExecutionsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ListOpenWorkflowExecutionsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Executions", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceVisibility + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceVisibility + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceVisibility + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Executions = append(m.Executions, &WorkflowExecutionInfo{}) + if err := m.Executions[len(m.Executions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceVisibility + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthServiceVisibility + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthServiceVisibility + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.NextPageToken = append(m.NextPageToken[:0], dAtA[iNdEx:postIndex]...) + if m.NextPageToken == nil { + m.NextPageToken = []byte{} + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipServiceVisibility(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceVisibility + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ListClosedWorkflowExecutionsRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceVisibility + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ListClosedWorkflowExecutionsRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ListClosedWorkflowExecutionsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Domain", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceVisibility + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceVisibility + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceVisibility + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Domain = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType) + } + m.PageSize = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceVisibility + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.PageSize |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceVisibility + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthServiceVisibility + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthServiceVisibility + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.NextPageToken = append(m.NextPageToken[:0], dAtA[iNdEx:postIndex]...) + if m.NextPageToken == nil { + m.NextPageToken = []byte{} + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field StartTimeFilter", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceVisibility + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceVisibility + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceVisibility + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.StartTimeFilter == nil { + m.StartTimeFilter = &StartTimeFilter{} + } + if err := m.StartTimeFilter.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ExecutionFilter", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceVisibility + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceVisibility + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceVisibility + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &WorkflowExecutionFilter{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Filters = &ListClosedWorkflowExecutionsRequest_ExecutionFilter{v} + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TypeFilter", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceVisibility + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceVisibility + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceVisibility + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &WorkflowTypeFilter{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Filters = &ListClosedWorkflowExecutionsRequest_TypeFilter{v} + iNdEx = postIndex + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field StatusFilter", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceVisibility + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceVisibility + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceVisibility + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &StatusFilter{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Filters = &ListClosedWorkflowExecutionsRequest_StatusFilter{v} + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipServiceVisibility(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceVisibility + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ListClosedWorkflowExecutionsResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceVisibility + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ListClosedWorkflowExecutionsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ListClosedWorkflowExecutionsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Executions", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceVisibility + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceVisibility + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceVisibility + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Executions = append(m.Executions, &WorkflowExecutionInfo{}) + if err := m.Executions[len(m.Executions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceVisibility + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthServiceVisibility + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthServiceVisibility + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.NextPageToken = append(m.NextPageToken[:0], dAtA[iNdEx:postIndex]...) + if m.NextPageToken == nil { + m.NextPageToken = []byte{} + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipServiceVisibility(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceVisibility + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ListArchivedWorkflowExecutionsRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceVisibility + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ListArchivedWorkflowExecutionsRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ListArchivedWorkflowExecutionsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Domain", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceVisibility + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceVisibility + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceVisibility + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Domain = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType) + } + m.PageSize = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceVisibility + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.PageSize |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceVisibility + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthServiceVisibility + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthServiceVisibility + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.NextPageToken = append(m.NextPageToken[:0], dAtA[iNdEx:postIndex]...) + if m.NextPageToken == nil { + m.NextPageToken = []byte{} + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Query", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceVisibility + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceVisibility + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceVisibility + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Query = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipServiceVisibility(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceVisibility + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ListArchivedWorkflowExecutionsResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceVisibility + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ListArchivedWorkflowExecutionsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ListArchivedWorkflowExecutionsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Executions", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceVisibility + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceVisibility + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceVisibility + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Executions = append(m.Executions, &WorkflowExecutionInfo{}) + if err := m.Executions[len(m.Executions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceVisibility + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthServiceVisibility + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthServiceVisibility + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.NextPageToken = append(m.NextPageToken[:0], dAtA[iNdEx:postIndex]...) + if m.NextPageToken == nil { + m.NextPageToken = []byte{} + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipServiceVisibility(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceVisibility + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ScanWorkflowExecutionsRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceVisibility + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ScanWorkflowExecutionsRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ScanWorkflowExecutionsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Domain", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceVisibility + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceVisibility + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceVisibility + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Domain = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType) + } + m.PageSize = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceVisibility + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.PageSize |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceVisibility + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthServiceVisibility + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthServiceVisibility + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.NextPageToken = append(m.NextPageToken[:0], dAtA[iNdEx:postIndex]...) + if m.NextPageToken == nil { + m.NextPageToken = []byte{} + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Query", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceVisibility + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceVisibility + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceVisibility + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Query = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipServiceVisibility(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceVisibility + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ScanWorkflowExecutionsResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceVisibility + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ScanWorkflowExecutionsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ScanWorkflowExecutionsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Executions", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceVisibility + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceVisibility + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceVisibility + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Executions = append(m.Executions, &WorkflowExecutionInfo{}) + if err := m.Executions[len(m.Executions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceVisibility + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthServiceVisibility + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthServiceVisibility + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.NextPageToken = append(m.NextPageToken[:0], dAtA[iNdEx:postIndex]...) + if m.NextPageToken == nil { + m.NextPageToken = []byte{} + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipServiceVisibility(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceVisibility + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *CountWorkflowExecutionsRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceVisibility + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: CountWorkflowExecutionsRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: CountWorkflowExecutionsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Domain", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceVisibility + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceVisibility + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceVisibility + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Domain = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Query", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceVisibility + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceVisibility + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceVisibility + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Query = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipServiceVisibility(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceVisibility + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *CountWorkflowExecutionsResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceVisibility + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: CountWorkflowExecutionsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: CountWorkflowExecutionsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Count", wireType) + } + m.Count = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceVisibility + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Count |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipServiceVisibility(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceVisibility + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetSearchAttributesRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceVisibility + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetSearchAttributesRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetSearchAttributesRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipServiceVisibility(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceVisibility + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetSearchAttributesResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceVisibility + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetSearchAttributesResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetSearchAttributesResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Keys", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceVisibility + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceVisibility + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceVisibility + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Keys == nil { + m.Keys = make(map[string]IndexedValueType) + } + var mapkey string + var mapvalue IndexedValueType + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceVisibility + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceVisibility + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLengthServiceVisibility + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLengthServiceVisibility + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceVisibility + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapvalue |= IndexedValueType(b&0x7F) << shift + if b < 0x80 { + break + } + } + } else { + iNdEx = entryPreIndex + skippy, err := skipServiceVisibility(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceVisibility + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.Keys[mapkey] = mapvalue + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipServiceVisibility(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceVisibility + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func skipServiceVisibility(dAtA []byte) (n int, err error) { + l := len(dAtA) + iNdEx := 0 + depth := 0 + for iNdEx < l { + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowServiceVisibility + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + wireType := int(wire & 0x7) + switch wireType { + case 0: + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowServiceVisibility + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + iNdEx++ + if dAtA[iNdEx-1] < 0x80 { + break + } + } + case 1: + iNdEx += 8 + case 2: + var length int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowServiceVisibility + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + length |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if length < 0 { + return 0, ErrInvalidLengthServiceVisibility + } + iNdEx += length + case 3: + depth++ + case 4: + if depth == 0 { + return 0, ErrUnexpectedEndOfGroupServiceVisibility + } + depth-- + case 5: + iNdEx += 4 + default: + return 0, fmt.Errorf("proto: illegal wireType %d", wireType) + } + if iNdEx < 0 { + return 0, ErrInvalidLengthServiceVisibility + } + if depth == 0 { + return iNdEx, nil + } + } + return 0, io.ErrUnexpectedEOF +} + +var ( + ErrInvalidLengthServiceVisibility = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflowServiceVisibility = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroupServiceVisibility = fmt.Errorf("proto: unexpected end of group") +) diff --git a/go/proto/api/v1/service_visibility.pb.yarpc.go b/go/proto/api/v1/service_visibility.pb.yarpc.go new file mode 100644 index 0000000..17e7855 --- /dev/null +++ b/go/proto/api/v1/service_visibility.pb.yarpc.go @@ -0,0 +1,944 @@ +// The MIT License (MIT) +// +// Copyright (c) 2021 Uber Technologies, Inc. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +// SOFTWARE. + +// Code generated by protoc-gen-yarpc-go. DO NOT EDIT. +// source: uber/cadence/api/v1/service_visibility.proto + +package apiv1 + +import ( + "context" + "io/ioutil" + "reflect" + + "github.com/gogo/protobuf/jsonpb" + "github.com/gogo/protobuf/proto" + "go.uber.org/fx" + "go.uber.org/yarpc" + "go.uber.org/yarpc/api/transport" + "go.uber.org/yarpc/api/x/restriction" + "go.uber.org/yarpc/encoding/protobuf" + "go.uber.org/yarpc/encoding/protobuf/reflection" +) + +var _ = ioutil.NopCloser + +// VisibilityAPIYARPCClient is the YARPC client-side interface for the VisibilityAPI service. +type VisibilityAPIYARPCClient interface { + ListWorkflowExecutions(context.Context, *ListWorkflowExecutionsRequest, ...yarpc.CallOption) (*ListWorkflowExecutionsResponse, error) + ListOpenWorkflowExecutions(context.Context, *ListOpenWorkflowExecutionsRequest, ...yarpc.CallOption) (*ListOpenWorkflowExecutionsResponse, error) + ListClosedWorkflowExecutions(context.Context, *ListClosedWorkflowExecutionsRequest, ...yarpc.CallOption) (*ListClosedWorkflowExecutionsResponse, error) + ListArchivedWorkflowExecutions(context.Context, *ListArchivedWorkflowExecutionsRequest, ...yarpc.CallOption) (*ListArchivedWorkflowExecutionsResponse, error) + ScanWorkflowExecutions(context.Context, *ScanWorkflowExecutionsRequest, ...yarpc.CallOption) (*ScanWorkflowExecutionsResponse, error) + CountWorkflowExecutions(context.Context, *CountWorkflowExecutionsRequest, ...yarpc.CallOption) (*CountWorkflowExecutionsResponse, error) + GetSearchAttributes(context.Context, *GetSearchAttributesRequest, ...yarpc.CallOption) (*GetSearchAttributesResponse, error) +} + +func newVisibilityAPIYARPCClient(clientConfig transport.ClientConfig, anyResolver jsonpb.AnyResolver, options ...protobuf.ClientOption) VisibilityAPIYARPCClient { + return &_VisibilityAPIYARPCCaller{protobuf.NewStreamClient( + protobuf.ClientParams{ + ServiceName: "uber.cadence.api.v1.VisibilityAPI", + ClientConfig: clientConfig, + AnyResolver: anyResolver, + Options: options, + }, + )} +} + +// NewVisibilityAPIYARPCClient builds a new YARPC client for the VisibilityAPI service. +func NewVisibilityAPIYARPCClient(clientConfig transport.ClientConfig, options ...protobuf.ClientOption) VisibilityAPIYARPCClient { + return newVisibilityAPIYARPCClient(clientConfig, nil, options...) +} + +// VisibilityAPIYARPCServer is the YARPC server-side interface for the VisibilityAPI service. +type VisibilityAPIYARPCServer interface { + ListWorkflowExecutions(context.Context, *ListWorkflowExecutionsRequest) (*ListWorkflowExecutionsResponse, error) + ListOpenWorkflowExecutions(context.Context, *ListOpenWorkflowExecutionsRequest) (*ListOpenWorkflowExecutionsResponse, error) + ListClosedWorkflowExecutions(context.Context, *ListClosedWorkflowExecutionsRequest) (*ListClosedWorkflowExecutionsResponse, error) + ListArchivedWorkflowExecutions(context.Context, *ListArchivedWorkflowExecutionsRequest) (*ListArchivedWorkflowExecutionsResponse, error) + ScanWorkflowExecutions(context.Context, *ScanWorkflowExecutionsRequest) (*ScanWorkflowExecutionsResponse, error) + CountWorkflowExecutions(context.Context, *CountWorkflowExecutionsRequest) (*CountWorkflowExecutionsResponse, error) + GetSearchAttributes(context.Context, *GetSearchAttributesRequest) (*GetSearchAttributesResponse, error) +} + +type buildVisibilityAPIYARPCProceduresParams struct { + Server VisibilityAPIYARPCServer + AnyResolver jsonpb.AnyResolver +} + +func buildVisibilityAPIYARPCProcedures(params buildVisibilityAPIYARPCProceduresParams) []transport.Procedure { + handler := &_VisibilityAPIYARPCHandler{params.Server} + return protobuf.BuildProcedures( + protobuf.BuildProceduresParams{ + ServiceName: "uber.cadence.api.v1.VisibilityAPI", + UnaryHandlerParams: []protobuf.BuildProceduresUnaryHandlerParams{ + { + MethodName: "ListWorkflowExecutions", + Handler: protobuf.NewUnaryHandler( + protobuf.UnaryHandlerParams{ + Handle: handler.ListWorkflowExecutions, + NewRequest: newVisibilityAPIServiceListWorkflowExecutionsYARPCRequest, + AnyResolver: params.AnyResolver, + }, + ), + }, + { + MethodName: "ListOpenWorkflowExecutions", + Handler: protobuf.NewUnaryHandler( + protobuf.UnaryHandlerParams{ + Handle: handler.ListOpenWorkflowExecutions, + NewRequest: newVisibilityAPIServiceListOpenWorkflowExecutionsYARPCRequest, + AnyResolver: params.AnyResolver, + }, + ), + }, + { + MethodName: "ListClosedWorkflowExecutions", + Handler: protobuf.NewUnaryHandler( + protobuf.UnaryHandlerParams{ + Handle: handler.ListClosedWorkflowExecutions, + NewRequest: newVisibilityAPIServiceListClosedWorkflowExecutionsYARPCRequest, + AnyResolver: params.AnyResolver, + }, + ), + }, + { + MethodName: "ListArchivedWorkflowExecutions", + Handler: protobuf.NewUnaryHandler( + protobuf.UnaryHandlerParams{ + Handle: handler.ListArchivedWorkflowExecutions, + NewRequest: newVisibilityAPIServiceListArchivedWorkflowExecutionsYARPCRequest, + AnyResolver: params.AnyResolver, + }, + ), + }, + { + MethodName: "ScanWorkflowExecutions", + Handler: protobuf.NewUnaryHandler( + protobuf.UnaryHandlerParams{ + Handle: handler.ScanWorkflowExecutions, + NewRequest: newVisibilityAPIServiceScanWorkflowExecutionsYARPCRequest, + AnyResolver: params.AnyResolver, + }, + ), + }, + { + MethodName: "CountWorkflowExecutions", + Handler: protobuf.NewUnaryHandler( + protobuf.UnaryHandlerParams{ + Handle: handler.CountWorkflowExecutions, + NewRequest: newVisibilityAPIServiceCountWorkflowExecutionsYARPCRequest, + AnyResolver: params.AnyResolver, + }, + ), + }, + { + MethodName: "GetSearchAttributes", + Handler: protobuf.NewUnaryHandler( + protobuf.UnaryHandlerParams{ + Handle: handler.GetSearchAttributes, + NewRequest: newVisibilityAPIServiceGetSearchAttributesYARPCRequest, + AnyResolver: params.AnyResolver, + }, + ), + }, + }, + OnewayHandlerParams: []protobuf.BuildProceduresOnewayHandlerParams{}, + StreamHandlerParams: []protobuf.BuildProceduresStreamHandlerParams{}, + }, + ) +} + +// BuildVisibilityAPIYARPCProcedures prepares an implementation of the VisibilityAPI service for YARPC registration. +func BuildVisibilityAPIYARPCProcedures(server VisibilityAPIYARPCServer) []transport.Procedure { + return buildVisibilityAPIYARPCProcedures(buildVisibilityAPIYARPCProceduresParams{Server: server}) +} + +// FxVisibilityAPIYARPCClientParams defines the input +// for NewFxVisibilityAPIYARPCClient. It provides the +// paramaters to get a VisibilityAPIYARPCClient in an +// Fx application. +type FxVisibilityAPIYARPCClientParams struct { + fx.In + + Provider yarpc.ClientConfig + AnyResolver jsonpb.AnyResolver `name:"yarpcfx" optional:"true"` + Restriction restriction.Checker `optional:"true"` +} + +// FxVisibilityAPIYARPCClientResult defines the output +// of NewFxVisibilityAPIYARPCClient. It provides a +// VisibilityAPIYARPCClient to an Fx application. +type FxVisibilityAPIYARPCClientResult struct { + fx.Out + + Client VisibilityAPIYARPCClient + + // We are using an fx.Out struct here instead of just returning a client + // so that we can add more values or add named versions of the client in + // the future without breaking any existing code. +} + +// NewFxVisibilityAPIYARPCClient provides a VisibilityAPIYARPCClient +// to an Fx application using the given name for routing. +// +// fx.Provide( +// apiv1.NewFxVisibilityAPIYARPCClient("service-name"), +// ... +// ) +func NewFxVisibilityAPIYARPCClient(name string, options ...protobuf.ClientOption) interface{} { + return func(params FxVisibilityAPIYARPCClientParams) FxVisibilityAPIYARPCClientResult { + cc := params.Provider.ClientConfig(name) + + if params.Restriction != nil { + if namer, ok := cc.GetUnaryOutbound().(transport.Namer); ok { + if err := params.Restriction.Check(protobuf.Encoding, namer.TransportName()); err != nil { + panic(err.Error()) + } + } + } + + return FxVisibilityAPIYARPCClientResult{ + Client: newVisibilityAPIYARPCClient(cc, params.AnyResolver, options...), + } + } +} + +// FxVisibilityAPIYARPCProceduresParams defines the input +// for NewFxVisibilityAPIYARPCProcedures. It provides the +// paramaters to get VisibilityAPIYARPCServer procedures in an +// Fx application. +type FxVisibilityAPIYARPCProceduresParams struct { + fx.In + + Server VisibilityAPIYARPCServer + AnyResolver jsonpb.AnyResolver `name:"yarpcfx" optional:"true"` +} + +// FxVisibilityAPIYARPCProceduresResult defines the output +// of NewFxVisibilityAPIYARPCProcedures. It provides +// VisibilityAPIYARPCServer procedures to an Fx application. +// +// The procedures are provided to the "yarpcfx" value group. +// Dig 1.2 or newer must be used for this feature to work. +type FxVisibilityAPIYARPCProceduresResult struct { + fx.Out + + Procedures []transport.Procedure `group:"yarpcfx"` + ReflectionMeta reflection.ServerMeta `group:"yarpcfx"` +} + +// NewFxVisibilityAPIYARPCProcedures provides VisibilityAPIYARPCServer procedures to an Fx application. +// It expects a VisibilityAPIYARPCServer to be present in the container. +// +// fx.Provide( +// apiv1.NewFxVisibilityAPIYARPCProcedures(), +// ... +// ) +func NewFxVisibilityAPIYARPCProcedures() interface{} { + return func(params FxVisibilityAPIYARPCProceduresParams) FxVisibilityAPIYARPCProceduresResult { + return FxVisibilityAPIYARPCProceduresResult{ + Procedures: buildVisibilityAPIYARPCProcedures(buildVisibilityAPIYARPCProceduresParams{ + Server: params.Server, + AnyResolver: params.AnyResolver, + }), + ReflectionMeta: reflection.ServerMeta{ + ServiceName: "uber.cadence.api.v1.VisibilityAPI", + FileDescriptors: yarpcFileDescriptorClosurea7341dc69cef4364, + }, + } + } +} + +type _VisibilityAPIYARPCCaller struct { + streamClient protobuf.StreamClient +} + +func (c *_VisibilityAPIYARPCCaller) ListWorkflowExecutions(ctx context.Context, request *ListWorkflowExecutionsRequest, options ...yarpc.CallOption) (*ListWorkflowExecutionsResponse, error) { + responseMessage, err := c.streamClient.Call(ctx, "ListWorkflowExecutions", request, newVisibilityAPIServiceListWorkflowExecutionsYARPCResponse, options...) + if responseMessage == nil { + return nil, err + } + response, ok := responseMessage.(*ListWorkflowExecutionsResponse) + if !ok { + return nil, protobuf.CastError(emptyVisibilityAPIServiceListWorkflowExecutionsYARPCResponse, responseMessage) + } + return response, err +} + +func (c *_VisibilityAPIYARPCCaller) ListOpenWorkflowExecutions(ctx context.Context, request *ListOpenWorkflowExecutionsRequest, options ...yarpc.CallOption) (*ListOpenWorkflowExecutionsResponse, error) { + responseMessage, err := c.streamClient.Call(ctx, "ListOpenWorkflowExecutions", request, newVisibilityAPIServiceListOpenWorkflowExecutionsYARPCResponse, options...) + if responseMessage == nil { + return nil, err + } + response, ok := responseMessage.(*ListOpenWorkflowExecutionsResponse) + if !ok { + return nil, protobuf.CastError(emptyVisibilityAPIServiceListOpenWorkflowExecutionsYARPCResponse, responseMessage) + } + return response, err +} + +func (c *_VisibilityAPIYARPCCaller) ListClosedWorkflowExecutions(ctx context.Context, request *ListClosedWorkflowExecutionsRequest, options ...yarpc.CallOption) (*ListClosedWorkflowExecutionsResponse, error) { + responseMessage, err := c.streamClient.Call(ctx, "ListClosedWorkflowExecutions", request, newVisibilityAPIServiceListClosedWorkflowExecutionsYARPCResponse, options...) + if responseMessage == nil { + return nil, err + } + response, ok := responseMessage.(*ListClosedWorkflowExecutionsResponse) + if !ok { + return nil, protobuf.CastError(emptyVisibilityAPIServiceListClosedWorkflowExecutionsYARPCResponse, responseMessage) + } + return response, err +} + +func (c *_VisibilityAPIYARPCCaller) ListArchivedWorkflowExecutions(ctx context.Context, request *ListArchivedWorkflowExecutionsRequest, options ...yarpc.CallOption) (*ListArchivedWorkflowExecutionsResponse, error) { + responseMessage, err := c.streamClient.Call(ctx, "ListArchivedWorkflowExecutions", request, newVisibilityAPIServiceListArchivedWorkflowExecutionsYARPCResponse, options...) + if responseMessage == nil { + return nil, err + } + response, ok := responseMessage.(*ListArchivedWorkflowExecutionsResponse) + if !ok { + return nil, protobuf.CastError(emptyVisibilityAPIServiceListArchivedWorkflowExecutionsYARPCResponse, responseMessage) + } + return response, err +} + +func (c *_VisibilityAPIYARPCCaller) ScanWorkflowExecutions(ctx context.Context, request *ScanWorkflowExecutionsRequest, options ...yarpc.CallOption) (*ScanWorkflowExecutionsResponse, error) { + responseMessage, err := c.streamClient.Call(ctx, "ScanWorkflowExecutions", request, newVisibilityAPIServiceScanWorkflowExecutionsYARPCResponse, options...) + if responseMessage == nil { + return nil, err + } + response, ok := responseMessage.(*ScanWorkflowExecutionsResponse) + if !ok { + return nil, protobuf.CastError(emptyVisibilityAPIServiceScanWorkflowExecutionsYARPCResponse, responseMessage) + } + return response, err +} + +func (c *_VisibilityAPIYARPCCaller) CountWorkflowExecutions(ctx context.Context, request *CountWorkflowExecutionsRequest, options ...yarpc.CallOption) (*CountWorkflowExecutionsResponse, error) { + responseMessage, err := c.streamClient.Call(ctx, "CountWorkflowExecutions", request, newVisibilityAPIServiceCountWorkflowExecutionsYARPCResponse, options...) + if responseMessage == nil { + return nil, err + } + response, ok := responseMessage.(*CountWorkflowExecutionsResponse) + if !ok { + return nil, protobuf.CastError(emptyVisibilityAPIServiceCountWorkflowExecutionsYARPCResponse, responseMessage) + } + return response, err +} + +func (c *_VisibilityAPIYARPCCaller) GetSearchAttributes(ctx context.Context, request *GetSearchAttributesRequest, options ...yarpc.CallOption) (*GetSearchAttributesResponse, error) { + responseMessage, err := c.streamClient.Call(ctx, "GetSearchAttributes", request, newVisibilityAPIServiceGetSearchAttributesYARPCResponse, options...) + if responseMessage == nil { + return nil, err + } + response, ok := responseMessage.(*GetSearchAttributesResponse) + if !ok { + return nil, protobuf.CastError(emptyVisibilityAPIServiceGetSearchAttributesYARPCResponse, responseMessage) + } + return response, err +} + +type _VisibilityAPIYARPCHandler struct { + server VisibilityAPIYARPCServer +} + +func (h *_VisibilityAPIYARPCHandler) ListWorkflowExecutions(ctx context.Context, requestMessage proto.Message) (proto.Message, error) { + var request *ListWorkflowExecutionsRequest + var ok bool + if requestMessage != nil { + request, ok = requestMessage.(*ListWorkflowExecutionsRequest) + if !ok { + return nil, protobuf.CastError(emptyVisibilityAPIServiceListWorkflowExecutionsYARPCRequest, requestMessage) + } + } + response, err := h.server.ListWorkflowExecutions(ctx, request) + if response == nil { + return nil, err + } + return response, err +} + +func (h *_VisibilityAPIYARPCHandler) ListOpenWorkflowExecutions(ctx context.Context, requestMessage proto.Message) (proto.Message, error) { + var request *ListOpenWorkflowExecutionsRequest + var ok bool + if requestMessage != nil { + request, ok = requestMessage.(*ListOpenWorkflowExecutionsRequest) + if !ok { + return nil, protobuf.CastError(emptyVisibilityAPIServiceListOpenWorkflowExecutionsYARPCRequest, requestMessage) + } + } + response, err := h.server.ListOpenWorkflowExecutions(ctx, request) + if response == nil { + return nil, err + } + return response, err +} + +func (h *_VisibilityAPIYARPCHandler) ListClosedWorkflowExecutions(ctx context.Context, requestMessage proto.Message) (proto.Message, error) { + var request *ListClosedWorkflowExecutionsRequest + var ok bool + if requestMessage != nil { + request, ok = requestMessage.(*ListClosedWorkflowExecutionsRequest) + if !ok { + return nil, protobuf.CastError(emptyVisibilityAPIServiceListClosedWorkflowExecutionsYARPCRequest, requestMessage) + } + } + response, err := h.server.ListClosedWorkflowExecutions(ctx, request) + if response == nil { + return nil, err + } + return response, err +} + +func (h *_VisibilityAPIYARPCHandler) ListArchivedWorkflowExecutions(ctx context.Context, requestMessage proto.Message) (proto.Message, error) { + var request *ListArchivedWorkflowExecutionsRequest + var ok bool + if requestMessage != nil { + request, ok = requestMessage.(*ListArchivedWorkflowExecutionsRequest) + if !ok { + return nil, protobuf.CastError(emptyVisibilityAPIServiceListArchivedWorkflowExecutionsYARPCRequest, requestMessage) + } + } + response, err := h.server.ListArchivedWorkflowExecutions(ctx, request) + if response == nil { + return nil, err + } + return response, err +} + +func (h *_VisibilityAPIYARPCHandler) ScanWorkflowExecutions(ctx context.Context, requestMessage proto.Message) (proto.Message, error) { + var request *ScanWorkflowExecutionsRequest + var ok bool + if requestMessage != nil { + request, ok = requestMessage.(*ScanWorkflowExecutionsRequest) + if !ok { + return nil, protobuf.CastError(emptyVisibilityAPIServiceScanWorkflowExecutionsYARPCRequest, requestMessage) + } + } + response, err := h.server.ScanWorkflowExecutions(ctx, request) + if response == nil { + return nil, err + } + return response, err +} + +func (h *_VisibilityAPIYARPCHandler) CountWorkflowExecutions(ctx context.Context, requestMessage proto.Message) (proto.Message, error) { + var request *CountWorkflowExecutionsRequest + var ok bool + if requestMessage != nil { + request, ok = requestMessage.(*CountWorkflowExecutionsRequest) + if !ok { + return nil, protobuf.CastError(emptyVisibilityAPIServiceCountWorkflowExecutionsYARPCRequest, requestMessage) + } + } + response, err := h.server.CountWorkflowExecutions(ctx, request) + if response == nil { + return nil, err + } + return response, err +} + +func (h *_VisibilityAPIYARPCHandler) GetSearchAttributes(ctx context.Context, requestMessage proto.Message) (proto.Message, error) { + var request *GetSearchAttributesRequest + var ok bool + if requestMessage != nil { + request, ok = requestMessage.(*GetSearchAttributesRequest) + if !ok { + return nil, protobuf.CastError(emptyVisibilityAPIServiceGetSearchAttributesYARPCRequest, requestMessage) + } + } + response, err := h.server.GetSearchAttributes(ctx, request) + if response == nil { + return nil, err + } + return response, err +} + +func newVisibilityAPIServiceListWorkflowExecutionsYARPCRequest() proto.Message { + return &ListWorkflowExecutionsRequest{} +} + +func newVisibilityAPIServiceListWorkflowExecutionsYARPCResponse() proto.Message { + return &ListWorkflowExecutionsResponse{} +} + +func newVisibilityAPIServiceListOpenWorkflowExecutionsYARPCRequest() proto.Message { + return &ListOpenWorkflowExecutionsRequest{} +} + +func newVisibilityAPIServiceListOpenWorkflowExecutionsYARPCResponse() proto.Message { + return &ListOpenWorkflowExecutionsResponse{} +} + +func newVisibilityAPIServiceListClosedWorkflowExecutionsYARPCRequest() proto.Message { + return &ListClosedWorkflowExecutionsRequest{} +} + +func newVisibilityAPIServiceListClosedWorkflowExecutionsYARPCResponse() proto.Message { + return &ListClosedWorkflowExecutionsResponse{} +} + +func newVisibilityAPIServiceListArchivedWorkflowExecutionsYARPCRequest() proto.Message { + return &ListArchivedWorkflowExecutionsRequest{} +} + +func newVisibilityAPIServiceListArchivedWorkflowExecutionsYARPCResponse() proto.Message { + return &ListArchivedWorkflowExecutionsResponse{} +} + +func newVisibilityAPIServiceScanWorkflowExecutionsYARPCRequest() proto.Message { + return &ScanWorkflowExecutionsRequest{} +} + +func newVisibilityAPIServiceScanWorkflowExecutionsYARPCResponse() proto.Message { + return &ScanWorkflowExecutionsResponse{} +} + +func newVisibilityAPIServiceCountWorkflowExecutionsYARPCRequest() proto.Message { + return &CountWorkflowExecutionsRequest{} +} + +func newVisibilityAPIServiceCountWorkflowExecutionsYARPCResponse() proto.Message { + return &CountWorkflowExecutionsResponse{} +} + +func newVisibilityAPIServiceGetSearchAttributesYARPCRequest() proto.Message { + return &GetSearchAttributesRequest{} +} + +func newVisibilityAPIServiceGetSearchAttributesYARPCResponse() proto.Message { + return &GetSearchAttributesResponse{} +} + +var ( + emptyVisibilityAPIServiceListWorkflowExecutionsYARPCRequest = &ListWorkflowExecutionsRequest{} + emptyVisibilityAPIServiceListWorkflowExecutionsYARPCResponse = &ListWorkflowExecutionsResponse{} + emptyVisibilityAPIServiceListOpenWorkflowExecutionsYARPCRequest = &ListOpenWorkflowExecutionsRequest{} + emptyVisibilityAPIServiceListOpenWorkflowExecutionsYARPCResponse = &ListOpenWorkflowExecutionsResponse{} + emptyVisibilityAPIServiceListClosedWorkflowExecutionsYARPCRequest = &ListClosedWorkflowExecutionsRequest{} + emptyVisibilityAPIServiceListClosedWorkflowExecutionsYARPCResponse = &ListClosedWorkflowExecutionsResponse{} + emptyVisibilityAPIServiceListArchivedWorkflowExecutionsYARPCRequest = &ListArchivedWorkflowExecutionsRequest{} + emptyVisibilityAPIServiceListArchivedWorkflowExecutionsYARPCResponse = &ListArchivedWorkflowExecutionsResponse{} + emptyVisibilityAPIServiceScanWorkflowExecutionsYARPCRequest = &ScanWorkflowExecutionsRequest{} + emptyVisibilityAPIServiceScanWorkflowExecutionsYARPCResponse = &ScanWorkflowExecutionsResponse{} + emptyVisibilityAPIServiceCountWorkflowExecutionsYARPCRequest = &CountWorkflowExecutionsRequest{} + emptyVisibilityAPIServiceCountWorkflowExecutionsYARPCResponse = &CountWorkflowExecutionsResponse{} + emptyVisibilityAPIServiceGetSearchAttributesYARPCRequest = &GetSearchAttributesRequest{} + emptyVisibilityAPIServiceGetSearchAttributesYARPCResponse = &GetSearchAttributesResponse{} +) + +var yarpcFileDescriptorClosurea7341dc69cef4364 = [][]byte{ + // uber/cadence/api/v1/service_visibility.proto + []byte{ + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x57, 0xcf, 0x6f, 0xe3, 0x54, + 0x10, 0xe6, 0x25, 0x9b, 0x76, 0x33, 0xdd, 0xd2, 0xe5, 0xed, 0x6a, 0x37, 0xf2, 0x2e, 0x4b, 0xd6, + 0x74, 0x97, 0x08, 0xad, 0x6c, 0x9a, 0x45, 0xec, 0xd2, 0x9e, 0xd2, 0x55, 0xa1, 0x2d, 0xa8, 0x44, + 0x4e, 0x55, 0x04, 0x07, 0x22, 0xc7, 0x99, 0xa6, 0x4f, 0x49, 0x6c, 0xd7, 0xef, 0x39, 0x8d, 0x7b, + 0x43, 0xea, 0x95, 0x0b, 0x70, 0x80, 0x8a, 0x7f, 0x09, 0x89, 0x33, 0x7f, 0x0d, 0xf2, 0x8f, 0x58, + 0x29, 0x3c, 0x3b, 0x4d, 0x0f, 0x84, 0x03, 0xb7, 0xcc, 0x64, 0xe6, 0xf3, 0x37, 0xe3, 0xf1, 0xf7, + 0xe6, 0xc1, 0x0b, 0xbf, 0x83, 0x9e, 0x6e, 0x99, 0x5d, 0xb4, 0x2d, 0xd4, 0x4d, 0x97, 0xe9, 0xa3, + 0x0d, 0x9d, 0xa3, 0x37, 0x62, 0x16, 0xb6, 0x47, 0x8c, 0xb3, 0x0e, 0x1b, 0x30, 0x11, 0x68, 0xae, + 0xe7, 0x08, 0x87, 0xde, 0x0b, 0xa3, 0xb5, 0x24, 0x5a, 0x33, 0x5d, 0xa6, 0x8d, 0x36, 0x94, 0x75, + 0x19, 0xc4, 0xdf, 0x53, 0x15, 0x55, 0x16, 0x75, 0xe6, 0x78, 0xfd, 0x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9, 0x55, + 0x26, 0x63, 0x8a, 0x72, 0x75, 0x32, 0x63, 0x8a, 0x66, 0xc8, 0xd8, 0x05, 0x81, 0x87, 0x19, 0x1a, + 0x40, 0xe5, 0x80, 0xf9, 0x0a, 0xa4, 0x7c, 0x3c, 0x5f, 0x52, 0x42, 0x63, 0x0c, 0xf7, 0x24, 0x5f, + 0x3c, 0xd5, 0xaf, 0xaf, 0x0d, 0xf1, 0xd3, 0x3f, 0x9a, 0x57, 0x4c, 0xb6, 0x8f, 0xe0, 0xa1, 0xe5, + 0x0c, 0x65, 0x69, 0xdb, 0xb7, 0x1b, 0x2e, 0x6b, 0x86, 0xd7, 0xb3, 0x26, 0xf9, 0x56, 0xef, 0x31, + 0x71, 0xe2, 0x77, 0x34, 0xcb, 0x19, 0xea, 0x57, 0xee, 0x73, 0x5a, 0x0f, 0x6d, 0x3d, 0xba, 0xc4, + 0x25, 0x57, 0xbb, 0x2d, 0xd3, 0x65, 0xa3, 0x8d, 0xce, 0x52, 0xe4, 0x7b, 0xf9, 0x57, 0x00, 0x00, + 0x00, 0xff, 0xff, 0x82, 0xaf, 0xe9, 0xac, 0x67, 0x0e, 0x00, 0x00, + }, + // uber/cadence/api/v1/visibility.proto + []byte{ + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0xcd, 0x6e, 0xd3, 0x40, + 0x14, 0x85, 0x71, 0x68, 0x23, 0xb8, 0x29, 0x60, 0x0d, 0x82, 0x80, 0x2b, 0x08, 0xb2, 0x58, 0x54, + 0x2c, 0xc6, 0x4a, 0x59, 0x76, 0x81, 0x12, 0x3c, 0xa0, 0x11, 0x21, 0x09, 0x8e, 0x9b, 0x12, 0x36, + 0xd6, 0xd8, 0x9e, 0x86, 0x11, 0xb6, 0xc7, 0xb2, 0xc7, 0x6e, 0xfb, 0x14, 0xbc, 0x27, 0x4f, 0x81, + 0xfc, 0x87, 0x84, 0x70, 0xc5, 0xce, 0x3e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0xf6, 0x6e, 0xcf, 0x58, 0x2a, 0xca, 0xa9, 0x3f, 0xac, 0xb5, 0xb7, 0xbf, 0x03, 0x00, 0x00, 0xff, + 0xff, 0xd7, 0x22, 0x00, 0x73, 0x37, 0x03, 0x00, 0x00, + }, + // google/protobuf/timestamp.proto + []byte{ + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4f, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x2f, 0x28, 0xca, 0x2f, 0xc9, 0x4f, 0x2a, 0x4d, 0xd3, 0x2f, 0xc9, 0xcc, 0x4d, + 0x2d, 0x2e, 0x49, 0xcc, 0x2d, 0xd0, 0x03, 0x0b, 0x09, 0xf1, 0x43, 0x14, 0xe8, 0xc1, 0x14, 0x28, + 0x59, 0x73, 0x71, 0x86, 0xc0, 0xd4, 0x08, 0x49, 0x70, 0xb1, 0x17, 0xa7, 0x26, 0xe7, 0xe7, 0xa5, + 0x14, 0x4b, 0x30, 0x2a, 0x30, 0x6a, 0x30, 0x07, 0xc1, 0xb8, 0x42, 0x22, 0x5c, 0xac, 0x79, 0x89, + 0x79, 0xf9, 0xc5, 0x12, 0x4c, 0x0a, 0x8c, 0x1a, 0xac, 0x41, 0x10, 0x8e, 0x53, 0x2b, 0x23, 0x97, + 0x70, 0x72, 0x7e, 0xae, 0x1e, 0x9a, 0xa1, 0x4e, 0x7c, 0x70, 0x23, 0x03, 0x40, 0x42, 0x01, 0x8c, + 0x51, 0x46, 0x50, 0x25, 0xe9, 0xf9, 0x39, 0x89, 0x79, 0xe9, 0x7a, 0xf9, 0x45, 0xe9, 0x48, 0x6e, + 0xac, 0x2c, 0x48, 0x2d, 0xd6, 0xcf, 0xce, 0xcb, 0x2f, 0xcf, 0x43, 0xb8, 0xb7, 0x20, 0xe9, 0x07, + 0x23, 0xe3, 0x22, 0x26, 0x66, 0xf7, 0x00, 0xa7, 0x55, 0x4c, 0x72, 0xee, 0x10, 0xdd, 0x01, 0x50, + 0x2d, 0x7a, 0xe1, 0xa9, 0x39, 0x39, 0xde, 0x20, 0x0d, 0x21, 0x20, 0xbd, 0x49, 0x6c, 0x60, 0xb3, + 0x8c, 0x01, 0x01, 0x00, 0x00, 0xff, 0xff, 0xae, 0x65, 0xce, 0x7d, 0xff, 0x00, 0x00, 0x00, + }, + // uber/cadence/api/v1/workflow.proto + []byte{ + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x59, 0x4d, 0x6f, 0xdb, 0xca, + 0xd5, 0x7e, 0x29, 0xd9, 0x8e, 0x7d, 0xe4, 0x0f, 0x7a, 0x1c, 0xc7, 0xca, 0xb7, 0xa3, 0xfb, 0x26, + 0x71, 0xd4, 0x1b, 0xf9, 0x3a, 0xb9, 0xb9, 0x69, 0x6e, 0x9a, 0xa6, 0x34, 0x49, 0xc7, 0x4c, 0x64, + 0x4a, 0x1d, 0x51, 0x71, 0x7c, 0x51, 0x94, 0xa0, 0xa5, 0xb1, 0x4d, 0x44, 0x22, 0x05, 0x72, 0x94, + 0xc4, 0xfb, 0x02, 0x5d, 0x77, 0x57, 0xb4, 0x9b, 0xfe, 0x80, 0x02, 0x45, 0x7f, 0x40, 0xd1, 0xa2, + 0x8b, 0xee, 0xba, 0xed, 0xb2, 0xfb, 0xfe, 0x8b, 0x62, 0x86, 0x43, 0x89, 0xb2, 0x3e, 0xa8, 0xb4, + 0xc0, 0xed, 0xce, 0x3c, 0x7c, 0x9e, 0x87, 0x67, 0xce, 0x9c, 0xf3, 0x70, 0x68, 0x41, 0xa1, 0x7b, + 0x4c, 0x82, 0xed, 0x86, 0xd3, 0x24, 0x5e, 0x83, 0x6c, 0x3b, 0x1d, 0x77, 0xfb, 0xc3, 0xce, 0xf6, + 0x47, 0x3f, 0x78, 0x7f, 0xd2, 0xf2, 0x3f, 0x96, 0x3a, 0x81, 0x4f, 0x7d, 0xb4, 0xc6, 0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a0, 0xaf, 0xe1, 0xab, 0xf4, 0xc4, + 0x4d, 0xcb, 0x30, 0xeb, 0xba, 0x66, 0x2b, 0x35, 0xdb, 0xd4, 0x0f, 0xe5, 0xd9, 0x69, 0x96, 0x6b, + 0x19, 0x07, 0xac, 0x3f, 0xeb, 0x96, 0x3c, 0x57, 0xfc, 0xb3, 0x04, 0x57, 0x54, 0xdf, 0xa3, 0xae, + 0xd7, 0x25, 0x4a, 0x68, 0x92, 0x8f, 0x46, 0x74, 0x9e, 0xf1, 0x03, 0x74, 0x17, 0xee, 0xc4, 0xfa, + 0x42, 0xde, 0x36, 0x4c, 0xc3, 0x32, 0x14, 0xab, 0x82, 0x13, 0xf5, 0x9d, 0x08, 0x63, 0x03, 0xa9, + 0xe9, 0x38, 0xaa, 0xeb, 0x78, 0x18, 0xd6, 0x2d, 0x7c, 0x24, 0x5a, 0x21, 0x72, 0x98, 0xf1, 0x58, + 0x15, 0xb3, 0xf9, 0x16, 0xf3, 0x2f, 0x67, 0x8b, 0xbf, 0x97, 0x20, 0x27, 0xbe, 0x45, 0xf9, 0xa7, + 0x4a, 0x1e, 0x2e, 0xb3, 0x05, 0x56, 0xea, 0x96, 0x6d, 0x1d, 0x55, 0xf5, 0xc1, 0x1e, 0x1e, 0xb8, + 0xc3, 0xed, 0xc1, 0xb6, 0x2a, 0x51, 0x75, 0x22, 0x27, 0x19, 0x04, 0x88, 0xa7, 0x30, 0x0c, 0x07, + 0xcb, 0x99, 0x89, 0x98, 0x48, 0x27, 0x8b, 0xae, 0xc1, 0x95, 0x01, 0xcc, 0xbe, 0xae, 0x60, 0x6b, + 0x57, 0x57, 0x2c, 0x79, 0xa6, 0xf8, 0x1b, 0x09, 0xae, 0xc6, 0x4e, 0x68, 0xb1, 0x17, 0xab, 0xdb, + 0x26, 0xcd, 0x4a, 0x97, 0xaa, 0x4e, 0x37, 0x24, 0xe8, 0x01, 0xdc, 0xed, 0x79, 0x98, 0xa5, 0xd4, + 0xde, 0xf4, 0xf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, 0xcc, 0xcf, 0xd3, 0x03, 0x8b, 0x08, 0xf1, 0x43, 0xe4, 0xf5, 0x60, 0xf2, 0x4a, 0x56, + 0x5c, 0x1c, 0x2e, 0x50, 0x25, 0x42, 0x12, 0x5c, 0xec, 0xc5, 0xa9, 0xc9, 0xf9, 0x79, 0x29, 0xc5, + 0x12, 0x8c, 0x0a, 0x8c, 0x1a, 0xcc, 0x41, 0x30, 0xae, 0x90, 0x08, 0x17, 0x6b, 0x5e, 0x62, 0x5e, + 0x7e, 0xb1, 0x04, 0x93, 0x02, 0xa3, 0x06, 0x6b, 0x10, 0x84, 0xe3, 0xd4, 0xcc, 0xc8, 0x25, 0x9c, + 0x9c, 0x9f, 0xab, 0x87, 0x66, 0xa6, 0x13, 0x2f, 0xcc, 0xc4, 0x00, 0x90, 0x48, 0x00, 0x63, 0x94, + 0x21, 0x54, 0x45, 0x7a, 0x7e, 0x4e, 0x62, 0x5e, 0xba, 0x5e, 0x7e, 0x51, 0x3a, 0xc2, 0x81, 0x25, + 0x95, 0x05, 0xa9, 0xc5, 0xfa, 0xd9, 0x79, 0xf9, 0xe5, 0x79, 0x70, 0xc7, 0x16, 0x24, 0xfd, 0x60, + 0x64, 0x5c, 0xc4, 0xc4, 0xec, 0x1e, 0xe0, 0xb4, 0x8a, 0x49, 0xce, 0x1d, 0xa2, 0x39, 0x00, 0xaa, + 0x43, 0x2f, 0x3c, 0x35, 0x27, 0xc7, 0x1b, 0xa4, 0x3e, 0x04, 0xa4, 0x35, 0x89, 0x0d, 0x6c, 0x94, + 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0xef, 0x8a, 0xb4, 0xc3, 0xfb, 0x00, 0x00, 0x00, + }, + // uber/cadence/api/v1/common.proto + []byte{ + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x55, 0x4f, 0x6f, 0xdb, 0x36, + 0x14, 0x9f, 0xe2, 0xda, 0x49, 0x9f, 0xdd, 0xd4, 0x63, 0xd6, 0xd4, 0xc9, 0xfe, 0x79, 0x06, 0x86, + 0x66, 0x3b, 0x48, 0x88, 0x7b, 0x29, 0x56, 0x14, 0x83, 0x13, 0x3b, 0xab, 0xda, 0x2d, 0x31, 0x64, + 0x23, 0xc1, 0x76, 0x98, 0x40, 0x4b, 0x4f, 0x2e, 0x67, 0x89, 0x14, 0x28, 0xca, 0x89, 0x6f, 0xfb, + 0x24, 0x3b, 0xec, 0x2b, 0xed, 0x0b, 0x0d, 0x94, 0xe8, 0xd8, 0xee, 0x3c, 0xf4, 0x32, 0xec, 0x46, + 0xbe, 0xdf, 0x9f, 0xf7, 0xa3, 0xf0, 0x48, 0x41, 0x3b, 0x9f, 0xa0, 0x74, 0x02, 0x1a, 0x22, 0x0f, + 0xd0, 0xa1, 0x29, 0x73, 0xe6, 0xa7, 0x4e, 0x20, 0x92, 0x44, 0x70, 0x3b, 0x95, 0x42, 0x09, 0x72, + 0xa0, 0x19, 0xb6, 0x61, 0xd8, 0x34, 0x65, 0xf6, 0xfc, 0xf4, 0xf8, 0x8b, 0xa9, 0x10, 0xd3, 0x18, + 0x9d, 0x82, 0x32, 0xc9, 0x23, 0x27, 0xcc, 0x25, 0x55, 0x6c, 0x29, 0xea, 0xbc, 0x85, 0x8f, 0x6f, + 0x84, 0x9c, 0x45, 0xb1, 0xb8, 0x1d, 0xdc, 0x61, 0x90, 0x6b, 0x88, 0x7c, 0x09, 0xf5, 0x5b, 0x53, + 0xf4, 0x59, 0xd8, 0xb2, 0xda, 0xd6, 0xc9, 0x43, 0x0f, 0x96, 0x25, 0x37, 0x24, 0x4f, 0xa0, 0x26, + 0x73, 0xae, 0xb1, 0x9d, 0x02, 0xab, 0xca, 0x9c, 0xbb, 0x61, 0xa7, 0x03, 0x8d, 0xa5, 0xd9, 0x78, + 0x91, 0x22, 0x21, 0xf0, 0x80, 0xd3, 0x04, 0x8d, 0x41, 0xb1, 0xd6, 0x9c, 0x5e, 0xa0, 0xd8, 0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, 0x40, 0x24, 0xdb, 0x86, 0xfc, 0x6c, 0xaf, 0x97, 0xb2, 0xa1, 0x4e, 0x3f, 0xb4, 0x7e, 0x71, + 0xa6, 0x4c, 0xbd, 0xcb, 0x27, 0x76, 0x20, 0x12, 0x67, 0xe3, 0xc7, 0x64, 0x4f, 0x91, 0x97, 0x3f, + 0x1b, 0xf3, 0x8f, 0x7a, 0x49, 0x53, 0x36, 0x3f, 0x9d, 0xd4, 0x8a, 0xda, 0xf3, 0xbf, 0x03, 0x00, + 0x00, 0xff, 0xff, 0xdc, 0x8c, 0x77, 0x9a, 0xc7, 0x06, 0x00, 0x00, + }, + // uber/cadence/api/v1/tasklist.proto + []byte{ + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x54, 0xdd, 0x6e, 0xdb, 0x36, + 0x14, 0x9e, 0xe2, 0xb4, 0x73, 0x98, 0x25, 0xd5, 0xb8, 0xb5, 0x8d, 0xdd, 0x75, 0xcb, 0x74, 0x51, + 0x04, 0xc5, 0x20, 0x21, 0x19, 0x76, 0xb5, 0x8b, 0xc1, 0x89, 0x83, 0x55, 0x88, 0xe3, 0x1a, 0x92, + 0x1a, 0x20, 0xbb, 0xe1, 0x28, 0xf1, 0xd4, 0x21, 0xf4, 0x43, 0x81, 0xa4, 0x92, 0xf8, 0x45, 0xf6, + 0x30, 0x7b, 0xa2, 0x3d, 0xc6, 0x40, 0x4a, 0xf6, 0xdc, 0xc4, 0xeb, 0x1d, 0x79, 0xbe, 0xf3, 0x9d, + 0x9f, 0x8f, 0xe7, 0x10, 0x79, 0x4d, 0x0a, 0x32, 0xc8, 0x28, 0x83, 0x2a, 0x83, 0x80, 0xd6, 0x3c, + 0xb8, 0x3d, 0x0e, 0x34, 0x55, 0x79, 0xc1, 0x95, 0xf6, 0x6b, 0x29, 0xb4, 0xc0, 0xdf, 0x18, 0x1f, + 0xbf, 0xf3, 0xf1, 0x69, 0xcd, 0xfd, 0x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 0x59, 0xf3, 0x3b, 0xa1, + 0xf4, 0x94, 0x96, 0xe0, 0xfd, 0xe3, 0xa0, 0xfd, 0x65, 0xdc, 0x58, 0x53, 0xdd, 0x28, 0xfc, 0x13, + 0xc2, 0x29, 0xcd, 0xf2, 0x42, 0xcc, 0x49, 0x26, 0x9a, 0x4a, 0x93, 0x1b, 0x5e, 0x69, 0x1b, 0xbb, + 0x17, 0xb9, 0x1d, 0x72, 0x66, 0x80, 0x77, 0xbc, 0xd2, 0xf8, 0x35, 0x42, 0x12, 0x28, 0x23, 0x05, + 0xdc, 0x42, 0x61, 0x73, 0xf4, 0xa2, 0x1d, 0x63, 0x99, 0x18, 0x03, 0x7e, 0x85, 0x76, 0x68, 0x96, + 0x77, 0x68, 0xcf, 0xa2, 0x7d, 0x9a, 0xe5, 0x2d, 0xf8, 0x06, 0x3d, 0x93, 0x54, 0xc3, 0xba, 0x3a, + 0xdb, 0x87, 0xce, 0x91, 0x13, 0xed, 0x19, 0xf3, 0xaa, 0x77, 0x3c, 0x46, 0x7b, 0x46, 0x46, 0xc2, + 0x19, 0x49, 0x0b, 0x91, 0xe5, 0x07, 0x4f, 0xac, 0x86, 0x87, 0xff, 0xfb, 0x3c, 0xe1, 0xf8, 0xd4, + 0xf8, 0x45, 0xbb, 0x86, 0x16, 0x32, 0x7b, 0xf1, 0x7e, 0x43, 0xbb, 0x6b, 0x18, 0x1e, 0xa0, 0xbe, + 0xd2, 0x54, 0x6a, 0xc2, 0x59, 0xd7, 0xdc, 0x97, 0xf6, 0x1e, 0x32, 0xfc, 0x1c, 0x3d, 0x85, 0x8a, + 0x19, 0xa0, 0xed, 0xe7, 0x09, 0x54, 0x2c, 0x64, 0xde, 0x5f, 0x0e, 0x42, 0x33, 0x51, 0x14, 0x20, + 0xc3, 0xea, 0xa3, 0xc0, 0x63, 0xe4, 0x16, 0x54, 0x69, 0x42, 0xb3, 0x0c, 0x94, 0x22, 0x66, 0x14, + 0xbb, 0xc7, 0x1d, 0x3e,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4, 0xf2, 0x01, 0x36, 0x3e, 0x3f, 0x0b, 0xe3, 0xf0, 0xfd, + 0xd4, 0x75, 0x36, 0x80, 0xa3, 0xb3, 0x24, 0xbc, 0x0a, 0x93, 0x6b, 0x77, 0xeb, 0xf4, 0x0a, 0xbd, + 0xcc, 0x44, 0xb9, 0x49, 0xd1, 0xd3, 0xfe, 0xa8, 0xe6, 0x33, 0x23, 0xc8, 0xcc, 0xf9, 0x23, 0x98, + 0x73, 0x7d, 0xd3, 0xa4, 0x7e, 0x26, 0xca, 0xe0, 0x93, 0x6f, 0xd2, 0x9f, 0x43, 0xd5, 0xfe, 0x5b, + 0xdd, 0x8f, 0xf9, 0x2b, 0xad, 0xf9, 0xed, 0x71, 0xfa, 0xd4, 0xda, 0x7e, 0xfe, 0x37, 0x00, 0x00, + 0xff, 0xff, 0x58, 0x62, 0x2b, 0xbf, 0x55, 0x05, 0x00, 0x00, + }, + // google/protobuf/wrappers.proto + []byte{ + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4b, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x2f, 0x28, 0xca, 0x2f, 0xc9, 0x4f, 0x2a, 0x4d, 0xd3, 0x2f, 0x2f, 0x4a, 0x2c, + 0x28, 0x48, 0x2d, 0x2a, 0xd6, 0x03, 0x8b, 0x08, 0xf1, 0x43, 0xe4, 0xf5, 0x60, 0xf2, 0x4a, 0xca, + 0x5c, 0xdc, 0x2e, 0xf9, 0xa5, 0x49, 0x39, 0xa9, 0x61, 0x89, 0x39, 0xa5, 0xa9, 0x42, 0x22, 0x5c, + 0xac, 0x65, 0x20, 0x86, 0x04, 0xa3, 0x02, 0xa3, 0x06, 0x63, 0x10, 0x84, 0xa3, 0xa4, 0xc4, 0xc5, + 0xe5, 0x96, 0x93, 0x9f, 0x58, 0x82, 0x45, 0x0d, 0x13, 0x92, 0x1a, 0xcf, 0xbc, 0x12, 0x33, 0x13, + 0x2c, 0x6a, 0x98, 0x61, 0x6a, 0x94, 0xb9, 0xb8, 0x43, 0x71, 0x29, 0x62, 0x41, 0x35, 0xc8, 0xd8, + 0x08, 0x8b, 0x1a, 0x56, 0x34, 0x83, 0xb0, 0x2a, 0xe2, 0x85, 0x29, 0x52, 0xe4, 0xe2, 0x74, 0xca, + 0xcf, 0xcf, 0xc1, 0xa2, 0x84, 0x03, 0xc9, 0x9c, 0xe0, 0x92, 0xa2, 0xcc, 0xbc, 0x74, 0x2c, 0x8a, + 0x38, 0x91, 0x1c, 0xe4, 0x54, 0x59, 0x92, 0x5a, 0x8c, 0x45, 0x0d, 0x0f, 0x54, 0x8d, 0x53, 0x33, + 0x23, 0x97, 0x70, 0x72, 0x7e, 0xae, 0x1e, 0x5a, 0xf0, 0x3a, 0xf1, 0x86, 0x43, 0xc3, 0x3f, 0x00, + 0x24, 0x12, 0xc0, 0x18, 0x65, 0x08, 0x55, 0x91, 0x9e, 0x9f, 0x93, 0x98, 0x97, 0xae, 0x97, 0x5f, + 0x94, 0x8e, 0x88, 0xab, 0x92, 0xca, 0x82, 0xd4, 0x62, 0xfd, 0xec, 0xbc, 0xfc, 0xf2, 0x3c, 0x78, + 0xbc, 0x15, 0x24, 0xfd, 0x60, 0x64, 0x5c, 0xc4, 0xc4, 0xec, 0x1e, 0xe0, 0xb4, 0x8a, 0x49, 0xce, + 0x1d, 0xa2, 0x39, 0x00, 0xaa, 0x43, 0x2f, 0x3c, 0x35, 0x27, 0xc7, 0x1b, 0xa4, 0x3e, 0x04, 0xa4, + 0x35, 0x89, 0x0d, 0x6c, 0x94, 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0x3c, 0x92, 0x48, 0x30, 0x06, + 0x02, 0x00, 0x00, + }, +} + +func init() { + yarpc.RegisterClientBuilder( + func(clientConfig transport.ClientConfig, structField reflect.StructField) VisibilityAPIYARPCClient { + return NewVisibilityAPIYARPCClient(clientConfig, protobuf.ClientBuilderOptions(clientConfig, structField)...) + }, + ) +} diff --git a/go/proto/api/v1/service_worker.pb.go b/go/proto/api/v1/service_worker.pb.go new file mode 100644 index 0000000..8bd299c --- /dev/null +++ b/go/proto/api/v1/service_worker.pb.go @@ -0,0 +1,9376 @@ +// The MIT License (MIT) +// +// Copyright (c) 2021 Uber Technologies, Inc. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +// SOFTWARE. + +// Code generated by protoc-gen-gogo. DO NOT EDIT. +// source: uber/cadence/api/v1/service_worker.proto + +package apiv1 + +import ( + fmt "fmt" + proto "github.com/gogo/protobuf/proto" + types "github.com/gogo/protobuf/types" + io "io" + math "math" + math_bits "math/bits" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package + +type PollForDecisionTaskRequest struct { + Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` + TaskList *TaskList `protobuf:"bytes,2,opt,name=task_list,json=taskList,proto3" json:"task_list,omitempty"` + Identity string `protobuf:"bytes,3,opt,name=identity,proto3" json:"identity,omitempty"` + BinaryChecksum string `protobuf:"bytes,4,opt,name=binary_checksum,json=binaryChecksum,proto3" json:"binary_checksum,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *PollForDecisionTaskRequest) Reset() { *m = PollForDecisionTaskRequest{} } +func (m *PollForDecisionTaskRequest) String() string { return proto.CompactTextString(m) } +func (*PollForDecisionTaskRequest) ProtoMessage() {} +func (*PollForDecisionTaskRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_00684e887839a48c, []int{0} +} +func (m *PollForDecisionTaskRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *PollForDecisionTaskRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_PollForDecisionTaskRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *PollForDecisionTaskRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_PollForDecisionTaskRequest.Merge(m, src) +} +func (m *PollForDecisionTaskRequest) XXX_Size() int { + return m.Size() +} +func (m *PollForDecisionTaskRequest) XXX_DiscardUnknown() { + xxx_messageInfo_PollForDecisionTaskRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_PollForDecisionTaskRequest proto.InternalMessageInfo + +func (m *PollForDecisionTaskRequest) GetDomain() string { + if m != nil { + return m.Domain + } + return "" +} + +func (m *PollForDecisionTaskRequest) GetTaskList() *TaskList { + if m != nil { + return m.TaskList + } + return nil +} + +func (m *PollForDecisionTaskRequest) GetIdentity() string { + if m != nil { + return m.Identity + } + return "" +} + +func (m *PollForDecisionTaskRequest) GetBinaryChecksum() string { + if m != nil { + return m.BinaryChecksum + } + return "" +} + +type PollForDecisionTaskResponse struct { + TaskToken []byte `protobuf:"bytes,1,opt,name=task_token,json=taskToken,proto3" json:"task_token,omitempty"` + WorkflowExecution *WorkflowExecution `protobuf:"bytes,2,opt,name=workflow_execution,json=workflowExecution,proto3" json:"workflow_execution,omitempty"` + WorkflowType *WorkflowType `protobuf:"bytes,3,opt,name=workflow_type,json=workflowType,proto3" json:"workflow_type,omitempty"` + PreviousStartedEventId *types.Int64Value `protobuf:"bytes,4,opt,name=previous_started_event_id,json=previousStartedEventId,proto3" json:"previous_started_event_id,omitempty"` + StartedEventId int64 `protobuf:"varint,5,opt,name=started_event_id,json=startedEventId,proto3" json:"started_event_id,omitempty"` + Attempt int64 `protobuf:"varint,6,opt,name=attempt,proto3" json:"attempt,omitempty"` + BacklogCountHint int64 `protobuf:"varint,7,opt,name=backlog_count_hint,json=backlogCountHint,proto3" json:"backlog_count_hint,omitempty"` + History *History `protobuf:"bytes,8,opt,name=history,proto3" json:"history,omitempty"` + NextPageToken []byte `protobuf:"bytes,9,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + Query *WorkflowQuery `protobuf:"bytes,10,opt,name=query,proto3" json:"query,omitempty"` + WorkflowExecutionTaskList *TaskList `protobuf:"bytes,11,opt,name=workflow_execution_task_list,json=workflowExecutionTaskList,proto3" json:"workflow_execution_task_list,omitempty"` + ScheduledTime *types.Timestamp `protobuf:"bytes,12,opt,name=scheduled_time,json=scheduledTime,proto3" json:"scheduled_time,omitempty"` + StartedTime *types.Timestamp `protobuf:"bytes,13,opt,name=started_time,json=startedTime,proto3" json:"started_time,omitempty"` + Queries map[string]*WorkflowQuery `protobuf:"bytes,14,rep,name=queries,proto3" json:"queries,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + NextEventId int64 `protobuf:"varint,15,opt,name=next_event_id,json=nextEventId,proto3" json:"next_event_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *PollForDecisionTaskResponse) Reset() { *m = PollForDecisionTaskResponse{} } +func (m *PollForDecisionTaskResponse) String() string { return proto.CompactTextString(m) } +func (*PollForDecisionTaskResponse) ProtoMessage() {} +func (*PollForDecisionTaskResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_00684e887839a48c, []int{1} +} +func (m *PollForDecisionTaskResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *PollForDecisionTaskResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_PollForDecisionTaskResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *PollForDecisionTaskResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_PollForDecisionTaskResponse.Merge(m, src) +} +func (m *PollForDecisionTaskResponse) XXX_Size() int { + return m.Size() +} +func (m *PollForDecisionTaskResponse) XXX_DiscardUnknown() { + xxx_messageInfo_PollForDecisionTaskResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_PollForDecisionTaskResponse proto.InternalMessageInfo + +func (m *PollForDecisionTaskResponse) GetTaskToken() []byte { + if m != nil { + return m.TaskToken + } + return nil +} + +func (m *PollForDecisionTaskResponse) GetWorkflowExecution() *WorkflowExecution { + if m != nil { + return m.WorkflowExecution + } + return nil +} + +func (m *PollForDecisionTaskResponse) GetWorkflowType() *WorkflowType { + if m != nil { + return m.WorkflowType + } + return nil +} + +func (m *PollForDecisionTaskResponse) GetPreviousStartedEventId() *types.Int64Value { + if m != nil { + return m.PreviousStartedEventId + } + return nil +} + +func (m *PollForDecisionTaskResponse) GetStartedEventId() int64 { + if m != nil { + return m.StartedEventId + } + return 0 +} + +func (m *PollForDecisionTaskResponse) GetAttempt() int64 { + if m != nil { + return m.Attempt + } + return 0 +} + +func (m *PollForDecisionTaskResponse) GetBacklogCountHint() int64 { + if m != nil { + return m.BacklogCountHint + } + return 0 +} + +func (m *PollForDecisionTaskResponse) GetHistory() *History { + if m != nil { + return m.History + } + return nil +} + +func (m *PollForDecisionTaskResponse) GetNextPageToken() []byte { + if m != nil { + return m.NextPageToken + } + return nil +} + +func (m *PollForDecisionTaskResponse) GetQuery() *WorkflowQuery { + if m != nil { + return m.Query + } + return nil +} + +func (m *PollForDecisionTaskResponse) GetWorkflowExecutionTaskList() *TaskList { + if m != nil { + return m.WorkflowExecutionTaskList + } + return nil +} + +func (m *PollForDecisionTaskResponse) GetScheduledTime() *types.Timestamp { + if m != nil { + return m.ScheduledTime + } + return nil +} + +func (m *PollForDecisionTaskResponse) GetStartedTime() *types.Timestamp { + if m != nil { + return m.StartedTime + } + return nil +} + +func (m *PollForDecisionTaskResponse) GetQueries() map[string]*WorkflowQuery { + if m != nil { + return m.Queries + } + return nil +} + +func (m *PollForDecisionTaskResponse) GetNextEventId() int64 { + if m != nil { + return m.NextEventId + } + return 0 +} + +type RespondDecisionTaskCompletedRequest struct { + TaskToken []byte `protobuf:"bytes,1,opt,name=task_token,json=taskToken,proto3" json:"task_token,omitempty"` + Decisions []*Decision `protobuf:"bytes,2,rep,name=decisions,proto3" json:"decisions,omitempty"` + ExecutionContext []byte `protobuf:"bytes,3,opt,name=execution_context,json=executionContext,proto3" json:"execution_context,omitempty"` + Identity string `protobuf:"bytes,4,opt,name=identity,proto3" json:"identity,omitempty"` + StickyAttributes *StickyExecutionAttributes `protobuf:"bytes,5,opt,name=sticky_attributes,json=stickyAttributes,proto3" json:"sticky_attributes,omitempty"` + ReturnNewDecisionTask bool `protobuf:"varint,6,opt,name=return_new_decision_task,json=returnNewDecisionTask,proto3" json:"return_new_decision_task,omitempty"` + ForceCreateNewDecisionTask bool `protobuf:"varint,7,opt,name=force_create_new_decision_task,json=forceCreateNewDecisionTask,proto3" json:"force_create_new_decision_task,omitempty"` + BinaryChecksum string `protobuf:"bytes,8,opt,name=binary_checksum,json=binaryChecksum,proto3" json:"binary_checksum,omitempty"` + QueryResults map[string]*WorkflowQueryResult `protobuf:"bytes,9,rep,name=query_results,json=queryResults,proto3" json:"query_results,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RespondDecisionTaskCompletedRequest) Reset() { *m = RespondDecisionTaskCompletedRequest{} } +func (m *RespondDecisionTaskCompletedRequest) String() string { return proto.CompactTextString(m) } +func (*RespondDecisionTaskCompletedRequest) ProtoMessage() {} +func (*RespondDecisionTaskCompletedRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_00684e887839a48c, []int{2} +} +func (m *RespondDecisionTaskCompletedRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RespondDecisionTaskCompletedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RespondDecisionTaskCompletedRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RespondDecisionTaskCompletedRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RespondDecisionTaskCompletedRequest.Merge(m, src) +} +func (m *RespondDecisionTaskCompletedRequest) XXX_Size() int { + return m.Size() +} +func (m *RespondDecisionTaskCompletedRequest) XXX_DiscardUnknown() { + xxx_messageInfo_RespondDecisionTaskCompletedRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_RespondDecisionTaskCompletedRequest proto.InternalMessageInfo + +func (m *RespondDecisionTaskCompletedRequest) GetTaskToken() []byte { + if m != nil { + return m.TaskToken + } + return nil +} + +func (m *RespondDecisionTaskCompletedRequest) GetDecisions() []*Decision { + if m != nil { + return m.Decisions + } + return nil +} + +func (m *RespondDecisionTaskCompletedRequest) GetExecutionContext() []byte { + if m != nil { + return m.ExecutionContext + } + return nil +} + +func (m *RespondDecisionTaskCompletedRequest) GetIdentity() string { + if m != nil { + return m.Identity + } + return "" +} + +func (m *RespondDecisionTaskCompletedRequest) GetStickyAttributes() *StickyExecutionAttributes { + if m != nil { + return m.StickyAttributes + } + return nil +} + +func (m *RespondDecisionTaskCompletedRequest) GetReturnNewDecisionTask() bool { + if m != nil { + return m.ReturnNewDecisionTask + } + return false +} + +func (m *RespondDecisionTaskCompletedRequest) GetForceCreateNewDecisionTask() bool { + if m != nil { + return m.ForceCreateNewDecisionTask + } + return false +} + +func (m *RespondDecisionTaskCompletedRequest) GetBinaryChecksum() string { + if m != nil { + return m.BinaryChecksum + } + return "" +} + +func (m *RespondDecisionTaskCompletedRequest) GetQueryResults() map[string]*WorkflowQueryResult { + if m != nil { + return m.QueryResults + } + return nil +} + +type RespondDecisionTaskCompletedResponse struct { + DecisionTask *PollForDecisionTaskResponse `protobuf:"bytes,1,opt,name=decision_task,json=decisionTask,proto3" json:"decision_task,omitempty"` + ActivitiesToDispatchLocally map[string]*ActivityLocalDispatchInfo `protobuf:"bytes,2,rep,name=activities_to_dispatch_locally,json=activitiesToDispatchLocally,proto3" json:"activities_to_dispatch_locally,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RespondDecisionTaskCompletedResponse) Reset() { *m = RespondDecisionTaskCompletedResponse{} } +func (m *RespondDecisionTaskCompletedResponse) String() string { return proto.CompactTextString(m) } +func (*RespondDecisionTaskCompletedResponse) ProtoMessage() {} +func (*RespondDecisionTaskCompletedResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_00684e887839a48c, []int{3} +} +func (m *RespondDecisionTaskCompletedResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RespondDecisionTaskCompletedResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RespondDecisionTaskCompletedResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RespondDecisionTaskCompletedResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_RespondDecisionTaskCompletedResponse.Merge(m, src) +} +func (m *RespondDecisionTaskCompletedResponse) XXX_Size() int { + return m.Size() +} +func (m *RespondDecisionTaskCompletedResponse) XXX_DiscardUnknown() { + xxx_messageInfo_RespondDecisionTaskCompletedResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_RespondDecisionTaskCompletedResponse proto.InternalMessageInfo + +func (m *RespondDecisionTaskCompletedResponse) GetDecisionTask() *PollForDecisionTaskResponse { + if m != nil { + return m.DecisionTask + } + return nil +} + +func (m *RespondDecisionTaskCompletedResponse) GetActivitiesToDispatchLocally() map[string]*ActivityLocalDispatchInfo { + if m != nil { + return m.ActivitiesToDispatchLocally + } + return nil +} + +type RespondDecisionTaskFailedRequest struct { + TaskToken []byte `protobuf:"bytes,1,opt,name=task_token,json=taskToken,proto3" json:"task_token,omitempty"` + Cause DecisionTaskFailedCause `protobuf:"varint,2,opt,name=cause,proto3,enum=uber.cadence.api.v1.DecisionTaskFailedCause" json:"cause,omitempty"` + Details *Payload `protobuf:"bytes,3,opt,name=details,proto3" json:"details,omitempty"` + Identity string `protobuf:"bytes,4,opt,name=identity,proto3" json:"identity,omitempty"` + BinaryChecksum string `protobuf:"bytes,5,opt,name=binary_checksum,json=binaryChecksum,proto3" json:"binary_checksum,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RespondDecisionTaskFailedRequest) Reset() { *m = RespondDecisionTaskFailedRequest{} } +func (m *RespondDecisionTaskFailedRequest) String() string { return proto.CompactTextString(m) } +func (*RespondDecisionTaskFailedRequest) ProtoMessage() {} +func (*RespondDecisionTaskFailedRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_00684e887839a48c, []int{4} +} +func (m *RespondDecisionTaskFailedRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RespondDecisionTaskFailedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RespondDecisionTaskFailedRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RespondDecisionTaskFailedRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RespondDecisionTaskFailedRequest.Merge(m, src) +} +func (m *RespondDecisionTaskFailedRequest) XXX_Size() int { + return m.Size() +} +func (m *RespondDecisionTaskFailedRequest) XXX_DiscardUnknown() { + xxx_messageInfo_RespondDecisionTaskFailedRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_RespondDecisionTaskFailedRequest proto.InternalMessageInfo + +func (m *RespondDecisionTaskFailedRequest) GetTaskToken() []byte { + if m != nil { + return m.TaskToken + } + return nil +} + +func (m *RespondDecisionTaskFailedRequest) GetCause() DecisionTaskFailedCause { + if m != nil { + return m.Cause + } + return DecisionTaskFailedCause_DECISION_TASK_FAILED_CAUSE_INVALID +} + +func (m *RespondDecisionTaskFailedRequest) GetDetails() *Payload { + if m != nil { + return m.Details + } + return nil +} + +func (m *RespondDecisionTaskFailedRequest) GetIdentity() string { + if m != nil { + return m.Identity + } + return "" +} + +func (m *RespondDecisionTaskFailedRequest) GetBinaryChecksum() string { + if m != nil { + return m.BinaryChecksum + } + return "" +} + +type RespondDecisionTaskFailedResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RespondDecisionTaskFailedResponse) Reset() { *m = RespondDecisionTaskFailedResponse{} } +func (m *RespondDecisionTaskFailedResponse) String() string { return proto.CompactTextString(m) } +func (*RespondDecisionTaskFailedResponse) ProtoMessage() {} +func (*RespondDecisionTaskFailedResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_00684e887839a48c, []int{5} +} +func (m *RespondDecisionTaskFailedResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RespondDecisionTaskFailedResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RespondDecisionTaskFailedResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RespondDecisionTaskFailedResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_RespondDecisionTaskFailedResponse.Merge(m, src) +} +func (m *RespondDecisionTaskFailedResponse) XXX_Size() int { + return m.Size() +} +func (m *RespondDecisionTaskFailedResponse) XXX_DiscardUnknown() { + xxx_messageInfo_RespondDecisionTaskFailedResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_RespondDecisionTaskFailedResponse proto.InternalMessageInfo + +type PollForActivityTaskRequest struct { + Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` + TaskList *TaskList `protobuf:"bytes,2,opt,name=task_list,json=taskList,proto3" json:"task_list,omitempty"` + Identity string `protobuf:"bytes,3,opt,name=identity,proto3" json:"identity,omitempty"` + TaskListMetadata *TaskListMetadata `protobuf:"bytes,4,opt,name=task_list_metadata,json=taskListMetadata,proto3" json:"task_list_metadata,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *PollForActivityTaskRequest) Reset() { *m = PollForActivityTaskRequest{} } +func (m *PollForActivityTaskRequest) String() string { return proto.CompactTextString(m) } +func (*PollForActivityTaskRequest) ProtoMessage() {} +func (*PollForActivityTaskRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_00684e887839a48c, []int{6} +} +func (m *PollForActivityTaskRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *PollForActivityTaskRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_PollForActivityTaskRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *PollForActivityTaskRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_PollForActivityTaskRequest.Merge(m, src) +} +func (m *PollForActivityTaskRequest) XXX_Size() int { + return m.Size() +} +func (m *PollForActivityTaskRequest) XXX_DiscardUnknown() { + xxx_messageInfo_PollForActivityTaskRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_PollForActivityTaskRequest proto.InternalMessageInfo + +func (m *PollForActivityTaskRequest) GetDomain() string { + if m != nil { + return m.Domain + } + return "" +} + +func (m *PollForActivityTaskRequest) GetTaskList() *TaskList { + if m != nil { + return m.TaskList + } + return nil +} + +func (m *PollForActivityTaskRequest) GetIdentity() string { + if m != nil { + return m.Identity + } + return "" +} + +func (m *PollForActivityTaskRequest) GetTaskListMetadata() *TaskListMetadata { + if m != nil { + return m.TaskListMetadata + } + return nil +} + +type PollForActivityTaskResponse struct { + TaskToken []byte `protobuf:"bytes,1,opt,name=task_token,json=taskToken,proto3" json:"task_token,omitempty"` + WorkflowExecution *WorkflowExecution `protobuf:"bytes,2,opt,name=workflow_execution,json=workflowExecution,proto3" json:"workflow_execution,omitempty"` + ActivityId string `protobuf:"bytes,3,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"` + ActivityType *ActivityType `protobuf:"bytes,4,opt,name=activity_type,json=activityType,proto3" json:"activity_type,omitempty"` + Input *Payload `protobuf:"bytes,5,opt,name=input,proto3" json:"input,omitempty"` + ScheduledTime *types.Timestamp `protobuf:"bytes,6,opt,name=scheduled_time,json=scheduledTime,proto3" json:"scheduled_time,omitempty"` + StartedTime *types.Timestamp `protobuf:"bytes,7,opt,name=started_time,json=startedTime,proto3" json:"started_time,omitempty"` + ScheduleToCloseTimeout *types.Duration `protobuf:"bytes,8,opt,name=schedule_to_close_timeout,json=scheduleToCloseTimeout,proto3" json:"schedule_to_close_timeout,omitempty"` + StartToCloseTimeout *types.Duration `protobuf:"bytes,9,opt,name=start_to_close_timeout,json=startToCloseTimeout,proto3" json:"start_to_close_timeout,omitempty"` + HeartbeatTimeout *types.Duration `protobuf:"bytes,10,opt,name=heartbeat_timeout,json=heartbeatTimeout,proto3" json:"heartbeat_timeout,omitempty"` + Attempt int32 `protobuf:"varint,11,opt,name=attempt,proto3" json:"attempt,omitempty"` + ScheduledTimeOfThisAttempt *types.Timestamp `protobuf:"bytes,12,opt,name=scheduled_time_of_this_attempt,json=scheduledTimeOfThisAttempt,proto3" json:"scheduled_time_of_this_attempt,omitempty"` + HeartbeatDetails *Payload `protobuf:"bytes,13,opt,name=heartbeat_details,json=heartbeatDetails,proto3" json:"heartbeat_details,omitempty"` + WorkflowType *WorkflowType `protobuf:"bytes,14,opt,name=workflow_type,json=workflowType,proto3" json:"workflow_type,omitempty"` + WorkflowDomain string `protobuf:"bytes,15,opt,name=workflow_domain,json=workflowDomain,proto3" json:"workflow_domain,omitempty"` + Header *Header `protobuf:"bytes,16,opt,name=header,proto3" json:"header,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *PollForActivityTaskResponse) Reset() { *m = PollForActivityTaskResponse{} } +func (m *PollForActivityTaskResponse) String() string { return proto.CompactTextString(m) } +func (*PollForActivityTaskResponse) ProtoMessage() {} +func (*PollForActivityTaskResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_00684e887839a48c, []int{7} +} +func (m *PollForActivityTaskResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *PollForActivityTaskResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_PollForActivityTaskResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *PollForActivityTaskResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_PollForActivityTaskResponse.Merge(m, src) +} +func (m *PollForActivityTaskResponse) XXX_Size() int { + return m.Size() +} +func (m *PollForActivityTaskResponse) XXX_DiscardUnknown() { + xxx_messageInfo_PollForActivityTaskResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_PollForActivityTaskResponse proto.InternalMessageInfo + +func (m *PollForActivityTaskResponse) GetTaskToken() []byte { + if m != nil { + return m.TaskToken + } + return nil +} + +func (m *PollForActivityTaskResponse) GetWorkflowExecution() *WorkflowExecution { + if m != nil { + return m.WorkflowExecution + } + return nil +} + +func (m *PollForActivityTaskResponse) GetActivityId() string { + if m != nil { + return m.ActivityId + } + return "" +} + +func (m *PollForActivityTaskResponse) GetActivityType() *ActivityType { + if m != nil { + return m.ActivityType + } + return nil +} + +func (m *PollForActivityTaskResponse) GetInput() *Payload { + if m != nil { + return m.Input + } + return nil +} + +func (m *PollForActivityTaskResponse) GetScheduledTime() *types.Timestamp { + if m != nil { + return m.ScheduledTime + } + return nil +} + +func (m *PollForActivityTaskResponse) GetStartedTime() *types.Timestamp { + if m != nil { + return m.StartedTime + } + return nil +} + +func (m *PollForActivityTaskResponse) GetScheduleToCloseTimeout() *types.Duration { + if m != nil { + return m.ScheduleToCloseTimeout + } + return nil +} + +func (m *PollForActivityTaskResponse) GetStartToCloseTimeout() *types.Duration { + if m != nil { + return m.StartToCloseTimeout + } + return nil +} + +func (m *PollForActivityTaskResponse) GetHeartbeatTimeout() *types.Duration { + if m != nil { + return m.HeartbeatTimeout + } + return nil +} + +func (m *PollForActivityTaskResponse) GetAttempt() int32 { + if m != nil { + return m.Attempt + } + return 0 +} + +func (m *PollForActivityTaskResponse) GetScheduledTimeOfThisAttempt() *types.Timestamp { + if m != nil { + return m.ScheduledTimeOfThisAttempt + } + return nil +} + +func (m *PollForActivityTaskResponse) GetHeartbeatDetails() *Payload { + if m != nil { + return m.HeartbeatDetails + } + return nil +} + +func (m *PollForActivityTaskResponse) GetWorkflowType() *WorkflowType { + if m != nil { + return m.WorkflowType + } + return nil +} + +func (m *PollForActivityTaskResponse) GetWorkflowDomain() string { + if m != nil { + return m.WorkflowDomain + } + return "" +} + +func (m *PollForActivityTaskResponse) GetHeader() *Header { + if m != nil { + return m.Header + } + return nil +} + +type RespondActivityTaskCompletedRequest struct { + TaskToken []byte `protobuf:"bytes,1,opt,name=task_token,json=taskToken,proto3" json:"task_token,omitempty"` + Result *Payload `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` + Identity string `protobuf:"bytes,3,opt,name=identity,proto3" json:"identity,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RespondActivityTaskCompletedRequest) Reset() { *m = RespondActivityTaskCompletedRequest{} } +func (m *RespondActivityTaskCompletedRequest) String() string { return proto.CompactTextString(m) } +func (*RespondActivityTaskCompletedRequest) ProtoMessage() {} +func (*RespondActivityTaskCompletedRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_00684e887839a48c, []int{8} +} +func (m *RespondActivityTaskCompletedRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RespondActivityTaskCompletedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RespondActivityTaskCompletedRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RespondActivityTaskCompletedRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RespondActivityTaskCompletedRequest.Merge(m, src) +} +func (m *RespondActivityTaskCompletedRequest) XXX_Size() int { + return m.Size() +} +func (m *RespondActivityTaskCompletedRequest) XXX_DiscardUnknown() { + xxx_messageInfo_RespondActivityTaskCompletedRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_RespondActivityTaskCompletedRequest proto.InternalMessageInfo + +func (m *RespondActivityTaskCompletedRequest) GetTaskToken() []byte { + if m != nil { + return m.TaskToken + } + return nil +} + +func (m *RespondActivityTaskCompletedRequest) GetResult() *Payload { + if m != nil { + return m.Result + } + return nil +} + +func (m *RespondActivityTaskCompletedRequest) GetIdentity() string { + if m != nil { + return m.Identity + } + return "" +} + +type RespondActivityTaskCompletedResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RespondActivityTaskCompletedResponse) Reset() { *m = RespondActivityTaskCompletedResponse{} } +func (m *RespondActivityTaskCompletedResponse) String() string { return proto.CompactTextString(m) } +func (*RespondActivityTaskCompletedResponse) ProtoMessage() {} +func (*RespondActivityTaskCompletedResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_00684e887839a48c, []int{9} +} +func (m *RespondActivityTaskCompletedResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RespondActivityTaskCompletedResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RespondActivityTaskCompletedResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RespondActivityTaskCompletedResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_RespondActivityTaskCompletedResponse.Merge(m, src) +} +func (m *RespondActivityTaskCompletedResponse) XXX_Size() int { + return m.Size() +} +func (m *RespondActivityTaskCompletedResponse) XXX_DiscardUnknown() { + xxx_messageInfo_RespondActivityTaskCompletedResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_RespondActivityTaskCompletedResponse proto.InternalMessageInfo + +type RespondActivityTaskCompletedByIDRequest struct { + Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` + WorkflowExecution *WorkflowExecution `protobuf:"bytes,2,opt,name=workflow_execution,json=workflowExecution,proto3" json:"workflow_execution,omitempty"` + ActivityId string `protobuf:"bytes,3,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"` + Result *Payload `protobuf:"bytes,4,opt,name=result,proto3" json:"result,omitempty"` + Identity string `protobuf:"bytes,5,opt,name=identity,proto3" json:"identity,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RespondActivityTaskCompletedByIDRequest) Reset() { + *m = RespondActivityTaskCompletedByIDRequest{} +} +func (m *RespondActivityTaskCompletedByIDRequest) String() string { return proto.CompactTextString(m) } +func (*RespondActivityTaskCompletedByIDRequest) ProtoMessage() {} +func (*RespondActivityTaskCompletedByIDRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_00684e887839a48c, []int{10} +} +func (m *RespondActivityTaskCompletedByIDRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RespondActivityTaskCompletedByIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RespondActivityTaskCompletedByIDRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RespondActivityTaskCompletedByIDRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RespondActivityTaskCompletedByIDRequest.Merge(m, src) +} +func (m *RespondActivityTaskCompletedByIDRequest) XXX_Size() int { + return m.Size() +} +func (m *RespondActivityTaskCompletedByIDRequest) XXX_DiscardUnknown() { + xxx_messageInfo_RespondActivityTaskCompletedByIDRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_RespondActivityTaskCompletedByIDRequest proto.InternalMessageInfo + +func (m *RespondActivityTaskCompletedByIDRequest) GetDomain() string { + if m != nil { + return m.Domain + } + return "" +} + +func (m *RespondActivityTaskCompletedByIDRequest) GetWorkflowExecution() *WorkflowExecution { + if m != nil { + return m.WorkflowExecution + } + return nil +} + +func (m *RespondActivityTaskCompletedByIDRequest) GetActivityId() string { + if m != nil { + return m.ActivityId + } + return "" +} + +func (m *RespondActivityTaskCompletedByIDRequest) GetResult() *Payload { + if m != nil { + return m.Result + } + return nil +} + +func (m *RespondActivityTaskCompletedByIDRequest) GetIdentity() string { + if m != nil { + return m.Identity + } + return "" +} + +type RespondActivityTaskCompletedByIDResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RespondActivityTaskCompletedByIDResponse) Reset() { + *m = RespondActivityTaskCompletedByIDResponse{} +} +func (m *RespondActivityTaskCompletedByIDResponse) String() string { return proto.CompactTextString(m) } +func (*RespondActivityTaskCompletedByIDResponse) ProtoMessage() {} +func (*RespondActivityTaskCompletedByIDResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_00684e887839a48c, []int{11} +} +func (m *RespondActivityTaskCompletedByIDResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RespondActivityTaskCompletedByIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RespondActivityTaskCompletedByIDResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RespondActivityTaskCompletedByIDResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_RespondActivityTaskCompletedByIDResponse.Merge(m, src) +} +func (m *RespondActivityTaskCompletedByIDResponse) XXX_Size() int { + return m.Size() +} +func (m *RespondActivityTaskCompletedByIDResponse) XXX_DiscardUnknown() { + xxx_messageInfo_RespondActivityTaskCompletedByIDResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_RespondActivityTaskCompletedByIDResponse proto.InternalMessageInfo + +type RespondActivityTaskFailedRequest struct { + TaskToken []byte `protobuf:"bytes,1,opt,name=task_token,json=taskToken,proto3" json:"task_token,omitempty"` + Failure *Failure `protobuf:"bytes,2,opt,name=failure,proto3" json:"failure,omitempty"` + Identity string `protobuf:"bytes,3,opt,name=identity,proto3" json:"identity,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RespondActivityTaskFailedRequest) Reset() { *m = RespondActivityTaskFailedRequest{} } +func (m *RespondActivityTaskFailedRequest) String() string { return proto.CompactTextString(m) } +func (*RespondActivityTaskFailedRequest) ProtoMessage() {} +func (*RespondActivityTaskFailedRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_00684e887839a48c, []int{12} +} +func (m *RespondActivityTaskFailedRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RespondActivityTaskFailedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RespondActivityTaskFailedRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RespondActivityTaskFailedRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RespondActivityTaskFailedRequest.Merge(m, src) +} +func (m *RespondActivityTaskFailedRequest) XXX_Size() int { + return m.Size() +} +func (m *RespondActivityTaskFailedRequest) XXX_DiscardUnknown() { + xxx_messageInfo_RespondActivityTaskFailedRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_RespondActivityTaskFailedRequest proto.InternalMessageInfo + +func (m *RespondActivityTaskFailedRequest) GetTaskToken() []byte { + if m != nil { + return m.TaskToken + } + return nil +} + +func (m *RespondActivityTaskFailedRequest) GetFailure() *Failure { + if m != nil { + return m.Failure + } + return nil +} + +func (m *RespondActivityTaskFailedRequest) GetIdentity() string { + if m != nil { + return m.Identity + } + return "" +} + +type RespondActivityTaskFailedResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RespondActivityTaskFailedResponse) Reset() { *m = RespondActivityTaskFailedResponse{} } +func (m *RespondActivityTaskFailedResponse) String() string { return proto.CompactTextString(m) } +func (*RespondActivityTaskFailedResponse) ProtoMessage() {} +func (*RespondActivityTaskFailedResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_00684e887839a48c, []int{13} +} +func (m *RespondActivityTaskFailedResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RespondActivityTaskFailedResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RespondActivityTaskFailedResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RespondActivityTaskFailedResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_RespondActivityTaskFailedResponse.Merge(m, src) +} +func (m *RespondActivityTaskFailedResponse) XXX_Size() int { + return m.Size() +} +func (m *RespondActivityTaskFailedResponse) XXX_DiscardUnknown() { + xxx_messageInfo_RespondActivityTaskFailedResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_RespondActivityTaskFailedResponse proto.InternalMessageInfo + +type RespondActivityTaskFailedByIDRequest struct { + Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` + WorkflowExecution *WorkflowExecution `protobuf:"bytes,2,opt,name=workflow_execution,json=workflowExecution,proto3" json:"workflow_execution,omitempty"` + ActivityId string `protobuf:"bytes,3,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"` + Failure *Failure `protobuf:"bytes,4,opt,name=failure,proto3" json:"failure,omitempty"` + Identity string `protobuf:"bytes,5,opt,name=identity,proto3" json:"identity,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RespondActivityTaskFailedByIDRequest) Reset() { *m = RespondActivityTaskFailedByIDRequest{} } +func (m *RespondActivityTaskFailedByIDRequest) String() string { return proto.CompactTextString(m) } +func (*RespondActivityTaskFailedByIDRequest) ProtoMessage() {} +func (*RespondActivityTaskFailedByIDRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_00684e887839a48c, []int{14} +} +func (m *RespondActivityTaskFailedByIDRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RespondActivityTaskFailedByIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RespondActivityTaskFailedByIDRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RespondActivityTaskFailedByIDRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RespondActivityTaskFailedByIDRequest.Merge(m, src) +} +func (m *RespondActivityTaskFailedByIDRequest) XXX_Size() int { + return m.Size() +} +func (m *RespondActivityTaskFailedByIDRequest) XXX_DiscardUnknown() { + xxx_messageInfo_RespondActivityTaskFailedByIDRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_RespondActivityTaskFailedByIDRequest proto.InternalMessageInfo + +func (m *RespondActivityTaskFailedByIDRequest) GetDomain() string { + if m != nil { + return m.Domain + } + return "" +} + +func (m *RespondActivityTaskFailedByIDRequest) GetWorkflowExecution() *WorkflowExecution { + if m != nil { + return m.WorkflowExecution + } + return nil +} + +func (m *RespondActivityTaskFailedByIDRequest) GetActivityId() string { + if m != nil { + return m.ActivityId + } + return "" +} + +func (m *RespondActivityTaskFailedByIDRequest) GetFailure() *Failure { + if m != nil { + return m.Failure + } + return nil +} + +func (m *RespondActivityTaskFailedByIDRequest) GetIdentity() string { + if m != nil { + return m.Identity + } + return "" +} + +type RespondActivityTaskFailedByIDResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RespondActivityTaskFailedByIDResponse) Reset() { *m = RespondActivityTaskFailedByIDResponse{} } +func (m *RespondActivityTaskFailedByIDResponse) String() string { return proto.CompactTextString(m) } +func (*RespondActivityTaskFailedByIDResponse) ProtoMessage() {} +func (*RespondActivityTaskFailedByIDResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_00684e887839a48c, []int{15} +} +func (m *RespondActivityTaskFailedByIDResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RespondActivityTaskFailedByIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RespondActivityTaskFailedByIDResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RespondActivityTaskFailedByIDResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_RespondActivityTaskFailedByIDResponse.Merge(m, src) +} +func (m *RespondActivityTaskFailedByIDResponse) XXX_Size() int { + return m.Size() +} +func (m *RespondActivityTaskFailedByIDResponse) XXX_DiscardUnknown() { + xxx_messageInfo_RespondActivityTaskFailedByIDResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_RespondActivityTaskFailedByIDResponse proto.InternalMessageInfo + +type RespondActivityTaskCanceledRequest struct { + TaskToken []byte `protobuf:"bytes,1,opt,name=task_token,json=taskToken,proto3" json:"task_token,omitempty"` + Details *Payload `protobuf:"bytes,2,opt,name=details,proto3" json:"details,omitempty"` + Identity string `protobuf:"bytes,3,opt,name=identity,proto3" json:"identity,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RespondActivityTaskCanceledRequest) Reset() { *m = RespondActivityTaskCanceledRequest{} } +func (m *RespondActivityTaskCanceledRequest) String() string { return proto.CompactTextString(m) } +func (*RespondActivityTaskCanceledRequest) ProtoMessage() {} +func (*RespondActivityTaskCanceledRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_00684e887839a48c, []int{16} +} +func (m *RespondActivityTaskCanceledRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RespondActivityTaskCanceledRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RespondActivityTaskCanceledRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RespondActivityTaskCanceledRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RespondActivityTaskCanceledRequest.Merge(m, src) +} +func (m *RespondActivityTaskCanceledRequest) XXX_Size() int { + return m.Size() +} +func (m *RespondActivityTaskCanceledRequest) XXX_DiscardUnknown() { + xxx_messageInfo_RespondActivityTaskCanceledRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_RespondActivityTaskCanceledRequest proto.InternalMessageInfo + +func (m *RespondActivityTaskCanceledRequest) GetTaskToken() []byte { + if m != nil { + return m.TaskToken + } + return nil +} + +func (m *RespondActivityTaskCanceledRequest) GetDetails() *Payload { + if m != nil { + return m.Details + } + return nil +} + +func (m *RespondActivityTaskCanceledRequest) GetIdentity() string { + if m != nil { + return m.Identity + } + return "" +} + +type RespondActivityTaskCanceledResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RespondActivityTaskCanceledResponse) Reset() { *m = RespondActivityTaskCanceledResponse{} } +func (m *RespondActivityTaskCanceledResponse) String() string { return proto.CompactTextString(m) } +func (*RespondActivityTaskCanceledResponse) ProtoMessage() {} +func (*RespondActivityTaskCanceledResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_00684e887839a48c, []int{17} +} +func (m *RespondActivityTaskCanceledResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RespondActivityTaskCanceledResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RespondActivityTaskCanceledResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RespondActivityTaskCanceledResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_RespondActivityTaskCanceledResponse.Merge(m, src) +} +func (m *RespondActivityTaskCanceledResponse) XXX_Size() int { + return m.Size() +} +func (m *RespondActivityTaskCanceledResponse) XXX_DiscardUnknown() { + xxx_messageInfo_RespondActivityTaskCanceledResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_RespondActivityTaskCanceledResponse proto.InternalMessageInfo + +type RespondActivityTaskCanceledByIDRequest struct { + Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` + WorkflowExecution *WorkflowExecution `protobuf:"bytes,2,opt,name=workflow_execution,json=workflowExecution,proto3" json:"workflow_execution,omitempty"` + ActivityId string `protobuf:"bytes,3,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"` + Details *Payload `protobuf:"bytes,4,opt,name=details,proto3" json:"details,omitempty"` + Identity string `protobuf:"bytes,5,opt,name=identity,proto3" json:"identity,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RespondActivityTaskCanceledByIDRequest) Reset() { + *m = RespondActivityTaskCanceledByIDRequest{} +} +func (m *RespondActivityTaskCanceledByIDRequest) String() string { return proto.CompactTextString(m) } +func (*RespondActivityTaskCanceledByIDRequest) ProtoMessage() {} +func (*RespondActivityTaskCanceledByIDRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_00684e887839a48c, []int{18} +} +func (m *RespondActivityTaskCanceledByIDRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RespondActivityTaskCanceledByIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RespondActivityTaskCanceledByIDRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RespondActivityTaskCanceledByIDRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RespondActivityTaskCanceledByIDRequest.Merge(m, src) +} +func (m *RespondActivityTaskCanceledByIDRequest) XXX_Size() int { + return m.Size() +} +func (m *RespondActivityTaskCanceledByIDRequest) XXX_DiscardUnknown() { + xxx_messageInfo_RespondActivityTaskCanceledByIDRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_RespondActivityTaskCanceledByIDRequest proto.InternalMessageInfo + +func (m *RespondActivityTaskCanceledByIDRequest) GetDomain() string { + if m != nil { + return m.Domain + } + return "" +} + +func (m *RespondActivityTaskCanceledByIDRequest) GetWorkflowExecution() *WorkflowExecution { + if m != nil { + return m.WorkflowExecution + } + return nil +} + +func (m *RespondActivityTaskCanceledByIDRequest) GetActivityId() string { + if m != nil { + return m.ActivityId + } + return "" +} + +func (m *RespondActivityTaskCanceledByIDRequest) GetDetails() *Payload { + if m != nil { + return m.Details + } + return nil +} + +func (m *RespondActivityTaskCanceledByIDRequest) GetIdentity() string { + if m != nil { + return m.Identity + } + return "" +} + +type RespondActivityTaskCanceledByIDResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RespondActivityTaskCanceledByIDResponse) Reset() { + *m = RespondActivityTaskCanceledByIDResponse{} +} +func (m *RespondActivityTaskCanceledByIDResponse) String() string { return proto.CompactTextString(m) } +func (*RespondActivityTaskCanceledByIDResponse) ProtoMessage() {} +func (*RespondActivityTaskCanceledByIDResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_00684e887839a48c, []int{19} +} +func (m *RespondActivityTaskCanceledByIDResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RespondActivityTaskCanceledByIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RespondActivityTaskCanceledByIDResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RespondActivityTaskCanceledByIDResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_RespondActivityTaskCanceledByIDResponse.Merge(m, src) +} +func (m *RespondActivityTaskCanceledByIDResponse) XXX_Size() int { + return m.Size() +} +func (m *RespondActivityTaskCanceledByIDResponse) XXX_DiscardUnknown() { + xxx_messageInfo_RespondActivityTaskCanceledByIDResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_RespondActivityTaskCanceledByIDResponse proto.InternalMessageInfo + +type RecordActivityTaskHeartbeatRequest struct { + TaskToken []byte `protobuf:"bytes,1,opt,name=task_token,json=taskToken,proto3" json:"task_token,omitempty"` + Details *Payload `protobuf:"bytes,2,opt,name=details,proto3" json:"details,omitempty"` + Identity string `protobuf:"bytes,3,opt,name=identity,proto3" json:"identity,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RecordActivityTaskHeartbeatRequest) Reset() { *m = RecordActivityTaskHeartbeatRequest{} } +func (m *RecordActivityTaskHeartbeatRequest) String() string { return proto.CompactTextString(m) } +func (*RecordActivityTaskHeartbeatRequest) ProtoMessage() {} +func (*RecordActivityTaskHeartbeatRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_00684e887839a48c, []int{20} +} +func (m *RecordActivityTaskHeartbeatRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RecordActivityTaskHeartbeatRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RecordActivityTaskHeartbeatRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RecordActivityTaskHeartbeatRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RecordActivityTaskHeartbeatRequest.Merge(m, src) +} +func (m *RecordActivityTaskHeartbeatRequest) XXX_Size() int { + return m.Size() +} +func (m *RecordActivityTaskHeartbeatRequest) XXX_DiscardUnknown() { + xxx_messageInfo_RecordActivityTaskHeartbeatRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_RecordActivityTaskHeartbeatRequest proto.InternalMessageInfo + +func (m *RecordActivityTaskHeartbeatRequest) GetTaskToken() []byte { + if m != nil { + return m.TaskToken + } + return nil +} + +func (m *RecordActivityTaskHeartbeatRequest) GetDetails() *Payload { + if m != nil { + return m.Details + } + return nil +} + +func (m *RecordActivityTaskHeartbeatRequest) GetIdentity() string { + if m != nil { + return m.Identity + } + return "" +} + +type RecordActivityTaskHeartbeatResponse struct { + CancelRequested bool `protobuf:"varint,1,opt,name=cancel_requested,json=cancelRequested,proto3" json:"cancel_requested,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RecordActivityTaskHeartbeatResponse) Reset() { *m = RecordActivityTaskHeartbeatResponse{} } +func (m *RecordActivityTaskHeartbeatResponse) String() string { return proto.CompactTextString(m) } +func (*RecordActivityTaskHeartbeatResponse) ProtoMessage() {} +func (*RecordActivityTaskHeartbeatResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_00684e887839a48c, []int{21} +} +func (m *RecordActivityTaskHeartbeatResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RecordActivityTaskHeartbeatResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RecordActivityTaskHeartbeatResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RecordActivityTaskHeartbeatResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_RecordActivityTaskHeartbeatResponse.Merge(m, src) +} +func (m *RecordActivityTaskHeartbeatResponse) XXX_Size() int { + return m.Size() +} +func (m *RecordActivityTaskHeartbeatResponse) XXX_DiscardUnknown() { + xxx_messageInfo_RecordActivityTaskHeartbeatResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_RecordActivityTaskHeartbeatResponse proto.InternalMessageInfo + +func (m *RecordActivityTaskHeartbeatResponse) GetCancelRequested() bool { + if m != nil { + return m.CancelRequested + } + return false +} + +type RecordActivityTaskHeartbeatByIDRequest struct { + Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` + WorkflowExecution *WorkflowExecution `protobuf:"bytes,2,opt,name=workflow_execution,json=workflowExecution,proto3" json:"workflow_execution,omitempty"` + ActivityId string `protobuf:"bytes,3,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"` + Details *Payload `protobuf:"bytes,4,opt,name=details,proto3" json:"details,omitempty"` + Identity string `protobuf:"bytes,5,opt,name=identity,proto3" json:"identity,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RecordActivityTaskHeartbeatByIDRequest) Reset() { + *m = RecordActivityTaskHeartbeatByIDRequest{} +} +func (m *RecordActivityTaskHeartbeatByIDRequest) String() string { return proto.CompactTextString(m) } +func (*RecordActivityTaskHeartbeatByIDRequest) ProtoMessage() {} +func (*RecordActivityTaskHeartbeatByIDRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_00684e887839a48c, []int{22} +} +func (m *RecordActivityTaskHeartbeatByIDRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RecordActivityTaskHeartbeatByIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RecordActivityTaskHeartbeatByIDRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RecordActivityTaskHeartbeatByIDRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RecordActivityTaskHeartbeatByIDRequest.Merge(m, src) +} +func (m *RecordActivityTaskHeartbeatByIDRequest) XXX_Size() int { + return m.Size() +} +func (m *RecordActivityTaskHeartbeatByIDRequest) XXX_DiscardUnknown() { + xxx_messageInfo_RecordActivityTaskHeartbeatByIDRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_RecordActivityTaskHeartbeatByIDRequest proto.InternalMessageInfo + +func (m *RecordActivityTaskHeartbeatByIDRequest) GetDomain() string { + if m != nil { + return m.Domain + } + return "" +} + +func (m *RecordActivityTaskHeartbeatByIDRequest) GetWorkflowExecution() *WorkflowExecution { + if m != nil { + return m.WorkflowExecution + } + return nil +} + +func (m *RecordActivityTaskHeartbeatByIDRequest) GetActivityId() string { + if m != nil { + return m.ActivityId + } + return "" +} + +func (m *RecordActivityTaskHeartbeatByIDRequest) GetDetails() *Payload { + if m != nil { + return m.Details + } + return nil +} + +func (m *RecordActivityTaskHeartbeatByIDRequest) GetIdentity() string { + if m != nil { + return m.Identity + } + return "" +} + +type RecordActivityTaskHeartbeatByIDResponse struct { + CancelRequested bool `protobuf:"varint,1,opt,name=cancel_requested,json=cancelRequested,proto3" json:"cancel_requested,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RecordActivityTaskHeartbeatByIDResponse) Reset() { + *m = RecordActivityTaskHeartbeatByIDResponse{} +} +func (m *RecordActivityTaskHeartbeatByIDResponse) String() string { return proto.CompactTextString(m) } +func (*RecordActivityTaskHeartbeatByIDResponse) ProtoMessage() {} +func (*RecordActivityTaskHeartbeatByIDResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_00684e887839a48c, []int{23} +} +func (m *RecordActivityTaskHeartbeatByIDResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RecordActivityTaskHeartbeatByIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RecordActivityTaskHeartbeatByIDResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RecordActivityTaskHeartbeatByIDResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_RecordActivityTaskHeartbeatByIDResponse.Merge(m, src) +} +func (m *RecordActivityTaskHeartbeatByIDResponse) XXX_Size() int { + return m.Size() +} +func (m *RecordActivityTaskHeartbeatByIDResponse) XXX_DiscardUnknown() { + xxx_messageInfo_RecordActivityTaskHeartbeatByIDResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_RecordActivityTaskHeartbeatByIDResponse proto.InternalMessageInfo + +func (m *RecordActivityTaskHeartbeatByIDResponse) GetCancelRequested() bool { + if m != nil { + return m.CancelRequested + } + return false +} + +type RespondQueryTaskCompletedRequest struct { + TaskToken []byte `protobuf:"bytes,1,opt,name=task_token,json=taskToken,proto3" json:"task_token,omitempty"` + Result *WorkflowQueryResult `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` + WorkerVersionInfo *WorkerVersionInfo `protobuf:"bytes,3,opt,name=worker_version_info,json=workerVersionInfo,proto3" json:"worker_version_info,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RespondQueryTaskCompletedRequest) Reset() { *m = RespondQueryTaskCompletedRequest{} } +func (m *RespondQueryTaskCompletedRequest) String() string { return proto.CompactTextString(m) } +func (*RespondQueryTaskCompletedRequest) ProtoMessage() {} +func (*RespondQueryTaskCompletedRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_00684e887839a48c, []int{24} +} +func (m *RespondQueryTaskCompletedRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RespondQueryTaskCompletedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RespondQueryTaskCompletedRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RespondQueryTaskCompletedRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RespondQueryTaskCompletedRequest.Merge(m, src) +} +func (m *RespondQueryTaskCompletedRequest) XXX_Size() int { + return m.Size() +} +func (m *RespondQueryTaskCompletedRequest) XXX_DiscardUnknown() { + xxx_messageInfo_RespondQueryTaskCompletedRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_RespondQueryTaskCompletedRequest proto.InternalMessageInfo + +func (m *RespondQueryTaskCompletedRequest) GetTaskToken() []byte { + if m != nil { + return m.TaskToken + } + return nil +} + +func (m *RespondQueryTaskCompletedRequest) GetResult() *WorkflowQueryResult { + if m != nil { + return m.Result + } + return nil +} + +func (m *RespondQueryTaskCompletedRequest) GetWorkerVersionInfo() *WorkerVersionInfo { + if m != nil { + return m.WorkerVersionInfo + } + return nil +} + +type RespondQueryTaskCompletedResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RespondQueryTaskCompletedResponse) Reset() { *m = RespondQueryTaskCompletedResponse{} } +func (m *RespondQueryTaskCompletedResponse) String() string { return proto.CompactTextString(m) } +func (*RespondQueryTaskCompletedResponse) ProtoMessage() {} +func (*RespondQueryTaskCompletedResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_00684e887839a48c, []int{25} +} +func (m *RespondQueryTaskCompletedResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RespondQueryTaskCompletedResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RespondQueryTaskCompletedResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RespondQueryTaskCompletedResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_RespondQueryTaskCompletedResponse.Merge(m, src) +} +func (m *RespondQueryTaskCompletedResponse) XXX_Size() int { + return m.Size() +} +func (m *RespondQueryTaskCompletedResponse) XXX_DiscardUnknown() { + xxx_messageInfo_RespondQueryTaskCompletedResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_RespondQueryTaskCompletedResponse proto.InternalMessageInfo + +type ResetStickyTaskListRequest struct { + Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` + WorkflowExecution *WorkflowExecution `protobuf:"bytes,2,opt,name=workflow_execution,json=workflowExecution,proto3" json:"workflow_execution,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ResetStickyTaskListRequest) Reset() { *m = ResetStickyTaskListRequest{} } +func (m *ResetStickyTaskListRequest) String() string { return proto.CompactTextString(m) } +func (*ResetStickyTaskListRequest) ProtoMessage() {} +func (*ResetStickyTaskListRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_00684e887839a48c, []int{26} +} +func (m *ResetStickyTaskListRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ResetStickyTaskListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ResetStickyTaskListRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ResetStickyTaskListRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ResetStickyTaskListRequest.Merge(m, src) +} +func (m *ResetStickyTaskListRequest) XXX_Size() int { + return m.Size() +} +func (m *ResetStickyTaskListRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ResetStickyTaskListRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ResetStickyTaskListRequest proto.InternalMessageInfo + +func (m *ResetStickyTaskListRequest) GetDomain() string { + if m != nil { + return m.Domain + } + return "" +} + +func (m *ResetStickyTaskListRequest) GetWorkflowExecution() *WorkflowExecution { + if m != nil { + return m.WorkflowExecution + } + return nil +} + +type ResetStickyTaskListResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ResetStickyTaskListResponse) Reset() { *m = ResetStickyTaskListResponse{} } +func (m *ResetStickyTaskListResponse) String() string { return proto.CompactTextString(m) } +func (*ResetStickyTaskListResponse) ProtoMessage() {} +func (*ResetStickyTaskListResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_00684e887839a48c, []int{27} +} +func (m *ResetStickyTaskListResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ResetStickyTaskListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ResetStickyTaskListResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ResetStickyTaskListResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ResetStickyTaskListResponse.Merge(m, src) +} +func (m *ResetStickyTaskListResponse) XXX_Size() int { + return m.Size() +} +func (m *ResetStickyTaskListResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ResetStickyTaskListResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ResetStickyTaskListResponse proto.InternalMessageInfo + +func init() { + proto.RegisterType((*PollForDecisionTaskRequest)(nil), "uber.cadence.api.v1.PollForDecisionTaskRequest") + proto.RegisterType((*PollForDecisionTaskResponse)(nil), "uber.cadence.api.v1.PollForDecisionTaskResponse") + proto.RegisterMapType((map[string]*WorkflowQuery)(nil), "uber.cadence.api.v1.PollForDecisionTaskResponse.QueriesEntry") + proto.RegisterType((*RespondDecisionTaskCompletedRequest)(nil), "uber.cadence.api.v1.RespondDecisionTaskCompletedRequest") + proto.RegisterMapType((map[string]*WorkflowQueryResult)(nil), "uber.cadence.api.v1.RespondDecisionTaskCompletedRequest.QueryResultsEntry") + proto.RegisterType((*RespondDecisionTaskCompletedResponse)(nil), "uber.cadence.api.v1.RespondDecisionTaskCompletedResponse") + proto.RegisterMapType((map[string]*ActivityLocalDispatchInfo)(nil), "uber.cadence.api.v1.RespondDecisionTaskCompletedResponse.ActivitiesToDispatchLocallyEntry") + proto.RegisterType((*RespondDecisionTaskFailedRequest)(nil), "uber.cadence.api.v1.RespondDecisionTaskFailedRequest") + proto.RegisterType((*RespondDecisionTaskFailedResponse)(nil), "uber.cadence.api.v1.RespondDecisionTaskFailedResponse") + proto.RegisterType((*PollForActivityTaskRequest)(nil), "uber.cadence.api.v1.PollForActivityTaskRequest") + proto.RegisterType((*PollForActivityTaskResponse)(nil), "uber.cadence.api.v1.PollForActivityTaskResponse") + proto.RegisterType((*RespondActivityTaskCompletedRequest)(nil), "uber.cadence.api.v1.RespondActivityTaskCompletedRequest") + proto.RegisterType((*RespondActivityTaskCompletedResponse)(nil), "uber.cadence.api.v1.RespondActivityTaskCompletedResponse") + proto.RegisterType((*RespondActivityTaskCompletedByIDRequest)(nil), "uber.cadence.api.v1.RespondActivityTaskCompletedByIDRequest") + proto.RegisterType((*RespondActivityTaskCompletedByIDResponse)(nil), "uber.cadence.api.v1.RespondActivityTaskCompletedByIDResponse") + proto.RegisterType((*RespondActivityTaskFailedRequest)(nil), "uber.cadence.api.v1.RespondActivityTaskFailedRequest") + proto.RegisterType((*RespondActivityTaskFailedResponse)(nil), "uber.cadence.api.v1.RespondActivityTaskFailedResponse") + proto.RegisterType((*RespondActivityTaskFailedByIDRequest)(nil), "uber.cadence.api.v1.RespondActivityTaskFailedByIDRequest") + proto.RegisterType((*RespondActivityTaskFailedByIDResponse)(nil), "uber.cadence.api.v1.RespondActivityTaskFailedByIDResponse") + proto.RegisterType((*RespondActivityTaskCanceledRequest)(nil), "uber.cadence.api.v1.RespondActivityTaskCanceledRequest") + proto.RegisterType((*RespondActivityTaskCanceledResponse)(nil), "uber.cadence.api.v1.RespondActivityTaskCanceledResponse") + proto.RegisterType((*RespondActivityTaskCanceledByIDRequest)(nil), "uber.cadence.api.v1.RespondActivityTaskCanceledByIDRequest") + proto.RegisterType((*RespondActivityTaskCanceledByIDResponse)(nil), "uber.cadence.api.v1.RespondActivityTaskCanceledByIDResponse") + proto.RegisterType((*RecordActivityTaskHeartbeatRequest)(nil), "uber.cadence.api.v1.RecordActivityTaskHeartbeatRequest") + proto.RegisterType((*RecordActivityTaskHeartbeatResponse)(nil), "uber.cadence.api.v1.RecordActivityTaskHeartbeatResponse") + proto.RegisterType((*RecordActivityTaskHeartbeatByIDRequest)(nil), "uber.cadence.api.v1.RecordActivityTaskHeartbeatByIDRequest") + proto.RegisterType((*RecordActivityTaskHeartbeatByIDResponse)(nil), "uber.cadence.api.v1.RecordActivityTaskHeartbeatByIDResponse") + proto.RegisterType((*RespondQueryTaskCompletedRequest)(nil), "uber.cadence.api.v1.RespondQueryTaskCompletedRequest") + proto.RegisterType((*RespondQueryTaskCompletedResponse)(nil), "uber.cadence.api.v1.RespondQueryTaskCompletedResponse") + proto.RegisterType((*ResetStickyTaskListRequest)(nil), "uber.cadence.api.v1.ResetStickyTaskListRequest") + proto.RegisterType((*ResetStickyTaskListResponse)(nil), "uber.cadence.api.v1.ResetStickyTaskListResponse") +} + +func init() { + proto.RegisterFile("uber/cadence/api/v1/service_worker.proto", fileDescriptor_00684e887839a48c) +} + +var fileDescriptor_00684e887839a48c = []byte{ + // 1986 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe4, 0x5a, 0xcd, 0x6f, 0xdb, 0xc8, + 0x15, 0x07, 0xfd, 0xed, 0x27, 0x7f, 0xc8, 0x13, 0x34, 0x95, 0x95, 0xc4, 0x71, 0xb4, 0x4d, 0xe2, + 0x6d, 0x17, 0x52, 0xe3, 0xdd, 0x66, 0xb3, 0xc9, 0xa6, 0xa8, 0x3f, 0x62, 0xc4, 0xc5, 0x76, 0xeb, + 0x65, 0xb4, 0x59, 0x60, 0x0b, 0x84, 0x18, 0x91, 0x63, 0x6b, 0x60, 0x8a, 0xa3, 0x90, 0x43, 0xd9, + 0xba, 0xf4, 0xd0, 0xe3, 0x6e, 0x0f, 0x05, 0x8a, 0x6e, 0x2f, 0x05, 0x72, 0xee, 0x1f, 0xd0, 0xff, + 0xa1, 0xc7, 0xde, 0x7b, 0x69, 0x73, 0xed, 0xff, 0x50, 0x14, 0x9c, 0x19, 0x52, 0x94, 0x34, 0xa4, + 0x3e, 0x7a, 0x70, 0x80, 0xbd, 0x99, 0xc3, 0xdf, 0xfb, 0xf1, 0xcd, 0x7b, 0x6f, 0xde, 0xfc, 0x66, + 0x2c, 0xd8, 0x09, 0x1b, 0xc4, 0xaf, 0xd9, 0xd8, 0x21, 0x9e, 0x4d, 0x6a, 0xb8, 0x4d, 0x6b, 0x9d, + 0x07, 0xb5, 0x80, 0xf8, 0x1d, 0x6a, 0x13, 0xeb, 0x82, 0xf9, 0xe7, 0xc4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35, 0xa2, 0x7e, 0x67, 0xf1, 0x04, 0xb7, 0x69, 0xe7, 0x41, 0x63, + 0x41, 0x8c, 0x7d, 0xf8, 0xbf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x45, 0x4a, 0x43, 0x05, 0xd9, 0x22, + 0x00, 0x00, +} + +func (m *PollForDecisionTaskRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *PollForDecisionTaskRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *PollForDecisionTaskRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.BinaryChecksum) > 0 { + i -= len(m.BinaryChecksum) + copy(dAtA[i:], m.BinaryChecksum) + i = encodeVarintServiceWorker(dAtA, i, uint64(len(m.BinaryChecksum))) + i-- + dAtA[i] = 0x22 + } + if len(m.Identity) > 0 { + i -= len(m.Identity) + copy(dAtA[i:], m.Identity) + i = encodeVarintServiceWorker(dAtA, i, uint64(len(m.Identity))) + i-- + dAtA[i] = 0x1a + } + if m.TaskList != nil { + { + size, err := m.TaskList.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorker(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if len(m.Domain) > 0 { + i -= len(m.Domain) + copy(dAtA[i:], m.Domain) + i = encodeVarintServiceWorker(dAtA, i, uint64(len(m.Domain))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *PollForDecisionTaskResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *PollForDecisionTaskResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *PollForDecisionTaskResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.NextEventId != 0 { + i = encodeVarintServiceWorker(dAtA, i, uint64(m.NextEventId)) + i-- + dAtA[i] = 0x78 + } + if len(m.Queries) > 0 { + for k := range m.Queries { + v := m.Queries[k] + baseI := i + if v != nil { + { + size, err := v.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorker(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarintServiceWorker(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarintServiceWorker(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0x72 + } + } + if m.StartedTime != nil { + { + size, err := m.StartedTime.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorker(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x6a + } + if m.ScheduledTime != nil { + { + size, err := m.ScheduledTime.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorker(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x62 + } + if m.WorkflowExecutionTaskList != nil { + { + size, err := m.WorkflowExecutionTaskList.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorker(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x5a + } + if m.Query != nil { + { + size, err := m.Query.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorker(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x52 + } + if len(m.NextPageToken) > 0 { + i -= len(m.NextPageToken) + copy(dAtA[i:], m.NextPageToken) + i = encodeVarintServiceWorker(dAtA, i, uint64(len(m.NextPageToken))) + i-- + dAtA[i] = 0x4a + } + if m.History != nil { + { + size, err := m.History.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorker(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x42 + } + if m.BacklogCountHint != 0 { + i = encodeVarintServiceWorker(dAtA, i, uint64(m.BacklogCountHint)) + i-- + dAtA[i] = 0x38 + } + if m.Attempt != 0 { + i = encodeVarintServiceWorker(dAtA, i, uint64(m.Attempt)) + i-- + dAtA[i] = 0x30 + } + if m.StartedEventId != 0 { + i = encodeVarintServiceWorker(dAtA, i, uint64(m.StartedEventId)) + i-- + dAtA[i] = 0x28 + } + if m.PreviousStartedEventId != nil { + { + size, err := m.PreviousStartedEventId.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorker(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 + } + if m.WorkflowType != nil { + { + size, err := m.WorkflowType.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorker(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + if m.WorkflowExecution != nil { + { + size, err := m.WorkflowExecution.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorker(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if len(m.TaskToken) > 0 { + i -= len(m.TaskToken) + copy(dAtA[i:], m.TaskToken) + i = encodeVarintServiceWorker(dAtA, i, uint64(len(m.TaskToken))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *RespondDecisionTaskCompletedRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RespondDecisionTaskCompletedRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *RespondDecisionTaskCompletedRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.QueryResults) > 0 { + for k := range m.QueryResults { + v := m.QueryResults[k] + baseI := i + if v != nil { + { + size, err := v.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorker(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarintServiceWorker(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarintServiceWorker(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0x4a + } + } + if len(m.BinaryChecksum) > 0 { + i -= len(m.BinaryChecksum) + copy(dAtA[i:], m.BinaryChecksum) + i = encodeVarintServiceWorker(dAtA, i, uint64(len(m.BinaryChecksum))) + i-- + dAtA[i] = 0x42 + } + if m.ForceCreateNewDecisionTask { + i-- + if m.ForceCreateNewDecisionTask { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x38 + } + if m.ReturnNewDecisionTask { + i-- + if m.ReturnNewDecisionTask { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x30 + } + if m.StickyAttributes != nil { + { + size, err := m.StickyAttributes.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorker(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a + } + if len(m.Identity) > 0 { + i -= len(m.Identity) + copy(dAtA[i:], m.Identity) + i = encodeVarintServiceWorker(dAtA, i, uint64(len(m.Identity))) + i-- + dAtA[i] = 0x22 + } + if len(m.ExecutionContext) > 0 { + i -= len(m.ExecutionContext) + copy(dAtA[i:], m.ExecutionContext) + i = encodeVarintServiceWorker(dAtA, i, uint64(len(m.ExecutionContext))) + i-- + dAtA[i] = 0x1a + } + if len(m.Decisions) > 0 { + for iNdEx := len(m.Decisions) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Decisions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorker(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + } + if len(m.TaskToken) > 0 { + i -= len(m.TaskToken) + copy(dAtA[i:], m.TaskToken) + i = encodeVarintServiceWorker(dAtA, i, uint64(len(m.TaskToken))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *RespondDecisionTaskCompletedResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RespondDecisionTaskCompletedResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *RespondDecisionTaskCompletedResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.ActivitiesToDispatchLocally) > 0 { + for k := range m.ActivitiesToDispatchLocally { + v := m.ActivitiesToDispatchLocally[k] + baseI := i + if v != nil { + { + size, err := v.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorker(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarintServiceWorker(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarintServiceWorker(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0x12 + } + } + if m.DecisionTask != nil { + { + size, err := m.DecisionTask.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorker(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *RespondDecisionTaskFailedRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RespondDecisionTaskFailedRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *RespondDecisionTaskFailedRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.BinaryChecksum) > 0 { + i -= len(m.BinaryChecksum) + copy(dAtA[i:], m.BinaryChecksum) + i = encodeVarintServiceWorker(dAtA, i, uint64(len(m.BinaryChecksum))) + i-- + dAtA[i] = 0x2a + } + if len(m.Identity) > 0 { + i -= len(m.Identity) + copy(dAtA[i:], m.Identity) + i = encodeVarintServiceWorker(dAtA, i, uint64(len(m.Identity))) + i-- + dAtA[i] = 0x22 + } + if m.Details != nil { + { + size, err := m.Details.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorker(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + if m.Cause != 0 { + i = encodeVarintServiceWorker(dAtA, i, uint64(m.Cause)) + i-- + dAtA[i] = 0x10 + } + if len(m.TaskToken) > 0 { + i -= len(m.TaskToken) + copy(dAtA[i:], m.TaskToken) + i = encodeVarintServiceWorker(dAtA, i, uint64(len(m.TaskToken))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *RespondDecisionTaskFailedResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RespondDecisionTaskFailedResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *RespondDecisionTaskFailedResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + return len(dAtA) - i, nil +} + +func (m *PollForActivityTaskRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *PollForActivityTaskRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *PollForActivityTaskRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.TaskListMetadata != nil { + { + size, err := m.TaskListMetadata.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorker(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 + } + if len(m.Identity) > 0 { + i -= len(m.Identity) + copy(dAtA[i:], m.Identity) + i = encodeVarintServiceWorker(dAtA, i, uint64(len(m.Identity))) + i-- + dAtA[i] = 0x1a + } + if m.TaskList != nil { + { + size, err := m.TaskList.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorker(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if len(m.Domain) > 0 { + i -= len(m.Domain) + copy(dAtA[i:], m.Domain) + i = encodeVarintServiceWorker(dAtA, i, uint64(len(m.Domain))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *PollForActivityTaskResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *PollForActivityTaskResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *PollForActivityTaskResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.Header != nil { + { + size, err := m.Header.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorker(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x82 + } + if len(m.WorkflowDomain) > 0 { + i -= len(m.WorkflowDomain) + copy(dAtA[i:], m.WorkflowDomain) + i = encodeVarintServiceWorker(dAtA, i, uint64(len(m.WorkflowDomain))) + i-- + dAtA[i] = 0x7a + } + if m.WorkflowType != nil { + { + size, err := m.WorkflowType.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorker(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x72 + } + if m.HeartbeatDetails != nil { + { + size, err := m.HeartbeatDetails.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorker(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x6a + } + if m.ScheduledTimeOfThisAttempt != nil { + { + size, err := m.ScheduledTimeOfThisAttempt.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorker(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x62 + } + if m.Attempt != 0 { + i = encodeVarintServiceWorker(dAtA, i, uint64(m.Attempt)) + i-- + dAtA[i] = 0x58 + } + if m.HeartbeatTimeout != nil { + { + size, err := m.HeartbeatTimeout.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorker(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x52 + } + if m.StartToCloseTimeout != nil { + { + size, err := m.StartToCloseTimeout.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorker(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x4a + } + if m.ScheduleToCloseTimeout != nil { + { + size, err := m.ScheduleToCloseTimeout.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorker(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x42 + } + if m.StartedTime != nil { + { + size, err := m.StartedTime.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorker(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x3a + } + if m.ScheduledTime != nil { + { + size, err := m.ScheduledTime.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorker(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x32 + } + if m.Input != nil { + { + size, err := m.Input.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorker(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a + } + if m.ActivityType != nil { + { + size, err := m.ActivityType.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorker(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 + } + if len(m.ActivityId) > 0 { + i -= len(m.ActivityId) + copy(dAtA[i:], m.ActivityId) + i = encodeVarintServiceWorker(dAtA, i, uint64(len(m.ActivityId))) + i-- + dAtA[i] = 0x1a + } + if m.WorkflowExecution != nil { + { + size, err := m.WorkflowExecution.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorker(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if len(m.TaskToken) > 0 { + i -= len(m.TaskToken) + copy(dAtA[i:], m.TaskToken) + i = encodeVarintServiceWorker(dAtA, i, uint64(len(m.TaskToken))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *RespondActivityTaskCompletedRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RespondActivityTaskCompletedRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *RespondActivityTaskCompletedRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.Identity) > 0 { + i -= len(m.Identity) + copy(dAtA[i:], m.Identity) + i = encodeVarintServiceWorker(dAtA, i, uint64(len(m.Identity))) + i-- + dAtA[i] = 0x1a + } + if m.Result != nil { + { + size, err := m.Result.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorker(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if len(m.TaskToken) > 0 { + i -= len(m.TaskToken) + copy(dAtA[i:], m.TaskToken) + i = encodeVarintServiceWorker(dAtA, i, uint64(len(m.TaskToken))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *RespondActivityTaskCompletedResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RespondActivityTaskCompletedResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *RespondActivityTaskCompletedResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + return len(dAtA) - i, nil +} + +func (m *RespondActivityTaskCompletedByIDRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RespondActivityTaskCompletedByIDRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *RespondActivityTaskCompletedByIDRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.Identity) > 0 { + i -= len(m.Identity) + copy(dAtA[i:], m.Identity) + i = encodeVarintServiceWorker(dAtA, i, uint64(len(m.Identity))) + i-- + dAtA[i] = 0x2a + } + if m.Result != nil { + { + size, err := m.Result.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorker(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 + } + if len(m.ActivityId) > 0 { + i -= len(m.ActivityId) + copy(dAtA[i:], m.ActivityId) + i = encodeVarintServiceWorker(dAtA, i, uint64(len(m.ActivityId))) + i-- + dAtA[i] = 0x1a + } + if m.WorkflowExecution != nil { + { + size, err := m.WorkflowExecution.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorker(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if len(m.Domain) > 0 { + i -= len(m.Domain) + copy(dAtA[i:], m.Domain) + i = encodeVarintServiceWorker(dAtA, i, uint64(len(m.Domain))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *RespondActivityTaskCompletedByIDResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RespondActivityTaskCompletedByIDResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *RespondActivityTaskCompletedByIDResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + return len(dAtA) - i, nil +} + +func (m *RespondActivityTaskFailedRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RespondActivityTaskFailedRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *RespondActivityTaskFailedRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.Identity) > 0 { + i -= len(m.Identity) + copy(dAtA[i:], m.Identity) + i = encodeVarintServiceWorker(dAtA, i, uint64(len(m.Identity))) + i-- + dAtA[i] = 0x1a + } + if m.Failure != nil { + { + size, err := m.Failure.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorker(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if len(m.TaskToken) > 0 { + i -= len(m.TaskToken) + copy(dAtA[i:], m.TaskToken) + i = encodeVarintServiceWorker(dAtA, i, uint64(len(m.TaskToken))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *RespondActivityTaskFailedResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RespondActivityTaskFailedResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *RespondActivityTaskFailedResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + return len(dAtA) - i, nil +} + +func (m *RespondActivityTaskFailedByIDRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RespondActivityTaskFailedByIDRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *RespondActivityTaskFailedByIDRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.Identity) > 0 { + i -= len(m.Identity) + copy(dAtA[i:], m.Identity) + i = encodeVarintServiceWorker(dAtA, i, uint64(len(m.Identity))) + i-- + dAtA[i] = 0x2a + } + if m.Failure != nil { + { + size, err := m.Failure.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorker(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 + } + if len(m.ActivityId) > 0 { + i -= len(m.ActivityId) + copy(dAtA[i:], m.ActivityId) + i = encodeVarintServiceWorker(dAtA, i, uint64(len(m.ActivityId))) + i-- + dAtA[i] = 0x1a + } + if m.WorkflowExecution != nil { + { + size, err := m.WorkflowExecution.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorker(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if len(m.Domain) > 0 { + i -= len(m.Domain) + copy(dAtA[i:], m.Domain) + i = encodeVarintServiceWorker(dAtA, i, uint64(len(m.Domain))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *RespondActivityTaskFailedByIDResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RespondActivityTaskFailedByIDResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *RespondActivityTaskFailedByIDResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + return len(dAtA) - i, nil +} + +func (m *RespondActivityTaskCanceledRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RespondActivityTaskCanceledRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *RespondActivityTaskCanceledRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.Identity) > 0 { + i -= len(m.Identity) + copy(dAtA[i:], m.Identity) + i = encodeVarintServiceWorker(dAtA, i, uint64(len(m.Identity))) + i-- + dAtA[i] = 0x1a + } + if m.Details != nil { + { + size, err := m.Details.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorker(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if len(m.TaskToken) > 0 { + i -= len(m.TaskToken) + copy(dAtA[i:], m.TaskToken) + i = encodeVarintServiceWorker(dAtA, i, uint64(len(m.TaskToken))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *RespondActivityTaskCanceledResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RespondActivityTaskCanceledResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *RespondActivityTaskCanceledResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + return len(dAtA) - i, nil +} + +func (m *RespondActivityTaskCanceledByIDRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RespondActivityTaskCanceledByIDRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *RespondActivityTaskCanceledByIDRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.Identity) > 0 { + i -= len(m.Identity) + copy(dAtA[i:], m.Identity) + i = encodeVarintServiceWorker(dAtA, i, uint64(len(m.Identity))) + i-- + dAtA[i] = 0x2a + } + if m.Details != nil { + { + size, err := m.Details.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorker(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 + } + if len(m.ActivityId) > 0 { + i -= len(m.ActivityId) + copy(dAtA[i:], m.ActivityId) + i = encodeVarintServiceWorker(dAtA, i, uint64(len(m.ActivityId))) + i-- + dAtA[i] = 0x1a + } + if m.WorkflowExecution != nil { + { + size, err := m.WorkflowExecution.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorker(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if len(m.Domain) > 0 { + i -= len(m.Domain) + copy(dAtA[i:], m.Domain) + i = encodeVarintServiceWorker(dAtA, i, uint64(len(m.Domain))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *RespondActivityTaskCanceledByIDResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RespondActivityTaskCanceledByIDResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *RespondActivityTaskCanceledByIDResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + return len(dAtA) - i, nil +} + +func (m *RecordActivityTaskHeartbeatRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RecordActivityTaskHeartbeatRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *RecordActivityTaskHeartbeatRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.Identity) > 0 { + i -= len(m.Identity) + copy(dAtA[i:], m.Identity) + i = encodeVarintServiceWorker(dAtA, i, uint64(len(m.Identity))) + i-- + dAtA[i] = 0x1a + } + if m.Details != nil { + { + size, err := m.Details.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorker(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if len(m.TaskToken) > 0 { + i -= len(m.TaskToken) + copy(dAtA[i:], m.TaskToken) + i = encodeVarintServiceWorker(dAtA, i, uint64(len(m.TaskToken))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *RecordActivityTaskHeartbeatResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RecordActivityTaskHeartbeatResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *RecordActivityTaskHeartbeatResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.CancelRequested { + i-- + if m.CancelRequested { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *RecordActivityTaskHeartbeatByIDRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RecordActivityTaskHeartbeatByIDRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *RecordActivityTaskHeartbeatByIDRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.Identity) > 0 { + i -= len(m.Identity) + copy(dAtA[i:], m.Identity) + i = encodeVarintServiceWorker(dAtA, i, uint64(len(m.Identity))) + i-- + dAtA[i] = 0x2a + } + if m.Details != nil { + { + size, err := m.Details.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorker(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 + } + if len(m.ActivityId) > 0 { + i -= len(m.ActivityId) + copy(dAtA[i:], m.ActivityId) + i = encodeVarintServiceWorker(dAtA, i, uint64(len(m.ActivityId))) + i-- + dAtA[i] = 0x1a + } + if m.WorkflowExecution != nil { + { + size, err := m.WorkflowExecution.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorker(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if len(m.Domain) > 0 { + i -= len(m.Domain) + copy(dAtA[i:], m.Domain) + i = encodeVarintServiceWorker(dAtA, i, uint64(len(m.Domain))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *RecordActivityTaskHeartbeatByIDResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RecordActivityTaskHeartbeatByIDResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *RecordActivityTaskHeartbeatByIDResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.CancelRequested { + i-- + if m.CancelRequested { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *RespondQueryTaskCompletedRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RespondQueryTaskCompletedRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *RespondQueryTaskCompletedRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.WorkerVersionInfo != nil { + { + size, err := m.WorkerVersionInfo.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorker(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + if m.Result != nil { + { + size, err := m.Result.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorker(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if len(m.TaskToken) > 0 { + i -= len(m.TaskToken) + copy(dAtA[i:], m.TaskToken) + i = encodeVarintServiceWorker(dAtA, i, uint64(len(m.TaskToken))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *RespondQueryTaskCompletedResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RespondQueryTaskCompletedResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *RespondQueryTaskCompletedResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + return len(dAtA) - i, nil +} + +func (m *ResetStickyTaskListRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ResetStickyTaskListRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ResetStickyTaskListRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.WorkflowExecution != nil { + { + size, err := m.WorkflowExecution.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorker(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if len(m.Domain) > 0 { + i -= len(m.Domain) + copy(dAtA[i:], m.Domain) + i = encodeVarintServiceWorker(dAtA, i, uint64(len(m.Domain))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ResetStickyTaskListResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ResetStickyTaskListResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ResetStickyTaskListResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + return len(dAtA) - i, nil +} + +func encodeVarintServiceWorker(dAtA []byte, offset int, v uint64) int { + offset -= sovServiceWorker(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *PollForDecisionTaskRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Domain) + if l > 0 { + n += 1 + l + sovServiceWorker(uint64(l)) + } + if m.TaskList != nil { + l = m.TaskList.Size() + n += 1 + l + sovServiceWorker(uint64(l)) + } + l = len(m.Identity) + if l > 0 { + n += 1 + l + sovServiceWorker(uint64(l)) + } + l = len(m.BinaryChecksum) + if l > 0 { + n += 1 + l + sovServiceWorker(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *PollForDecisionTaskResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.TaskToken) + if l > 0 { + n += 1 + l + sovServiceWorker(uint64(l)) + } + if m.WorkflowExecution != nil { + l = m.WorkflowExecution.Size() + n += 1 + l + sovServiceWorker(uint64(l)) + } + if m.WorkflowType != nil { + l = m.WorkflowType.Size() + n += 1 + l + sovServiceWorker(uint64(l)) + } + if m.PreviousStartedEventId != nil { + l = m.PreviousStartedEventId.Size() + n += 1 + l + sovServiceWorker(uint64(l)) + } + if m.StartedEventId != 0 { + n += 1 + sovServiceWorker(uint64(m.StartedEventId)) + } + if m.Attempt != 0 { + n += 1 + sovServiceWorker(uint64(m.Attempt)) + } + if m.BacklogCountHint != 0 { + n += 1 + sovServiceWorker(uint64(m.BacklogCountHint)) + } + if m.History != nil { + l = m.History.Size() + n += 1 + l + sovServiceWorker(uint64(l)) + } + l = len(m.NextPageToken) + if l > 0 { + n += 1 + l + sovServiceWorker(uint64(l)) + } + if m.Query != nil { + l = m.Query.Size() + n += 1 + l + sovServiceWorker(uint64(l)) + } + if m.WorkflowExecutionTaskList != nil { + l = m.WorkflowExecutionTaskList.Size() + n += 1 + l + sovServiceWorker(uint64(l)) + } + if m.ScheduledTime != nil { + l = m.ScheduledTime.Size() + n += 1 + l + sovServiceWorker(uint64(l)) + } + if m.StartedTime != nil { + l = m.StartedTime.Size() + n += 1 + l + sovServiceWorker(uint64(l)) + } + if len(m.Queries) > 0 { + for k, v := range m.Queries { + _ = k + _ = v + l = 0 + if v != nil { + l = v.Size() + l += 1 + sovServiceWorker(uint64(l)) + } + mapEntrySize := 1 + len(k) + sovServiceWorker(uint64(len(k))) + l + n += mapEntrySize + 1 + sovServiceWorker(uint64(mapEntrySize)) + } + } + if m.NextEventId != 0 { + n += 1 + sovServiceWorker(uint64(m.NextEventId)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *RespondDecisionTaskCompletedRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.TaskToken) + if l > 0 { + n += 1 + l + sovServiceWorker(uint64(l)) + } + if len(m.Decisions) > 0 { + for _, e := range m.Decisions { + l = e.Size() + n += 1 + l + sovServiceWorker(uint64(l)) + } + } + l = len(m.ExecutionContext) + if l > 0 { + n += 1 + l + sovServiceWorker(uint64(l)) + } + l = len(m.Identity) + if l > 0 { + n += 1 + l + sovServiceWorker(uint64(l)) + } + if m.StickyAttributes != nil { + l = m.StickyAttributes.Size() + n += 1 + l + sovServiceWorker(uint64(l)) + } + if m.ReturnNewDecisionTask { + n += 2 + } + if m.ForceCreateNewDecisionTask { + n += 2 + } + l = len(m.BinaryChecksum) + if l > 0 { + n += 1 + l + sovServiceWorker(uint64(l)) + } + if len(m.QueryResults) > 0 { + for k, v := range m.QueryResults { + _ = k + _ = v + l = 0 + if v != nil { + l = v.Size() + l += 1 + sovServiceWorker(uint64(l)) + } + mapEntrySize := 1 + len(k) + sovServiceWorker(uint64(len(k))) + l + n += mapEntrySize + 1 + sovServiceWorker(uint64(mapEntrySize)) + } + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *RespondDecisionTaskCompletedResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.DecisionTask != nil { + l = m.DecisionTask.Size() + n += 1 + l + sovServiceWorker(uint64(l)) + } + if len(m.ActivitiesToDispatchLocally) > 0 { + for k, v := range m.ActivitiesToDispatchLocally { + _ = k + _ = v + l = 0 + if v != nil { + l = v.Size() + l += 1 + sovServiceWorker(uint64(l)) + } + mapEntrySize := 1 + len(k) + sovServiceWorker(uint64(len(k))) + l + n += mapEntrySize + 1 + sovServiceWorker(uint64(mapEntrySize)) + } + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *RespondDecisionTaskFailedRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.TaskToken) + if l > 0 { + n += 1 + l + sovServiceWorker(uint64(l)) + } + if m.Cause != 0 { + n += 1 + sovServiceWorker(uint64(m.Cause)) + } + if m.Details != nil { + l = m.Details.Size() + n += 1 + l + sovServiceWorker(uint64(l)) + } + l = len(m.Identity) + if l > 0 { + n += 1 + l + sovServiceWorker(uint64(l)) + } + l = len(m.BinaryChecksum) + if l > 0 { + n += 1 + l + sovServiceWorker(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *RespondDecisionTaskFailedResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *PollForActivityTaskRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Domain) + if l > 0 { + n += 1 + l + sovServiceWorker(uint64(l)) + } + if m.TaskList != nil { + l = m.TaskList.Size() + n += 1 + l + sovServiceWorker(uint64(l)) + } + l = len(m.Identity) + if l > 0 { + n += 1 + l + sovServiceWorker(uint64(l)) + } + if m.TaskListMetadata != nil { + l = m.TaskListMetadata.Size() + n += 1 + l + sovServiceWorker(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *PollForActivityTaskResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.TaskToken) + if l > 0 { + n += 1 + l + sovServiceWorker(uint64(l)) + } + if m.WorkflowExecution != nil { + l = m.WorkflowExecution.Size() + n += 1 + l + sovServiceWorker(uint64(l)) + } + l = len(m.ActivityId) + if l > 0 { + n += 1 + l + sovServiceWorker(uint64(l)) + } + if m.ActivityType != nil { + l = m.ActivityType.Size() + n += 1 + l + sovServiceWorker(uint64(l)) + } + if m.Input != nil { + l = m.Input.Size() + n += 1 + l + sovServiceWorker(uint64(l)) + } + if m.ScheduledTime != nil { + l = m.ScheduledTime.Size() + n += 1 + l + sovServiceWorker(uint64(l)) + } + if m.StartedTime != nil { + l = m.StartedTime.Size() + n += 1 + l + sovServiceWorker(uint64(l)) + } + if m.ScheduleToCloseTimeout != nil { + l = m.ScheduleToCloseTimeout.Size() + n += 1 + l + sovServiceWorker(uint64(l)) + } + if m.StartToCloseTimeout != nil { + l = m.StartToCloseTimeout.Size() + n += 1 + l + sovServiceWorker(uint64(l)) + } + if m.HeartbeatTimeout != nil { + l = m.HeartbeatTimeout.Size() + n += 1 + l + sovServiceWorker(uint64(l)) + } + if m.Attempt != 0 { + n += 1 + sovServiceWorker(uint64(m.Attempt)) + } + if m.ScheduledTimeOfThisAttempt != nil { + l = m.ScheduledTimeOfThisAttempt.Size() + n += 1 + l + sovServiceWorker(uint64(l)) + } + if m.HeartbeatDetails != nil { + l = m.HeartbeatDetails.Size() + n += 1 + l + sovServiceWorker(uint64(l)) + } + if m.WorkflowType != nil { + l = m.WorkflowType.Size() + n += 1 + l + sovServiceWorker(uint64(l)) + } + l = len(m.WorkflowDomain) + if l > 0 { + n += 1 + l + sovServiceWorker(uint64(l)) + } + if m.Header != nil { + l = m.Header.Size() + n += 2 + l + sovServiceWorker(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *RespondActivityTaskCompletedRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.TaskToken) + if l > 0 { + n += 1 + l + sovServiceWorker(uint64(l)) + } + if m.Result != nil { + l = m.Result.Size() + n += 1 + l + sovServiceWorker(uint64(l)) + } + l = len(m.Identity) + if l > 0 { + n += 1 + l + sovServiceWorker(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *RespondActivityTaskCompletedResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *RespondActivityTaskCompletedByIDRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Domain) + if l > 0 { + n += 1 + l + sovServiceWorker(uint64(l)) + } + if m.WorkflowExecution != nil { + l = m.WorkflowExecution.Size() + n += 1 + l + sovServiceWorker(uint64(l)) + } + l = len(m.ActivityId) + if l > 0 { + n += 1 + l + sovServiceWorker(uint64(l)) + } + if m.Result != nil { + l = m.Result.Size() + n += 1 + l + sovServiceWorker(uint64(l)) + } + l = len(m.Identity) + if l > 0 { + n += 1 + l + sovServiceWorker(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *RespondActivityTaskCompletedByIDResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *RespondActivityTaskFailedRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.TaskToken) + if l > 0 { + n += 1 + l + sovServiceWorker(uint64(l)) + } + if m.Failure != nil { + l = m.Failure.Size() + n += 1 + l + sovServiceWorker(uint64(l)) + } + l = len(m.Identity) + if l > 0 { + n += 1 + l + sovServiceWorker(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *RespondActivityTaskFailedResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *RespondActivityTaskFailedByIDRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Domain) + if l > 0 { + n += 1 + l + sovServiceWorker(uint64(l)) + } + if m.WorkflowExecution != nil { + l = m.WorkflowExecution.Size() + n += 1 + l + sovServiceWorker(uint64(l)) + } + l = len(m.ActivityId) + if l > 0 { + n += 1 + l + sovServiceWorker(uint64(l)) + } + if m.Failure != nil { + l = m.Failure.Size() + n += 1 + l + sovServiceWorker(uint64(l)) + } + l = len(m.Identity) + if l > 0 { + n += 1 + l + sovServiceWorker(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *RespondActivityTaskFailedByIDResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *RespondActivityTaskCanceledRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.TaskToken) + if l > 0 { + n += 1 + l + sovServiceWorker(uint64(l)) + } + if m.Details != nil { + l = m.Details.Size() + n += 1 + l + sovServiceWorker(uint64(l)) + } + l = len(m.Identity) + if l > 0 { + n += 1 + l + sovServiceWorker(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *RespondActivityTaskCanceledResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *RespondActivityTaskCanceledByIDRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Domain) + if l > 0 { + n += 1 + l + sovServiceWorker(uint64(l)) + } + if m.WorkflowExecution != nil { + l = m.WorkflowExecution.Size() + n += 1 + l + sovServiceWorker(uint64(l)) + } + l = len(m.ActivityId) + if l > 0 { + n += 1 + l + sovServiceWorker(uint64(l)) + } + if m.Details != nil { + l = m.Details.Size() + n += 1 + l + sovServiceWorker(uint64(l)) + } + l = len(m.Identity) + if l > 0 { + n += 1 + l + sovServiceWorker(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *RespondActivityTaskCanceledByIDResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *RecordActivityTaskHeartbeatRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.TaskToken) + if l > 0 { + n += 1 + l + sovServiceWorker(uint64(l)) + } + if m.Details != nil { + l = m.Details.Size() + n += 1 + l + sovServiceWorker(uint64(l)) + } + l = len(m.Identity) + if l > 0 { + n += 1 + l + sovServiceWorker(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *RecordActivityTaskHeartbeatResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.CancelRequested { + n += 2 + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *RecordActivityTaskHeartbeatByIDRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Domain) + if l > 0 { + n += 1 + l + sovServiceWorker(uint64(l)) + } + if m.WorkflowExecution != nil { + l = m.WorkflowExecution.Size() + n += 1 + l + sovServiceWorker(uint64(l)) + } + l = len(m.ActivityId) + if l > 0 { + n += 1 + l + sovServiceWorker(uint64(l)) + } + if m.Details != nil { + l = m.Details.Size() + n += 1 + l + sovServiceWorker(uint64(l)) + } + l = len(m.Identity) + if l > 0 { + n += 1 + l + sovServiceWorker(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *RecordActivityTaskHeartbeatByIDResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.CancelRequested { + n += 2 + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *RespondQueryTaskCompletedRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.TaskToken) + if l > 0 { + n += 1 + l + sovServiceWorker(uint64(l)) + } + if m.Result != nil { + l = m.Result.Size() + n += 1 + l + sovServiceWorker(uint64(l)) + } + if m.WorkerVersionInfo != nil { + l = m.WorkerVersionInfo.Size() + n += 1 + l + sovServiceWorker(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *RespondQueryTaskCompletedResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *ResetStickyTaskListRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Domain) + if l > 0 { + n += 1 + l + sovServiceWorker(uint64(l)) + } + if m.WorkflowExecution != nil { + l = m.WorkflowExecution.Size() + n += 1 + l + sovServiceWorker(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *ResetStickyTaskListResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func sovServiceWorker(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozServiceWorker(x uint64) (n int) { + return sovServiceWorker(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *PollForDecisionTaskRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: PollForDecisionTaskRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: PollForDecisionTaskRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Domain", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Domain = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TaskList", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.TaskList == nil { + m.TaskList = &TaskList{} + } + if err := m.TaskList.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Identity", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Identity = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field BinaryChecksum", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.BinaryChecksum = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipServiceWorker(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceWorker + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *PollForDecisionTaskResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: PollForDecisionTaskResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: PollForDecisionTaskResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TaskToken", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TaskToken = append(m.TaskToken[:0], dAtA[iNdEx:postIndex]...) + if m.TaskToken == nil { + m.TaskToken = []byte{} + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowExecution", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.WorkflowExecution == nil { + m.WorkflowExecution = &WorkflowExecution{} + } + if err := m.WorkflowExecution.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowType", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.WorkflowType == nil { + m.WorkflowType = &WorkflowType{} + } + if err := m.WorkflowType.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PreviousStartedEventId", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.PreviousStartedEventId == nil { + m.PreviousStartedEventId = &types.Int64Value{} + } + if err := m.PreviousStartedEventId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field StartedEventId", wireType) + } + m.StartedEventId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.StartedEventId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 6: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Attempt", wireType) + } + m.Attempt = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Attempt |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 7: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field BacklogCountHint", wireType) + } + m.BacklogCountHint = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.BacklogCountHint |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 8: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field History", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.History == nil { + m.History = &History{} + } + if err := m.History.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 9: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.NextPageToken = append(m.NextPageToken[:0], dAtA[iNdEx:postIndex]...) + if m.NextPageToken == nil { + m.NextPageToken = []byte{} + } + iNdEx = postIndex + case 10: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Query", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Query == nil { + m.Query = &WorkflowQuery{} + } + if err := m.Query.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 11: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowExecutionTaskList", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.WorkflowExecutionTaskList == nil { + m.WorkflowExecutionTaskList = &TaskList{} + } + if err := m.WorkflowExecutionTaskList.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 12: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ScheduledTime", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.ScheduledTime == nil { + m.ScheduledTime = &types.Timestamp{} + } + if err := m.ScheduledTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 13: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field StartedTime", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.StartedTime == nil { + m.StartedTime = &types.Timestamp{} + } + if err := m.StartedTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 14: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Queries", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Queries == nil { + m.Queries = make(map[string]*WorkflowQuery) + } + var mapkey string + var mapvalue *WorkflowQuery + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLengthServiceWorker + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLengthServiceWorker + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var mapmsglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapmsglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if mapmsglen < 0 { + return ErrInvalidLengthServiceWorker + } + postmsgIndex := iNdEx + mapmsglen + if postmsgIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postmsgIndex > l { + return io.ErrUnexpectedEOF + } + mapvalue = &WorkflowQuery{} + if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { + return err + } + iNdEx = postmsgIndex + } else { + iNdEx = entryPreIndex + skippy, err := skipServiceWorker(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceWorker + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.Queries[mapkey] = mapvalue + iNdEx = postIndex + case 15: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field NextEventId", wireType) + } + m.NextEventId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.NextEventId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipServiceWorker(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceWorker + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RespondDecisionTaskCompletedRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RespondDecisionTaskCompletedRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RespondDecisionTaskCompletedRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TaskToken", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TaskToken = append(m.TaskToken[:0], dAtA[iNdEx:postIndex]...) + if m.TaskToken == nil { + m.TaskToken = []byte{} + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Decisions", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Decisions = append(m.Decisions, &Decision{}) + if err := m.Decisions[len(m.Decisions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ExecutionContext", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ExecutionContext = append(m.ExecutionContext[:0], dAtA[iNdEx:postIndex]...) + if m.ExecutionContext == nil { + m.ExecutionContext = []byte{} + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Identity", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Identity = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field StickyAttributes", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.StickyAttributes == nil { + m.StickyAttributes = &StickyExecutionAttributes{} + } + if err := m.StickyAttributes.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 6: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ReturnNewDecisionTask", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.ReturnNewDecisionTask = bool(v != 0) + case 7: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ForceCreateNewDecisionTask", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.ForceCreateNewDecisionTask = bool(v != 0) + case 8: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field BinaryChecksum", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.BinaryChecksum = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 9: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field QueryResults", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.QueryResults == nil { + m.QueryResults = make(map[string]*WorkflowQueryResult) + } + var mapkey string + var mapvalue *WorkflowQueryResult + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLengthServiceWorker + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLengthServiceWorker + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var mapmsglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapmsglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if mapmsglen < 0 { + return ErrInvalidLengthServiceWorker + } + postmsgIndex := iNdEx + mapmsglen + if postmsgIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postmsgIndex > l { + return io.ErrUnexpectedEOF + } + mapvalue = &WorkflowQueryResult{} + if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { + return err + } + iNdEx = postmsgIndex + } else { + iNdEx = entryPreIndex + skippy, err := skipServiceWorker(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceWorker + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.QueryResults[mapkey] = mapvalue + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipServiceWorker(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceWorker + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RespondDecisionTaskCompletedResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RespondDecisionTaskCompletedResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RespondDecisionTaskCompletedResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DecisionTask", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.DecisionTask == nil { + m.DecisionTask = &PollForDecisionTaskResponse{} + } + if err := m.DecisionTask.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ActivitiesToDispatchLocally", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.ActivitiesToDispatchLocally == nil { + m.ActivitiesToDispatchLocally = make(map[string]*ActivityLocalDispatchInfo) + } + var mapkey string + var mapvalue *ActivityLocalDispatchInfo + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLengthServiceWorker + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLengthServiceWorker + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var mapmsglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapmsglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if mapmsglen < 0 { + return ErrInvalidLengthServiceWorker + } + postmsgIndex := iNdEx + mapmsglen + if postmsgIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postmsgIndex > l { + return io.ErrUnexpectedEOF + } + mapvalue = &ActivityLocalDispatchInfo{} + if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { + return err + } + iNdEx = postmsgIndex + } else { + iNdEx = entryPreIndex + skippy, err := skipServiceWorker(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceWorker + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.ActivitiesToDispatchLocally[mapkey] = mapvalue + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipServiceWorker(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceWorker + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RespondDecisionTaskFailedRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RespondDecisionTaskFailedRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RespondDecisionTaskFailedRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TaskToken", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TaskToken = append(m.TaskToken[:0], dAtA[iNdEx:postIndex]...) + if m.TaskToken == nil { + m.TaskToken = []byte{} + } + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Cause", wireType) + } + m.Cause = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Cause |= DecisionTaskFailedCause(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Details", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Details == nil { + m.Details = &Payload{} + } + if err := m.Details.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Identity", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Identity = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field BinaryChecksum", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.BinaryChecksum = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipServiceWorker(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceWorker + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RespondDecisionTaskFailedResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RespondDecisionTaskFailedResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RespondDecisionTaskFailedResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipServiceWorker(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceWorker + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *PollForActivityTaskRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: PollForActivityTaskRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: PollForActivityTaskRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Domain", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Domain = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TaskList", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.TaskList == nil { + m.TaskList = &TaskList{} + } + if err := m.TaskList.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Identity", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Identity = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TaskListMetadata", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.TaskListMetadata == nil { + m.TaskListMetadata = &TaskListMetadata{} + } + if err := m.TaskListMetadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipServiceWorker(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceWorker + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *PollForActivityTaskResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: PollForActivityTaskResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: PollForActivityTaskResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TaskToken", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TaskToken = append(m.TaskToken[:0], dAtA[iNdEx:postIndex]...) + if m.TaskToken == nil { + m.TaskToken = []byte{} + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowExecution", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.WorkflowExecution == nil { + m.WorkflowExecution = &WorkflowExecution{} + } + if err := m.WorkflowExecution.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ActivityId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ActivityId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ActivityType", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.ActivityType == nil { + m.ActivityType = &ActivityType{} + } + if err := m.ActivityType.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Input", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Input == nil { + m.Input = &Payload{} + } + if err := m.Input.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ScheduledTime", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.ScheduledTime == nil { + m.ScheduledTime = &types.Timestamp{} + } + if err := m.ScheduledTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field StartedTime", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.StartedTime == nil { + m.StartedTime = &types.Timestamp{} + } + if err := m.StartedTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 8: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ScheduleToCloseTimeout", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.ScheduleToCloseTimeout == nil { + m.ScheduleToCloseTimeout = &types.Duration{} + } + if err := m.ScheduleToCloseTimeout.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 9: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field StartToCloseTimeout", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.StartToCloseTimeout == nil { + m.StartToCloseTimeout = &types.Duration{} + } + if err := m.StartToCloseTimeout.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 10: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field HeartbeatTimeout", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.HeartbeatTimeout == nil { + m.HeartbeatTimeout = &types.Duration{} + } + if err := m.HeartbeatTimeout.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 11: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Attempt", wireType) + } + m.Attempt = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Attempt |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 12: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ScheduledTimeOfThisAttempt", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.ScheduledTimeOfThisAttempt == nil { + m.ScheduledTimeOfThisAttempt = &types.Timestamp{} + } + if err := m.ScheduledTimeOfThisAttempt.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 13: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field HeartbeatDetails", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.HeartbeatDetails == nil { + m.HeartbeatDetails = &Payload{} + } + if err := m.HeartbeatDetails.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 14: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowType", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.WorkflowType == nil { + m.WorkflowType = &WorkflowType{} + } + if err := m.WorkflowType.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 15: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowDomain", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.WorkflowDomain = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 16: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Header", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Header == nil { + m.Header = &Header{} + } + if err := m.Header.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipServiceWorker(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceWorker + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RespondActivityTaskCompletedRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RespondActivityTaskCompletedRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RespondActivityTaskCompletedRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TaskToken", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TaskToken = append(m.TaskToken[:0], dAtA[iNdEx:postIndex]...) + if m.TaskToken == nil { + m.TaskToken = []byte{} + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Result", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Result == nil { + m.Result = &Payload{} + } + if err := m.Result.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Identity", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Identity = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipServiceWorker(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceWorker + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RespondActivityTaskCompletedResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RespondActivityTaskCompletedResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RespondActivityTaskCompletedResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipServiceWorker(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceWorker + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RespondActivityTaskCompletedByIDRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RespondActivityTaskCompletedByIDRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RespondActivityTaskCompletedByIDRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Domain", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Domain = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowExecution", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.WorkflowExecution == nil { + m.WorkflowExecution = &WorkflowExecution{} + } + if err := m.WorkflowExecution.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ActivityId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ActivityId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Result", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Result == nil { + m.Result = &Payload{} + } + if err := m.Result.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Identity", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Identity = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipServiceWorker(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceWorker + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RespondActivityTaskCompletedByIDResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RespondActivityTaskCompletedByIDResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RespondActivityTaskCompletedByIDResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipServiceWorker(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceWorker + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RespondActivityTaskFailedRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RespondActivityTaskFailedRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RespondActivityTaskFailedRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TaskToken", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TaskToken = append(m.TaskToken[:0], dAtA[iNdEx:postIndex]...) + if m.TaskToken == nil { + m.TaskToken = []byte{} + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Failure", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Failure == nil { + m.Failure = &Failure{} + } + if err := m.Failure.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Identity", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Identity = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipServiceWorker(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceWorker + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RespondActivityTaskFailedResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RespondActivityTaskFailedResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RespondActivityTaskFailedResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipServiceWorker(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceWorker + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RespondActivityTaskFailedByIDRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RespondActivityTaskFailedByIDRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RespondActivityTaskFailedByIDRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Domain", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Domain = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowExecution", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.WorkflowExecution == nil { + m.WorkflowExecution = &WorkflowExecution{} + } + if err := m.WorkflowExecution.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ActivityId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ActivityId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Failure", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Failure == nil { + m.Failure = &Failure{} + } + if err := m.Failure.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Identity", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Identity = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipServiceWorker(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceWorker + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RespondActivityTaskFailedByIDResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RespondActivityTaskFailedByIDResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RespondActivityTaskFailedByIDResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipServiceWorker(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceWorker + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RespondActivityTaskCanceledRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RespondActivityTaskCanceledRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RespondActivityTaskCanceledRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TaskToken", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TaskToken = append(m.TaskToken[:0], dAtA[iNdEx:postIndex]...) + if m.TaskToken == nil { + m.TaskToken = []byte{} + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Details", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Details == nil { + m.Details = &Payload{} + } + if err := m.Details.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Identity", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Identity = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipServiceWorker(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceWorker + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RespondActivityTaskCanceledResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RespondActivityTaskCanceledResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RespondActivityTaskCanceledResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipServiceWorker(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceWorker + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RespondActivityTaskCanceledByIDRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RespondActivityTaskCanceledByIDRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RespondActivityTaskCanceledByIDRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Domain", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Domain = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowExecution", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.WorkflowExecution == nil { + m.WorkflowExecution = &WorkflowExecution{} + } + if err := m.WorkflowExecution.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ActivityId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ActivityId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Details", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Details == nil { + m.Details = &Payload{} + } + if err := m.Details.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Identity", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Identity = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipServiceWorker(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceWorker + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RespondActivityTaskCanceledByIDResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RespondActivityTaskCanceledByIDResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RespondActivityTaskCanceledByIDResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipServiceWorker(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceWorker + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RecordActivityTaskHeartbeatRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RecordActivityTaskHeartbeatRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RecordActivityTaskHeartbeatRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TaskToken", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TaskToken = append(m.TaskToken[:0], dAtA[iNdEx:postIndex]...) + if m.TaskToken == nil { + m.TaskToken = []byte{} + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Details", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Details == nil { + m.Details = &Payload{} + } + if err := m.Details.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Identity", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Identity = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipServiceWorker(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceWorker + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RecordActivityTaskHeartbeatResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RecordActivityTaskHeartbeatResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RecordActivityTaskHeartbeatResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field CancelRequested", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.CancelRequested = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skipServiceWorker(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceWorker + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RecordActivityTaskHeartbeatByIDRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RecordActivityTaskHeartbeatByIDRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RecordActivityTaskHeartbeatByIDRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Domain", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Domain = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowExecution", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.WorkflowExecution == nil { + m.WorkflowExecution = &WorkflowExecution{} + } + if err := m.WorkflowExecution.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ActivityId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ActivityId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Details", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Details == nil { + m.Details = &Payload{} + } + if err := m.Details.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Identity", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Identity = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipServiceWorker(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceWorker + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RecordActivityTaskHeartbeatByIDResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RecordActivityTaskHeartbeatByIDResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RecordActivityTaskHeartbeatByIDResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field CancelRequested", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.CancelRequested = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skipServiceWorker(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceWorker + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RespondQueryTaskCompletedRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RespondQueryTaskCompletedRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RespondQueryTaskCompletedRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TaskToken", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TaskToken = append(m.TaskToken[:0], dAtA[iNdEx:postIndex]...) + if m.TaskToken == nil { + m.TaskToken = []byte{} + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Result", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Result == nil { + m.Result = &WorkflowQueryResult{} + } + if err := m.Result.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkerVersionInfo", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.WorkerVersionInfo == nil { + m.WorkerVersionInfo = &WorkerVersionInfo{} + } + if err := m.WorkerVersionInfo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipServiceWorker(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceWorker + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RespondQueryTaskCompletedResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RespondQueryTaskCompletedResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RespondQueryTaskCompletedResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipServiceWorker(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceWorker + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ResetStickyTaskListRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ResetStickyTaskListRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ResetStickyTaskListRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Domain", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Domain = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowExecution", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorker + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorker + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.WorkflowExecution == nil { + m.WorkflowExecution = &WorkflowExecution{} + } + if err := m.WorkflowExecution.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipServiceWorker(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceWorker + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ResetStickyTaskListResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ResetStickyTaskListResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ResetStickyTaskListResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipServiceWorker(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceWorker + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func skipServiceWorker(dAtA []byte) (n int, err error) { + l := len(dAtA) + iNdEx := 0 + depth := 0 + for iNdEx < l { + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + wireType := int(wire & 0x7) + switch wireType { + case 0: + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + iNdEx++ + if dAtA[iNdEx-1] < 0x80 { + break + } + } + case 1: + iNdEx += 8 + case 2: + var length int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowServiceWorker + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + length |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if length < 0 { + return 0, ErrInvalidLengthServiceWorker + } + iNdEx += length + case 3: + depth++ + case 4: + if depth == 0 { + return 0, ErrUnexpectedEndOfGroupServiceWorker + } + depth-- + case 5: + iNdEx += 4 + default: + return 0, fmt.Errorf("proto: illegal wireType %d", wireType) + } + if iNdEx < 0 { + return 0, ErrInvalidLengthServiceWorker + } + if depth == 0 { + return iNdEx, nil + } + } + return 0, io.ErrUnexpectedEOF +} + +var ( + ErrInvalidLengthServiceWorker = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflowServiceWorker = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroupServiceWorker = fmt.Errorf("proto: unexpected end of group") +) diff --git a/go/proto/api/v1/service_worker.pb.yarpc.go b/go/proto/api/v1/service_worker.pb.yarpc.go new file mode 100644 index 0000000..fd32c9a --- /dev/null +++ b/go/proto/api/v1/service_worker.pb.yarpc.go @@ -0,0 +1,1699 @@ +// The MIT License (MIT) +// +// Copyright (c) 2021 Uber Technologies, Inc. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +// SOFTWARE. + +// Code generated by protoc-gen-yarpc-go. DO NOT EDIT. +// source: uber/cadence/api/v1/service_worker.proto + +package apiv1 + +import ( + "context" + "io/ioutil" + "reflect" + + "github.com/gogo/protobuf/jsonpb" + "github.com/gogo/protobuf/proto" + "go.uber.org/fx" + "go.uber.org/yarpc" + "go.uber.org/yarpc/api/transport" + "go.uber.org/yarpc/api/x/restriction" + "go.uber.org/yarpc/encoding/protobuf" + "go.uber.org/yarpc/encoding/protobuf/reflection" +) + +var _ = ioutil.NopCloser + +// WorkerAPIYARPCClient is the YARPC client-side interface for the WorkerAPI service. +type WorkerAPIYARPCClient interface { + PollForDecisionTask(context.Context, *PollForDecisionTaskRequest, ...yarpc.CallOption) (*PollForDecisionTaskResponse, error) + RespondDecisionTaskCompleted(context.Context, *RespondDecisionTaskCompletedRequest, ...yarpc.CallOption) (*RespondDecisionTaskCompletedResponse, error) + RespondDecisionTaskFailed(context.Context, *RespondDecisionTaskFailedRequest, ...yarpc.CallOption) (*RespondDecisionTaskFailedResponse, error) + PollForActivityTask(context.Context, *PollForActivityTaskRequest, ...yarpc.CallOption) (*PollForActivityTaskResponse, error) + RespondActivityTaskCompleted(context.Context, *RespondActivityTaskCompletedRequest, ...yarpc.CallOption) (*RespondActivityTaskCompletedResponse, error) + RespondActivityTaskCompletedByID(context.Context, *RespondActivityTaskCompletedByIDRequest, ...yarpc.CallOption) (*RespondActivityTaskCompletedByIDResponse, error) + RespondActivityTaskFailed(context.Context, *RespondActivityTaskFailedRequest, ...yarpc.CallOption) (*RespondActivityTaskFailedResponse, error) + RespondActivityTaskFailedByID(context.Context, *RespondActivityTaskFailedByIDRequest, ...yarpc.CallOption) (*RespondActivityTaskFailedByIDResponse, error) + RespondActivityTaskCanceled(context.Context, *RespondActivityTaskCanceledRequest, ...yarpc.CallOption) (*RespondActivityTaskCanceledResponse, error) + RespondActivityTaskCanceledByID(context.Context, *RespondActivityTaskCanceledByIDRequest, ...yarpc.CallOption) (*RespondActivityTaskCanceledByIDResponse, error) + RecordActivityTaskHeartbeat(context.Context, *RecordActivityTaskHeartbeatRequest, ...yarpc.CallOption) (*RecordActivityTaskHeartbeatResponse, error) + RecordActivityTaskHeartbeatByID(context.Context, *RecordActivityTaskHeartbeatByIDRequest, ...yarpc.CallOption) (*RecordActivityTaskHeartbeatByIDResponse, error) + RespondQueryTaskCompleted(context.Context, *RespondQueryTaskCompletedRequest, ...yarpc.CallOption) (*RespondQueryTaskCompletedResponse, error) + ResetStickyTaskList(context.Context, *ResetStickyTaskListRequest, ...yarpc.CallOption) (*ResetStickyTaskListResponse, error) +} + +func newWorkerAPIYARPCClient(clientConfig transport.ClientConfig, anyResolver jsonpb.AnyResolver, options ...protobuf.ClientOption) WorkerAPIYARPCClient { + return &_WorkerAPIYARPCCaller{protobuf.NewStreamClient( + protobuf.ClientParams{ + ServiceName: "uber.cadence.api.v1.WorkerAPI", + ClientConfig: clientConfig, + AnyResolver: anyResolver, + Options: options, + }, + )} +} + +// NewWorkerAPIYARPCClient builds a new YARPC client for the WorkerAPI service. +func NewWorkerAPIYARPCClient(clientConfig transport.ClientConfig, options ...protobuf.ClientOption) WorkerAPIYARPCClient { + return newWorkerAPIYARPCClient(clientConfig, nil, options...) +} + +// WorkerAPIYARPCServer is the YARPC server-side interface for the WorkerAPI service. +type WorkerAPIYARPCServer interface { + PollForDecisionTask(context.Context, *PollForDecisionTaskRequest) (*PollForDecisionTaskResponse, error) + RespondDecisionTaskCompleted(context.Context, *RespondDecisionTaskCompletedRequest) (*RespondDecisionTaskCompletedResponse, error) + RespondDecisionTaskFailed(context.Context, *RespondDecisionTaskFailedRequest) (*RespondDecisionTaskFailedResponse, error) + PollForActivityTask(context.Context, *PollForActivityTaskRequest) (*PollForActivityTaskResponse, error) + RespondActivityTaskCompleted(context.Context, *RespondActivityTaskCompletedRequest) (*RespondActivityTaskCompletedResponse, error) + RespondActivityTaskCompletedByID(context.Context, *RespondActivityTaskCompletedByIDRequest) (*RespondActivityTaskCompletedByIDResponse, error) + RespondActivityTaskFailed(context.Context, *RespondActivityTaskFailedRequest) (*RespondActivityTaskFailedResponse, error) + RespondActivityTaskFailedByID(context.Context, *RespondActivityTaskFailedByIDRequest) (*RespondActivityTaskFailedByIDResponse, error) + RespondActivityTaskCanceled(context.Context, *RespondActivityTaskCanceledRequest) (*RespondActivityTaskCanceledResponse, error) + RespondActivityTaskCanceledByID(context.Context, *RespondActivityTaskCanceledByIDRequest) (*RespondActivityTaskCanceledByIDResponse, error) + RecordActivityTaskHeartbeat(context.Context, *RecordActivityTaskHeartbeatRequest) (*RecordActivityTaskHeartbeatResponse, error) + RecordActivityTaskHeartbeatByID(context.Context, *RecordActivityTaskHeartbeatByIDRequest) (*RecordActivityTaskHeartbeatByIDResponse, error) + RespondQueryTaskCompleted(context.Context, *RespondQueryTaskCompletedRequest) (*RespondQueryTaskCompletedResponse, error) + ResetStickyTaskList(context.Context, *ResetStickyTaskListRequest) (*ResetStickyTaskListResponse, error) +} + +type buildWorkerAPIYARPCProceduresParams struct { + Server WorkerAPIYARPCServer + AnyResolver jsonpb.AnyResolver +} + +func buildWorkerAPIYARPCProcedures(params buildWorkerAPIYARPCProceduresParams) []transport.Procedure { + handler := &_WorkerAPIYARPCHandler{params.Server} + return protobuf.BuildProcedures( + protobuf.BuildProceduresParams{ + ServiceName: "uber.cadence.api.v1.WorkerAPI", + UnaryHandlerParams: []protobuf.BuildProceduresUnaryHandlerParams{ + { + MethodName: "PollForDecisionTask", + Handler: protobuf.NewUnaryHandler( + protobuf.UnaryHandlerParams{ + Handle: handler.PollForDecisionTask, + NewRequest: newWorkerAPIServicePollForDecisionTaskYARPCRequest, + AnyResolver: params.AnyResolver, + }, + ), + }, + { + MethodName: "RespondDecisionTaskCompleted", + Handler: protobuf.NewUnaryHandler( + protobuf.UnaryHandlerParams{ + Handle: handler.RespondDecisionTaskCompleted, + NewRequest: newWorkerAPIServiceRespondDecisionTaskCompletedYARPCRequest, + AnyResolver: params.AnyResolver, + }, + ), + }, + { + MethodName: "RespondDecisionTaskFailed", + Handler: protobuf.NewUnaryHandler( + protobuf.UnaryHandlerParams{ + Handle: handler.RespondDecisionTaskFailed, + NewRequest: newWorkerAPIServiceRespondDecisionTaskFailedYARPCRequest, + AnyResolver: params.AnyResolver, + }, + ), + }, + { + MethodName: "PollForActivityTask", + Handler: protobuf.NewUnaryHandler( + protobuf.UnaryHandlerParams{ + Handle: handler.PollForActivityTask, + NewRequest: newWorkerAPIServicePollForActivityTaskYARPCRequest, + AnyResolver: params.AnyResolver, + }, + ), + }, + { + MethodName: "RespondActivityTaskCompleted", + Handler: protobuf.NewUnaryHandler( + protobuf.UnaryHandlerParams{ + Handle: handler.RespondActivityTaskCompleted, + NewRequest: newWorkerAPIServiceRespondActivityTaskCompletedYARPCRequest, + AnyResolver: params.AnyResolver, + }, + ), + }, + { + MethodName: "RespondActivityTaskCompletedByID", + Handler: protobuf.NewUnaryHandler( + protobuf.UnaryHandlerParams{ + Handle: handler.RespondActivityTaskCompletedByID, + NewRequest: newWorkerAPIServiceRespondActivityTaskCompletedByIDYARPCRequest, + AnyResolver: params.AnyResolver, + }, + ), + }, + { + MethodName: "RespondActivityTaskFailed", + Handler: protobuf.NewUnaryHandler( + protobuf.UnaryHandlerParams{ + Handle: handler.RespondActivityTaskFailed, + NewRequest: newWorkerAPIServiceRespondActivityTaskFailedYARPCRequest, + AnyResolver: params.AnyResolver, + }, + ), + }, + { + MethodName: "RespondActivityTaskFailedByID", + Handler: protobuf.NewUnaryHandler( + protobuf.UnaryHandlerParams{ + Handle: handler.RespondActivityTaskFailedByID, + NewRequest: newWorkerAPIServiceRespondActivityTaskFailedByIDYARPCRequest, + AnyResolver: params.AnyResolver, + }, + ), + }, + { + MethodName: "RespondActivityTaskCanceled", + Handler: protobuf.NewUnaryHandler( + protobuf.UnaryHandlerParams{ + Handle: handler.RespondActivityTaskCanceled, + NewRequest: newWorkerAPIServiceRespondActivityTaskCanceledYARPCRequest, + AnyResolver: params.AnyResolver, + }, + ), + }, + { + MethodName: "RespondActivityTaskCanceledByID", + Handler: protobuf.NewUnaryHandler( + protobuf.UnaryHandlerParams{ + Handle: handler.RespondActivityTaskCanceledByID, + NewRequest: newWorkerAPIServiceRespondActivityTaskCanceledByIDYARPCRequest, + AnyResolver: params.AnyResolver, + }, + ), + }, + { + MethodName: "RecordActivityTaskHeartbeat", + Handler: protobuf.NewUnaryHandler( + protobuf.UnaryHandlerParams{ + Handle: handler.RecordActivityTaskHeartbeat, + NewRequest: newWorkerAPIServiceRecordActivityTaskHeartbeatYARPCRequest, + AnyResolver: params.AnyResolver, + }, + ), + }, + { + MethodName: "RecordActivityTaskHeartbeatByID", + Handler: protobuf.NewUnaryHandler( + protobuf.UnaryHandlerParams{ + Handle: handler.RecordActivityTaskHeartbeatByID, + NewRequest: newWorkerAPIServiceRecordActivityTaskHeartbeatByIDYARPCRequest, + AnyResolver: params.AnyResolver, + }, + ), + }, + { + MethodName: "RespondQueryTaskCompleted", + Handler: protobuf.NewUnaryHandler( + protobuf.UnaryHandlerParams{ + Handle: handler.RespondQueryTaskCompleted, + NewRequest: newWorkerAPIServiceRespondQueryTaskCompletedYARPCRequest, + AnyResolver: params.AnyResolver, + }, + ), + }, + { + MethodName: "ResetStickyTaskList", + Handler: protobuf.NewUnaryHandler( + protobuf.UnaryHandlerParams{ + Handle: handler.ResetStickyTaskList, + NewRequest: newWorkerAPIServiceResetStickyTaskListYARPCRequest, + AnyResolver: params.AnyResolver, + }, + ), + }, + }, + OnewayHandlerParams: []protobuf.BuildProceduresOnewayHandlerParams{}, + StreamHandlerParams: []protobuf.BuildProceduresStreamHandlerParams{}, + }, + ) +} + +// BuildWorkerAPIYARPCProcedures prepares an implementation of the WorkerAPI service for YARPC registration. +func BuildWorkerAPIYARPCProcedures(server WorkerAPIYARPCServer) []transport.Procedure { + return buildWorkerAPIYARPCProcedures(buildWorkerAPIYARPCProceduresParams{Server: server}) +} + +// FxWorkerAPIYARPCClientParams defines the input +// for NewFxWorkerAPIYARPCClient. It provides the +// paramaters to get a WorkerAPIYARPCClient in an +// Fx application. +type FxWorkerAPIYARPCClientParams struct { + fx.In + + Provider yarpc.ClientConfig + AnyResolver jsonpb.AnyResolver `name:"yarpcfx" optional:"true"` + Restriction restriction.Checker `optional:"true"` +} + +// FxWorkerAPIYARPCClientResult defines the output +// of NewFxWorkerAPIYARPCClient. It provides a +// WorkerAPIYARPCClient to an Fx application. +type FxWorkerAPIYARPCClientResult struct { + fx.Out + + Client WorkerAPIYARPCClient + + // We are using an fx.Out struct here instead of just returning a client + // so that we can add more values or add named versions of the client in + // the future without breaking any existing code. +} + +// NewFxWorkerAPIYARPCClient provides a WorkerAPIYARPCClient +// to an Fx application using the given name for routing. +// +// fx.Provide( +// apiv1.NewFxWorkerAPIYARPCClient("service-name"), +// ... +// ) +func NewFxWorkerAPIYARPCClient(name string, options ...protobuf.ClientOption) interface{} { + return func(params FxWorkerAPIYARPCClientParams) FxWorkerAPIYARPCClientResult { + cc := params.Provider.ClientConfig(name) + + if params.Restriction != nil { + if namer, ok := cc.GetUnaryOutbound().(transport.Namer); ok { + if err := params.Restriction.Check(protobuf.Encoding, namer.TransportName()); err != nil { + panic(err.Error()) + } + } + } + + return FxWorkerAPIYARPCClientResult{ + Client: newWorkerAPIYARPCClient(cc, params.AnyResolver, options...), + } + } +} + +// FxWorkerAPIYARPCProceduresParams defines the input +// for NewFxWorkerAPIYARPCProcedures. It provides the +// paramaters to get WorkerAPIYARPCServer procedures in an +// Fx application. +type FxWorkerAPIYARPCProceduresParams struct { + fx.In + + Server WorkerAPIYARPCServer + AnyResolver jsonpb.AnyResolver `name:"yarpcfx" optional:"true"` +} + +// FxWorkerAPIYARPCProceduresResult defines the output +// of NewFxWorkerAPIYARPCProcedures. It provides +// WorkerAPIYARPCServer procedures to an Fx application. +// +// The procedures are provided to the "yarpcfx" value group. +// Dig 1.2 or newer must be used for this feature to work. +type FxWorkerAPIYARPCProceduresResult struct { + fx.Out + + Procedures []transport.Procedure `group:"yarpcfx"` + ReflectionMeta reflection.ServerMeta `group:"yarpcfx"` +} + +// NewFxWorkerAPIYARPCProcedures provides WorkerAPIYARPCServer procedures to an Fx application. +// It expects a WorkerAPIYARPCServer to be present in the container. +// +// fx.Provide( +// apiv1.NewFxWorkerAPIYARPCProcedures(), +// ... +// ) +func NewFxWorkerAPIYARPCProcedures() interface{} { + return func(params FxWorkerAPIYARPCProceduresParams) FxWorkerAPIYARPCProceduresResult { + return FxWorkerAPIYARPCProceduresResult{ + Procedures: buildWorkerAPIYARPCProcedures(buildWorkerAPIYARPCProceduresParams{ + Server: params.Server, + AnyResolver: params.AnyResolver, + }), + ReflectionMeta: reflection.ServerMeta{ + ServiceName: "uber.cadence.api.v1.WorkerAPI", + FileDescriptors: yarpcFileDescriptorClosure00684e887839a48c, + }, + } + } +} + +type _WorkerAPIYARPCCaller struct { + streamClient protobuf.StreamClient +} + +func (c *_WorkerAPIYARPCCaller) PollForDecisionTask(ctx context.Context, request *PollForDecisionTaskRequest, options ...yarpc.CallOption) (*PollForDecisionTaskResponse, error) { + responseMessage, err := c.streamClient.Call(ctx, "PollForDecisionTask", request, newWorkerAPIServicePollForDecisionTaskYARPCResponse, options...) + if responseMessage == nil { + return nil, err + } + response, ok := responseMessage.(*PollForDecisionTaskResponse) + if !ok { + return nil, protobuf.CastError(emptyWorkerAPIServicePollForDecisionTaskYARPCResponse, responseMessage) + } + return response, err +} + +func (c *_WorkerAPIYARPCCaller) RespondDecisionTaskCompleted(ctx context.Context, request *RespondDecisionTaskCompletedRequest, options ...yarpc.CallOption) (*RespondDecisionTaskCompletedResponse, error) { + responseMessage, err := c.streamClient.Call(ctx, "RespondDecisionTaskCompleted", request, newWorkerAPIServiceRespondDecisionTaskCompletedYARPCResponse, options...) + if responseMessage == nil { + return nil, err + } + response, ok := responseMessage.(*RespondDecisionTaskCompletedResponse) + if !ok { + return nil, protobuf.CastError(emptyWorkerAPIServiceRespondDecisionTaskCompletedYARPCResponse, responseMessage) + } + return response, err +} + +func (c *_WorkerAPIYARPCCaller) RespondDecisionTaskFailed(ctx context.Context, request *RespondDecisionTaskFailedRequest, options ...yarpc.CallOption) (*RespondDecisionTaskFailedResponse, error) { + responseMessage, err := c.streamClient.Call(ctx, "RespondDecisionTaskFailed", request, newWorkerAPIServiceRespondDecisionTaskFailedYARPCResponse, options...) + if responseMessage == nil { + return nil, err + } + response, ok := responseMessage.(*RespondDecisionTaskFailedResponse) + if !ok { + return nil, protobuf.CastError(emptyWorkerAPIServiceRespondDecisionTaskFailedYARPCResponse, responseMessage) + } + return response, err +} + +func (c *_WorkerAPIYARPCCaller) PollForActivityTask(ctx context.Context, request *PollForActivityTaskRequest, options ...yarpc.CallOption) (*PollForActivityTaskResponse, error) { + responseMessage, err := c.streamClient.Call(ctx, "PollForActivityTask", request, newWorkerAPIServicePollForActivityTaskYARPCResponse, options...) + if responseMessage == nil { + return nil, err + } + response, ok := responseMessage.(*PollForActivityTaskResponse) + if !ok { + return nil, protobuf.CastError(emptyWorkerAPIServicePollForActivityTaskYARPCResponse, responseMessage) + } + return response, err +} + +func (c *_WorkerAPIYARPCCaller) RespondActivityTaskCompleted(ctx context.Context, request *RespondActivityTaskCompletedRequest, options ...yarpc.CallOption) (*RespondActivityTaskCompletedResponse, error) { + responseMessage, err := c.streamClient.Call(ctx, "RespondActivityTaskCompleted", request, newWorkerAPIServiceRespondActivityTaskCompletedYARPCResponse, options...) + if responseMessage == nil { + return nil, err + } + response, ok := responseMessage.(*RespondActivityTaskCompletedResponse) + if !ok { + return nil, protobuf.CastError(emptyWorkerAPIServiceRespondActivityTaskCompletedYARPCResponse, responseMessage) + } + return response, err +} + +func (c *_WorkerAPIYARPCCaller) RespondActivityTaskCompletedByID(ctx context.Context, request *RespondActivityTaskCompletedByIDRequest, options ...yarpc.CallOption) (*RespondActivityTaskCompletedByIDResponse, error) { + responseMessage, err := c.streamClient.Call(ctx, "RespondActivityTaskCompletedByID", request, newWorkerAPIServiceRespondActivityTaskCompletedByIDYARPCResponse, options...) + if responseMessage == nil { + return nil, err + } + response, ok := responseMessage.(*RespondActivityTaskCompletedByIDResponse) + if !ok { + return nil, protobuf.CastError(emptyWorkerAPIServiceRespondActivityTaskCompletedByIDYARPCResponse, responseMessage) + } + return response, err +} + +func (c *_WorkerAPIYARPCCaller) RespondActivityTaskFailed(ctx context.Context, request *RespondActivityTaskFailedRequest, options ...yarpc.CallOption) (*RespondActivityTaskFailedResponse, error) { + responseMessage, err := c.streamClient.Call(ctx, "RespondActivityTaskFailed", request, newWorkerAPIServiceRespondActivityTaskFailedYARPCResponse, options...) + if responseMessage == nil { + return nil, err + } + response, ok := responseMessage.(*RespondActivityTaskFailedResponse) + if !ok { + return nil, protobuf.CastError(emptyWorkerAPIServiceRespondActivityTaskFailedYARPCResponse, responseMessage) + } + return response, err +} + +func (c *_WorkerAPIYARPCCaller) RespondActivityTaskFailedByID(ctx context.Context, request *RespondActivityTaskFailedByIDRequest, options ...yarpc.CallOption) (*RespondActivityTaskFailedByIDResponse, error) { + responseMessage, err := c.streamClient.Call(ctx, "RespondActivityTaskFailedByID", request, newWorkerAPIServiceRespondActivityTaskFailedByIDYARPCResponse, options...) + if responseMessage == nil { + return nil, err + } + response, ok := responseMessage.(*RespondActivityTaskFailedByIDResponse) + if !ok { + return nil, protobuf.CastError(emptyWorkerAPIServiceRespondActivityTaskFailedByIDYARPCResponse, responseMessage) + } + return response, err +} + +func (c *_WorkerAPIYARPCCaller) RespondActivityTaskCanceled(ctx context.Context, request *RespondActivityTaskCanceledRequest, options ...yarpc.CallOption) (*RespondActivityTaskCanceledResponse, error) { + responseMessage, err := c.streamClient.Call(ctx, "RespondActivityTaskCanceled", request, newWorkerAPIServiceRespondActivityTaskCanceledYARPCResponse, options...) + if responseMessage == nil { + return nil, err + } + response, ok := responseMessage.(*RespondActivityTaskCanceledResponse) + if !ok { + return nil, protobuf.CastError(emptyWorkerAPIServiceRespondActivityTaskCanceledYARPCResponse, responseMessage) + } + return response, err +} + +func (c *_WorkerAPIYARPCCaller) RespondActivityTaskCanceledByID(ctx context.Context, request *RespondActivityTaskCanceledByIDRequest, options ...yarpc.CallOption) (*RespondActivityTaskCanceledByIDResponse, error) { + responseMessage, err := c.streamClient.Call(ctx, "RespondActivityTaskCanceledByID", request, newWorkerAPIServiceRespondActivityTaskCanceledByIDYARPCResponse, options...) + if responseMessage == nil { + return nil, err + } + response, ok := responseMessage.(*RespondActivityTaskCanceledByIDResponse) + if !ok { + return nil, protobuf.CastError(emptyWorkerAPIServiceRespondActivityTaskCanceledByIDYARPCResponse, responseMessage) + } + return response, err +} + +func (c *_WorkerAPIYARPCCaller) RecordActivityTaskHeartbeat(ctx context.Context, request *RecordActivityTaskHeartbeatRequest, options ...yarpc.CallOption) (*RecordActivityTaskHeartbeatResponse, error) { + responseMessage, err := c.streamClient.Call(ctx, "RecordActivityTaskHeartbeat", request, newWorkerAPIServiceRecordActivityTaskHeartbeatYARPCResponse, options...) + if responseMessage == nil { + return nil, err + } + response, ok := responseMessage.(*RecordActivityTaskHeartbeatResponse) + if !ok { + return nil, protobuf.CastError(emptyWorkerAPIServiceRecordActivityTaskHeartbeatYARPCResponse, responseMessage) + } + return response, err +} + +func (c *_WorkerAPIYARPCCaller) RecordActivityTaskHeartbeatByID(ctx context.Context, request *RecordActivityTaskHeartbeatByIDRequest, options ...yarpc.CallOption) (*RecordActivityTaskHeartbeatByIDResponse, error) { + responseMessage, err := c.streamClient.Call(ctx, "RecordActivityTaskHeartbeatByID", request, newWorkerAPIServiceRecordActivityTaskHeartbeatByIDYARPCResponse, options...) + if responseMessage == nil { + return nil, err + } + response, ok := responseMessage.(*RecordActivityTaskHeartbeatByIDResponse) + if !ok { + return nil, protobuf.CastError(emptyWorkerAPIServiceRecordActivityTaskHeartbeatByIDYARPCResponse, responseMessage) + } + return response, err +} + +func (c *_WorkerAPIYARPCCaller) RespondQueryTaskCompleted(ctx context.Context, request *RespondQueryTaskCompletedRequest, options ...yarpc.CallOption) (*RespondQueryTaskCompletedResponse, error) { + responseMessage, err := c.streamClient.Call(ctx, "RespondQueryTaskCompleted", request, newWorkerAPIServiceRespondQueryTaskCompletedYARPCResponse, options...) + if responseMessage == nil { + return nil, err + } + response, ok := responseMessage.(*RespondQueryTaskCompletedResponse) + if !ok { + return nil, protobuf.CastError(emptyWorkerAPIServiceRespondQueryTaskCompletedYARPCResponse, responseMessage) + } + return response, err +} + +func (c *_WorkerAPIYARPCCaller) ResetStickyTaskList(ctx context.Context, request *ResetStickyTaskListRequest, options ...yarpc.CallOption) (*ResetStickyTaskListResponse, error) { + responseMessage, err := c.streamClient.Call(ctx, "ResetStickyTaskList", request, newWorkerAPIServiceResetStickyTaskListYARPCResponse, options...) + if responseMessage == nil { + return nil, err + } + response, ok := responseMessage.(*ResetStickyTaskListResponse) + if !ok { + return nil, protobuf.CastError(emptyWorkerAPIServiceResetStickyTaskListYARPCResponse, responseMessage) + } + return response, err +} + +type _WorkerAPIYARPCHandler struct { + server WorkerAPIYARPCServer +} + +func (h *_WorkerAPIYARPCHandler) PollForDecisionTask(ctx context.Context, requestMessage proto.Message) (proto.Message, error) { + var request *PollForDecisionTaskRequest + var ok bool + if requestMessage != nil { + request, ok = requestMessage.(*PollForDecisionTaskRequest) + if !ok { + return nil, protobuf.CastError(emptyWorkerAPIServicePollForDecisionTaskYARPCRequest, requestMessage) + } + } + response, err := h.server.PollForDecisionTask(ctx, request) + if response == nil { + return nil, err + } + return response, err +} + +func (h *_WorkerAPIYARPCHandler) RespondDecisionTaskCompleted(ctx context.Context, requestMessage proto.Message) (proto.Message, error) { + var request *RespondDecisionTaskCompletedRequest + var ok bool + if requestMessage != nil { + request, ok = requestMessage.(*RespondDecisionTaskCompletedRequest) + if !ok { + return nil, protobuf.CastError(emptyWorkerAPIServiceRespondDecisionTaskCompletedYARPCRequest, requestMessage) + } + } + response, err := h.server.RespondDecisionTaskCompleted(ctx, request) + if response == nil { + return nil, err + } + return response, err +} + +func (h *_WorkerAPIYARPCHandler) RespondDecisionTaskFailed(ctx context.Context, requestMessage proto.Message) (proto.Message, error) { + var request *RespondDecisionTaskFailedRequest + var ok bool + if requestMessage != nil { + request, ok = requestMessage.(*RespondDecisionTaskFailedRequest) + if !ok { + return nil, protobuf.CastError(emptyWorkerAPIServiceRespondDecisionTaskFailedYARPCRequest, requestMessage) + } + } + response, err := h.server.RespondDecisionTaskFailed(ctx, request) + if response == nil { + return nil, err + } + return response, err +} + +func (h *_WorkerAPIYARPCHandler) PollForActivityTask(ctx context.Context, requestMessage proto.Message) (proto.Message, error) { + var request *PollForActivityTaskRequest + var ok bool + if requestMessage != nil { + request, ok = requestMessage.(*PollForActivityTaskRequest) + if !ok { + return nil, protobuf.CastError(emptyWorkerAPIServicePollForActivityTaskYARPCRequest, requestMessage) + } + } + response, err := h.server.PollForActivityTask(ctx, request) + if response == nil { + return nil, err + } + return response, err +} + +func (h *_WorkerAPIYARPCHandler) RespondActivityTaskCompleted(ctx context.Context, requestMessage proto.Message) (proto.Message, error) { + var request *RespondActivityTaskCompletedRequest + var ok bool + if requestMessage != nil { + request, ok = requestMessage.(*RespondActivityTaskCompletedRequest) + if !ok { + return nil, protobuf.CastError(emptyWorkerAPIServiceRespondActivityTaskCompletedYARPCRequest, requestMessage) + } + } + response, err := h.server.RespondActivityTaskCompleted(ctx, request) + if response == nil { + return nil, err + } + return response, err +} + +func (h *_WorkerAPIYARPCHandler) RespondActivityTaskCompletedByID(ctx context.Context, requestMessage proto.Message) (proto.Message, error) { + var request *RespondActivityTaskCompletedByIDRequest + var ok bool + if requestMessage != nil { + request, ok = requestMessage.(*RespondActivityTaskCompletedByIDRequest) + if !ok { + return nil, protobuf.CastError(emptyWorkerAPIServiceRespondActivityTaskCompletedByIDYARPCRequest, requestMessage) + } + } + response, err := h.server.RespondActivityTaskCompletedByID(ctx, request) + if response == nil { + return nil, err + } + return response, err +} + +func (h *_WorkerAPIYARPCHandler) RespondActivityTaskFailed(ctx context.Context, requestMessage proto.Message) (proto.Message, error) { + var request *RespondActivityTaskFailedRequest + var ok bool + if requestMessage != nil { + request, ok = requestMessage.(*RespondActivityTaskFailedRequest) + if !ok { + return nil, protobuf.CastError(emptyWorkerAPIServiceRespondActivityTaskFailedYARPCRequest, requestMessage) + } + } + response, err := h.server.RespondActivityTaskFailed(ctx, request) + if response == nil { + return nil, err + } + return response, err +} + +func (h *_WorkerAPIYARPCHandler) RespondActivityTaskFailedByID(ctx context.Context, requestMessage proto.Message) (proto.Message, error) { + var request *RespondActivityTaskFailedByIDRequest + var ok bool + if requestMessage != nil { + request, ok = requestMessage.(*RespondActivityTaskFailedByIDRequest) + if !ok { + return nil, protobuf.CastError(emptyWorkerAPIServiceRespondActivityTaskFailedByIDYARPCRequest, requestMessage) + } + } + response, err := h.server.RespondActivityTaskFailedByID(ctx, request) + if response == nil { + return nil, err + } + return response, err +} + +func (h *_WorkerAPIYARPCHandler) RespondActivityTaskCanceled(ctx context.Context, requestMessage proto.Message) (proto.Message, error) { + var request *RespondActivityTaskCanceledRequest + var ok bool + if requestMessage != nil { + request, ok = requestMessage.(*RespondActivityTaskCanceledRequest) + if !ok { + return nil, protobuf.CastError(emptyWorkerAPIServiceRespondActivityTaskCanceledYARPCRequest, requestMessage) + } + } + response, err := h.server.RespondActivityTaskCanceled(ctx, request) + if response == nil { + return nil, err + } + return response, err +} + +func (h *_WorkerAPIYARPCHandler) RespondActivityTaskCanceledByID(ctx context.Context, requestMessage proto.Message) (proto.Message, error) { + var request *RespondActivityTaskCanceledByIDRequest + var ok bool + if requestMessage != nil { + request, ok = requestMessage.(*RespondActivityTaskCanceledByIDRequest) + if !ok { + return nil, protobuf.CastError(emptyWorkerAPIServiceRespondActivityTaskCanceledByIDYARPCRequest, requestMessage) + } + } + response, err := h.server.RespondActivityTaskCanceledByID(ctx, request) + if response == nil { + return nil, err + } + return response, err +} + +func (h *_WorkerAPIYARPCHandler) RecordActivityTaskHeartbeat(ctx context.Context, requestMessage proto.Message) (proto.Message, error) { + var request *RecordActivityTaskHeartbeatRequest + var ok bool + if requestMessage != nil { + request, ok = requestMessage.(*RecordActivityTaskHeartbeatRequest) + if !ok { + return nil, protobuf.CastError(emptyWorkerAPIServiceRecordActivityTaskHeartbeatYARPCRequest, requestMessage) + } + } + response, err := h.server.RecordActivityTaskHeartbeat(ctx, request) + if response == nil { + return nil, err + } + return response, err +} + +func (h *_WorkerAPIYARPCHandler) RecordActivityTaskHeartbeatByID(ctx context.Context, requestMessage proto.Message) (proto.Message, error) { + var request *RecordActivityTaskHeartbeatByIDRequest + var ok bool + if requestMessage != nil { + request, ok = requestMessage.(*RecordActivityTaskHeartbeatByIDRequest) + if !ok { + return nil, protobuf.CastError(emptyWorkerAPIServiceRecordActivityTaskHeartbeatByIDYARPCRequest, requestMessage) + } + } + response, err := h.server.RecordActivityTaskHeartbeatByID(ctx, request) + if response == nil { + return nil, err + } + return response, err +} + +func (h *_WorkerAPIYARPCHandler) RespondQueryTaskCompleted(ctx context.Context, requestMessage proto.Message) (proto.Message, error) { + var request *RespondQueryTaskCompletedRequest + var ok bool + if requestMessage != nil { + request, ok = requestMessage.(*RespondQueryTaskCompletedRequest) + if !ok { + return nil, protobuf.CastError(emptyWorkerAPIServiceRespondQueryTaskCompletedYARPCRequest, requestMessage) + } + } + response, err := h.server.RespondQueryTaskCompleted(ctx, request) + if response == nil { + return nil, err + } + return response, err +} + +func (h *_WorkerAPIYARPCHandler) ResetStickyTaskList(ctx context.Context, requestMessage proto.Message) (proto.Message, error) { + var request *ResetStickyTaskListRequest + var ok bool + if requestMessage != nil { + request, ok = requestMessage.(*ResetStickyTaskListRequest) + if !ok { + return nil, protobuf.CastError(emptyWorkerAPIServiceResetStickyTaskListYARPCRequest, requestMessage) + } + } + response, err := h.server.ResetStickyTaskList(ctx, request) + if response == nil { + return nil, err + } + return response, err +} + +func newWorkerAPIServicePollForDecisionTaskYARPCRequest() proto.Message { + return &PollForDecisionTaskRequest{} +} + +func newWorkerAPIServicePollForDecisionTaskYARPCResponse() proto.Message { + return &PollForDecisionTaskResponse{} +} + +func newWorkerAPIServiceRespondDecisionTaskCompletedYARPCRequest() proto.Message { + return &RespondDecisionTaskCompletedRequest{} +} + +func newWorkerAPIServiceRespondDecisionTaskCompletedYARPCResponse() proto.Message { + return &RespondDecisionTaskCompletedResponse{} +} + +func newWorkerAPIServiceRespondDecisionTaskFailedYARPCRequest() proto.Message { + return &RespondDecisionTaskFailedRequest{} +} + +func newWorkerAPIServiceRespondDecisionTaskFailedYARPCResponse() proto.Message { + return &RespondDecisionTaskFailedResponse{} +} + +func newWorkerAPIServicePollForActivityTaskYARPCRequest() proto.Message { + return &PollForActivityTaskRequest{} +} + +func newWorkerAPIServicePollForActivityTaskYARPCResponse() proto.Message { + return &PollForActivityTaskResponse{} +} + +func newWorkerAPIServiceRespondActivityTaskCompletedYARPCRequest() proto.Message { + return &RespondActivityTaskCompletedRequest{} +} + +func newWorkerAPIServiceRespondActivityTaskCompletedYARPCResponse() proto.Message { + return &RespondActivityTaskCompletedResponse{} +} + +func newWorkerAPIServiceRespondActivityTaskCompletedByIDYARPCRequest() proto.Message { + return &RespondActivityTaskCompletedByIDRequest{} +} + +func newWorkerAPIServiceRespondActivityTaskCompletedByIDYARPCResponse() proto.Message { + return &RespondActivityTaskCompletedByIDResponse{} +} + +func newWorkerAPIServiceRespondActivityTaskFailedYARPCRequest() proto.Message { + return &RespondActivityTaskFailedRequest{} +} + +func newWorkerAPIServiceRespondActivityTaskFailedYARPCResponse() proto.Message { + return &RespondActivityTaskFailedResponse{} +} + +func newWorkerAPIServiceRespondActivityTaskFailedByIDYARPCRequest() proto.Message { + return &RespondActivityTaskFailedByIDRequest{} +} + +func newWorkerAPIServiceRespondActivityTaskFailedByIDYARPCResponse() proto.Message { + return &RespondActivityTaskFailedByIDResponse{} +} + +func newWorkerAPIServiceRespondActivityTaskCanceledYARPCRequest() proto.Message { + return &RespondActivityTaskCanceledRequest{} +} + +func newWorkerAPIServiceRespondActivityTaskCanceledYARPCResponse() proto.Message { + return &RespondActivityTaskCanceledResponse{} +} + +func newWorkerAPIServiceRespondActivityTaskCanceledByIDYARPCRequest() proto.Message { + return &RespondActivityTaskCanceledByIDRequest{} +} + +func newWorkerAPIServiceRespondActivityTaskCanceledByIDYARPCResponse() proto.Message { + return &RespondActivityTaskCanceledByIDResponse{} +} + +func newWorkerAPIServiceRecordActivityTaskHeartbeatYARPCRequest() proto.Message { + return &RecordActivityTaskHeartbeatRequest{} +} + +func newWorkerAPIServiceRecordActivityTaskHeartbeatYARPCResponse() proto.Message { + return &RecordActivityTaskHeartbeatResponse{} +} + +func newWorkerAPIServiceRecordActivityTaskHeartbeatByIDYARPCRequest() proto.Message { + return &RecordActivityTaskHeartbeatByIDRequest{} +} + +func newWorkerAPIServiceRecordActivityTaskHeartbeatByIDYARPCResponse() proto.Message { + return &RecordActivityTaskHeartbeatByIDResponse{} +} + +func newWorkerAPIServiceRespondQueryTaskCompletedYARPCRequest() proto.Message { + return &RespondQueryTaskCompletedRequest{} +} + +func newWorkerAPIServiceRespondQueryTaskCompletedYARPCResponse() proto.Message { + return &RespondQueryTaskCompletedResponse{} +} + +func newWorkerAPIServiceResetStickyTaskListYARPCRequest() proto.Message { + return &ResetStickyTaskListRequest{} +} + +func newWorkerAPIServiceResetStickyTaskListYARPCResponse() proto.Message { + return &ResetStickyTaskListResponse{} +} + +var ( + emptyWorkerAPIServicePollForDecisionTaskYARPCRequest = &PollForDecisionTaskRequest{} + emptyWorkerAPIServicePollForDecisionTaskYARPCResponse = &PollForDecisionTaskResponse{} + emptyWorkerAPIServiceRespondDecisionTaskCompletedYARPCRequest = &RespondDecisionTaskCompletedRequest{} + emptyWorkerAPIServiceRespondDecisionTaskCompletedYARPCResponse = &RespondDecisionTaskCompletedResponse{} + emptyWorkerAPIServiceRespondDecisionTaskFailedYARPCRequest = &RespondDecisionTaskFailedRequest{} + emptyWorkerAPIServiceRespondDecisionTaskFailedYARPCResponse = &RespondDecisionTaskFailedResponse{} + emptyWorkerAPIServicePollForActivityTaskYARPCRequest = &PollForActivityTaskRequest{} + emptyWorkerAPIServicePollForActivityTaskYARPCResponse = &PollForActivityTaskResponse{} + emptyWorkerAPIServiceRespondActivityTaskCompletedYARPCRequest = &RespondActivityTaskCompletedRequest{} + emptyWorkerAPIServiceRespondActivityTaskCompletedYARPCResponse = &RespondActivityTaskCompletedResponse{} + emptyWorkerAPIServiceRespondActivityTaskCompletedByIDYARPCRequest = &RespondActivityTaskCompletedByIDRequest{} + emptyWorkerAPIServiceRespondActivityTaskCompletedByIDYARPCResponse = &RespondActivityTaskCompletedByIDResponse{} + emptyWorkerAPIServiceRespondActivityTaskFailedYARPCRequest = &RespondActivityTaskFailedRequest{} + emptyWorkerAPIServiceRespondActivityTaskFailedYARPCResponse = &RespondActivityTaskFailedResponse{} + emptyWorkerAPIServiceRespondActivityTaskFailedByIDYARPCRequest = &RespondActivityTaskFailedByIDRequest{} + emptyWorkerAPIServiceRespondActivityTaskFailedByIDYARPCResponse = &RespondActivityTaskFailedByIDResponse{} + emptyWorkerAPIServiceRespondActivityTaskCanceledYARPCRequest = &RespondActivityTaskCanceledRequest{} + emptyWorkerAPIServiceRespondActivityTaskCanceledYARPCResponse = &RespondActivityTaskCanceledResponse{} + emptyWorkerAPIServiceRespondActivityTaskCanceledByIDYARPCRequest = &RespondActivityTaskCanceledByIDRequest{} + emptyWorkerAPIServiceRespondActivityTaskCanceledByIDYARPCResponse = &RespondActivityTaskCanceledByIDResponse{} + emptyWorkerAPIServiceRecordActivityTaskHeartbeatYARPCRequest = &RecordActivityTaskHeartbeatRequest{} + emptyWorkerAPIServiceRecordActivityTaskHeartbeatYARPCResponse = &RecordActivityTaskHeartbeatResponse{} + emptyWorkerAPIServiceRecordActivityTaskHeartbeatByIDYARPCRequest = &RecordActivityTaskHeartbeatByIDRequest{} + emptyWorkerAPIServiceRecordActivityTaskHeartbeatByIDYARPCResponse = &RecordActivityTaskHeartbeatByIDResponse{} + emptyWorkerAPIServiceRespondQueryTaskCompletedYARPCRequest = &RespondQueryTaskCompletedRequest{} + emptyWorkerAPIServiceRespondQueryTaskCompletedYARPCResponse = &RespondQueryTaskCompletedResponse{} + emptyWorkerAPIServiceResetStickyTaskListYARPCRequest = &ResetStickyTaskListRequest{} + emptyWorkerAPIServiceResetStickyTaskListYARPCResponse = &ResetStickyTaskListResponse{} +) + +var yarpcFileDescriptorClosure00684e887839a48c = [][]byte{ + // uber/cadence/api/v1/service_worker.proto + []byte{ + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe4, 0x5a, 0x5b, 0x6f, 0xdb, 0xc8, + 0x15, 0x06, 0x7d, 0xf7, 0x91, 0x2f, 0xf2, 0x04, 0x4d, 0x65, 0xe5, 0xe6, 0x68, 0x9b, 0xc4, 0xdb, + 0x2e, 0xa4, 0xc6, 0xbb, 0xcd, 0x66, 0x93, 0x4d, 0x51, 0x5f, 0x62, 0xc4, 0xc5, 0x76, 0xeb, 0x65, + 0xb4, 0x5e, 0x60, 0x0b, 0x84, 0x18, 0x93, 0x63, 0x6b, 0x60, 0x8a, 0xc3, 0x90, 0x43, 0xd9, 0x7a, + 0xe9, 0x43, 0x1f, 0x77, 0xfb, 0x50, 0xa0, 0xe8, 0xf6, 0xa5, 0x40, 0x9e, 0xfb, 0x03, 0xfa, 0x6b, + 0xfa, 0xd4, 0xe7, 0xfe, 0x87, 0xa2, 0xe0, 0xcc, 0x90, 0xa2, 0xa4, 0x21, 0x75, 0xe9, 0x83, 0x03, + 0xf4, 0xcd, 0x1c, 0x7e, 0xe7, 0xf0, 0xcc, 0xf9, 0xce, 0x9c, 0xf9, 0x66, 0x2c, 0xd8, 0x8e, 0x4e, + 0x49, 0xd0, 0xb0, 0xb1, 0x43, 0x3c, 0x9b, 0x34, 0xb0, 0x4f, 0x1b, 0x9d, 0xc7, 0x8d, 0x90, 0x04, + 0x1d, 0x6a, 0x13, 0xeb, 0x92, 0x05, 0x17, 0x24, 0xa8, 0xfb, 0x01, 0xe3, 0x0c, 0xdd, 0x88, 0x91, + 0x75, 0x85, 0xac, 0x63, 0x9f, 0xd6, 0x3b, 0x8f, 0xab, 0x77, 0xcf, 0x19, 0x3b, 0x77, 0x49, 0x43, + 0x40, 0x4e, 0xa3, 0xb3, 0x86, 0x13, 0x05, 0x98, 0x53, 0xe6, 0x49, 0xa3, 0xea, 0xbd, 0xc1, 0xf7, + 0x9c, 0xb6, 0x49, 0xc8, 0x71, 0xdb, 0x57, 0x80, 0x21, 0x07, 0x97, 0x01, 0xf6, 0x7d, 0x12, 0x84, + 0xea, 0xfd, 0x96, 0x2e, 0x3e, 0x9b, 0xb5, 0xdb, 0xe9, 0x27, 0x6a, 0x3a, 0x84, 0x43, 0x6c, 0x1a, + 0xf6, 0xc2, 0xb8, 0xaf, 0xc3, 0xb4, 0x68, 0xc8, 0x59, 0xd0, 0x4d, 0x22, 0xd5, 0x41, 0xde, 0x46, + 0x24, 0x05, 0x68, 0xbf, 0xc3, 0x71, 0x78, 0xe1, 0xd2, 0x90, 0x17, 0x61, 0xe2, 0x2c, 0x9e, 0xb9, + 0xec, 0x52, 0x62, 0x6a, 0xff, 0x30, 0xa0, 0x7a, 0xcc, 0x5c, 0xf7, 0x90, 0x05, 0x07, 0x2a, 0xca, + 0x26, 0x0e, 0x2f, 0x4c, 0xf2, 0x36, 0x22, 0x21, 0x47, 0x37, 0x61, 0xc1, 0x61, 0x6d, 0x4c, 0xbd, + 0x8a, 0xb1, 0x65, 0x6c, 0x2f, 0x9b, 0xea, 0x09, 0x3d, 0x83, 0xe5, 0xf8, 0x63, 0x56, 0xfc, 0xb5, + 0xca, 0xcc, 0x96, 0xb1, 0x5d, 0xda, 0xb9, 0x53, 0xd7, 0x50, 0x52, 0x8f, 0x9d, 0x7d, 0x41, 0x43, + 0x6e, 0x2e, 0x71, 0xf5, 0x17, 0xaa, 0xc2, 0x12, 0x75, 0x88, 0xc7, 0x29, 0xef, 0x56, 0x66, 0x85, + 0xd7, 0xf4, 0x19, 0x3d, 0x82, 0xf5, 0x53, 0xea, 0xe1, 0xa0, 0x6b, 0xd9, 0x2d, 0x62, 0x5f, 0x84, + 0x51, 0xbb, 0x32, 0x27, 0x20, 0x6b, 0x72, 0x78, 0x5f, 0x8d, 0xd6, 0xfe, 0xb3, 0x08, 0xb7, 0xb4, + 0x71, 0x87, 0x3e, 0xf3, 0x42, 0x82, 0xee, 0x00, 0x88, 0x00, 0x39, 0xbb, 0x20, 0x32, 0xf8, 0x15, + 0x53, 0x84, 0xdc, 0x8c, 0x07, 0xd0, 0xd7, 0x80, 0x92, 0x44, 0x58, 0xe4, 0x8a, 0xd8, 0x51, 0x5c, + 0x25, 0x6a, 0x22, 0x0f, 0xb5, 0x13, 0xf9, 0x46, 0xc1, 0x5f, 0x26, 0x68, 0x73, 0xe3, 0x72, 0x70, + 0x08, 0x1d, 0xc2, 0x6a, 0xea, 0x96, 0x77, 0x7d, 0x22, 0xe6, 0x57, 0xda, 0xb9, 0x5f, 0xe8, 0xb1, + 0xd9, 0xf5, 0x89, 0xb9, 0x72, 0x99, 0x79, 0x42, 0x27, 0xb0, 0xe9, 0x07, 0xa4, 0x43, 0x59, 0x14, + 0x5a, 0x21, 0xc7, 0x01, 0x27, 0x8e, 0x45, 0x3a, 0xc4, 0xe3, 0x16, 0x75, 0x44, 0x42, 0x4a, 0x3b, + 0xb7, 0xea, 0xb2, 0x56, 0xeb, 0x49, 0xad, 0xd6, 0x8f, 0x3c, 0xfe, 0xe4, 0x93, 0x13, 0xec, 0x46, + 0xc4, 0xbc, 0x99, 0x58, 0xbf, 0x96, 0xc6, 0x2f, 0x63, 0xdb, 0x23, 0x07, 0x6d, 0x43, 0x79, 0xc8, + 0xdd, 0xfc, 0x96, 0xb1, 0x3d, 0x6b, 0xae, 0x85, 0xfd, 0xc8, 0x0a, 0x2c, 0x62, 0xce, 0x49, 0xdb, + 0xe7, 0x95, 0x05, 0x01, 0x48, 0x1e, 0xd1, 0x47, 0x80, 0x4e, 0xb1, 0x7d, 0xe1, 0xb2, 0x73, 0xcb, + 0x66, 0x91, 0xc7, 0xad, 0x16, 0xf5, 0x78, 0x65, 0x51, 0x80, 0xca, 0xea, 0xcd, 0x7e, 0xfc, 0xe2, + 0x15, 0xf5, 0x38, 0x7a, 0x02, 0x8b, 0xaa, 0xb2, 0x2b, 0x4b, 0x22, 0xee, 0xdb, 0xda, 0x5c, 0xbc, + 0x92, 0x18, 0x33, 0x01, 0xa3, 0x87, 0xb0, 0xee, 0x91, 0x2b, 0x6e, 0xf9, 0xf8, 0x9c, 0x28, 0x12, + 0x97, 0x05, 0x89, 0xab, 0xf1, 0xf0, 0x31, 0x3e, 0x27, 0x92, 0xc8, 0xa7, 0x30, 0x2f, 0x96, 0x45, + 0x05, 0x84, 0xf7, 0x5a, 0x61, 0xa6, 0xbf, 0x8a, 0x91, 0xa6, 0x34, 0x40, 0x6f, 0xe0, 0xf6, 0x70, + 0x09, 0x58, 0xbd, 0xaa, 0x2e, 0x8d, 0x53, 0xd5, 0x9b, 0x43, 0x35, 0x90, 0xbc, 0x42, 0xbb, 0xb0, + 0x16, 0xda, 0x2d, 0xe2, 0x44, 0x2e, 0x71, 0xac, 0xb8, 0xd1, 0x54, 0x56, 0x84, 0xc7, 0xea, 0x10, + 0x71, 0xcd, 0xa4, 0x0b, 0x99, 0xab, 0xa9, 0x45, 0x3c, 0x86, 0x5e, 0xc0, 0x4a, 0x42, 0x97, 0x70, + 0xb0, 0x3a, 0xd2, 0x41, 0x49, 0xe1, 0x85, 0xf9, 0x37, 0xb0, 0x18, 0x4f, 0x95, 0x92, 0xb0, 0xb2, + 0xb6, 0x35, 0xbb, 0x5d, 0xda, 0x79, 0xa1, 0x9d, 0x4c, 0xc1, 0x32, 0xaa, 0x7f, 0x25, 0xed, 0x5f, + 0x7a, 0x3c, 0x26, 0x47, 0x79, 0x43, 0x35, 0x10, 0x2c, 0xf4, 0x6a, 0x68, 0x5d, 0xb0, 0x5f, 0x8a, + 0x07, 0x55, 0x01, 0x55, 0xdf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 0x22, 0x00, 0x00, + }, + // google/protobuf/duration.proto + []byte{ + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4b, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x2f, 0x28, 0xca, 0x2f, 0xc9, 0x4f, 0x2a, 0x4d, 0xd3, 0x4f, 0x29, 0x2d, 0x4a, + 0x2c, 0xc9, 0xcc, 0xcf, 0xd3, 0x03, 0x8b, 0x08, 0xf1, 0x43, 0xe4, 0xf5, 0x60, 0xf2, 0x4a, 0x56, + 0x5c, 0x1c, 0x2e, 0x50, 0x25, 0x42, 0x12, 0x5c, 0xec, 0xc5, 0xa9, 0xc9, 0xf9, 0x79, 0x29, 0xc5, + 0x12, 0x8c, 0x0a, 0x8c, 0x1a, 0xcc, 0x41, 0x30, 0xae, 0x90, 0x08, 0x17, 0x6b, 0x5e, 0x62, 0x5e, + 0x7e, 0xb1, 0x04, 0x93, 0x02, 0xa3, 0x06, 0x6b, 0x10, 0x84, 0xe3, 0xd4, 0xcc, 0xc8, 0x25, 0x9c, + 0x9c, 0x9f, 0xab, 0x87, 0x66, 0xa6, 0x13, 0x2f, 0xcc, 0xc4, 0x00, 0x90, 0x48, 0x00, 0x63, 0x94, + 0x21, 0x54, 0x45, 0x7a, 0x7e, 0x4e, 0x62, 0x5e, 0xba, 0x5e, 0x7e, 0x51, 0x3a, 0xc2, 0x81, 0x25, + 0x95, 0x05, 0xa9, 0xc5, 0xfa, 0xd9, 0x79, 0xf9, 0xe5, 0x79, 0x70, 0xc7, 0x16, 0x24, 0xfd, 0x60, + 0x64, 0x5c, 0xc4, 0xc4, 0xec, 0x1e, 0xe0, 0xb4, 0x8a, 0x49, 0xce, 0x1d, 0xa2, 0x39, 0x00, 0xaa, + 0x43, 0x2f, 0x3c, 0x35, 0x27, 0xc7, 0x1b, 0xa4, 0x3e, 0x04, 0xa4, 0x35, 0x89, 0x0d, 0x6c, 0x94, + 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0xef, 0x8a, 0xb4, 0xc3, 0xfb, 0x00, 0x00, 0x00, + }, + // google/protobuf/timestamp.proto + []byte{ + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4f, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x2f, 0x28, 0xca, 0x2f, 0xc9, 0x4f, 0x2a, 0x4d, 0xd3, 0x2f, 0xc9, 0xcc, 0x4d, + 0x2d, 0x2e, 0x49, 0xcc, 0x2d, 0xd0, 0x03, 0x0b, 0x09, 0xf1, 0x43, 0x14, 0xe8, 0xc1, 0x14, 0x28, + 0x59, 0x73, 0x71, 0x86, 0xc0, 0xd4, 0x08, 0x49, 0x70, 0xb1, 0x17, 0xa7, 0x26, 0xe7, 0xe7, 0xa5, + 0x14, 0x4b, 0x30, 0x2a, 0x30, 0x6a, 0x30, 0x07, 0xc1, 0xb8, 0x42, 0x22, 0x5c, 0xac, 0x79, 0x89, + 0x79, 0xf9, 0xc5, 0x12, 0x4c, 0x0a, 0x8c, 0x1a, 0xac, 0x41, 0x10, 0x8e, 0x53, 0x2b, 0x23, 0x97, + 0x70, 0x72, 0x7e, 0xae, 0x1e, 0x9a, 0xa1, 0x4e, 0x7c, 0x70, 0x23, 0x03, 0x40, 0x42, 0x01, 0x8c, + 0x51, 0x46, 0x50, 0x25, 0xe9, 0xf9, 0x39, 0x89, 0x79, 0xe9, 0x7a, 0xf9, 0x45, 0xe9, 0x48, 0x6e, + 0xac, 0x2c, 0x48, 0x2d, 0xd6, 0xcf, 0xce, 0xcb, 0x2f, 0xcf, 0x43, 0xb8, 0xb7, 0x20, 0xe9, 0x07, + 0x23, 0xe3, 0x22, 0x26, 0x66, 0xf7, 0x00, 0xa7, 0x55, 0x4c, 0x72, 0xee, 0x10, 0xdd, 0x01, 0x50, + 0x2d, 0x7a, 0xe1, 0xa9, 0x39, 0x39, 0xde, 0x20, 0x0d, 0x21, 0x20, 0xbd, 0x49, 0x6c, 0x60, 0xb3, + 0x8c, 0x01, 0x01, 0x00, 0x00, 0xff, 0xff, 0xae, 0x65, 0xce, 0x7d, 0xff, 0x00, 0x00, 0x00, + }, + // google/protobuf/wrappers.proto + []byte{ + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4b, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x2f, 0x28, 0xca, 0x2f, 0xc9, 0x4f, 0x2a, 0x4d, 0xd3, 0x2f, 0x2f, 0x4a, 0x2c, + 0x28, 0x48, 0x2d, 0x2a, 0xd6, 0x03, 0x8b, 0x08, 0xf1, 0x43, 0xe4, 0xf5, 0x60, 0xf2, 0x4a, 0xca, + 0x5c, 0xdc, 0x2e, 0xf9, 0xa5, 0x49, 0x39, 0xa9, 0x61, 0x89, 0x39, 0xa5, 0xa9, 0x42, 0x22, 0x5c, + 0xac, 0x65, 0x20, 0x86, 0x04, 0xa3, 0x02, 0xa3, 0x06, 0x63, 0x10, 0x84, 0xa3, 0xa4, 0xc4, 0xc5, + 0xe5, 0x96, 0x93, 0x9f, 0x58, 0x82, 0x45, 0x0d, 0x13, 0x92, 0x1a, 0xcf, 0xbc, 0x12, 0x33, 0x13, + 0x2c, 0x6a, 0x98, 0x61, 0x6a, 0x94, 0xb9, 0xb8, 0x43, 0x71, 0x29, 0x62, 0x41, 0x35, 0xc8, 0xd8, + 0x08, 0x8b, 0x1a, 0x56, 0x34, 0x83, 0xb0, 0x2a, 0xe2, 0x85, 0x29, 0x52, 0xe4, 0xe2, 0x74, 0xca, + 0xcf, 0xcf, 0xc1, 0xa2, 0x84, 0x03, 0xc9, 0x9c, 0xe0, 0x92, 0xa2, 0xcc, 0xbc, 0x74, 0x2c, 0x8a, + 0x38, 0x91, 0x1c, 0xe4, 0x54, 0x59, 0x92, 0x5a, 0x8c, 0x45, 0x0d, 0x0f, 0x54, 0x8d, 0x53, 0x33, + 0x23, 0x97, 0x70, 0x72, 0x7e, 0xae, 0x1e, 0x5a, 0xf0, 0x3a, 0xf1, 0x86, 0x43, 0xc3, 0x3f, 0x00, + 0x24, 0x12, 0xc0, 0x18, 0x65, 0x08, 0x55, 0x91, 0x9e, 0x9f, 0x93, 0x98, 0x97, 0xae, 0x97, 0x5f, + 0x94, 0x8e, 0x88, 0xab, 0x92, 0xca, 0x82, 0xd4, 0x62, 0xfd, 0xec, 0xbc, 0xfc, 0xf2, 0x3c, 0x78, + 0xbc, 0x15, 0x24, 0xfd, 0x60, 0x64, 0x5c, 0xc4, 0xc4, 0xec, 0x1e, 0xe0, 0xb4, 0x8a, 0x49, 0xce, + 0x1d, 0xa2, 0x39, 0x00, 0xaa, 0x43, 0x2f, 0x3c, 0x35, 0x27, 0xc7, 0x1b, 0xa4, 0x3e, 0x04, 0xa4, + 0x35, 0x89, 0x0d, 0x6c, 0x94, 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0x3c, 0x92, 0x48, 0x30, 0x06, + 0x02, 0x00, 0x00, + }, + // uber/cadence/api/v1/common.proto + []byte{ + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x55, 0x4f, 0x6f, 0xdb, 0x36, + 0x14, 0x9f, 0xe2, 0xda, 0x49, 0x9f, 0xdd, 0xd4, 0x63, 0xd6, 0xd4, 0xc9, 0xfe, 0x79, 0x06, 0x86, + 0x66, 0x3b, 0x48, 0x88, 0x7b, 0x29, 0x56, 0x14, 0x83, 0x13, 0x3b, 0xab, 0xda, 0x2d, 0x31, 0x64, + 0x23, 0xc1, 0x76, 0x98, 0x40, 0x4b, 0x4f, 0x2e, 0x67, 0x89, 0x14, 0x28, 0xca, 0x89, 0x6f, 0xfb, + 0x24, 0x3b, 0xec, 0x2b, 0xed, 0x0b, 0x0d, 0x94, 0xe8, 0xd8, 0xee, 0x3c, 0xf4, 0x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 0x9a, 0xc7, 0x06, 0x00, 0x00, + }, + // uber/cadence/api/v1/decision.proto + []byte{ + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x59, 0x5d, 0x4f, 0xdc, 0x46, + 0x17, 0x7e, 0xcd, 0xc7, 0x7e, 0x1c, 0x20, 0x6f, 0x18, 0x12, 0x02, 0x09, 0x09, 0x64, 0x5f, 0xbd, + 0xa4, 0x09, 0x62, 0x17, 0x48, 0x1a, 0x45, 0x49, 0x15, 0x15, 0x48, 0x50, 0x90, 0x12, 0x82, 0x1c, + 0x92, 0x48, 0xbd, 0xb1, 0x86, 0xf1, 0x00, 0x23, 0xbc, 0xb6, 0x3b, 0x1e, 0x43, 0xb6, 0x52, 0xa5, + 0x5e, 0xb5, 0xbd, 0xe9, 0x0f, 0xa8, 0xd4, 0xab, 0x5e, 0xb5, 0x37, 0xed, 0x6d, 0xab, 0x5e, 0xf5, + 0x27, 0xf4, 0xa2, 0xff, 0xa3, 0x52, 0xff, 0x40, 0x35, 0xe3, 0xb1, 0x77, 0x59, 0xbc, 0x5e, 0x9b, + 0xa4, 0xb9, 0xc3, 0xe3, 0x73, 0x9e, 0x79, 0x66, 0xce, 0xcc, 0x79, 0x1e, 0xb3, 0x50, 0x0b, 0x77, + 0x29, 0x6f, 0x10, 0x6c, 0x53, 0x97, 0xd0, 0x06, 0xf6, 0x59, 0xe3, 0x68, 0xb9, 0x61, 0x53, 0xc2, + 0x02, 0xe6, 0xb9, 0x75, 0x9f, 0x7b, 0xc2, 0x43, 0x13, 0x32, 0xa6, 0xae, 0x63, 0xea, 0xd8, 0x67, + 0xf5, 0xa3, 0xe5, 0xcb, 0xd7, 0xf6, 0x3d, 0x6f, 0xdf, 0xa1, 0x0d, 0x15, 0xb2, 0x1b, 0xee, 0x35, + 0xec, 0x90, 0x63, 0x91, 0x24, 0x5d, 0x9e, 0x4b, 0x03, 0x26, 0x5e, 0xb3, 0x99, 0x44, 0xa4, 0x4e, + 0x2d, 0x70, 0x70, 0xe8, 0xb0, 0x40, 0x64, 0xc5, 0x1c, 0x7b, 0xfc, 0x70, 0xcf, 0xf1, 0x8e, 0xa3, + 0x98, 0xda, 0xd7, 0xe3, 0x50, 0x79, 0xa4, 0x19, 0xa3, 0x6f, 0x0d, 0xb8, 0x15, 0x90, 0x03, 0x6a, + 0x87, 0x0e, 0xb5, 0x30, 0x11, 0xec, 0x88, 0x89, 0x96, 0x25, 0x51, 0xad, 0x78, 0x55, 0x16, 0x16, + 0x82, 0xb3, 0xdd, 0x50, 0xd0, 0x60, 0xca, 0x98, 0x33, 0x3e, 0x18, 0x59, 0x79, 0x50, 0x4f, 0x59, + 0x61, 0xfd, 0x85, 0x86, 0x59, 0xd5, 0x28, 0x3b, 0x38, 0x38, 0x8c, 0xe7, 0x59, 0x4d, 0x20, 0x9e, + 0xfc, 0xc7, 0x9c, 0x0f, 0x72, 0x45, 0xa2, 0xcf, 0x60, 0x36, 0x10, 0x98, 0x0b, 0x4b, 0xb0, 0x26, + 0xe5, 0xa9, 0x7c, 0x06, 0x14, 0x9f, 0xe5, 0x74, 0x3e, 0x32, 0x77, 0x47, 0xa6, 0xa6, 0xb2, 0x98, + 0x09, 0x32, 0xde, 0xa3, 0x1f, 0x0c, 0x90, 0xbb, 0xef, 0x3b, 0x54, 0x50, 0x2b, 0xde, 0x40, 0x8b, + 0xbe, 0xa1, 0x24, 0x94, 0x45, 0x4b, 0x25, 0x33, 0xa8, 0xc8, 0x7c, 0x9c, 0x4a, 0x66, 0x5d, 0x63, + 0xbd, 0xd6, 0x50, 0x8f, 0x63, 0xa4, 0x54, 0x6e, 0x0b, 0x24, 0x7f, 0x38, 0xfa, 0xce, 0x80, 0x85, + 0x3d, 0xcc, 0x9c, 0xbc, 0x34, 0x87, 0x14, 0xcd, 0x8f, 0x52, 0x69, 0x6e, 0x60, 0xe6, 0xe4, 0xa3, + 0x78, 0x63, 0x2f, 0x5f, 0x28, 0xfa, 0x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10, 0x0d, 0x29, 0xf7, 0x93, 0x5c, 0xd7, 0xa1, + 0xfc, 0xd7, 0xb5, 0xe3, 0x68, 0x0e, 0xe7, 0xf2, 0x6f, 0xa5, 0x5e, 0xfe, 0xed, 0x4b, 0x03, 0x96, + 0x8a, 0xfe, 0xff, 0x21, 0xbd, 0x98, 0xc6, 0x5b, 0x15, 0x73, 0xed, 0x15, 0x5c, 0x22, 0x5e, 0x33, + 0x2d, 0x7b, 0xad, 0xb2, 0xea, 0xb3, 0x6d, 0xd9, 0x0f, 0xb6, 0x8d, 0x4f, 0x1a, 0xfb, 0x4c, 0x1c, + 0x84, 0xbb, 0x75, 0xe2, 0x35, 0x1b, 0x27, 0x7e, 0x72, 0xa9, 0xef, 0x53, 0x37, 0xfa, 0x8d, 0x47, + 0xff, 0xfa, 0xf2, 0x00, 0xfb, 0xec, 0x68, 0x79, 0xb7, 0xa4, 0xc6, 0x6e, 0xff, 0x13, 0x00, 0x00, + 0xff, 0xff, 0xbc, 0x58, 0xcc, 0x6b, 0x40, 0x1a, 0x00, 0x00, + }, + // uber/cadence/api/v1/tasklist.proto + []byte{ + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x54, 0xdd, 0x6e, 0xdb, 0x36, + 0x14, 0x9e, 0xe2, 0xb4, 0x73, 0x98, 0x25, 0xd5, 0xb8, 0xb5, 0x8d, 0xdd, 0x75, 0xcb, 0x74, 0x51, + 0x04, 0xc5, 0x20, 0x21, 0x19, 0x76, 0xb5, 0x8b, 0xc1, 0x89, 0x83, 0x55, 0x88, 0xe3, 0x1a, 0x92, + 0x1a, 0x20, 0xbb, 0xe1, 0x28, 0xf1, 0xd4, 0x21, 0xf4, 0x43, 0x81, 0xa4, 0x92, 0xf8, 0x45, 0xf6, + 0x30, 0x7b, 0xa2, 0x3d, 0xc6, 0x40, 0x4a, 0xf6, 0xdc, 0xc4, 0xeb, 0x1d, 0x79, 0xbe, 0xf3, 0x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, 0x55, 0xe9, 0xbb, 0xed, 0x53, 0x97, + 0x9e, 0x75, 0x8f, 0x4b, 0x0d, 0xbf, 0xbd, 0x3d, 0xf0, 0xfb, 0x63, 0xe9, 0x94, 0x78, 0xd1, 0xaf, + 0x99, 0xe2, 0xa7, 0xc8, 0xe7, 0x4e, 0xc7, 0xfd, 0xb0, 0x73, 0x3c, 0xc7, 0x63, 0x8f, 0xff, 0x1d, + 0x00, 0x00, 0xff, 0xff, 0x1c, 0xfe, 0xdc, 0x7d, 0x4a, 0x1d, 0x00, 0x00, + }, + // uber/cadence/api/v1/history.proto + []byte{ + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x5c, 0x5f, 0x6c, 0x1c, 0x57, + 0xd5, 0xef, 0xec, 0xda, 0xbb, 0xde, 0xb3, 0x8e, 0x63, 0xdf, 0x24, 0x8e, 0x9d, 0xbf, 0xce, 0x24, + 0x4d, 0x5c, 0xc7, 0x59, 0x27, 0x4e, 0x9a, 0x7c, 0x69, 0xbe, 0xb6, 0x38, 0x8e, 0xad, 0xae, 0x64, + 0x92, 0x68, 0xe2, 0xa4, 0x80, 0x90, 0x96, 0xf1, 0xcc, 0x75, 0x3c, 0xf2, 0xee, 0xcc, 0x76, 0x66, + 0xd6, 0x1b, 0x23, 0xf1, 0xc4, 0x03, 0x12, 0x6a, 0x05, 0x55, 0x85, 0x44, 0x05, 0x08, 0x84, 0x04, + 0x6a, 0x11, 0x52, 0x11, 0x08, 0x01, 0xe2, 0x05, 0x90, 0x10, 0x48, 0xa0, 0xc2, 0x13, 0x2f, 0x3c, + 0xc0, 0x03, 0x0f, 0xf4, 0x8d, 0x07, 0xca, 0x1b, 0x12, 0x9a, 0x3b, 0x77, 0x76, 0x77, 0x66, 0xee, + 0x9d, 0xb9, 0xb3, 0xde, 0xb4, 0xa0, 0xe6, 0xcd, 0x73, 0xe7, 0xdc, 0x33, 0xbf, 0x7b, 0xee, 0x39, + 0x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 0x69, 0xd1, + 0x1b, 0x12, 0xcc, 0xea, 0x58, 0x33, 0x1c, 0x02, 0xcc, 0xd3, 0x52, 0x47, 0xdb, 0xc2, 0x7a, 0x8b, + 0x29, 0xbc, 0x12, 0x41, 0x77, 0x9d, 0x89, 0xee, 0x16, 0x65, 0xb2, 0xae, 0x3a, 0xdb, 0xf7, 0x02, + 0x16, 0x71, 0x64, 0x67, 0x74, 0x01, 0x3a, 0xf4, 0x9a, 0x04, 0x67, 0x23, 0xa8, 0x78, 0x36, 0x01, + 0x04, 0xd3, 0xb5, 0x74, 0x4c, 0x3c, 0x73, 0x90, 0xf5, 0x54, 0x2a, 0x86, 0x94, 0x12, 0x8c, 0xa0, + 0x2c, 0x28, 0xa5, 0x04, 0xfd, 0x0f, 0x49, 0x89, 0xab, 0xfa, 0xaf, 0xc7, 0x50, 0x25, 0x68, 0xd6, + 0x28, 0x41, 0xf5, 0x7f, 0xa9, 0xa8, 0xf8, 0x4a, 0x75, 0x5a, 0x4f, 0x27, 0x43, 0x5f, 0x94, 0xe0, + 0xe9, 0x30, 0x26, 0x9e, 0x25, 0xee, 0x23, 0x80, 0xae, 0xa6, 0x02, 0xe2, 0x19, 0xe1, 0x29, 0x3d, + 0x8d, 0x88, 0x6c, 0x9b, 0xaa, 0xb9, 0xc6, 0x8e, 0xe1, 0xee, 0xa6, 0x2a, 0xf7, 0x58, 0xc2, 0xb6, + 0x2d, 0x51, 0x26, 0x69, 0xca, 0xad, 0x0a, 0xd0, 0x11, 0xe5, 0x8e, 0xa0, 0xe2, 0x29, 0xf7, 0xfe, + 0x04, 0xe5, 0x0e, 0x61, 0xe2, 0x2a, 0xb7, 0x9a, 0x4a, 0xc5, 0x90, 0x52, 0x82, 0x72, 0x8f, 0x0b, + 0x4a, 0x29, 0x49, 0xb9, 0x55, 0x01, 0x3a, 0xa2, 0x48, 0x61, 0x54, 0x3c, 0x45, 0x9a, 0x48, 0x50, + 0xa4, 0x5e, 0x48, 0x5c, 0x45, 0x52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0x9f, 0x08, 0x3e, 0x26, 0xf8, 0x20, 0xa5, + 0x58, 0xc8, 0x92, 0x67, 0xfe, 0x7c, 0x9e, 0x27, 0x78, 0x5e, 0x0f, 0xc9, 0x13, 0xc1, 0x27, 0xb6, + 0xb0, 0x14, 0xfa, 0xe9, 0x7d, 0xff, 0x45, 0x0e, 0x16, 0x32, 0xfe, 0x42, 0xf4, 0xc9, 0x3e, 0x84, + 0xf6, 0x61, 0xce, 0x85, 0xfd, 0xe4, 0xcf, 0x55, 0xa3, 0xee, 0x62, 0x9b, 0x7c, 0xea, 0x38, 0x4c, + 0xaf, 0x3c, 0x58, 0xb9, 0xbd, 0x5e, 0x5b, 0xad, 0xae, 0xad, 0xaf, 0x28, 0xb5, 0xf5, 0x4f, 0xde, + 0x5d, 0xa9, 0x55, 0x6f, 0x3f, 0x58, 0x5a, 0xab, 0xde, 0x1a, 0x7f, 0x0a, 0x9d, 0x84, 0xa3, 0xf1, + 0xd7, 0x4b, 0x6b, 0x6b, 0x35, 0x32, 0x3a, 0x2e, 0xa1, 0x53, 0x70, 0x3c, 0x4e, 0xb0, 0xbc, 0x76, + 0xe7, 0xde, 0x0a, 0x25, 0xc9, 0xdd, 0x7c, 0x00, 0x87, 0x35, 0xab, 0xc1, 0x92, 0xc1, 0xcd, 0x91, + 0xa5, 0xa6, 0x71, 0xd7, 0x0b, 0x61, 0xef, 0x4a, 0x9f, 0x5a, 0x78, 0x68, 0xb8, 0x5b, 0xad, 0x8d, + 0x8a, 0x66, 0x35, 0x16, 0x42, 0xff, 0xe7, 0xb4, 0xf2, 0x10, 0x9b, 0xfe, 0x7f, 0x56, 0xa5, 0xff, + 0xf2, 0xf4, 0x86, 0xda, 0x34, 0x76, 0x2e, 0x6d, 0x14, 0xc8, 0xd8, 0xe5, 0xff, 0x04, 0x00, 0x00, + 0xff, 0xff, 0xee, 0x07, 0x38, 0xbd, 0xd5, 0x55, 0x00, 0x00, + }, + // uber/cadence/api/v1/query.proto + []byte{ + 0x1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x4d, 0x38, 0x5e, + 0xca, 0x3e, 0x62, 0x9d, 0xf8, 0xba, 0x6d, 0x75, 0x0c, 0x62, 0xd8, 0xd6, 0x9a, 0xf5, 0x29, 0x9c, + 0x3c, 0xc0, 0xb1, 0x6c, 0xe2, 0xdb, 0x0e, 0xb6, 0x64, 0x09, 0xbd, 0x81, 0xd7, 0xff, 0x20, 0xe9, + 0xf6, 0xb5, 0x63, 0x62, 0x82, 0x3b, 0xbe, 0x6e, 0x62, 0xcd, 0x32, 0xfb, 0x72, 0xad, 0xf5, 0x43, + 0x82, 0x17, 0x45, 0x26, 0x9d, 0xc5, 0x22, 0x12, 0x29, 0x8d, 0xc3, 0xb9, 0x49, 0xa7, 0x74, 0xbc, + 0x32, 0xd4, 0x6d, 0xcb, 0x33, 0x3c, 0x82, 0x2d, 0xbd, 0xef, 0x9b, 0xb8, 0x87, 0xcd, 0xb5, 0x54, + 0x67, 0xd0, 0x78, 0x88, 0x84, 0x7b, 0xd8, 0x22, 0x5d, 0xcd, 0x94, 0xa5, 0x55, 0xbf, 0x4d, 0x96, + 0x47, 0x5c, 0xdb, 0xfa, 0x20, 0xd7, 0xae, 0x7a, 0xf0, 0x32, 0x64, 0x93, 0xaa, 0x17, 0xbd, 0x7a, + 0xa2, 0x25, 0x91, 0x93, 0xdf, 0x8f, 0x23, 0x7d, 0x52, 0x47, 0x51, 0xfa, 0x25, 0x1b, 0x28, 0x21, + 0x9b, 0xa8, 0xf7, 0x0e, 0x4e, 0x19, 0xd1, 0x58, 0x2d, 0xae, 0xac, 0xbc, 0xbd, 0xcb, 0x20, 0x89, + 0xa6, 0xed, 0xc1, 0x56, 0x81, 0xbd, 0xfd, 0x1d, 0x00, 0x00, 0xff, 0xff, 0x96, 0x7d, 0xf9, 0x10, + 0xf7, 0x03, 0x00, 0x00, + }, +} + +func init() { + yarpc.RegisterClientBuilder( + func(clientConfig transport.ClientConfig, structField reflect.StructField) WorkerAPIYARPCClient { + return NewWorkerAPIYARPCClient(clientConfig, protobuf.ClientBuilderOptions(clientConfig, structField)...) + }, + ) +} diff --git a/go/proto/api/v1/service_workflow.pb.go b/go/proto/api/v1/service_workflow.pb.go new file mode 100644 index 0000000..2debb53 --- /dev/null +++ b/go/proto/api/v1/service_workflow.pb.go @@ -0,0 +1,8588 @@ +// The MIT License (MIT) +// +// Copyright (c) 2021 Uber Technologies, Inc. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +// SOFTWARE. + +// Code generated by protoc-gen-gogo. DO NOT EDIT. +// source: uber/cadence/api/v1/service_workflow.proto + +package apiv1 + +import ( + fmt "fmt" + proto "github.com/gogo/protobuf/proto" + types "github.com/gogo/protobuf/types" + io "io" + math "math" + math_bits "math/bits" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package + +type StartWorkflowExecutionRequest struct { + Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` + WorkflowId string `protobuf:"bytes,2,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"` + WorkflowType *WorkflowType `protobuf:"bytes,3,opt,name=workflow_type,json=workflowType,proto3" json:"workflow_type,omitempty"` + TaskList *TaskList `protobuf:"bytes,4,opt,name=task_list,json=taskList,proto3" json:"task_list,omitempty"` + Input *Payload `protobuf:"bytes,5,opt,name=input,proto3" json:"input,omitempty"` + ExecutionStartToCloseTimeout *types.Duration `protobuf:"bytes,6,opt,name=execution_start_to_close_timeout,json=executionStartToCloseTimeout,proto3" json:"execution_start_to_close_timeout,omitempty"` + TaskStartToCloseTimeout *types.Duration `protobuf:"bytes,7,opt,name=task_start_to_close_timeout,json=taskStartToCloseTimeout,proto3" json:"task_start_to_close_timeout,omitempty"` + Identity string `protobuf:"bytes,8,opt,name=identity,proto3" json:"identity,omitempty"` + RequestId string `protobuf:"bytes,9,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` + WorkflowIdReusePolicy WorkflowIdReusePolicy `protobuf:"varint,10,opt,name=workflow_id_reuse_policy,json=workflowIdReusePolicy,proto3,enum=uber.cadence.api.v1.WorkflowIdReusePolicy" json:"workflow_id_reuse_policy,omitempty"` + RetryPolicy *RetryPolicy `protobuf:"bytes,11,opt,name=retry_policy,json=retryPolicy,proto3" json:"retry_policy,omitempty"` + CronSchedule string `protobuf:"bytes,12,opt,name=cron_schedule,json=cronSchedule,proto3" json:"cron_schedule,omitempty"` + Memo *Memo `protobuf:"bytes,13,opt,name=memo,proto3" json:"memo,omitempty"` + SearchAttributes *SearchAttributes `protobuf:"bytes,14,opt,name=search_attributes,json=searchAttributes,proto3" json:"search_attributes,omitempty"` + Header *Header `protobuf:"bytes,15,opt,name=header,proto3" json:"header,omitempty"` + DelayStart *types.Duration `protobuf:"bytes,16,opt,name=delay_start,json=delayStart,proto3" json:"delay_start,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *StartWorkflowExecutionRequest) Reset() { *m = StartWorkflowExecutionRequest{} } +func (m *StartWorkflowExecutionRequest) String() string { return proto.CompactTextString(m) } +func (*StartWorkflowExecutionRequest) ProtoMessage() {} +func (*StartWorkflowExecutionRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_674d14d2fee4e473, []int{0} +} +func (m *StartWorkflowExecutionRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *StartWorkflowExecutionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_StartWorkflowExecutionRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *StartWorkflowExecutionRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_StartWorkflowExecutionRequest.Merge(m, src) +} +func (m *StartWorkflowExecutionRequest) XXX_Size() int { + return m.Size() +} +func (m *StartWorkflowExecutionRequest) XXX_DiscardUnknown() { + xxx_messageInfo_StartWorkflowExecutionRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_StartWorkflowExecutionRequest proto.InternalMessageInfo + +func (m *StartWorkflowExecutionRequest) GetDomain() string { + if m != nil { + return m.Domain + } + return "" +} + +func (m *StartWorkflowExecutionRequest) GetWorkflowId() string { + if m != nil { + return m.WorkflowId + } + return "" +} + +func (m *StartWorkflowExecutionRequest) GetWorkflowType() *WorkflowType { + if m != nil { + return m.WorkflowType + } + return nil +} + +func (m *StartWorkflowExecutionRequest) GetTaskList() *TaskList { + if m != nil { + return m.TaskList + } + return nil +} + +func (m *StartWorkflowExecutionRequest) GetInput() *Payload { + if m != nil { + return m.Input + } + return nil +} + +func (m *StartWorkflowExecutionRequest) GetExecutionStartToCloseTimeout() *types.Duration { + if m != nil { + return m.ExecutionStartToCloseTimeout + } + return nil +} + +func (m *StartWorkflowExecutionRequest) GetTaskStartToCloseTimeout() *types.Duration { + if m != nil { + return m.TaskStartToCloseTimeout + } + return nil +} + +func (m *StartWorkflowExecutionRequest) GetIdentity() string { + if m != nil { + return m.Identity + } + return "" +} + +func (m *StartWorkflowExecutionRequest) GetRequestId() string { + if m != nil { + return m.RequestId + } + return "" +} + +func (m *StartWorkflowExecutionRequest) GetWorkflowIdReusePolicy() WorkflowIdReusePolicy { + if m != nil { + return m.WorkflowIdReusePolicy + } + return WorkflowIdReusePolicy_WORKFLOW_ID_REUSE_POLICY_INVALID +} + +func (m *StartWorkflowExecutionRequest) GetRetryPolicy() *RetryPolicy { + if m != nil { + return m.RetryPolicy + } + return nil +} + +func (m *StartWorkflowExecutionRequest) GetCronSchedule() string { + if m != nil { + return m.CronSchedule + } + return "" +} + +func (m *StartWorkflowExecutionRequest) GetMemo() *Memo { + if m != nil { + return m.Memo + } + return nil +} + +func (m *StartWorkflowExecutionRequest) GetSearchAttributes() *SearchAttributes { + if m != nil { + return m.SearchAttributes + } + return nil +} + +func (m *StartWorkflowExecutionRequest) GetHeader() *Header { + if m != nil { + return m.Header + } + return nil +} + +func (m *StartWorkflowExecutionRequest) GetDelayStart() *types.Duration { + if m != nil { + return m.DelayStart + } + return nil +} + +type StartWorkflowExecutionResponse struct { + RunId string `protobuf:"bytes,1,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *StartWorkflowExecutionResponse) Reset() { *m = StartWorkflowExecutionResponse{} } +func (m *StartWorkflowExecutionResponse) String() string { return proto.CompactTextString(m) } +func (*StartWorkflowExecutionResponse) ProtoMessage() {} +func (*StartWorkflowExecutionResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_674d14d2fee4e473, []int{1} +} +func (m *StartWorkflowExecutionResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *StartWorkflowExecutionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_StartWorkflowExecutionResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *StartWorkflowExecutionResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_StartWorkflowExecutionResponse.Merge(m, src) +} +func (m *StartWorkflowExecutionResponse) XXX_Size() int { + return m.Size() +} +func (m *StartWorkflowExecutionResponse) XXX_DiscardUnknown() { + xxx_messageInfo_StartWorkflowExecutionResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_StartWorkflowExecutionResponse proto.InternalMessageInfo + +func (m *StartWorkflowExecutionResponse) GetRunId() string { + if m != nil { + return m.RunId + } + return "" +} + +type SignalWorkflowExecutionRequest struct { + Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` + WorkflowExecution *WorkflowExecution `protobuf:"bytes,2,opt,name=workflow_execution,json=workflowExecution,proto3" json:"workflow_execution,omitempty"` + Identity string `protobuf:"bytes,3,opt,name=identity,proto3" json:"identity,omitempty"` + RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` + SignalName string `protobuf:"bytes,5,opt,name=signal_name,json=signalName,proto3" json:"signal_name,omitempty"` + SignalInput *Payload `protobuf:"bytes,6,opt,name=signal_input,json=signalInput,proto3" json:"signal_input,omitempty"` + Control []byte `protobuf:"bytes,7,opt,name=control,proto3" json:"control,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SignalWorkflowExecutionRequest) Reset() { *m = SignalWorkflowExecutionRequest{} } +func (m *SignalWorkflowExecutionRequest) String() string { return proto.CompactTextString(m) } +func (*SignalWorkflowExecutionRequest) ProtoMessage() {} +func (*SignalWorkflowExecutionRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_674d14d2fee4e473, []int{2} +} +func (m *SignalWorkflowExecutionRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *SignalWorkflowExecutionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_SignalWorkflowExecutionRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *SignalWorkflowExecutionRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_SignalWorkflowExecutionRequest.Merge(m, src) +} +func (m *SignalWorkflowExecutionRequest) XXX_Size() int { + return m.Size() +} +func (m *SignalWorkflowExecutionRequest) XXX_DiscardUnknown() { + xxx_messageInfo_SignalWorkflowExecutionRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_SignalWorkflowExecutionRequest proto.InternalMessageInfo + +func (m *SignalWorkflowExecutionRequest) GetDomain() string { + if m != nil { + return m.Domain + } + return "" +} + +func (m *SignalWorkflowExecutionRequest) GetWorkflowExecution() *WorkflowExecution { + if m != nil { + return m.WorkflowExecution + } + return nil +} + +func (m *SignalWorkflowExecutionRequest) GetIdentity() string { + if m != nil { + return m.Identity + } + return "" +} + +func (m *SignalWorkflowExecutionRequest) GetRequestId() string { + if m != nil { + return m.RequestId + } + return "" +} + +func (m *SignalWorkflowExecutionRequest) GetSignalName() string { + if m != nil { + return m.SignalName + } + return "" +} + +func (m *SignalWorkflowExecutionRequest) GetSignalInput() *Payload { + if m != nil { + return m.SignalInput + } + return nil +} + +func (m *SignalWorkflowExecutionRequest) GetControl() []byte { + if m != nil { + return m.Control + } + return nil +} + +type SignalWorkflowExecutionResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SignalWorkflowExecutionResponse) Reset() { *m = SignalWorkflowExecutionResponse{} } +func (m *SignalWorkflowExecutionResponse) String() string { return proto.CompactTextString(m) } +func (*SignalWorkflowExecutionResponse) ProtoMessage() {} +func (*SignalWorkflowExecutionResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_674d14d2fee4e473, []int{3} +} +func (m *SignalWorkflowExecutionResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *SignalWorkflowExecutionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_SignalWorkflowExecutionResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *SignalWorkflowExecutionResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_SignalWorkflowExecutionResponse.Merge(m, src) +} +func (m *SignalWorkflowExecutionResponse) XXX_Size() int { + return m.Size() +} +func (m *SignalWorkflowExecutionResponse) XXX_DiscardUnknown() { + xxx_messageInfo_SignalWorkflowExecutionResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_SignalWorkflowExecutionResponse proto.InternalMessageInfo + +type SignalWithStartWorkflowExecutionRequest struct { + StartRequest *StartWorkflowExecutionRequest `protobuf:"bytes,1,opt,name=start_request,json=startRequest,proto3" json:"start_request,omitempty"` + SignalName string `protobuf:"bytes,2,opt,name=signal_name,json=signalName,proto3" json:"signal_name,omitempty"` + SignalInput *Payload `protobuf:"bytes,3,opt,name=signal_input,json=signalInput,proto3" json:"signal_input,omitempty"` + Control []byte `protobuf:"bytes,4,opt,name=control,proto3" json:"control,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SignalWithStartWorkflowExecutionRequest) Reset() { + *m = SignalWithStartWorkflowExecutionRequest{} +} +func (m *SignalWithStartWorkflowExecutionRequest) String() string { return proto.CompactTextString(m) } +func (*SignalWithStartWorkflowExecutionRequest) ProtoMessage() {} +func (*SignalWithStartWorkflowExecutionRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_674d14d2fee4e473, []int{4} +} +func (m *SignalWithStartWorkflowExecutionRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *SignalWithStartWorkflowExecutionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_SignalWithStartWorkflowExecutionRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *SignalWithStartWorkflowExecutionRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_SignalWithStartWorkflowExecutionRequest.Merge(m, src) +} +func (m *SignalWithStartWorkflowExecutionRequest) XXX_Size() int { + return m.Size() +} +func (m *SignalWithStartWorkflowExecutionRequest) XXX_DiscardUnknown() { + xxx_messageInfo_SignalWithStartWorkflowExecutionRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_SignalWithStartWorkflowExecutionRequest proto.InternalMessageInfo + +func (m *SignalWithStartWorkflowExecutionRequest) GetStartRequest() *StartWorkflowExecutionRequest { + if m != nil { + return m.StartRequest + } + return nil +} + +func (m *SignalWithStartWorkflowExecutionRequest) GetSignalName() string { + if m != nil { + return m.SignalName + } + return "" +} + +func (m *SignalWithStartWorkflowExecutionRequest) GetSignalInput() *Payload { + if m != nil { + return m.SignalInput + } + return nil +} + +func (m *SignalWithStartWorkflowExecutionRequest) GetControl() []byte { + if m != nil { + return m.Control + } + return nil +} + +type SignalWithStartWorkflowExecutionResponse struct { + RunId string `protobuf:"bytes,1,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SignalWithStartWorkflowExecutionResponse) Reset() { + *m = SignalWithStartWorkflowExecutionResponse{} +} +func (m *SignalWithStartWorkflowExecutionResponse) String() string { return proto.CompactTextString(m) } +func (*SignalWithStartWorkflowExecutionResponse) ProtoMessage() {} +func (*SignalWithStartWorkflowExecutionResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_674d14d2fee4e473, []int{5} +} +func (m *SignalWithStartWorkflowExecutionResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *SignalWithStartWorkflowExecutionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_SignalWithStartWorkflowExecutionResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *SignalWithStartWorkflowExecutionResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_SignalWithStartWorkflowExecutionResponse.Merge(m, src) +} +func (m *SignalWithStartWorkflowExecutionResponse) XXX_Size() int { + return m.Size() +} +func (m *SignalWithStartWorkflowExecutionResponse) XXX_DiscardUnknown() { + xxx_messageInfo_SignalWithStartWorkflowExecutionResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_SignalWithStartWorkflowExecutionResponse proto.InternalMessageInfo + +func (m *SignalWithStartWorkflowExecutionResponse) GetRunId() string { + if m != nil { + return m.RunId + } + return "" +} + +type ResetWorkflowExecutionRequest struct { + Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` + WorkflowExecution *WorkflowExecution `protobuf:"bytes,2,opt,name=workflow_execution,json=workflowExecution,proto3" json:"workflow_execution,omitempty"` + Reason string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"` + DecisionFinishEventId int64 `protobuf:"varint,4,opt,name=decision_finish_event_id,json=decisionFinishEventId,proto3" json:"decision_finish_event_id,omitempty"` + RequestId string `protobuf:"bytes,5,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` + SkipSignalReapply bool `protobuf:"varint,6,opt,name=skip_signal_reapply,json=skipSignalReapply,proto3" json:"skip_signal_reapply,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ResetWorkflowExecutionRequest) Reset() { *m = ResetWorkflowExecutionRequest{} } +func (m *ResetWorkflowExecutionRequest) String() string { return proto.CompactTextString(m) } +func (*ResetWorkflowExecutionRequest) ProtoMessage() {} +func (*ResetWorkflowExecutionRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_674d14d2fee4e473, []int{6} +} +func (m *ResetWorkflowExecutionRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ResetWorkflowExecutionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ResetWorkflowExecutionRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ResetWorkflowExecutionRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ResetWorkflowExecutionRequest.Merge(m, src) +} +func (m *ResetWorkflowExecutionRequest) XXX_Size() int { + return m.Size() +} +func (m *ResetWorkflowExecutionRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ResetWorkflowExecutionRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ResetWorkflowExecutionRequest proto.InternalMessageInfo + +func (m *ResetWorkflowExecutionRequest) GetDomain() string { + if m != nil { + return m.Domain + } + return "" +} + +func (m *ResetWorkflowExecutionRequest) GetWorkflowExecution() *WorkflowExecution { + if m != nil { + return m.WorkflowExecution + } + return nil +} + +func (m *ResetWorkflowExecutionRequest) GetReason() string { + if m != nil { + return m.Reason + } + return "" +} + +func (m *ResetWorkflowExecutionRequest) GetDecisionFinishEventId() int64 { + if m != nil { + return m.DecisionFinishEventId + } + return 0 +} + +func (m *ResetWorkflowExecutionRequest) GetRequestId() string { + if m != nil { + return m.RequestId + } + return "" +} + +func (m *ResetWorkflowExecutionRequest) GetSkipSignalReapply() bool { + if m != nil { + return m.SkipSignalReapply + } + return false +} + +type ResetWorkflowExecutionResponse struct { + RunId string `protobuf:"bytes,1,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ResetWorkflowExecutionResponse) Reset() { *m = ResetWorkflowExecutionResponse{} } +func (m *ResetWorkflowExecutionResponse) String() string { return proto.CompactTextString(m) } +func (*ResetWorkflowExecutionResponse) ProtoMessage() {} +func (*ResetWorkflowExecutionResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_674d14d2fee4e473, []int{7} +} +func (m *ResetWorkflowExecutionResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ResetWorkflowExecutionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ResetWorkflowExecutionResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ResetWorkflowExecutionResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ResetWorkflowExecutionResponse.Merge(m, src) +} +func (m *ResetWorkflowExecutionResponse) XXX_Size() int { + return m.Size() +} +func (m *ResetWorkflowExecutionResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ResetWorkflowExecutionResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ResetWorkflowExecutionResponse proto.InternalMessageInfo + +func (m *ResetWorkflowExecutionResponse) GetRunId() string { + if m != nil { + return m.RunId + } + return "" +} + +type RequestCancelWorkflowExecutionRequest struct { + Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` + WorkflowExecution *WorkflowExecution `protobuf:"bytes,2,opt,name=workflow_execution,json=workflowExecution,proto3" json:"workflow_execution,omitempty"` + Identity string `protobuf:"bytes,3,opt,name=identity,proto3" json:"identity,omitempty"` + RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RequestCancelWorkflowExecutionRequest) Reset() { *m = RequestCancelWorkflowExecutionRequest{} } +func (m *RequestCancelWorkflowExecutionRequest) String() string { return proto.CompactTextString(m) } +func (*RequestCancelWorkflowExecutionRequest) ProtoMessage() {} +func (*RequestCancelWorkflowExecutionRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_674d14d2fee4e473, []int{8} +} +func (m *RequestCancelWorkflowExecutionRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RequestCancelWorkflowExecutionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RequestCancelWorkflowExecutionRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RequestCancelWorkflowExecutionRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RequestCancelWorkflowExecutionRequest.Merge(m, src) +} +func (m *RequestCancelWorkflowExecutionRequest) XXX_Size() int { + return m.Size() +} +func (m *RequestCancelWorkflowExecutionRequest) XXX_DiscardUnknown() { + xxx_messageInfo_RequestCancelWorkflowExecutionRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_RequestCancelWorkflowExecutionRequest proto.InternalMessageInfo + +func (m *RequestCancelWorkflowExecutionRequest) GetDomain() string { + if m != nil { + return m.Domain + } + return "" +} + +func (m *RequestCancelWorkflowExecutionRequest) GetWorkflowExecution() *WorkflowExecution { + if m != nil { + return m.WorkflowExecution + } + return nil +} + +func (m *RequestCancelWorkflowExecutionRequest) GetIdentity() string { + if m != nil { + return m.Identity + } + return "" +} + +func (m *RequestCancelWorkflowExecutionRequest) GetRequestId() string { + if m != nil { + return m.RequestId + } + return "" +} + +type RequestCancelWorkflowExecutionResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RequestCancelWorkflowExecutionResponse) Reset() { + *m = RequestCancelWorkflowExecutionResponse{} +} +func (m *RequestCancelWorkflowExecutionResponse) String() string { return proto.CompactTextString(m) } +func (*RequestCancelWorkflowExecutionResponse) ProtoMessage() {} +func (*RequestCancelWorkflowExecutionResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_674d14d2fee4e473, []int{9} +} +func (m *RequestCancelWorkflowExecutionResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RequestCancelWorkflowExecutionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RequestCancelWorkflowExecutionResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RequestCancelWorkflowExecutionResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_RequestCancelWorkflowExecutionResponse.Merge(m, src) +} +func (m *RequestCancelWorkflowExecutionResponse) XXX_Size() int { + return m.Size() +} +func (m *RequestCancelWorkflowExecutionResponse) XXX_DiscardUnknown() { + xxx_messageInfo_RequestCancelWorkflowExecutionResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_RequestCancelWorkflowExecutionResponse proto.InternalMessageInfo + +type TerminateWorkflowExecutionRequest struct { + Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` + WorkflowExecution *WorkflowExecution `protobuf:"bytes,2,opt,name=workflow_execution,json=workflowExecution,proto3" json:"workflow_execution,omitempty"` + Reason string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"` + Details *Payload `protobuf:"bytes,4,opt,name=details,proto3" json:"details,omitempty"` + Identity string `protobuf:"bytes,5,opt,name=identity,proto3" json:"identity,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *TerminateWorkflowExecutionRequest) Reset() { *m = TerminateWorkflowExecutionRequest{} } +func (m *TerminateWorkflowExecutionRequest) String() string { return proto.CompactTextString(m) } +func (*TerminateWorkflowExecutionRequest) ProtoMessage() {} +func (*TerminateWorkflowExecutionRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_674d14d2fee4e473, []int{10} +} +func (m *TerminateWorkflowExecutionRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *TerminateWorkflowExecutionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_TerminateWorkflowExecutionRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *TerminateWorkflowExecutionRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_TerminateWorkflowExecutionRequest.Merge(m, src) +} +func (m *TerminateWorkflowExecutionRequest) XXX_Size() int { + return m.Size() +} +func (m *TerminateWorkflowExecutionRequest) XXX_DiscardUnknown() { + xxx_messageInfo_TerminateWorkflowExecutionRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_TerminateWorkflowExecutionRequest proto.InternalMessageInfo + +func (m *TerminateWorkflowExecutionRequest) GetDomain() string { + if m != nil { + return m.Domain + } + return "" +} + +func (m *TerminateWorkflowExecutionRequest) GetWorkflowExecution() *WorkflowExecution { + if m != nil { + return m.WorkflowExecution + } + return nil +} + +func (m *TerminateWorkflowExecutionRequest) GetReason() string { + if m != nil { + return m.Reason + } + return "" +} + +func (m *TerminateWorkflowExecutionRequest) GetDetails() *Payload { + if m != nil { + return m.Details + } + return nil +} + +func (m *TerminateWorkflowExecutionRequest) GetIdentity() string { + if m != nil { + return m.Identity + } + return "" +} + +type TerminateWorkflowExecutionResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *TerminateWorkflowExecutionResponse) Reset() { *m = TerminateWorkflowExecutionResponse{} } +func (m *TerminateWorkflowExecutionResponse) String() string { return proto.CompactTextString(m) } +func (*TerminateWorkflowExecutionResponse) ProtoMessage() {} +func (*TerminateWorkflowExecutionResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_674d14d2fee4e473, []int{11} +} +func (m *TerminateWorkflowExecutionResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *TerminateWorkflowExecutionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_TerminateWorkflowExecutionResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *TerminateWorkflowExecutionResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_TerminateWorkflowExecutionResponse.Merge(m, src) +} +func (m *TerminateWorkflowExecutionResponse) XXX_Size() int { + return m.Size() +} +func (m *TerminateWorkflowExecutionResponse) XXX_DiscardUnknown() { + xxx_messageInfo_TerminateWorkflowExecutionResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_TerminateWorkflowExecutionResponse proto.InternalMessageInfo + +type DescribeWorkflowExecutionRequest struct { + Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` + WorkflowExecution *WorkflowExecution `protobuf:"bytes,2,opt,name=workflow_execution,json=workflowExecution,proto3" json:"workflow_execution,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DescribeWorkflowExecutionRequest) Reset() { *m = DescribeWorkflowExecutionRequest{} } +func (m *DescribeWorkflowExecutionRequest) String() string { return proto.CompactTextString(m) } +func (*DescribeWorkflowExecutionRequest) ProtoMessage() {} +func (*DescribeWorkflowExecutionRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_674d14d2fee4e473, []int{12} +} +func (m *DescribeWorkflowExecutionRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *DescribeWorkflowExecutionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_DescribeWorkflowExecutionRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *DescribeWorkflowExecutionRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DescribeWorkflowExecutionRequest.Merge(m, src) +} +func (m *DescribeWorkflowExecutionRequest) XXX_Size() int { + return m.Size() +} +func (m *DescribeWorkflowExecutionRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DescribeWorkflowExecutionRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_DescribeWorkflowExecutionRequest proto.InternalMessageInfo + +func (m *DescribeWorkflowExecutionRequest) GetDomain() string { + if m != nil { + return m.Domain + } + return "" +} + +func (m *DescribeWorkflowExecutionRequest) GetWorkflowExecution() *WorkflowExecution { + if m != nil { + return m.WorkflowExecution + } + return nil +} + +type DescribeWorkflowExecutionResponse struct { + ExecutionConfiguration *WorkflowExecutionConfiguration `protobuf:"bytes,1,opt,name=execution_configuration,json=executionConfiguration,proto3" json:"execution_configuration,omitempty"` + WorkflowExecutionInfo *WorkflowExecutionInfo `protobuf:"bytes,2,opt,name=workflow_execution_info,json=workflowExecutionInfo,proto3" json:"workflow_execution_info,omitempty"` + PendingActivities []*PendingActivityInfo `protobuf:"bytes,3,rep,name=pending_activities,json=pendingActivities,proto3" json:"pending_activities,omitempty"` + PendingChildren []*PendingChildExecutionInfo `protobuf:"bytes,4,rep,name=pending_children,json=pendingChildren,proto3" json:"pending_children,omitempty"` + PendingDecision *PendingDecisionInfo `protobuf:"bytes,5,opt,name=pending_decision,json=pendingDecision,proto3" json:"pending_decision,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DescribeWorkflowExecutionResponse) Reset() { *m = DescribeWorkflowExecutionResponse{} } +func (m *DescribeWorkflowExecutionResponse) String() string { return proto.CompactTextString(m) } +func (*DescribeWorkflowExecutionResponse) ProtoMessage() {} +func (*DescribeWorkflowExecutionResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_674d14d2fee4e473, []int{13} +} +func (m *DescribeWorkflowExecutionResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *DescribeWorkflowExecutionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_DescribeWorkflowExecutionResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *DescribeWorkflowExecutionResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_DescribeWorkflowExecutionResponse.Merge(m, src) +} +func (m *DescribeWorkflowExecutionResponse) XXX_Size() int { + return m.Size() +} +func (m *DescribeWorkflowExecutionResponse) XXX_DiscardUnknown() { + xxx_messageInfo_DescribeWorkflowExecutionResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_DescribeWorkflowExecutionResponse proto.InternalMessageInfo + +func (m *DescribeWorkflowExecutionResponse) GetExecutionConfiguration() *WorkflowExecutionConfiguration { + if m != nil { + return m.ExecutionConfiguration + } + return nil +} + +func (m *DescribeWorkflowExecutionResponse) GetWorkflowExecutionInfo() *WorkflowExecutionInfo { + if m != nil { + return m.WorkflowExecutionInfo + } + return nil +} + +func (m *DescribeWorkflowExecutionResponse) GetPendingActivities() []*PendingActivityInfo { + if m != nil { + return m.PendingActivities + } + return nil +} + +func (m *DescribeWorkflowExecutionResponse) GetPendingChildren() []*PendingChildExecutionInfo { + if m != nil { + return m.PendingChildren + } + return nil +} + +func (m *DescribeWorkflowExecutionResponse) GetPendingDecision() *PendingDecisionInfo { + if m != nil { + return m.PendingDecision + } + return nil +} + +type QueryWorkflowRequest struct { + Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` + WorkflowExecution *WorkflowExecution `protobuf:"bytes,2,opt,name=workflow_execution,json=workflowExecution,proto3" json:"workflow_execution,omitempty"` + Query *WorkflowQuery `protobuf:"bytes,3,opt,name=query,proto3" json:"query,omitempty"` + QueryRejectCondition QueryRejectCondition `protobuf:"varint,4,opt,name=query_reject_condition,json=queryRejectCondition,proto3,enum=uber.cadence.api.v1.QueryRejectCondition" json:"query_reject_condition,omitempty"` + QueryConsistencyLevel QueryConsistencyLevel `protobuf:"varint,5,opt,name=query_consistency_level,json=queryConsistencyLevel,proto3,enum=uber.cadence.api.v1.QueryConsistencyLevel" json:"query_consistency_level,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *QueryWorkflowRequest) Reset() { *m = QueryWorkflowRequest{} } +func (m *QueryWorkflowRequest) String() string { return proto.CompactTextString(m) } +func (*QueryWorkflowRequest) ProtoMessage() {} +func (*QueryWorkflowRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_674d14d2fee4e473, []int{14} +} +func (m *QueryWorkflowRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QueryWorkflowRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QueryWorkflowRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *QueryWorkflowRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryWorkflowRequest.Merge(m, src) +} +func (m *QueryWorkflowRequest) XXX_Size() int { + return m.Size() +} +func (m *QueryWorkflowRequest) XXX_DiscardUnknown() { + xxx_messageInfo_QueryWorkflowRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_QueryWorkflowRequest proto.InternalMessageInfo + +func (m *QueryWorkflowRequest) GetDomain() string { + if m != nil { + return m.Domain + } + return "" +} + +func (m *QueryWorkflowRequest) GetWorkflowExecution() *WorkflowExecution { + if m != nil { + return m.WorkflowExecution + } + return nil +} + +func (m *QueryWorkflowRequest) GetQuery() *WorkflowQuery { + if m != nil { + return m.Query + } + return nil +} + +func (m *QueryWorkflowRequest) GetQueryRejectCondition() QueryRejectCondition { + if m != nil { + return m.QueryRejectCondition + } + return QueryRejectCondition_QUERY_REJECT_CONDITION_INVALID +} + +func (m *QueryWorkflowRequest) GetQueryConsistencyLevel() QueryConsistencyLevel { + if m != nil { + return m.QueryConsistencyLevel + } + return QueryConsistencyLevel_QUERY_CONSISTENCY_LEVEL_INVALID +} + +type QueryWorkflowResponse struct { + QueryResult *Payload `protobuf:"bytes,1,opt,name=query_result,json=queryResult,proto3" json:"query_result,omitempty"` + QueryRejected *QueryRejected `protobuf:"bytes,2,opt,name=query_rejected,json=queryRejected,proto3" json:"query_rejected,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *QueryWorkflowResponse) Reset() { *m = QueryWorkflowResponse{} } +func (m *QueryWorkflowResponse) String() string { return proto.CompactTextString(m) } +func (*QueryWorkflowResponse) ProtoMessage() {} +func (*QueryWorkflowResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_674d14d2fee4e473, []int{15} +} +func (m *QueryWorkflowResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QueryWorkflowResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QueryWorkflowResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *QueryWorkflowResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryWorkflowResponse.Merge(m, src) +} +func (m *QueryWorkflowResponse) XXX_Size() int { + return m.Size() +} +func (m *QueryWorkflowResponse) XXX_DiscardUnknown() { + xxx_messageInfo_QueryWorkflowResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_QueryWorkflowResponse proto.InternalMessageInfo + +func (m *QueryWorkflowResponse) GetQueryResult() *Payload { + if m != nil { + return m.QueryResult + } + return nil +} + +func (m *QueryWorkflowResponse) GetQueryRejected() *QueryRejected { + if m != nil { + return m.QueryRejected + } + return nil +} + +type DescribeTaskListRequest struct { + Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` + TaskList *TaskList `protobuf:"bytes,2,opt,name=task_list,json=taskList,proto3" json:"task_list,omitempty"` + TaskListType TaskListType `protobuf:"varint,3,opt,name=task_list_type,json=taskListType,proto3,enum=uber.cadence.api.v1.TaskListType" json:"task_list_type,omitempty"` + IncludeTaskListStatus bool `protobuf:"varint,4,opt,name=include_task_list_status,json=includeTaskListStatus,proto3" json:"include_task_list_status,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DescribeTaskListRequest) Reset() { *m = DescribeTaskListRequest{} } +func (m *DescribeTaskListRequest) String() string { return proto.CompactTextString(m) } +func (*DescribeTaskListRequest) ProtoMessage() {} +func (*DescribeTaskListRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_674d14d2fee4e473, []int{16} +} +func (m *DescribeTaskListRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *DescribeTaskListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_DescribeTaskListRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *DescribeTaskListRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DescribeTaskListRequest.Merge(m, src) +} +func (m *DescribeTaskListRequest) XXX_Size() int { + return m.Size() +} +func (m *DescribeTaskListRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DescribeTaskListRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_DescribeTaskListRequest proto.InternalMessageInfo + +func (m *DescribeTaskListRequest) GetDomain() string { + if m != nil { + return m.Domain + } + return "" +} + +func (m *DescribeTaskListRequest) GetTaskList() *TaskList { + if m != nil { + return m.TaskList + } + return nil +} + +func (m *DescribeTaskListRequest) GetTaskListType() TaskListType { + if m != nil { + return m.TaskListType + } + return TaskListType_TASK_LIST_TYPE_INVALID +} + +func (m *DescribeTaskListRequest) GetIncludeTaskListStatus() bool { + if m != nil { + return m.IncludeTaskListStatus + } + return false +} + +type DescribeTaskListResponse struct { + Pollers []*PollerInfo `protobuf:"bytes,1,rep,name=pollers,proto3" json:"pollers,omitempty"` + TaskListStatus *TaskListStatus `protobuf:"bytes,2,opt,name=task_list_status,json=taskListStatus,proto3" json:"task_list_status,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DescribeTaskListResponse) Reset() { *m = DescribeTaskListResponse{} } +func (m *DescribeTaskListResponse) String() string { return proto.CompactTextString(m) } +func (*DescribeTaskListResponse) ProtoMessage() {} +func (*DescribeTaskListResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_674d14d2fee4e473, []int{17} +} +func (m *DescribeTaskListResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *DescribeTaskListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_DescribeTaskListResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *DescribeTaskListResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_DescribeTaskListResponse.Merge(m, src) +} +func (m *DescribeTaskListResponse) XXX_Size() int { + return m.Size() +} +func (m *DescribeTaskListResponse) XXX_DiscardUnknown() { + xxx_messageInfo_DescribeTaskListResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_DescribeTaskListResponse proto.InternalMessageInfo + +func (m *DescribeTaskListResponse) GetPollers() []*PollerInfo { + if m != nil { + return m.Pollers + } + return nil +} + +func (m *DescribeTaskListResponse) GetTaskListStatus() *TaskListStatus { + if m != nil { + return m.TaskListStatus + } + return nil +} + +type GetTaskListsByDomainRequest struct { + Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetTaskListsByDomainRequest) Reset() { *m = GetTaskListsByDomainRequest{} } +func (m *GetTaskListsByDomainRequest) String() string { return proto.CompactTextString(m) } +func (*GetTaskListsByDomainRequest) ProtoMessage() {} +func (*GetTaskListsByDomainRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_674d14d2fee4e473, []int{18} +} +func (m *GetTaskListsByDomainRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GetTaskListsByDomainRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GetTaskListsByDomainRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GetTaskListsByDomainRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetTaskListsByDomainRequest.Merge(m, src) +} +func (m *GetTaskListsByDomainRequest) XXX_Size() int { + return m.Size() +} +func (m *GetTaskListsByDomainRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetTaskListsByDomainRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetTaskListsByDomainRequest proto.InternalMessageInfo + +func (m *GetTaskListsByDomainRequest) GetDomain() string { + if m != nil { + return m.Domain + } + return "" +} + +type GetTaskListsByDomainResponse struct { + DecisionTaskListMap map[string]*DescribeTaskListResponse `protobuf:"bytes,1,rep,name=decision_task_list_map,json=decisionTaskListMap,proto3" json:"decision_task_list_map,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + ActivityTaskListMap map[string]*DescribeTaskListResponse `protobuf:"bytes,2,rep,name=activity_task_list_map,json=activityTaskListMap,proto3" json:"activity_task_list_map,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetTaskListsByDomainResponse) Reset() { *m = GetTaskListsByDomainResponse{} } +func (m *GetTaskListsByDomainResponse) String() string { return proto.CompactTextString(m) } +func (*GetTaskListsByDomainResponse) ProtoMessage() {} +func (*GetTaskListsByDomainResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_674d14d2fee4e473, []int{19} +} +func (m *GetTaskListsByDomainResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GetTaskListsByDomainResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GetTaskListsByDomainResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GetTaskListsByDomainResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetTaskListsByDomainResponse.Merge(m, src) +} +func (m *GetTaskListsByDomainResponse) XXX_Size() int { + return m.Size() +} +func (m *GetTaskListsByDomainResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetTaskListsByDomainResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GetTaskListsByDomainResponse proto.InternalMessageInfo + +func (m *GetTaskListsByDomainResponse) GetDecisionTaskListMap() map[string]*DescribeTaskListResponse { + if m != nil { + return m.DecisionTaskListMap + } + return nil +} + +func (m *GetTaskListsByDomainResponse) GetActivityTaskListMap() map[string]*DescribeTaskListResponse { + if m != nil { + return m.ActivityTaskListMap + } + return nil +} + +type ListTaskListPartitionsRequest struct { + Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` + TaskList *TaskList `protobuf:"bytes,2,opt,name=task_list,json=taskList,proto3" json:"task_list,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListTaskListPartitionsRequest) Reset() { *m = ListTaskListPartitionsRequest{} } +func (m *ListTaskListPartitionsRequest) String() string { return proto.CompactTextString(m) } +func (*ListTaskListPartitionsRequest) ProtoMessage() {} +func (*ListTaskListPartitionsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_674d14d2fee4e473, []int{20} +} +func (m *ListTaskListPartitionsRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ListTaskListPartitionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ListTaskListPartitionsRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ListTaskListPartitionsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListTaskListPartitionsRequest.Merge(m, src) +} +func (m *ListTaskListPartitionsRequest) XXX_Size() int { + return m.Size() +} +func (m *ListTaskListPartitionsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListTaskListPartitionsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListTaskListPartitionsRequest proto.InternalMessageInfo + +func (m *ListTaskListPartitionsRequest) GetDomain() string { + if m != nil { + return m.Domain + } + return "" +} + +func (m *ListTaskListPartitionsRequest) GetTaskList() *TaskList { + if m != nil { + return m.TaskList + } + return nil +} + +type ListTaskListPartitionsResponse struct { + ActivityTaskListPartitions []*TaskListPartitionMetadata `protobuf:"bytes,1,rep,name=activity_task_list_partitions,json=activityTaskListPartitions,proto3" json:"activity_task_list_partitions,omitempty"` + DecisionTaskListPartitions []*TaskListPartitionMetadata `protobuf:"bytes,2,rep,name=decision_task_list_partitions,json=decisionTaskListPartitions,proto3" json:"decision_task_list_partitions,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListTaskListPartitionsResponse) Reset() { *m = ListTaskListPartitionsResponse{} } +func (m *ListTaskListPartitionsResponse) String() string { return proto.CompactTextString(m) } +func (*ListTaskListPartitionsResponse) ProtoMessage() {} +func (*ListTaskListPartitionsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_674d14d2fee4e473, []int{21} +} +func (m *ListTaskListPartitionsResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ListTaskListPartitionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ListTaskListPartitionsResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ListTaskListPartitionsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListTaskListPartitionsResponse.Merge(m, src) +} +func (m *ListTaskListPartitionsResponse) XXX_Size() int { + return m.Size() +} +func (m *ListTaskListPartitionsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListTaskListPartitionsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListTaskListPartitionsResponse proto.InternalMessageInfo + +func (m *ListTaskListPartitionsResponse) GetActivityTaskListPartitions() []*TaskListPartitionMetadata { + if m != nil { + return m.ActivityTaskListPartitions + } + return nil +} + +func (m *ListTaskListPartitionsResponse) GetDecisionTaskListPartitions() []*TaskListPartitionMetadata { + if m != nil { + return m.DecisionTaskListPartitions + } + return nil +} + +type GetClusterInfoRequest struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetClusterInfoRequest) Reset() { *m = GetClusterInfoRequest{} } +func (m *GetClusterInfoRequest) String() string { return proto.CompactTextString(m) } +func (*GetClusterInfoRequest) ProtoMessage() {} +func (*GetClusterInfoRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_674d14d2fee4e473, []int{22} +} +func (m *GetClusterInfoRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GetClusterInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GetClusterInfoRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GetClusterInfoRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetClusterInfoRequest.Merge(m, src) +} +func (m *GetClusterInfoRequest) XXX_Size() int { + return m.Size() +} +func (m *GetClusterInfoRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetClusterInfoRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetClusterInfoRequest proto.InternalMessageInfo + +type GetClusterInfoResponse struct { + SupportedClientVersions *SupportedClientVersions `protobuf:"bytes,1,opt,name=supported_client_versions,json=supportedClientVersions,proto3" json:"supported_client_versions,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetClusterInfoResponse) Reset() { *m = GetClusterInfoResponse{} } +func (m *GetClusterInfoResponse) String() string { return proto.CompactTextString(m) } +func (*GetClusterInfoResponse) ProtoMessage() {} +func (*GetClusterInfoResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_674d14d2fee4e473, []int{23} +} +func (m *GetClusterInfoResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GetClusterInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GetClusterInfoResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GetClusterInfoResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetClusterInfoResponse.Merge(m, src) +} +func (m *GetClusterInfoResponse) XXX_Size() int { + return m.Size() +} +func (m *GetClusterInfoResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetClusterInfoResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GetClusterInfoResponse proto.InternalMessageInfo + +func (m *GetClusterInfoResponse) GetSupportedClientVersions() *SupportedClientVersions { + if m != nil { + return m.SupportedClientVersions + } + return nil +} + +type GetWorkflowExecutionHistoryRequest struct { + Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` + WorkflowExecution *WorkflowExecution `protobuf:"bytes,2,opt,name=workflow_execution,json=workflowExecution,proto3" json:"workflow_execution,omitempty"` + PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` + NextPageToken []byte `protobuf:"bytes,4,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + WaitForNewEvent bool `protobuf:"varint,5,opt,name=wait_for_new_event,json=waitForNewEvent,proto3" json:"wait_for_new_event,omitempty"` + HistoryEventFilterType EventFilterType `protobuf:"varint,6,opt,name=history_event_filter_type,json=historyEventFilterType,proto3,enum=uber.cadence.api.v1.EventFilterType" json:"history_event_filter_type,omitempty"` + SkipArchival bool `protobuf:"varint,7,opt,name=skip_archival,json=skipArchival,proto3" json:"skip_archival,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetWorkflowExecutionHistoryRequest) Reset() { *m = GetWorkflowExecutionHistoryRequest{} } +func (m *GetWorkflowExecutionHistoryRequest) String() string { return proto.CompactTextString(m) } +func (*GetWorkflowExecutionHistoryRequest) ProtoMessage() {} +func (*GetWorkflowExecutionHistoryRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_674d14d2fee4e473, []int{24} +} +func (m *GetWorkflowExecutionHistoryRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GetWorkflowExecutionHistoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GetWorkflowExecutionHistoryRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GetWorkflowExecutionHistoryRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetWorkflowExecutionHistoryRequest.Merge(m, src) +} +func (m *GetWorkflowExecutionHistoryRequest) XXX_Size() int { + return m.Size() +} +func (m *GetWorkflowExecutionHistoryRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetWorkflowExecutionHistoryRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetWorkflowExecutionHistoryRequest proto.InternalMessageInfo + +func (m *GetWorkflowExecutionHistoryRequest) GetDomain() string { + if m != nil { + return m.Domain + } + return "" +} + +func (m *GetWorkflowExecutionHistoryRequest) GetWorkflowExecution() *WorkflowExecution { + if m != nil { + return m.WorkflowExecution + } + return nil +} + +func (m *GetWorkflowExecutionHistoryRequest) GetPageSize() int32 { + if m != nil { + return m.PageSize + } + return 0 +} + +func (m *GetWorkflowExecutionHistoryRequest) GetNextPageToken() []byte { + if m != nil { + return m.NextPageToken + } + return nil +} + +func (m *GetWorkflowExecutionHistoryRequest) GetWaitForNewEvent() bool { + if m != nil { + return m.WaitForNewEvent + } + return false +} + +func (m *GetWorkflowExecutionHistoryRequest) GetHistoryEventFilterType() EventFilterType { + if m != nil { + return m.HistoryEventFilterType + } + return EventFilterType_EVENT_FILTER_TYPE_INVALID +} + +func (m *GetWorkflowExecutionHistoryRequest) GetSkipArchival() bool { + if m != nil { + return m.SkipArchival + } + return false +} + +type GetWorkflowExecutionHistoryResponse struct { + History *History `protobuf:"bytes,1,opt,name=history,proto3" json:"history,omitempty"` + RawHistory []*DataBlob `protobuf:"bytes,2,rep,name=raw_history,json=rawHistory,proto3" json:"raw_history,omitempty"` + NextPageToken []byte `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` + Archived bool `protobuf:"varint,4,opt,name=archived,proto3" json:"archived,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetWorkflowExecutionHistoryResponse) Reset() { *m = GetWorkflowExecutionHistoryResponse{} } +func (m *GetWorkflowExecutionHistoryResponse) String() string { return proto.CompactTextString(m) } +func (*GetWorkflowExecutionHistoryResponse) ProtoMessage() {} +func (*GetWorkflowExecutionHistoryResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_674d14d2fee4e473, []int{25} +} +func (m *GetWorkflowExecutionHistoryResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GetWorkflowExecutionHistoryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GetWorkflowExecutionHistoryResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GetWorkflowExecutionHistoryResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetWorkflowExecutionHistoryResponse.Merge(m, src) +} +func (m *GetWorkflowExecutionHistoryResponse) XXX_Size() int { + return m.Size() +} +func (m *GetWorkflowExecutionHistoryResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetWorkflowExecutionHistoryResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GetWorkflowExecutionHistoryResponse proto.InternalMessageInfo + +func (m *GetWorkflowExecutionHistoryResponse) GetHistory() *History { + if m != nil { + return m.History + } + return nil +} + +func (m *GetWorkflowExecutionHistoryResponse) GetRawHistory() []*DataBlob { + if m != nil { + return m.RawHistory + } + return nil +} + +func (m *GetWorkflowExecutionHistoryResponse) GetNextPageToken() []byte { + if m != nil { + return m.NextPageToken + } + return nil +} + +func (m *GetWorkflowExecutionHistoryResponse) GetArchived() bool { + if m != nil { + return m.Archived + } + return false +} + +type FeatureFlags struct { + WorkflowExecutionAlreadyCompletedErrorEnabled bool `protobuf:"varint,1,opt,name=workflow_execution_already_completed_error_enabled,json=workflowExecutionAlreadyCompletedErrorEnabled,proto3" json:"workflow_execution_already_completed_error_enabled,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FeatureFlags) Reset() { *m = FeatureFlags{} } +func (m *FeatureFlags) String() string { return proto.CompactTextString(m) } +func (*FeatureFlags) ProtoMessage() {} +func (*FeatureFlags) Descriptor() ([]byte, []int) { + return fileDescriptor_674d14d2fee4e473, []int{26} +} +func (m *FeatureFlags) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *FeatureFlags) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_FeatureFlags.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *FeatureFlags) XXX_Merge(src proto.Message) { + xxx_messageInfo_FeatureFlags.Merge(m, src) +} +func (m *FeatureFlags) XXX_Size() int { + return m.Size() +} +func (m *FeatureFlags) XXX_DiscardUnknown() { + xxx_messageInfo_FeatureFlags.DiscardUnknown(m) +} + +var xxx_messageInfo_FeatureFlags proto.InternalMessageInfo + +func (m *FeatureFlags) GetWorkflowExecutionAlreadyCompletedErrorEnabled() bool { + if m != nil { + return m.WorkflowExecutionAlreadyCompletedErrorEnabled + } + return false +} + +func init() { + proto.RegisterType((*StartWorkflowExecutionRequest)(nil), "uber.cadence.api.v1.StartWorkflowExecutionRequest") + proto.RegisterType((*StartWorkflowExecutionResponse)(nil), "uber.cadence.api.v1.StartWorkflowExecutionResponse") + proto.RegisterType((*SignalWorkflowExecutionRequest)(nil), "uber.cadence.api.v1.SignalWorkflowExecutionRequest") + proto.RegisterType((*SignalWorkflowExecutionResponse)(nil), "uber.cadence.api.v1.SignalWorkflowExecutionResponse") + proto.RegisterType((*SignalWithStartWorkflowExecutionRequest)(nil), "uber.cadence.api.v1.SignalWithStartWorkflowExecutionRequest") + proto.RegisterType((*SignalWithStartWorkflowExecutionResponse)(nil), "uber.cadence.api.v1.SignalWithStartWorkflowExecutionResponse") + proto.RegisterType((*ResetWorkflowExecutionRequest)(nil), "uber.cadence.api.v1.ResetWorkflowExecutionRequest") + proto.RegisterType((*ResetWorkflowExecutionResponse)(nil), "uber.cadence.api.v1.ResetWorkflowExecutionResponse") + proto.RegisterType((*RequestCancelWorkflowExecutionRequest)(nil), "uber.cadence.api.v1.RequestCancelWorkflowExecutionRequest") + proto.RegisterType((*RequestCancelWorkflowExecutionResponse)(nil), "uber.cadence.api.v1.RequestCancelWorkflowExecutionResponse") + proto.RegisterType((*TerminateWorkflowExecutionRequest)(nil), "uber.cadence.api.v1.TerminateWorkflowExecutionRequest") + proto.RegisterType((*TerminateWorkflowExecutionResponse)(nil), "uber.cadence.api.v1.TerminateWorkflowExecutionResponse") + proto.RegisterType((*DescribeWorkflowExecutionRequest)(nil), "uber.cadence.api.v1.DescribeWorkflowExecutionRequest") + proto.RegisterType((*DescribeWorkflowExecutionResponse)(nil), "uber.cadence.api.v1.DescribeWorkflowExecutionResponse") + proto.RegisterType((*QueryWorkflowRequest)(nil), "uber.cadence.api.v1.QueryWorkflowRequest") + proto.RegisterType((*QueryWorkflowResponse)(nil), "uber.cadence.api.v1.QueryWorkflowResponse") + proto.RegisterType((*DescribeTaskListRequest)(nil), "uber.cadence.api.v1.DescribeTaskListRequest") + proto.RegisterType((*DescribeTaskListResponse)(nil), "uber.cadence.api.v1.DescribeTaskListResponse") + proto.RegisterType((*GetTaskListsByDomainRequest)(nil), "uber.cadence.api.v1.GetTaskListsByDomainRequest") + proto.RegisterType((*GetTaskListsByDomainResponse)(nil), "uber.cadence.api.v1.GetTaskListsByDomainResponse") + proto.RegisterMapType((map[string]*DescribeTaskListResponse)(nil), "uber.cadence.api.v1.GetTaskListsByDomainResponse.ActivityTaskListMapEntry") + proto.RegisterMapType((map[string]*DescribeTaskListResponse)(nil), "uber.cadence.api.v1.GetTaskListsByDomainResponse.DecisionTaskListMapEntry") + proto.RegisterType((*ListTaskListPartitionsRequest)(nil), "uber.cadence.api.v1.ListTaskListPartitionsRequest") + proto.RegisterType((*ListTaskListPartitionsResponse)(nil), "uber.cadence.api.v1.ListTaskListPartitionsResponse") + proto.RegisterType((*GetClusterInfoRequest)(nil), "uber.cadence.api.v1.GetClusterInfoRequest") + proto.RegisterType((*GetClusterInfoResponse)(nil), "uber.cadence.api.v1.GetClusterInfoResponse") + proto.RegisterType((*GetWorkflowExecutionHistoryRequest)(nil), "uber.cadence.api.v1.GetWorkflowExecutionHistoryRequest") + proto.RegisterType((*GetWorkflowExecutionHistoryResponse)(nil), "uber.cadence.api.v1.GetWorkflowExecutionHistoryResponse") + proto.RegisterType((*FeatureFlags)(nil), "uber.cadence.api.v1.FeatureFlags") +} + +func init() { + proto.RegisterFile("uber/cadence/api/v1/service_workflow.proto", fileDescriptor_674d14d2fee4e473) +} + +var fileDescriptor_674d14d2fee4e473 = []byte{ + // 2141 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x59, 0x4f, 0x73, 0xdc, 0x48, + 0x15, 0x2f, 0x79, 0xfc, 0x67, 0xfc, 0xc6, 0x76, 0x9c, 0x4e, 0x6c, 0x2b, 0x93, 0xd8, 0x71, 0x94, + 0xdd, 0x60, 0xb2, 0x9b, 0x31, 0x71, 0xd8, 0x24, 0x64, 0x81, 0x2d, 0x67, 0x12, 0x67, 0x4d, 0x6d, + 0xb6, 0x8c, 0x6c, 0x48, 0xc1, 0x45, 0xd5, 0x96, 0x9e, 0xc7, 0x8d, 0x35, 0x92, 0xdc, 0x6a, 0xd9, + 0x3b, 0xcb, 0x81, 0x82, 0xda, 0xe2, 0x00, 0x05, 0x05, 0x47, 0x4e, 0x1c, 0xe0, 0xcc, 0xc7, 0xa0, + 0x28, 0x2e, 0xc0, 0x37, 0x80, 0x7c, 0x01, 0xbe, 0xc1, 0x16, 0xd5, 0xad, 0xd6, 0x8c, 0x67, 0x2c, + 0x69, 0x6c, 0x53, 0x5b, 0x9b, 0xda, 0xdb, 0xe8, 0xf5, 0x7b, 0xbf, 0xf7, 0xb7, 0xbb, 0xdf, 0xeb, + 0x81, 0xbb, 0xc9, 0x2e, 0xf2, 0x55, 0x97, 0x7a, 0x18, 0xb8, 0xb8, 0x4a, 0x23, 0xb6, 0x7a, 0x74, + 0x7f, 0x35, 0x46, 0x7e, 0xc4, 0x5c, 0x74, 0x8e, 0x43, 0x7e, 0xb0, 0xe7, 0x87, 0xc7, 0x8d, 0x88, + 0x87, 0x22, 0x24, 0x57, 0x24, 0x6f, 0x43, 0xf3, 0x36, 0x68, 0xc4, 0x1a, 0x47, 0xf7, 0xeb, 0x4b, + 0xad, 0x30, 0x6c, 0xf9, 0xb8, 0xaa, 0x58, 0x76, 0x93, 0xbd, 0x55, 0x2f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 0xf3, 0xb5, 0x79, 0xe4, 0xa7, 0x70, 0x35, 0xaf, 0x2f, 0x26, 0xdf, 0x38, + 0x47, 0x0b, 0x9d, 0x2a, 0xbe, 0x7f, 0xee, 0xa6, 0x5b, 0x6d, 0xc9, 0xfc, 0x1e, 0xaf, 0x60, 0x4b, + 0x96, 0xb6, 0xa1, 0x05, 0x5b, 0x72, 0x48, 0x13, 0xc9, 0x60, 0xa6, 0xbf, 0x89, 0x22, 0x77, 0x8b, + 0x1c, 0x39, 0xdd, 0x83, 0xd5, 0xdf, 0x39, 0x13, 0xaf, 0x56, 0xf5, 0x3b, 0x43, 0x0d, 0x64, 0x45, + 0xb7, 0x33, 0x79, 0x54, 0x04, 0x36, 0xa4, 0xbb, 0xaa, 0x3f, 0x3e, 0xbf, 0x60, 0x6a, 0xd2, 0xd3, + 0xdd, 0xbf, 0xbd, 0x5e, 0x32, 0xfe, 0xf9, 0x7a, 0xc9, 0xf8, 0xf7, 0xeb, 0x25, 0x03, 0x16, 0xdc, + 0xb0, 0x9d, 0x07, 0xf5, 0xb4, 0xba, 0x1e, 0xb1, 0x2d, 0x1e, 0x8a, 0x70, 0xcb, 0xf8, 0xf1, 0x6a, + 0x8b, 0x89, 0xfd, 0x64, 0xb7, 0xe1, 0x86, 0xed, 0xd5, 0xbe, 0x3f, 0xc9, 0x1b, 0x2d, 0x0c, 0xd2, + 0x7f, 0xf6, 0xf5, 0xff, 0xe5, 0xef, 0xd3, 0x88, 0x1d, 0xdd, 0xdf, 0x1d, 0x57, 0xb4, 0x07, 0xff, + 0x0b, 0x00, 0x00, 0xff, 0xff, 0xe6, 0x4c, 0xc8, 0xf1, 0x3e, 0x20, 0x00, 0x00, +} + +func (m *StartWorkflowExecutionRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *StartWorkflowExecutionRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *StartWorkflowExecutionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.DelayStart != nil { + { + size, err := m.DelayStart.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorkflow(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x82 + } + if m.Header != nil { + { + size, err := m.Header.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorkflow(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x7a + } + if m.SearchAttributes != nil { + { + size, err := m.SearchAttributes.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorkflow(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x72 + } + if m.Memo != nil { + { + size, err := m.Memo.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorkflow(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x6a + } + if len(m.CronSchedule) > 0 { + i -= len(m.CronSchedule) + copy(dAtA[i:], m.CronSchedule) + i = encodeVarintServiceWorkflow(dAtA, i, uint64(len(m.CronSchedule))) + i-- + dAtA[i] = 0x62 + } + if m.RetryPolicy != nil { + { + size, err := m.RetryPolicy.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorkflow(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x5a + } + if m.WorkflowIdReusePolicy != 0 { + i = encodeVarintServiceWorkflow(dAtA, i, uint64(m.WorkflowIdReusePolicy)) + i-- + dAtA[i] = 0x50 + } + if len(m.RequestId) > 0 { + i -= len(m.RequestId) + copy(dAtA[i:], m.RequestId) + i = encodeVarintServiceWorkflow(dAtA, i, uint64(len(m.RequestId))) + i-- + dAtA[i] = 0x4a + } + if len(m.Identity) > 0 { + i -= len(m.Identity) + copy(dAtA[i:], m.Identity) + i = encodeVarintServiceWorkflow(dAtA, i, uint64(len(m.Identity))) + i-- + dAtA[i] = 0x42 + } + if m.TaskStartToCloseTimeout != nil { + { + size, err := m.TaskStartToCloseTimeout.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorkflow(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x3a + } + if m.ExecutionStartToCloseTimeout != nil { + { + size, err := m.ExecutionStartToCloseTimeout.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorkflow(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x32 + } + if m.Input != nil { + { + size, err := m.Input.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorkflow(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a + } + if m.TaskList != nil { + { + size, err := m.TaskList.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorkflow(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 + } + if m.WorkflowType != nil { + { + size, err := m.WorkflowType.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorkflow(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + if len(m.WorkflowId) > 0 { + i -= len(m.WorkflowId) + copy(dAtA[i:], m.WorkflowId) + i = encodeVarintServiceWorkflow(dAtA, i, uint64(len(m.WorkflowId))) + i-- + dAtA[i] = 0x12 + } + if len(m.Domain) > 0 { + i -= len(m.Domain) + copy(dAtA[i:], m.Domain) + i = encodeVarintServiceWorkflow(dAtA, i, uint64(len(m.Domain))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *StartWorkflowExecutionResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *StartWorkflowExecutionResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *StartWorkflowExecutionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.RunId) > 0 { + i -= len(m.RunId) + copy(dAtA[i:], m.RunId) + i = encodeVarintServiceWorkflow(dAtA, i, uint64(len(m.RunId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *SignalWorkflowExecutionRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *SignalWorkflowExecutionRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *SignalWorkflowExecutionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.Control) > 0 { + i -= len(m.Control) + copy(dAtA[i:], m.Control) + i = encodeVarintServiceWorkflow(dAtA, i, uint64(len(m.Control))) + i-- + dAtA[i] = 0x3a + } + if m.SignalInput != nil { + { + size, err := m.SignalInput.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorkflow(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x32 + } + if len(m.SignalName) > 0 { + i -= len(m.SignalName) + copy(dAtA[i:], m.SignalName) + i = encodeVarintServiceWorkflow(dAtA, i, uint64(len(m.SignalName))) + i-- + dAtA[i] = 0x2a + } + if len(m.RequestId) > 0 { + i -= len(m.RequestId) + copy(dAtA[i:], m.RequestId) + i = encodeVarintServiceWorkflow(dAtA, i, uint64(len(m.RequestId))) + i-- + dAtA[i] = 0x22 + } + if len(m.Identity) > 0 { + i -= len(m.Identity) + copy(dAtA[i:], m.Identity) + i = encodeVarintServiceWorkflow(dAtA, i, uint64(len(m.Identity))) + i-- + dAtA[i] = 0x1a + } + if m.WorkflowExecution != nil { + { + size, err := m.WorkflowExecution.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorkflow(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if len(m.Domain) > 0 { + i -= len(m.Domain) + copy(dAtA[i:], m.Domain) + i = encodeVarintServiceWorkflow(dAtA, i, uint64(len(m.Domain))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *SignalWorkflowExecutionResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *SignalWorkflowExecutionResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *SignalWorkflowExecutionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + return len(dAtA) - i, nil +} + +func (m *SignalWithStartWorkflowExecutionRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *SignalWithStartWorkflowExecutionRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *SignalWithStartWorkflowExecutionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.Control) > 0 { + i -= len(m.Control) + copy(dAtA[i:], m.Control) + i = encodeVarintServiceWorkflow(dAtA, i, uint64(len(m.Control))) + i-- + dAtA[i] = 0x22 + } + if m.SignalInput != nil { + { + size, err := m.SignalInput.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorkflow(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + if len(m.SignalName) > 0 { + i -= len(m.SignalName) + copy(dAtA[i:], m.SignalName) + i = encodeVarintServiceWorkflow(dAtA, i, uint64(len(m.SignalName))) + i-- + dAtA[i] = 0x12 + } + if m.StartRequest != nil { + { + size, err := m.StartRequest.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorkflow(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *SignalWithStartWorkflowExecutionResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *SignalWithStartWorkflowExecutionResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *SignalWithStartWorkflowExecutionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.RunId) > 0 { + i -= len(m.RunId) + copy(dAtA[i:], m.RunId) + i = encodeVarintServiceWorkflow(dAtA, i, uint64(len(m.RunId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ResetWorkflowExecutionRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ResetWorkflowExecutionRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ResetWorkflowExecutionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.SkipSignalReapply { + i-- + if m.SkipSignalReapply { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x30 + } + if len(m.RequestId) > 0 { + i -= len(m.RequestId) + copy(dAtA[i:], m.RequestId) + i = encodeVarintServiceWorkflow(dAtA, i, uint64(len(m.RequestId))) + i-- + dAtA[i] = 0x2a + } + if m.DecisionFinishEventId != 0 { + i = encodeVarintServiceWorkflow(dAtA, i, uint64(m.DecisionFinishEventId)) + i-- + dAtA[i] = 0x20 + } + if len(m.Reason) > 0 { + i -= len(m.Reason) + copy(dAtA[i:], m.Reason) + i = encodeVarintServiceWorkflow(dAtA, i, uint64(len(m.Reason))) + i-- + dAtA[i] = 0x1a + } + if m.WorkflowExecution != nil { + { + size, err := m.WorkflowExecution.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorkflow(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if len(m.Domain) > 0 { + i -= len(m.Domain) + copy(dAtA[i:], m.Domain) + i = encodeVarintServiceWorkflow(dAtA, i, uint64(len(m.Domain))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ResetWorkflowExecutionResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ResetWorkflowExecutionResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ResetWorkflowExecutionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.RunId) > 0 { + i -= len(m.RunId) + copy(dAtA[i:], m.RunId) + i = encodeVarintServiceWorkflow(dAtA, i, uint64(len(m.RunId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *RequestCancelWorkflowExecutionRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RequestCancelWorkflowExecutionRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *RequestCancelWorkflowExecutionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.RequestId) > 0 { + i -= len(m.RequestId) + copy(dAtA[i:], m.RequestId) + i = encodeVarintServiceWorkflow(dAtA, i, uint64(len(m.RequestId))) + i-- + dAtA[i] = 0x22 + } + if len(m.Identity) > 0 { + i -= len(m.Identity) + copy(dAtA[i:], m.Identity) + i = encodeVarintServiceWorkflow(dAtA, i, uint64(len(m.Identity))) + i-- + dAtA[i] = 0x1a + } + if m.WorkflowExecution != nil { + { + size, err := m.WorkflowExecution.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorkflow(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if len(m.Domain) > 0 { + i -= len(m.Domain) + copy(dAtA[i:], m.Domain) + i = encodeVarintServiceWorkflow(dAtA, i, uint64(len(m.Domain))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *RequestCancelWorkflowExecutionResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *RequestCancelWorkflowExecutionResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *RequestCancelWorkflowExecutionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + return len(dAtA) - i, nil +} + +func (m *TerminateWorkflowExecutionRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *TerminateWorkflowExecutionRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *TerminateWorkflowExecutionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.Identity) > 0 { + i -= len(m.Identity) + copy(dAtA[i:], m.Identity) + i = encodeVarintServiceWorkflow(dAtA, i, uint64(len(m.Identity))) + i-- + dAtA[i] = 0x2a + } + if m.Details != nil { + { + size, err := m.Details.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorkflow(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 + } + if len(m.Reason) > 0 { + i -= len(m.Reason) + copy(dAtA[i:], m.Reason) + i = encodeVarintServiceWorkflow(dAtA, i, uint64(len(m.Reason))) + i-- + dAtA[i] = 0x1a + } + if m.WorkflowExecution != nil { + { + size, err := m.WorkflowExecution.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorkflow(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if len(m.Domain) > 0 { + i -= len(m.Domain) + copy(dAtA[i:], m.Domain) + i = encodeVarintServiceWorkflow(dAtA, i, uint64(len(m.Domain))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *TerminateWorkflowExecutionResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *TerminateWorkflowExecutionResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *TerminateWorkflowExecutionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + return len(dAtA) - i, nil +} + +func (m *DescribeWorkflowExecutionRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *DescribeWorkflowExecutionRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *DescribeWorkflowExecutionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.WorkflowExecution != nil { + { + size, err := m.WorkflowExecution.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorkflow(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if len(m.Domain) > 0 { + i -= len(m.Domain) + copy(dAtA[i:], m.Domain) + i = encodeVarintServiceWorkflow(dAtA, i, uint64(len(m.Domain))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *DescribeWorkflowExecutionResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *DescribeWorkflowExecutionResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *DescribeWorkflowExecutionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.PendingDecision != nil { + { + size, err := m.PendingDecision.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorkflow(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a + } + if len(m.PendingChildren) > 0 { + for iNdEx := len(m.PendingChildren) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.PendingChildren[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorkflow(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 + } + } + if len(m.PendingActivities) > 0 { + for iNdEx := len(m.PendingActivities) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.PendingActivities[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorkflow(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + } + if m.WorkflowExecutionInfo != nil { + { + size, err := m.WorkflowExecutionInfo.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorkflow(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if m.ExecutionConfiguration != nil { + { + size, err := m.ExecutionConfiguration.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorkflow(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *QueryWorkflowRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryWorkflowRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryWorkflowRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.QueryConsistencyLevel != 0 { + i = encodeVarintServiceWorkflow(dAtA, i, uint64(m.QueryConsistencyLevel)) + i-- + dAtA[i] = 0x28 + } + if m.QueryRejectCondition != 0 { + i = encodeVarintServiceWorkflow(dAtA, i, uint64(m.QueryRejectCondition)) + i-- + dAtA[i] = 0x20 + } + if m.Query != nil { + { + size, err := m.Query.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorkflow(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + if m.WorkflowExecution != nil { + { + size, err := m.WorkflowExecution.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorkflow(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if len(m.Domain) > 0 { + i -= len(m.Domain) + copy(dAtA[i:], m.Domain) + i = encodeVarintServiceWorkflow(dAtA, i, uint64(len(m.Domain))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *QueryWorkflowResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryWorkflowResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryWorkflowResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.QueryRejected != nil { + { + size, err := m.QueryRejected.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorkflow(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if m.QueryResult != nil { + { + size, err := m.QueryResult.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorkflow(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *DescribeTaskListRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *DescribeTaskListRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *DescribeTaskListRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.IncludeTaskListStatus { + i-- + if m.IncludeTaskListStatus { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x20 + } + if m.TaskListType != 0 { + i = encodeVarintServiceWorkflow(dAtA, i, uint64(m.TaskListType)) + i-- + dAtA[i] = 0x18 + } + if m.TaskList != nil { + { + size, err := m.TaskList.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorkflow(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if len(m.Domain) > 0 { + i -= len(m.Domain) + copy(dAtA[i:], m.Domain) + i = encodeVarintServiceWorkflow(dAtA, i, uint64(len(m.Domain))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *DescribeTaskListResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *DescribeTaskListResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *DescribeTaskListResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.TaskListStatus != nil { + { + size, err := m.TaskListStatus.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorkflow(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if len(m.Pollers) > 0 { + for iNdEx := len(m.Pollers) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Pollers[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorkflow(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *GetTaskListsByDomainRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetTaskListsByDomainRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *GetTaskListsByDomainRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.Domain) > 0 { + i -= len(m.Domain) + copy(dAtA[i:], m.Domain) + i = encodeVarintServiceWorkflow(dAtA, i, uint64(len(m.Domain))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *GetTaskListsByDomainResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetTaskListsByDomainResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *GetTaskListsByDomainResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.ActivityTaskListMap) > 0 { + for k := range m.ActivityTaskListMap { + v := m.ActivityTaskListMap[k] + baseI := i + if v != nil { + { + size, err := v.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorkflow(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarintServiceWorkflow(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarintServiceWorkflow(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0x12 + } + } + if len(m.DecisionTaskListMap) > 0 { + for k := range m.DecisionTaskListMap { + v := m.DecisionTaskListMap[k] + baseI := i + if v != nil { + { + size, err := v.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorkflow(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarintServiceWorkflow(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarintServiceWorkflow(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *ListTaskListPartitionsRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ListTaskListPartitionsRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ListTaskListPartitionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.TaskList != nil { + { + size, err := m.TaskList.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorkflow(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if len(m.Domain) > 0 { + i -= len(m.Domain) + copy(dAtA[i:], m.Domain) + i = encodeVarintServiceWorkflow(dAtA, i, uint64(len(m.Domain))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ListTaskListPartitionsResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ListTaskListPartitionsResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ListTaskListPartitionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.DecisionTaskListPartitions) > 0 { + for iNdEx := len(m.DecisionTaskListPartitions) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.DecisionTaskListPartitions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorkflow(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + } + if len(m.ActivityTaskListPartitions) > 0 { + for iNdEx := len(m.ActivityTaskListPartitions) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.ActivityTaskListPartitions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorkflow(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *GetClusterInfoRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetClusterInfoRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *GetClusterInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + return len(dAtA) - i, nil +} + +func (m *GetClusterInfoResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetClusterInfoResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *GetClusterInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.SupportedClientVersions != nil { + { + size, err := m.SupportedClientVersions.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorkflow(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *GetWorkflowExecutionHistoryRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetWorkflowExecutionHistoryRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *GetWorkflowExecutionHistoryRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.SkipArchival { + i-- + if m.SkipArchival { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x38 + } + if m.HistoryEventFilterType != 0 { + i = encodeVarintServiceWorkflow(dAtA, i, uint64(m.HistoryEventFilterType)) + i-- + dAtA[i] = 0x30 + } + if m.WaitForNewEvent { + i-- + if m.WaitForNewEvent { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x28 + } + if len(m.NextPageToken) > 0 { + i -= len(m.NextPageToken) + copy(dAtA[i:], m.NextPageToken) + i = encodeVarintServiceWorkflow(dAtA, i, uint64(len(m.NextPageToken))) + i-- + dAtA[i] = 0x22 + } + if m.PageSize != 0 { + i = encodeVarintServiceWorkflow(dAtA, i, uint64(m.PageSize)) + i-- + dAtA[i] = 0x18 + } + if m.WorkflowExecution != nil { + { + size, err := m.WorkflowExecution.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorkflow(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if len(m.Domain) > 0 { + i -= len(m.Domain) + copy(dAtA[i:], m.Domain) + i = encodeVarintServiceWorkflow(dAtA, i, uint64(len(m.Domain))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *GetWorkflowExecutionHistoryResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetWorkflowExecutionHistoryResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *GetWorkflowExecutionHistoryResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.Archived { + i-- + if m.Archived { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x20 + } + if len(m.NextPageToken) > 0 { + i -= len(m.NextPageToken) + copy(dAtA[i:], m.NextPageToken) + i = encodeVarintServiceWorkflow(dAtA, i, uint64(len(m.NextPageToken))) + i-- + dAtA[i] = 0x1a + } + if len(m.RawHistory) > 0 { + for iNdEx := len(m.RawHistory) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.RawHistory[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorkflow(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + } + if m.History != nil { + { + size, err := m.History.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintServiceWorkflow(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *FeatureFlags) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *FeatureFlags) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *FeatureFlags) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.WorkflowExecutionAlreadyCompletedErrorEnabled { + i-- + if m.WorkflowExecutionAlreadyCompletedErrorEnabled { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func encodeVarintServiceWorkflow(dAtA []byte, offset int, v uint64) int { + offset -= sovServiceWorkflow(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *StartWorkflowExecutionRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Domain) + if l > 0 { + n += 1 + l + sovServiceWorkflow(uint64(l)) + } + l = len(m.WorkflowId) + if l > 0 { + n += 1 + l + sovServiceWorkflow(uint64(l)) + } + if m.WorkflowType != nil { + l = m.WorkflowType.Size() + n += 1 + l + sovServiceWorkflow(uint64(l)) + } + if m.TaskList != nil { + l = m.TaskList.Size() + n += 1 + l + sovServiceWorkflow(uint64(l)) + } + if m.Input != nil { + l = m.Input.Size() + n += 1 + l + sovServiceWorkflow(uint64(l)) + } + if m.ExecutionStartToCloseTimeout != nil { + l = m.ExecutionStartToCloseTimeout.Size() + n += 1 + l + sovServiceWorkflow(uint64(l)) + } + if m.TaskStartToCloseTimeout != nil { + l = m.TaskStartToCloseTimeout.Size() + n += 1 + l + sovServiceWorkflow(uint64(l)) + } + l = len(m.Identity) + if l > 0 { + n += 1 + l + sovServiceWorkflow(uint64(l)) + } + l = len(m.RequestId) + if l > 0 { + n += 1 + l + sovServiceWorkflow(uint64(l)) + } + if m.WorkflowIdReusePolicy != 0 { + n += 1 + sovServiceWorkflow(uint64(m.WorkflowIdReusePolicy)) + } + if m.RetryPolicy != nil { + l = m.RetryPolicy.Size() + n += 1 + l + sovServiceWorkflow(uint64(l)) + } + l = len(m.CronSchedule) + if l > 0 { + n += 1 + l + sovServiceWorkflow(uint64(l)) + } + if m.Memo != nil { + l = m.Memo.Size() + n += 1 + l + sovServiceWorkflow(uint64(l)) + } + if m.SearchAttributes != nil { + l = m.SearchAttributes.Size() + n += 1 + l + sovServiceWorkflow(uint64(l)) + } + if m.Header != nil { + l = m.Header.Size() + n += 1 + l + sovServiceWorkflow(uint64(l)) + } + if m.DelayStart != nil { + l = m.DelayStart.Size() + n += 2 + l + sovServiceWorkflow(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *StartWorkflowExecutionResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.RunId) + if l > 0 { + n += 1 + l + sovServiceWorkflow(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *SignalWorkflowExecutionRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Domain) + if l > 0 { + n += 1 + l + sovServiceWorkflow(uint64(l)) + } + if m.WorkflowExecution != nil { + l = m.WorkflowExecution.Size() + n += 1 + l + sovServiceWorkflow(uint64(l)) + } + l = len(m.Identity) + if l > 0 { + n += 1 + l + sovServiceWorkflow(uint64(l)) + } + l = len(m.RequestId) + if l > 0 { + n += 1 + l + sovServiceWorkflow(uint64(l)) + } + l = len(m.SignalName) + if l > 0 { + n += 1 + l + sovServiceWorkflow(uint64(l)) + } + if m.SignalInput != nil { + l = m.SignalInput.Size() + n += 1 + l + sovServiceWorkflow(uint64(l)) + } + l = len(m.Control) + if l > 0 { + n += 1 + l + sovServiceWorkflow(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *SignalWorkflowExecutionResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *SignalWithStartWorkflowExecutionRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.StartRequest != nil { + l = m.StartRequest.Size() + n += 1 + l + sovServiceWorkflow(uint64(l)) + } + l = len(m.SignalName) + if l > 0 { + n += 1 + l + sovServiceWorkflow(uint64(l)) + } + if m.SignalInput != nil { + l = m.SignalInput.Size() + n += 1 + l + sovServiceWorkflow(uint64(l)) + } + l = len(m.Control) + if l > 0 { + n += 1 + l + sovServiceWorkflow(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *SignalWithStartWorkflowExecutionResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.RunId) + if l > 0 { + n += 1 + l + sovServiceWorkflow(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *ResetWorkflowExecutionRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Domain) + if l > 0 { + n += 1 + l + sovServiceWorkflow(uint64(l)) + } + if m.WorkflowExecution != nil { + l = m.WorkflowExecution.Size() + n += 1 + l + sovServiceWorkflow(uint64(l)) + } + l = len(m.Reason) + if l > 0 { + n += 1 + l + sovServiceWorkflow(uint64(l)) + } + if m.DecisionFinishEventId != 0 { + n += 1 + sovServiceWorkflow(uint64(m.DecisionFinishEventId)) + } + l = len(m.RequestId) + if l > 0 { + n += 1 + l + sovServiceWorkflow(uint64(l)) + } + if m.SkipSignalReapply { + n += 2 + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *ResetWorkflowExecutionResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.RunId) + if l > 0 { + n += 1 + l + sovServiceWorkflow(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *RequestCancelWorkflowExecutionRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Domain) + if l > 0 { + n += 1 + l + sovServiceWorkflow(uint64(l)) + } + if m.WorkflowExecution != nil { + l = m.WorkflowExecution.Size() + n += 1 + l + sovServiceWorkflow(uint64(l)) + } + l = len(m.Identity) + if l > 0 { + n += 1 + l + sovServiceWorkflow(uint64(l)) + } + l = len(m.RequestId) + if l > 0 { + n += 1 + l + sovServiceWorkflow(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *RequestCancelWorkflowExecutionResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *TerminateWorkflowExecutionRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Domain) + if l > 0 { + n += 1 + l + sovServiceWorkflow(uint64(l)) + } + if m.WorkflowExecution != nil { + l = m.WorkflowExecution.Size() + n += 1 + l + sovServiceWorkflow(uint64(l)) + } + l = len(m.Reason) + if l > 0 { + n += 1 + l + sovServiceWorkflow(uint64(l)) + } + if m.Details != nil { + l = m.Details.Size() + n += 1 + l + sovServiceWorkflow(uint64(l)) + } + l = len(m.Identity) + if l > 0 { + n += 1 + l + sovServiceWorkflow(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *TerminateWorkflowExecutionResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *DescribeWorkflowExecutionRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Domain) + if l > 0 { + n += 1 + l + sovServiceWorkflow(uint64(l)) + } + if m.WorkflowExecution != nil { + l = m.WorkflowExecution.Size() + n += 1 + l + sovServiceWorkflow(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *DescribeWorkflowExecutionResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.ExecutionConfiguration != nil { + l = m.ExecutionConfiguration.Size() + n += 1 + l + sovServiceWorkflow(uint64(l)) + } + if m.WorkflowExecutionInfo != nil { + l = m.WorkflowExecutionInfo.Size() + n += 1 + l + sovServiceWorkflow(uint64(l)) + } + if len(m.PendingActivities) > 0 { + for _, e := range m.PendingActivities { + l = e.Size() + n += 1 + l + sovServiceWorkflow(uint64(l)) + } + } + if len(m.PendingChildren) > 0 { + for _, e := range m.PendingChildren { + l = e.Size() + n += 1 + l + sovServiceWorkflow(uint64(l)) + } + } + if m.PendingDecision != nil { + l = m.PendingDecision.Size() + n += 1 + l + sovServiceWorkflow(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *QueryWorkflowRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Domain) + if l > 0 { + n += 1 + l + sovServiceWorkflow(uint64(l)) + } + if m.WorkflowExecution != nil { + l = m.WorkflowExecution.Size() + n += 1 + l + sovServiceWorkflow(uint64(l)) + } + if m.Query != nil { + l = m.Query.Size() + n += 1 + l + sovServiceWorkflow(uint64(l)) + } + if m.QueryRejectCondition != 0 { + n += 1 + sovServiceWorkflow(uint64(m.QueryRejectCondition)) + } + if m.QueryConsistencyLevel != 0 { + n += 1 + sovServiceWorkflow(uint64(m.QueryConsistencyLevel)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *QueryWorkflowResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.QueryResult != nil { + l = m.QueryResult.Size() + n += 1 + l + sovServiceWorkflow(uint64(l)) + } + if m.QueryRejected != nil { + l = m.QueryRejected.Size() + n += 1 + l + sovServiceWorkflow(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *DescribeTaskListRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Domain) + if l > 0 { + n += 1 + l + sovServiceWorkflow(uint64(l)) + } + if m.TaskList != nil { + l = m.TaskList.Size() + n += 1 + l + sovServiceWorkflow(uint64(l)) + } + if m.TaskListType != 0 { + n += 1 + sovServiceWorkflow(uint64(m.TaskListType)) + } + if m.IncludeTaskListStatus { + n += 2 + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *DescribeTaskListResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Pollers) > 0 { + for _, e := range m.Pollers { + l = e.Size() + n += 1 + l + sovServiceWorkflow(uint64(l)) + } + } + if m.TaskListStatus != nil { + l = m.TaskListStatus.Size() + n += 1 + l + sovServiceWorkflow(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *GetTaskListsByDomainRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Domain) + if l > 0 { + n += 1 + l + sovServiceWorkflow(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *GetTaskListsByDomainResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.DecisionTaskListMap) > 0 { + for k, v := range m.DecisionTaskListMap { + _ = k + _ = v + l = 0 + if v != nil { + l = v.Size() + l += 1 + sovServiceWorkflow(uint64(l)) + } + mapEntrySize := 1 + len(k) + sovServiceWorkflow(uint64(len(k))) + l + n += mapEntrySize + 1 + sovServiceWorkflow(uint64(mapEntrySize)) + } + } + if len(m.ActivityTaskListMap) > 0 { + for k, v := range m.ActivityTaskListMap { + _ = k + _ = v + l = 0 + if v != nil { + l = v.Size() + l += 1 + sovServiceWorkflow(uint64(l)) + } + mapEntrySize := 1 + len(k) + sovServiceWorkflow(uint64(len(k))) + l + n += mapEntrySize + 1 + sovServiceWorkflow(uint64(mapEntrySize)) + } + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *ListTaskListPartitionsRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Domain) + if l > 0 { + n += 1 + l + sovServiceWorkflow(uint64(l)) + } + if m.TaskList != nil { + l = m.TaskList.Size() + n += 1 + l + sovServiceWorkflow(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *ListTaskListPartitionsResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.ActivityTaskListPartitions) > 0 { + for _, e := range m.ActivityTaskListPartitions { + l = e.Size() + n += 1 + l + sovServiceWorkflow(uint64(l)) + } + } + if len(m.DecisionTaskListPartitions) > 0 { + for _, e := range m.DecisionTaskListPartitions { + l = e.Size() + n += 1 + l + sovServiceWorkflow(uint64(l)) + } + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *GetClusterInfoRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *GetClusterInfoResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.SupportedClientVersions != nil { + l = m.SupportedClientVersions.Size() + n += 1 + l + sovServiceWorkflow(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *GetWorkflowExecutionHistoryRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Domain) + if l > 0 { + n += 1 + l + sovServiceWorkflow(uint64(l)) + } + if m.WorkflowExecution != nil { + l = m.WorkflowExecution.Size() + n += 1 + l + sovServiceWorkflow(uint64(l)) + } + if m.PageSize != 0 { + n += 1 + sovServiceWorkflow(uint64(m.PageSize)) + } + l = len(m.NextPageToken) + if l > 0 { + n += 1 + l + sovServiceWorkflow(uint64(l)) + } + if m.WaitForNewEvent { + n += 2 + } + if m.HistoryEventFilterType != 0 { + n += 1 + sovServiceWorkflow(uint64(m.HistoryEventFilterType)) + } + if m.SkipArchival { + n += 2 + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *GetWorkflowExecutionHistoryResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.History != nil { + l = m.History.Size() + n += 1 + l + sovServiceWorkflow(uint64(l)) + } + if len(m.RawHistory) > 0 { + for _, e := range m.RawHistory { + l = e.Size() + n += 1 + l + sovServiceWorkflow(uint64(l)) + } + } + l = len(m.NextPageToken) + if l > 0 { + n += 1 + l + sovServiceWorkflow(uint64(l)) + } + if m.Archived { + n += 2 + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *FeatureFlags) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.WorkflowExecutionAlreadyCompletedErrorEnabled { + n += 2 + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func sovServiceWorkflow(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozServiceWorkflow(x uint64) (n int) { + return sovServiceWorkflow(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *StartWorkflowExecutionRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: StartWorkflowExecutionRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: StartWorkflowExecutionRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Domain", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceWorkflow + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Domain = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceWorkflow + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.WorkflowId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowType", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorkflow + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.WorkflowType == nil { + m.WorkflowType = &WorkflowType{} + } + if err := m.WorkflowType.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TaskList", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorkflow + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.TaskList == nil { + m.TaskList = &TaskList{} + } + if err := m.TaskList.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Input", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorkflow + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Input == nil { + m.Input = &Payload{} + } + if err := m.Input.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ExecutionStartToCloseTimeout", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorkflow + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.ExecutionStartToCloseTimeout == nil { + m.ExecutionStartToCloseTimeout = &types.Duration{} + } + if err := m.ExecutionStartToCloseTimeout.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TaskStartToCloseTimeout", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorkflow + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.TaskStartToCloseTimeout == nil { + m.TaskStartToCloseTimeout = &types.Duration{} + } + if err := m.TaskStartToCloseTimeout.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 8: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Identity", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceWorkflow + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Identity = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 9: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RequestId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceWorkflow + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.RequestId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 10: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowIdReusePolicy", wireType) + } + m.WorkflowIdReusePolicy = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.WorkflowIdReusePolicy |= WorkflowIdReusePolicy(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 11: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RetryPolicy", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorkflow + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.RetryPolicy == nil { + m.RetryPolicy = &RetryPolicy{} + } + if err := m.RetryPolicy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 12: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CronSchedule", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceWorkflow + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.CronSchedule = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 13: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Memo", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorkflow + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Memo == nil { + m.Memo = &Memo{} + } + if err := m.Memo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 14: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SearchAttributes", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorkflow + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.SearchAttributes == nil { + m.SearchAttributes = &SearchAttributes{} + } + if err := m.SearchAttributes.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 15: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Header", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorkflow + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Header == nil { + m.Header = &Header{} + } + if err := m.Header.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 16: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DelayStart", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorkflow + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.DelayStart == nil { + m.DelayStart = &types.Duration{} + } + if err := m.DelayStart.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipServiceWorkflow(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceWorkflow + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *StartWorkflowExecutionResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: StartWorkflowExecutionResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: StartWorkflowExecutionResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RunId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceWorkflow + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.RunId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipServiceWorkflow(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceWorkflow + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SignalWorkflowExecutionRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: SignalWorkflowExecutionRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SignalWorkflowExecutionRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Domain", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceWorkflow + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Domain = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowExecution", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorkflow + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.WorkflowExecution == nil { + m.WorkflowExecution = &WorkflowExecution{} + } + if err := m.WorkflowExecution.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Identity", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceWorkflow + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Identity = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RequestId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceWorkflow + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.RequestId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SignalName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceWorkflow + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.SignalName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SignalInput", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorkflow + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.SignalInput == nil { + m.SignalInput = &Payload{} + } + if err := m.SignalInput.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Control", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthServiceWorkflow + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthServiceWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Control = append(m.Control[:0], dAtA[iNdEx:postIndex]...) + if m.Control == nil { + m.Control = []byte{} + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipServiceWorkflow(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceWorkflow + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SignalWorkflowExecutionResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: SignalWorkflowExecutionResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SignalWorkflowExecutionResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipServiceWorkflow(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceWorkflow + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SignalWithStartWorkflowExecutionRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: SignalWithStartWorkflowExecutionRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SignalWithStartWorkflowExecutionRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field StartRequest", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorkflow + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.StartRequest == nil { + m.StartRequest = &StartWorkflowExecutionRequest{} + } + if err := m.StartRequest.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SignalName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceWorkflow + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.SignalName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SignalInput", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorkflow + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.SignalInput == nil { + m.SignalInput = &Payload{} + } + if err := m.SignalInput.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Control", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthServiceWorkflow + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthServiceWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Control = append(m.Control[:0], dAtA[iNdEx:postIndex]...) + if m.Control == nil { + m.Control = []byte{} + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipServiceWorkflow(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceWorkflow + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SignalWithStartWorkflowExecutionResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: SignalWithStartWorkflowExecutionResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: SignalWithStartWorkflowExecutionResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RunId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceWorkflow + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.RunId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipServiceWorkflow(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceWorkflow + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ResetWorkflowExecutionRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ResetWorkflowExecutionRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ResetWorkflowExecutionRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Domain", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceWorkflow + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Domain = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowExecution", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorkflow + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.WorkflowExecution == nil { + m.WorkflowExecution = &WorkflowExecution{} + } + if err := m.WorkflowExecution.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceWorkflow + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Reason = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field DecisionFinishEventId", wireType) + } + m.DecisionFinishEventId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.DecisionFinishEventId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RequestId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceWorkflow + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.RequestId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 6: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field SkipSignalReapply", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.SkipSignalReapply = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skipServiceWorkflow(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceWorkflow + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ResetWorkflowExecutionResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ResetWorkflowExecutionResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ResetWorkflowExecutionResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RunId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceWorkflow + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.RunId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipServiceWorkflow(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceWorkflow + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RequestCancelWorkflowExecutionRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RequestCancelWorkflowExecutionRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RequestCancelWorkflowExecutionRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Domain", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceWorkflow + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Domain = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowExecution", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorkflow + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.WorkflowExecution == nil { + m.WorkflowExecution = &WorkflowExecution{} + } + if err := m.WorkflowExecution.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Identity", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceWorkflow + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Identity = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RequestId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceWorkflow + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.RequestId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipServiceWorkflow(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceWorkflow + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *RequestCancelWorkflowExecutionResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: RequestCancelWorkflowExecutionResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: RequestCancelWorkflowExecutionResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipServiceWorkflow(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceWorkflow + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *TerminateWorkflowExecutionRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: TerminateWorkflowExecutionRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: TerminateWorkflowExecutionRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Domain", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceWorkflow + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Domain = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowExecution", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorkflow + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.WorkflowExecution == nil { + m.WorkflowExecution = &WorkflowExecution{} + } + if err := m.WorkflowExecution.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceWorkflow + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Reason = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Details", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorkflow + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Details == nil { + m.Details = &Payload{} + } + if err := m.Details.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Identity", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceWorkflow + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Identity = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipServiceWorkflow(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceWorkflow + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *TerminateWorkflowExecutionResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: TerminateWorkflowExecutionResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: TerminateWorkflowExecutionResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipServiceWorkflow(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceWorkflow + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *DescribeWorkflowExecutionRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: DescribeWorkflowExecutionRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: DescribeWorkflowExecutionRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Domain", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceWorkflow + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Domain = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowExecution", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorkflow + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.WorkflowExecution == nil { + m.WorkflowExecution = &WorkflowExecution{} + } + if err := m.WorkflowExecution.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipServiceWorkflow(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceWorkflow + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *DescribeWorkflowExecutionResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: DescribeWorkflowExecutionResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: DescribeWorkflowExecutionResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ExecutionConfiguration", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorkflow + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.ExecutionConfiguration == nil { + m.ExecutionConfiguration = &WorkflowExecutionConfiguration{} + } + if err := m.ExecutionConfiguration.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowExecutionInfo", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorkflow + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.WorkflowExecutionInfo == nil { + m.WorkflowExecutionInfo = &WorkflowExecutionInfo{} + } + if err := m.WorkflowExecutionInfo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PendingActivities", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorkflow + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.PendingActivities = append(m.PendingActivities, &PendingActivityInfo{}) + if err := m.PendingActivities[len(m.PendingActivities)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PendingChildren", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorkflow + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.PendingChildren = append(m.PendingChildren, &PendingChildExecutionInfo{}) + if err := m.PendingChildren[len(m.PendingChildren)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PendingDecision", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorkflow + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.PendingDecision == nil { + m.PendingDecision = &PendingDecisionInfo{} + } + if err := m.PendingDecision.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipServiceWorkflow(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceWorkflow + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *QueryWorkflowRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: QueryWorkflowRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryWorkflowRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Domain", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceWorkflow + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Domain = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowExecution", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorkflow + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.WorkflowExecution == nil { + m.WorkflowExecution = &WorkflowExecution{} + } + if err := m.WorkflowExecution.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Query", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorkflow + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Query == nil { + m.Query = &WorkflowQuery{} + } + if err := m.Query.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field QueryRejectCondition", wireType) + } + m.QueryRejectCondition = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.QueryRejectCondition |= QueryRejectCondition(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field QueryConsistencyLevel", wireType) + } + m.QueryConsistencyLevel = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.QueryConsistencyLevel |= QueryConsistencyLevel(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipServiceWorkflow(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceWorkflow + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *QueryWorkflowResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: QueryWorkflowResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryWorkflowResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field QueryResult", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorkflow + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.QueryResult == nil { + m.QueryResult = &Payload{} + } + if err := m.QueryResult.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field QueryRejected", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorkflow + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.QueryRejected == nil { + m.QueryRejected = &QueryRejected{} + } + if err := m.QueryRejected.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipServiceWorkflow(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceWorkflow + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *DescribeTaskListRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: DescribeTaskListRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: DescribeTaskListRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Domain", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceWorkflow + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Domain = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TaskList", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorkflow + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.TaskList == nil { + m.TaskList = &TaskList{} + } + if err := m.TaskList.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TaskListType", wireType) + } + m.TaskListType = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TaskListType |= TaskListType(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IncludeTaskListStatus", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.IncludeTaskListStatus = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skipServiceWorkflow(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceWorkflow + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *DescribeTaskListResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: DescribeTaskListResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: DescribeTaskListResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Pollers", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorkflow + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Pollers = append(m.Pollers, &PollerInfo{}) + if err := m.Pollers[len(m.Pollers)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TaskListStatus", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorkflow + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.TaskListStatus == nil { + m.TaskListStatus = &TaskListStatus{} + } + if err := m.TaskListStatus.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipServiceWorkflow(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceWorkflow + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetTaskListsByDomainRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetTaskListsByDomainRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetTaskListsByDomainRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Domain", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceWorkflow + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Domain = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipServiceWorkflow(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceWorkflow + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetTaskListsByDomainResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetTaskListsByDomainResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetTaskListsByDomainResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DecisionTaskListMap", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorkflow + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.DecisionTaskListMap == nil { + m.DecisionTaskListMap = make(map[string]*DescribeTaskListResponse) + } + var mapkey string + var mapvalue *DescribeTaskListResponse + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLengthServiceWorkflow + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLengthServiceWorkflow + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var mapmsglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapmsglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if mapmsglen < 0 { + return ErrInvalidLengthServiceWorkflow + } + postmsgIndex := iNdEx + mapmsglen + if postmsgIndex < 0 { + return ErrInvalidLengthServiceWorkflow + } + if postmsgIndex > l { + return io.ErrUnexpectedEOF + } + mapvalue = &DescribeTaskListResponse{} + if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { + return err + } + iNdEx = postmsgIndex + } else { + iNdEx = entryPreIndex + skippy, err := skipServiceWorkflow(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceWorkflow + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.DecisionTaskListMap[mapkey] = mapvalue + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ActivityTaskListMap", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorkflow + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.ActivityTaskListMap == nil { + m.ActivityTaskListMap = make(map[string]*DescribeTaskListResponse) + } + var mapkey string + var mapvalue *DescribeTaskListResponse + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLengthServiceWorkflow + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLengthServiceWorkflow + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var mapmsglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + mapmsglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if mapmsglen < 0 { + return ErrInvalidLengthServiceWorkflow + } + postmsgIndex := iNdEx + mapmsglen + if postmsgIndex < 0 { + return ErrInvalidLengthServiceWorkflow + } + if postmsgIndex > l { + return io.ErrUnexpectedEOF + } + mapvalue = &DescribeTaskListResponse{} + if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { + return err + } + iNdEx = postmsgIndex + } else { + iNdEx = entryPreIndex + skippy, err := skipServiceWorkflow(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceWorkflow + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.ActivityTaskListMap[mapkey] = mapvalue + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipServiceWorkflow(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceWorkflow + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ListTaskListPartitionsRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ListTaskListPartitionsRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ListTaskListPartitionsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Domain", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceWorkflow + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Domain = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TaskList", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorkflow + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.TaskList == nil { + m.TaskList = &TaskList{} + } + if err := m.TaskList.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipServiceWorkflow(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceWorkflow + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ListTaskListPartitionsResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ListTaskListPartitionsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ListTaskListPartitionsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ActivityTaskListPartitions", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorkflow + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ActivityTaskListPartitions = append(m.ActivityTaskListPartitions, &TaskListPartitionMetadata{}) + if err := m.ActivityTaskListPartitions[len(m.ActivityTaskListPartitions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DecisionTaskListPartitions", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorkflow + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.DecisionTaskListPartitions = append(m.DecisionTaskListPartitions, &TaskListPartitionMetadata{}) + if err := m.DecisionTaskListPartitions[len(m.DecisionTaskListPartitions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipServiceWorkflow(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceWorkflow + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetClusterInfoRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetClusterInfoRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetClusterInfoRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipServiceWorkflow(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceWorkflow + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetClusterInfoResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetClusterInfoResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetClusterInfoResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SupportedClientVersions", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorkflow + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.SupportedClientVersions == nil { + m.SupportedClientVersions = &SupportedClientVersions{} + } + if err := m.SupportedClientVersions.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipServiceWorkflow(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceWorkflow + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetWorkflowExecutionHistoryRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetWorkflowExecutionHistoryRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetWorkflowExecutionHistoryRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Domain", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthServiceWorkflow + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthServiceWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Domain = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowExecution", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorkflow + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.WorkflowExecution == nil { + m.WorkflowExecution = &WorkflowExecution{} + } + if err := m.WorkflowExecution.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field PageSize", wireType) + } + m.PageSize = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.PageSize |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthServiceWorkflow + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthServiceWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.NextPageToken = append(m.NextPageToken[:0], dAtA[iNdEx:postIndex]...) + if m.NextPageToken == nil { + m.NextPageToken = []byte{} + } + iNdEx = postIndex + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field WaitForNewEvent", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.WaitForNewEvent = bool(v != 0) + case 6: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field HistoryEventFilterType", wireType) + } + m.HistoryEventFilterType = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.HistoryEventFilterType |= EventFilterType(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 7: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field SkipArchival", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.SkipArchival = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skipServiceWorkflow(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceWorkflow + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetWorkflowExecutionHistoryResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetWorkflowExecutionHistoryResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetWorkflowExecutionHistoryResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field History", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorkflow + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.History == nil { + m.History = &History{} + } + if err := m.History.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RawHistory", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthServiceWorkflow + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthServiceWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.RawHistory = append(m.RawHistory, &DataBlob{}) + if err := m.RawHistory[len(m.RawHistory)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field NextPageToken", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthServiceWorkflow + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthServiceWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.NextPageToken = append(m.NextPageToken[:0], dAtA[iNdEx:postIndex]...) + if m.NextPageToken == nil { + m.NextPageToken = []byte{} + } + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Archived", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Archived = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skipServiceWorkflow(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceWorkflow + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *FeatureFlags) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: FeatureFlags: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: FeatureFlags: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowExecutionAlreadyCompletedErrorEnabled", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.WorkflowExecutionAlreadyCompletedErrorEnabled = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skipServiceWorkflow(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthServiceWorkflow + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func skipServiceWorkflow(dAtA []byte) (n int, err error) { + l := len(dAtA) + iNdEx := 0 + depth := 0 + for iNdEx < l { + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + wireType := int(wire & 0x7) + switch wireType { + case 0: + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + iNdEx++ + if dAtA[iNdEx-1] < 0x80 { + break + } + } + case 1: + iNdEx += 8 + case 2: + var length int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowServiceWorkflow + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + length |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if length < 0 { + return 0, ErrInvalidLengthServiceWorkflow + } + iNdEx += length + case 3: + depth++ + case 4: + if depth == 0 { + return 0, ErrUnexpectedEndOfGroupServiceWorkflow + } + depth-- + case 5: + iNdEx += 4 + default: + return 0, fmt.Errorf("proto: illegal wireType %d", wireType) + } + if iNdEx < 0 { + return 0, ErrInvalidLengthServiceWorkflow + } + if depth == 0 { + return iNdEx, nil + } + } + return 0, io.ErrUnexpectedEOF +} + +var ( + ErrInvalidLengthServiceWorkflow = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflowServiceWorkflow = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroupServiceWorkflow = fmt.Errorf("proto: unexpected end of group") +) diff --git a/go/proto/api/v1/service_workflow.pb.yarpc.go b/go/proto/api/v1/service_workflow.pb.yarpc.go new file mode 100644 index 0000000..ffd734d --- /dev/null +++ b/go/proto/api/v1/service_workflow.pb.yarpc.go @@ -0,0 +1,1559 @@ +// The MIT License (MIT) +// +// Copyright (c) 2021 Uber Technologies, Inc. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +// SOFTWARE. + +// Code generated by protoc-gen-yarpc-go. DO NOT EDIT. +// source: uber/cadence/api/v1/service_workflow.proto + +package apiv1 + +import ( + "context" + "io/ioutil" + "reflect" + + "github.com/gogo/protobuf/jsonpb" + "github.com/gogo/protobuf/proto" + "go.uber.org/fx" + "go.uber.org/yarpc" + "go.uber.org/yarpc/api/transport" + "go.uber.org/yarpc/api/x/restriction" + "go.uber.org/yarpc/encoding/protobuf" + "go.uber.org/yarpc/encoding/protobuf/reflection" +) + +var _ = ioutil.NopCloser + +// WorkflowAPIYARPCClient is the YARPC client-side interface for the WorkflowAPI service. +type WorkflowAPIYARPCClient interface { + StartWorkflowExecution(context.Context, *StartWorkflowExecutionRequest, ...yarpc.CallOption) (*StartWorkflowExecutionResponse, error) + SignalWorkflowExecution(context.Context, *SignalWorkflowExecutionRequest, ...yarpc.CallOption) (*SignalWorkflowExecutionResponse, error) + SignalWithStartWorkflowExecution(context.Context, *SignalWithStartWorkflowExecutionRequest, ...yarpc.CallOption) (*SignalWithStartWorkflowExecutionResponse, error) + ResetWorkflowExecution(context.Context, *ResetWorkflowExecutionRequest, ...yarpc.CallOption) (*ResetWorkflowExecutionResponse, error) + RequestCancelWorkflowExecution(context.Context, *RequestCancelWorkflowExecutionRequest, ...yarpc.CallOption) (*RequestCancelWorkflowExecutionResponse, error) + TerminateWorkflowExecution(context.Context, *TerminateWorkflowExecutionRequest, ...yarpc.CallOption) (*TerminateWorkflowExecutionResponse, error) + DescribeWorkflowExecution(context.Context, *DescribeWorkflowExecutionRequest, ...yarpc.CallOption) (*DescribeWorkflowExecutionResponse, error) + QueryWorkflow(context.Context, *QueryWorkflowRequest, ...yarpc.CallOption) (*QueryWorkflowResponse, error) + DescribeTaskList(context.Context, *DescribeTaskListRequest, ...yarpc.CallOption) (*DescribeTaskListResponse, error) + GetTaskListsByDomain(context.Context, *GetTaskListsByDomainRequest, ...yarpc.CallOption) (*GetTaskListsByDomainResponse, error) + ListTaskListPartitions(context.Context, *ListTaskListPartitionsRequest, ...yarpc.CallOption) (*ListTaskListPartitionsResponse, error) + GetClusterInfo(context.Context, *GetClusterInfoRequest, ...yarpc.CallOption) (*GetClusterInfoResponse, error) + GetWorkflowExecutionHistory(context.Context, *GetWorkflowExecutionHistoryRequest, ...yarpc.CallOption) (*GetWorkflowExecutionHistoryResponse, error) +} + +func newWorkflowAPIYARPCClient(clientConfig transport.ClientConfig, anyResolver jsonpb.AnyResolver, options ...protobuf.ClientOption) WorkflowAPIYARPCClient { + return &_WorkflowAPIYARPCCaller{protobuf.NewStreamClient( + protobuf.ClientParams{ + ServiceName: "uber.cadence.api.v1.WorkflowAPI", + ClientConfig: clientConfig, + AnyResolver: anyResolver, + Options: options, + }, + )} +} + +// NewWorkflowAPIYARPCClient builds a new YARPC client for the WorkflowAPI service. +func NewWorkflowAPIYARPCClient(clientConfig transport.ClientConfig, options ...protobuf.ClientOption) WorkflowAPIYARPCClient { + return newWorkflowAPIYARPCClient(clientConfig, nil, options...) +} + +// WorkflowAPIYARPCServer is the YARPC server-side interface for the WorkflowAPI service. +type WorkflowAPIYARPCServer interface { + StartWorkflowExecution(context.Context, *StartWorkflowExecutionRequest) (*StartWorkflowExecutionResponse, error) + SignalWorkflowExecution(context.Context, *SignalWorkflowExecutionRequest) (*SignalWorkflowExecutionResponse, error) + SignalWithStartWorkflowExecution(context.Context, *SignalWithStartWorkflowExecutionRequest) (*SignalWithStartWorkflowExecutionResponse, error) + ResetWorkflowExecution(context.Context, *ResetWorkflowExecutionRequest) (*ResetWorkflowExecutionResponse, error) + RequestCancelWorkflowExecution(context.Context, *RequestCancelWorkflowExecutionRequest) (*RequestCancelWorkflowExecutionResponse, error) + TerminateWorkflowExecution(context.Context, *TerminateWorkflowExecutionRequest) (*TerminateWorkflowExecutionResponse, error) + DescribeWorkflowExecution(context.Context, *DescribeWorkflowExecutionRequest) (*DescribeWorkflowExecutionResponse, error) + QueryWorkflow(context.Context, *QueryWorkflowRequest) (*QueryWorkflowResponse, error) + DescribeTaskList(context.Context, *DescribeTaskListRequest) (*DescribeTaskListResponse, error) + GetTaskListsByDomain(context.Context, *GetTaskListsByDomainRequest) (*GetTaskListsByDomainResponse, error) + ListTaskListPartitions(context.Context, *ListTaskListPartitionsRequest) (*ListTaskListPartitionsResponse, error) + GetClusterInfo(context.Context, *GetClusterInfoRequest) (*GetClusterInfoResponse, error) + GetWorkflowExecutionHistory(context.Context, *GetWorkflowExecutionHistoryRequest) (*GetWorkflowExecutionHistoryResponse, error) +} + +type buildWorkflowAPIYARPCProceduresParams struct { + Server WorkflowAPIYARPCServer + AnyResolver jsonpb.AnyResolver +} + +func buildWorkflowAPIYARPCProcedures(params buildWorkflowAPIYARPCProceduresParams) []transport.Procedure { + handler := &_WorkflowAPIYARPCHandler{params.Server} + return protobuf.BuildProcedures( + protobuf.BuildProceduresParams{ + ServiceName: "uber.cadence.api.v1.WorkflowAPI", + UnaryHandlerParams: []protobuf.BuildProceduresUnaryHandlerParams{ + { + MethodName: "StartWorkflowExecution", + Handler: protobuf.NewUnaryHandler( + protobuf.UnaryHandlerParams{ + Handle: handler.StartWorkflowExecution, + NewRequest: newWorkflowAPIServiceStartWorkflowExecutionYARPCRequest, + AnyResolver: params.AnyResolver, + }, + ), + }, + { + MethodName: "SignalWorkflowExecution", + Handler: protobuf.NewUnaryHandler( + protobuf.UnaryHandlerParams{ + Handle: handler.SignalWorkflowExecution, + NewRequest: newWorkflowAPIServiceSignalWorkflowExecutionYARPCRequest, + AnyResolver: params.AnyResolver, + }, + ), + }, + { + MethodName: "SignalWithStartWorkflowExecution", + Handler: protobuf.NewUnaryHandler( + protobuf.UnaryHandlerParams{ + Handle: handler.SignalWithStartWorkflowExecution, + NewRequest: newWorkflowAPIServiceSignalWithStartWorkflowExecutionYARPCRequest, + AnyResolver: params.AnyResolver, + }, + ), + }, + { + MethodName: "ResetWorkflowExecution", + Handler: protobuf.NewUnaryHandler( + protobuf.UnaryHandlerParams{ + Handle: handler.ResetWorkflowExecution, + NewRequest: newWorkflowAPIServiceResetWorkflowExecutionYARPCRequest, + AnyResolver: params.AnyResolver, + }, + ), + }, + { + MethodName: "RequestCancelWorkflowExecution", + Handler: protobuf.NewUnaryHandler( + protobuf.UnaryHandlerParams{ + Handle: handler.RequestCancelWorkflowExecution, + NewRequest: newWorkflowAPIServiceRequestCancelWorkflowExecutionYARPCRequest, + AnyResolver: params.AnyResolver, + }, + ), + }, + { + MethodName: "TerminateWorkflowExecution", + Handler: protobuf.NewUnaryHandler( + protobuf.UnaryHandlerParams{ + Handle: handler.TerminateWorkflowExecution, + NewRequest: newWorkflowAPIServiceTerminateWorkflowExecutionYARPCRequest, + AnyResolver: params.AnyResolver, + }, + ), + }, + { + MethodName: "DescribeWorkflowExecution", + Handler: protobuf.NewUnaryHandler( + protobuf.UnaryHandlerParams{ + Handle: handler.DescribeWorkflowExecution, + NewRequest: newWorkflowAPIServiceDescribeWorkflowExecutionYARPCRequest, + AnyResolver: params.AnyResolver, + }, + ), + }, + { + MethodName: "QueryWorkflow", + Handler: protobuf.NewUnaryHandler( + protobuf.UnaryHandlerParams{ + Handle: handler.QueryWorkflow, + NewRequest: newWorkflowAPIServiceQueryWorkflowYARPCRequest, + AnyResolver: params.AnyResolver, + }, + ), + }, + { + MethodName: "DescribeTaskList", + Handler: protobuf.NewUnaryHandler( + protobuf.UnaryHandlerParams{ + Handle: handler.DescribeTaskList, + NewRequest: newWorkflowAPIServiceDescribeTaskListYARPCRequest, + AnyResolver: params.AnyResolver, + }, + ), + }, + { + MethodName: "GetTaskListsByDomain", + Handler: protobuf.NewUnaryHandler( + protobuf.UnaryHandlerParams{ + Handle: handler.GetTaskListsByDomain, + NewRequest: newWorkflowAPIServiceGetTaskListsByDomainYARPCRequest, + AnyResolver: params.AnyResolver, + }, + ), + }, + { + MethodName: "ListTaskListPartitions", + Handler: protobuf.NewUnaryHandler( + protobuf.UnaryHandlerParams{ + Handle: handler.ListTaskListPartitions, + NewRequest: newWorkflowAPIServiceListTaskListPartitionsYARPCRequest, + AnyResolver: params.AnyResolver, + }, + ), + }, + { + MethodName: "GetClusterInfo", + Handler: protobuf.NewUnaryHandler( + protobuf.UnaryHandlerParams{ + Handle: handler.GetClusterInfo, + NewRequest: newWorkflowAPIServiceGetClusterInfoYARPCRequest, + AnyResolver: params.AnyResolver, + }, + ), + }, + { + MethodName: "GetWorkflowExecutionHistory", + Handler: protobuf.NewUnaryHandler( + protobuf.UnaryHandlerParams{ + Handle: handler.GetWorkflowExecutionHistory, + NewRequest: newWorkflowAPIServiceGetWorkflowExecutionHistoryYARPCRequest, + AnyResolver: params.AnyResolver, + }, + ), + }, + }, + OnewayHandlerParams: []protobuf.BuildProceduresOnewayHandlerParams{}, + StreamHandlerParams: []protobuf.BuildProceduresStreamHandlerParams{}, + }, + ) +} + +// BuildWorkflowAPIYARPCProcedures prepares an implementation of the WorkflowAPI service for YARPC registration. +func BuildWorkflowAPIYARPCProcedures(server WorkflowAPIYARPCServer) []transport.Procedure { + return buildWorkflowAPIYARPCProcedures(buildWorkflowAPIYARPCProceduresParams{Server: server}) +} + +// FxWorkflowAPIYARPCClientParams defines the input +// for NewFxWorkflowAPIYARPCClient. It provides the +// paramaters to get a WorkflowAPIYARPCClient in an +// Fx application. +type FxWorkflowAPIYARPCClientParams struct { + fx.In + + Provider yarpc.ClientConfig + AnyResolver jsonpb.AnyResolver `name:"yarpcfx" optional:"true"` + Restriction restriction.Checker `optional:"true"` +} + +// FxWorkflowAPIYARPCClientResult defines the output +// of NewFxWorkflowAPIYARPCClient. It provides a +// WorkflowAPIYARPCClient to an Fx application. +type FxWorkflowAPIYARPCClientResult struct { + fx.Out + + Client WorkflowAPIYARPCClient + + // We are using an fx.Out struct here instead of just returning a client + // so that we can add more values or add named versions of the client in + // the future without breaking any existing code. +} + +// NewFxWorkflowAPIYARPCClient provides a WorkflowAPIYARPCClient +// to an Fx application using the given name for routing. +// +// fx.Provide( +// apiv1.NewFxWorkflowAPIYARPCClient("service-name"), +// ... +// ) +func NewFxWorkflowAPIYARPCClient(name string, options ...protobuf.ClientOption) interface{} { + return func(params FxWorkflowAPIYARPCClientParams) FxWorkflowAPIYARPCClientResult { + cc := params.Provider.ClientConfig(name) + + if params.Restriction != nil { + if namer, ok := cc.GetUnaryOutbound().(transport.Namer); ok { + if err := params.Restriction.Check(protobuf.Encoding, namer.TransportName()); err != nil { + panic(err.Error()) + } + } + } + + return FxWorkflowAPIYARPCClientResult{ + Client: newWorkflowAPIYARPCClient(cc, params.AnyResolver, options...), + } + } +} + +// FxWorkflowAPIYARPCProceduresParams defines the input +// for NewFxWorkflowAPIYARPCProcedures. It provides the +// paramaters to get WorkflowAPIYARPCServer procedures in an +// Fx application. +type FxWorkflowAPIYARPCProceduresParams struct { + fx.In + + Server WorkflowAPIYARPCServer + AnyResolver jsonpb.AnyResolver `name:"yarpcfx" optional:"true"` +} + +// FxWorkflowAPIYARPCProceduresResult defines the output +// of NewFxWorkflowAPIYARPCProcedures. It provides +// WorkflowAPIYARPCServer procedures to an Fx application. +// +// The procedures are provided to the "yarpcfx" value group. +// Dig 1.2 or newer must be used for this feature to work. +type FxWorkflowAPIYARPCProceduresResult struct { + fx.Out + + Procedures []transport.Procedure `group:"yarpcfx"` + ReflectionMeta reflection.ServerMeta `group:"yarpcfx"` +} + +// NewFxWorkflowAPIYARPCProcedures provides WorkflowAPIYARPCServer procedures to an Fx application. +// It expects a WorkflowAPIYARPCServer to be present in the container. +// +// fx.Provide( +// apiv1.NewFxWorkflowAPIYARPCProcedures(), +// ... +// ) +func NewFxWorkflowAPIYARPCProcedures() interface{} { + return func(params FxWorkflowAPIYARPCProceduresParams) FxWorkflowAPIYARPCProceduresResult { + return FxWorkflowAPIYARPCProceduresResult{ + Procedures: buildWorkflowAPIYARPCProcedures(buildWorkflowAPIYARPCProceduresParams{ + Server: params.Server, + AnyResolver: params.AnyResolver, + }), + ReflectionMeta: reflection.ServerMeta{ + ServiceName: "uber.cadence.api.v1.WorkflowAPI", + FileDescriptors: yarpcFileDescriptorClosure674d14d2fee4e473, + }, + } + } +} + +type _WorkflowAPIYARPCCaller struct { + streamClient protobuf.StreamClient +} + +func (c *_WorkflowAPIYARPCCaller) StartWorkflowExecution(ctx context.Context, request *StartWorkflowExecutionRequest, options ...yarpc.CallOption) (*StartWorkflowExecutionResponse, error) { + responseMessage, err := c.streamClient.Call(ctx, "StartWorkflowExecution", request, newWorkflowAPIServiceStartWorkflowExecutionYARPCResponse, options...) + if responseMessage == nil { + return nil, err + } + response, ok := responseMessage.(*StartWorkflowExecutionResponse) + if !ok { + return nil, protobuf.CastError(emptyWorkflowAPIServiceStartWorkflowExecutionYARPCResponse, responseMessage) + } + return response, err +} + +func (c *_WorkflowAPIYARPCCaller) SignalWorkflowExecution(ctx context.Context, request *SignalWorkflowExecutionRequest, options ...yarpc.CallOption) (*SignalWorkflowExecutionResponse, error) { + responseMessage, err := c.streamClient.Call(ctx, "SignalWorkflowExecution", request, newWorkflowAPIServiceSignalWorkflowExecutionYARPCResponse, options...) + if responseMessage == nil { + return nil, err + } + response, ok := responseMessage.(*SignalWorkflowExecutionResponse) + if !ok { + return nil, protobuf.CastError(emptyWorkflowAPIServiceSignalWorkflowExecutionYARPCResponse, responseMessage) + } + return response, err +} + +func (c *_WorkflowAPIYARPCCaller) SignalWithStartWorkflowExecution(ctx context.Context, request *SignalWithStartWorkflowExecutionRequest, options ...yarpc.CallOption) (*SignalWithStartWorkflowExecutionResponse, error) { + responseMessage, err := c.streamClient.Call(ctx, "SignalWithStartWorkflowExecution", request, newWorkflowAPIServiceSignalWithStartWorkflowExecutionYARPCResponse, options...) + if responseMessage == nil { + return nil, err + } + response, ok := responseMessage.(*SignalWithStartWorkflowExecutionResponse) + if !ok { + return nil, protobuf.CastError(emptyWorkflowAPIServiceSignalWithStartWorkflowExecutionYARPCResponse, responseMessage) + } + return response, err +} + +func (c *_WorkflowAPIYARPCCaller) ResetWorkflowExecution(ctx context.Context, request *ResetWorkflowExecutionRequest, options ...yarpc.CallOption) (*ResetWorkflowExecutionResponse, error) { + responseMessage, err := c.streamClient.Call(ctx, "ResetWorkflowExecution", request, newWorkflowAPIServiceResetWorkflowExecutionYARPCResponse, options...) + if responseMessage == nil { + return nil, err + } + response, ok := responseMessage.(*ResetWorkflowExecutionResponse) + if !ok { + return nil, protobuf.CastError(emptyWorkflowAPIServiceResetWorkflowExecutionYARPCResponse, responseMessage) + } + return response, err +} + +func (c *_WorkflowAPIYARPCCaller) RequestCancelWorkflowExecution(ctx context.Context, request *RequestCancelWorkflowExecutionRequest, options ...yarpc.CallOption) (*RequestCancelWorkflowExecutionResponse, error) { + responseMessage, err := c.streamClient.Call(ctx, "RequestCancelWorkflowExecution", request, newWorkflowAPIServiceRequestCancelWorkflowExecutionYARPCResponse, options...) + if responseMessage == nil { + return nil, err + } + response, ok := responseMessage.(*RequestCancelWorkflowExecutionResponse) + if !ok { + return nil, protobuf.CastError(emptyWorkflowAPIServiceRequestCancelWorkflowExecutionYARPCResponse, responseMessage) + } + return response, err +} + +func (c *_WorkflowAPIYARPCCaller) TerminateWorkflowExecution(ctx context.Context, request *TerminateWorkflowExecutionRequest, options ...yarpc.CallOption) (*TerminateWorkflowExecutionResponse, error) { + responseMessage, err := c.streamClient.Call(ctx, "TerminateWorkflowExecution", request, newWorkflowAPIServiceTerminateWorkflowExecutionYARPCResponse, options...) + if responseMessage == nil { + return nil, err + } + response, ok := responseMessage.(*TerminateWorkflowExecutionResponse) + if !ok { + return nil, protobuf.CastError(emptyWorkflowAPIServiceTerminateWorkflowExecutionYARPCResponse, responseMessage) + } + return response, err +} + +func (c *_WorkflowAPIYARPCCaller) DescribeWorkflowExecution(ctx context.Context, request *DescribeWorkflowExecutionRequest, options ...yarpc.CallOption) (*DescribeWorkflowExecutionResponse, error) { + responseMessage, err := c.streamClient.Call(ctx, "DescribeWorkflowExecution", request, newWorkflowAPIServiceDescribeWorkflowExecutionYARPCResponse, options...) + if responseMessage == nil { + return nil, err + } + response, ok := responseMessage.(*DescribeWorkflowExecutionResponse) + if !ok { + return nil, protobuf.CastError(emptyWorkflowAPIServiceDescribeWorkflowExecutionYARPCResponse, responseMessage) + } + return response, err +} + +func (c *_WorkflowAPIYARPCCaller) QueryWorkflow(ctx context.Context, request *QueryWorkflowRequest, options ...yarpc.CallOption) (*QueryWorkflowResponse, error) { + responseMessage, err := c.streamClient.Call(ctx, "QueryWorkflow", request, newWorkflowAPIServiceQueryWorkflowYARPCResponse, options...) + if responseMessage == nil { + return nil, err + } + response, ok := responseMessage.(*QueryWorkflowResponse) + if !ok { + return nil, protobuf.CastError(emptyWorkflowAPIServiceQueryWorkflowYARPCResponse, responseMessage) + } + return response, err +} + +func (c *_WorkflowAPIYARPCCaller) DescribeTaskList(ctx context.Context, request *DescribeTaskListRequest, options ...yarpc.CallOption) (*DescribeTaskListResponse, error) { + responseMessage, err := c.streamClient.Call(ctx, "DescribeTaskList", request, newWorkflowAPIServiceDescribeTaskListYARPCResponse, options...) + if responseMessage == nil { + return nil, err + } + response, ok := responseMessage.(*DescribeTaskListResponse) + if !ok { + return nil, protobuf.CastError(emptyWorkflowAPIServiceDescribeTaskListYARPCResponse, responseMessage) + } + return response, err +} + +func (c *_WorkflowAPIYARPCCaller) GetTaskListsByDomain(ctx context.Context, request *GetTaskListsByDomainRequest, options ...yarpc.CallOption) (*GetTaskListsByDomainResponse, error) { + responseMessage, err := c.streamClient.Call(ctx, "GetTaskListsByDomain", request, newWorkflowAPIServiceGetTaskListsByDomainYARPCResponse, options...) + if responseMessage == nil { + return nil, err + } + response, ok := responseMessage.(*GetTaskListsByDomainResponse) + if !ok { + return nil, protobuf.CastError(emptyWorkflowAPIServiceGetTaskListsByDomainYARPCResponse, responseMessage) + } + return response, err +} + +func (c *_WorkflowAPIYARPCCaller) ListTaskListPartitions(ctx context.Context, request *ListTaskListPartitionsRequest, options ...yarpc.CallOption) (*ListTaskListPartitionsResponse, error) { + responseMessage, err := c.streamClient.Call(ctx, "ListTaskListPartitions", request, newWorkflowAPIServiceListTaskListPartitionsYARPCResponse, options...) + if responseMessage == nil { + return nil, err + } + response, ok := responseMessage.(*ListTaskListPartitionsResponse) + if !ok { + return nil, protobuf.CastError(emptyWorkflowAPIServiceListTaskListPartitionsYARPCResponse, responseMessage) + } + return response, err +} + +func (c *_WorkflowAPIYARPCCaller) GetClusterInfo(ctx context.Context, request *GetClusterInfoRequest, options ...yarpc.CallOption) (*GetClusterInfoResponse, error) { + responseMessage, err := c.streamClient.Call(ctx, "GetClusterInfo", request, newWorkflowAPIServiceGetClusterInfoYARPCResponse, options...) + if responseMessage == nil { + return nil, err + } + response, ok := responseMessage.(*GetClusterInfoResponse) + if !ok { + return nil, protobuf.CastError(emptyWorkflowAPIServiceGetClusterInfoYARPCResponse, responseMessage) + } + return response, err +} + +func (c *_WorkflowAPIYARPCCaller) GetWorkflowExecutionHistory(ctx context.Context, request *GetWorkflowExecutionHistoryRequest, options ...yarpc.CallOption) (*GetWorkflowExecutionHistoryResponse, error) { + responseMessage, err := c.streamClient.Call(ctx, "GetWorkflowExecutionHistory", request, newWorkflowAPIServiceGetWorkflowExecutionHistoryYARPCResponse, options...) + if responseMessage == nil { + return nil, err + } + response, ok := responseMessage.(*GetWorkflowExecutionHistoryResponse) + if !ok { + return nil, protobuf.CastError(emptyWorkflowAPIServiceGetWorkflowExecutionHistoryYARPCResponse, responseMessage) + } + return response, err +} + +type _WorkflowAPIYARPCHandler struct { + server WorkflowAPIYARPCServer +} + +func (h *_WorkflowAPIYARPCHandler) StartWorkflowExecution(ctx context.Context, requestMessage proto.Message) (proto.Message, error) { + var request *StartWorkflowExecutionRequest + var ok bool + if requestMessage != nil { + request, ok = requestMessage.(*StartWorkflowExecutionRequest) + if !ok { + return nil, protobuf.CastError(emptyWorkflowAPIServiceStartWorkflowExecutionYARPCRequest, requestMessage) + } + } + response, err := h.server.StartWorkflowExecution(ctx, request) + if response == nil { + return nil, err + } + return response, err +} + +func (h *_WorkflowAPIYARPCHandler) SignalWorkflowExecution(ctx context.Context, requestMessage proto.Message) (proto.Message, error) { + var request *SignalWorkflowExecutionRequest + var ok bool + if requestMessage != nil { + request, ok = requestMessage.(*SignalWorkflowExecutionRequest) + if !ok { + return nil, protobuf.CastError(emptyWorkflowAPIServiceSignalWorkflowExecutionYARPCRequest, requestMessage) + } + } + response, err := h.server.SignalWorkflowExecution(ctx, request) + if response == nil { + return nil, err + } + return response, err +} + +func (h *_WorkflowAPIYARPCHandler) SignalWithStartWorkflowExecution(ctx context.Context, requestMessage proto.Message) (proto.Message, error) { + var request *SignalWithStartWorkflowExecutionRequest + var ok bool + if requestMessage != nil { + request, ok = requestMessage.(*SignalWithStartWorkflowExecutionRequest) + if !ok { + return nil, protobuf.CastError(emptyWorkflowAPIServiceSignalWithStartWorkflowExecutionYARPCRequest, requestMessage) + } + } + response, err := h.server.SignalWithStartWorkflowExecution(ctx, request) + if response == nil { + return nil, err + } + return response, err +} + +func (h *_WorkflowAPIYARPCHandler) ResetWorkflowExecution(ctx context.Context, requestMessage proto.Message) (proto.Message, error) { + var request *ResetWorkflowExecutionRequest + var ok bool + if requestMessage != nil { + request, ok = requestMessage.(*ResetWorkflowExecutionRequest) + if !ok { + return nil, protobuf.CastError(emptyWorkflowAPIServiceResetWorkflowExecutionYARPCRequest, requestMessage) + } + } + response, err := h.server.ResetWorkflowExecution(ctx, request) + if response == nil { + return nil, err + } + return response, err +} + +func (h *_WorkflowAPIYARPCHandler) RequestCancelWorkflowExecution(ctx context.Context, requestMessage proto.Message) (proto.Message, error) { + var request *RequestCancelWorkflowExecutionRequest + var ok bool + if requestMessage != nil { + request, ok = requestMessage.(*RequestCancelWorkflowExecutionRequest) + if !ok { + return nil, protobuf.CastError(emptyWorkflowAPIServiceRequestCancelWorkflowExecutionYARPCRequest, requestMessage) + } + } + response, err := h.server.RequestCancelWorkflowExecution(ctx, request) + if response == nil { + return nil, err + } + return response, err +} + +func (h *_WorkflowAPIYARPCHandler) TerminateWorkflowExecution(ctx context.Context, requestMessage proto.Message) (proto.Message, error) { + var request *TerminateWorkflowExecutionRequest + var ok bool + if requestMessage != nil { + request, ok = requestMessage.(*TerminateWorkflowExecutionRequest) + if !ok { + return nil, protobuf.CastError(emptyWorkflowAPIServiceTerminateWorkflowExecutionYARPCRequest, requestMessage) + } + } + response, err := h.server.TerminateWorkflowExecution(ctx, request) + if response == nil { + return nil, err + } + return response, err +} + +func (h *_WorkflowAPIYARPCHandler) DescribeWorkflowExecution(ctx context.Context, requestMessage proto.Message) (proto.Message, error) { + var request *DescribeWorkflowExecutionRequest + var ok bool + if requestMessage != nil { + request, ok = requestMessage.(*DescribeWorkflowExecutionRequest) + if !ok { + return nil, protobuf.CastError(emptyWorkflowAPIServiceDescribeWorkflowExecutionYARPCRequest, requestMessage) + } + } + response, err := h.server.DescribeWorkflowExecution(ctx, request) + if response == nil { + return nil, err + } + return response, err +} + +func (h *_WorkflowAPIYARPCHandler) QueryWorkflow(ctx context.Context, requestMessage proto.Message) (proto.Message, error) { + var request *QueryWorkflowRequest + var ok bool + if requestMessage != nil { + request, ok = requestMessage.(*QueryWorkflowRequest) + if !ok { + return nil, protobuf.CastError(emptyWorkflowAPIServiceQueryWorkflowYARPCRequest, requestMessage) + } + } + response, err := h.server.QueryWorkflow(ctx, request) + if response == nil { + return nil, err + } + return response, err +} + +func (h *_WorkflowAPIYARPCHandler) DescribeTaskList(ctx context.Context, requestMessage proto.Message) (proto.Message, error) { + var request *DescribeTaskListRequest + var ok bool + if requestMessage != nil { + request, ok = requestMessage.(*DescribeTaskListRequest) + if !ok { + return nil, protobuf.CastError(emptyWorkflowAPIServiceDescribeTaskListYARPCRequest, requestMessage) + } + } + response, err := h.server.DescribeTaskList(ctx, request) + if response == nil { + return nil, err + } + return response, err +} + +func (h *_WorkflowAPIYARPCHandler) GetTaskListsByDomain(ctx context.Context, requestMessage proto.Message) (proto.Message, error) { + var request *GetTaskListsByDomainRequest + var ok bool + if requestMessage != nil { + request, ok = requestMessage.(*GetTaskListsByDomainRequest) + if !ok { + return nil, protobuf.CastError(emptyWorkflowAPIServiceGetTaskListsByDomainYARPCRequest, requestMessage) + } + } + response, err := h.server.GetTaskListsByDomain(ctx, request) + if response == nil { + return nil, err + } + return response, err +} + +func (h *_WorkflowAPIYARPCHandler) ListTaskListPartitions(ctx context.Context, requestMessage proto.Message) (proto.Message, error) { + var request *ListTaskListPartitionsRequest + var ok bool + if requestMessage != nil { + request, ok = requestMessage.(*ListTaskListPartitionsRequest) + if !ok { + return nil, protobuf.CastError(emptyWorkflowAPIServiceListTaskListPartitionsYARPCRequest, requestMessage) + } + } + response, err := h.server.ListTaskListPartitions(ctx, request) + if response == nil { + return nil, err + } + return response, err +} + +func (h *_WorkflowAPIYARPCHandler) GetClusterInfo(ctx context.Context, requestMessage proto.Message) (proto.Message, error) { + var request *GetClusterInfoRequest + var ok bool + if requestMessage != nil { + request, ok = requestMessage.(*GetClusterInfoRequest) + if !ok { + return nil, protobuf.CastError(emptyWorkflowAPIServiceGetClusterInfoYARPCRequest, requestMessage) + } + } + response, err := h.server.GetClusterInfo(ctx, request) + if response == nil { + return nil, err + } + return response, err +} + +func (h *_WorkflowAPIYARPCHandler) GetWorkflowExecutionHistory(ctx context.Context, requestMessage proto.Message) (proto.Message, error) { + var request *GetWorkflowExecutionHistoryRequest + var ok bool + if requestMessage != nil { + request, ok = requestMessage.(*GetWorkflowExecutionHistoryRequest) + if !ok { + return nil, protobuf.CastError(emptyWorkflowAPIServiceGetWorkflowExecutionHistoryYARPCRequest, requestMessage) + } + } + response, err := h.server.GetWorkflowExecutionHistory(ctx, request) + if response == nil { + return nil, err + } + return response, err +} + +func newWorkflowAPIServiceStartWorkflowExecutionYARPCRequest() proto.Message { + return &StartWorkflowExecutionRequest{} +} + +func newWorkflowAPIServiceStartWorkflowExecutionYARPCResponse() proto.Message { + return &StartWorkflowExecutionResponse{} +} + +func newWorkflowAPIServiceSignalWorkflowExecutionYARPCRequest() proto.Message { + return &SignalWorkflowExecutionRequest{} +} + +func newWorkflowAPIServiceSignalWorkflowExecutionYARPCResponse() proto.Message { + return &SignalWorkflowExecutionResponse{} +} + +func newWorkflowAPIServiceSignalWithStartWorkflowExecutionYARPCRequest() proto.Message { + return &SignalWithStartWorkflowExecutionRequest{} +} + +func newWorkflowAPIServiceSignalWithStartWorkflowExecutionYARPCResponse() proto.Message { + return &SignalWithStartWorkflowExecutionResponse{} +} + +func newWorkflowAPIServiceResetWorkflowExecutionYARPCRequest() proto.Message { + return &ResetWorkflowExecutionRequest{} +} + +func newWorkflowAPIServiceResetWorkflowExecutionYARPCResponse() proto.Message { + return &ResetWorkflowExecutionResponse{} +} + +func newWorkflowAPIServiceRequestCancelWorkflowExecutionYARPCRequest() proto.Message { + return &RequestCancelWorkflowExecutionRequest{} +} + +func newWorkflowAPIServiceRequestCancelWorkflowExecutionYARPCResponse() proto.Message { + return &RequestCancelWorkflowExecutionResponse{} +} + +func newWorkflowAPIServiceTerminateWorkflowExecutionYARPCRequest() proto.Message { + return &TerminateWorkflowExecutionRequest{} +} + +func newWorkflowAPIServiceTerminateWorkflowExecutionYARPCResponse() proto.Message { + return &TerminateWorkflowExecutionResponse{} +} + +func newWorkflowAPIServiceDescribeWorkflowExecutionYARPCRequest() proto.Message { + return &DescribeWorkflowExecutionRequest{} +} + +func newWorkflowAPIServiceDescribeWorkflowExecutionYARPCResponse() proto.Message { + return &DescribeWorkflowExecutionResponse{} +} + +func newWorkflowAPIServiceQueryWorkflowYARPCRequest() proto.Message { + return &QueryWorkflowRequest{} +} + +func newWorkflowAPIServiceQueryWorkflowYARPCResponse() proto.Message { + return &QueryWorkflowResponse{} +} + +func newWorkflowAPIServiceDescribeTaskListYARPCRequest() proto.Message { + return &DescribeTaskListRequest{} +} + +func newWorkflowAPIServiceDescribeTaskListYARPCResponse() proto.Message { + return &DescribeTaskListResponse{} +} + +func newWorkflowAPIServiceGetTaskListsByDomainYARPCRequest() proto.Message { + return &GetTaskListsByDomainRequest{} +} + +func newWorkflowAPIServiceGetTaskListsByDomainYARPCResponse() proto.Message { + return &GetTaskListsByDomainResponse{} +} + +func newWorkflowAPIServiceListTaskListPartitionsYARPCRequest() proto.Message { + return &ListTaskListPartitionsRequest{} +} + +func newWorkflowAPIServiceListTaskListPartitionsYARPCResponse() proto.Message { + return &ListTaskListPartitionsResponse{} +} + +func newWorkflowAPIServiceGetClusterInfoYARPCRequest() proto.Message { + return &GetClusterInfoRequest{} +} + +func newWorkflowAPIServiceGetClusterInfoYARPCResponse() proto.Message { + return &GetClusterInfoResponse{} +} + +func newWorkflowAPIServiceGetWorkflowExecutionHistoryYARPCRequest() proto.Message { + return &GetWorkflowExecutionHistoryRequest{} +} + +func newWorkflowAPIServiceGetWorkflowExecutionHistoryYARPCResponse() proto.Message { + return &GetWorkflowExecutionHistoryResponse{} +} + +var ( + emptyWorkflowAPIServiceStartWorkflowExecutionYARPCRequest = &StartWorkflowExecutionRequest{} + emptyWorkflowAPIServiceStartWorkflowExecutionYARPCResponse = &StartWorkflowExecutionResponse{} + emptyWorkflowAPIServiceSignalWorkflowExecutionYARPCRequest = &SignalWorkflowExecutionRequest{} + emptyWorkflowAPIServiceSignalWorkflowExecutionYARPCResponse = &SignalWorkflowExecutionResponse{} + emptyWorkflowAPIServiceSignalWithStartWorkflowExecutionYARPCRequest = &SignalWithStartWorkflowExecutionRequest{} + emptyWorkflowAPIServiceSignalWithStartWorkflowExecutionYARPCResponse = &SignalWithStartWorkflowExecutionResponse{} + emptyWorkflowAPIServiceResetWorkflowExecutionYARPCRequest = &ResetWorkflowExecutionRequest{} + emptyWorkflowAPIServiceResetWorkflowExecutionYARPCResponse = &ResetWorkflowExecutionResponse{} + emptyWorkflowAPIServiceRequestCancelWorkflowExecutionYARPCRequest = &RequestCancelWorkflowExecutionRequest{} + emptyWorkflowAPIServiceRequestCancelWorkflowExecutionYARPCResponse = &RequestCancelWorkflowExecutionResponse{} + emptyWorkflowAPIServiceTerminateWorkflowExecutionYARPCRequest = &TerminateWorkflowExecutionRequest{} + emptyWorkflowAPIServiceTerminateWorkflowExecutionYARPCResponse = &TerminateWorkflowExecutionResponse{} + emptyWorkflowAPIServiceDescribeWorkflowExecutionYARPCRequest = &DescribeWorkflowExecutionRequest{} + emptyWorkflowAPIServiceDescribeWorkflowExecutionYARPCResponse = &DescribeWorkflowExecutionResponse{} + emptyWorkflowAPIServiceQueryWorkflowYARPCRequest = &QueryWorkflowRequest{} + emptyWorkflowAPIServiceQueryWorkflowYARPCResponse = &QueryWorkflowResponse{} + emptyWorkflowAPIServiceDescribeTaskListYARPCRequest = &DescribeTaskListRequest{} + emptyWorkflowAPIServiceDescribeTaskListYARPCResponse = &DescribeTaskListResponse{} + emptyWorkflowAPIServiceGetTaskListsByDomainYARPCRequest = &GetTaskListsByDomainRequest{} + emptyWorkflowAPIServiceGetTaskListsByDomainYARPCResponse = &GetTaskListsByDomainResponse{} + emptyWorkflowAPIServiceListTaskListPartitionsYARPCRequest = &ListTaskListPartitionsRequest{} + emptyWorkflowAPIServiceListTaskListPartitionsYARPCResponse = &ListTaskListPartitionsResponse{} + emptyWorkflowAPIServiceGetClusterInfoYARPCRequest = &GetClusterInfoRequest{} + emptyWorkflowAPIServiceGetClusterInfoYARPCResponse = &GetClusterInfoResponse{} + emptyWorkflowAPIServiceGetWorkflowExecutionHistoryYARPCRequest = &GetWorkflowExecutionHistoryRequest{} + emptyWorkflowAPIServiceGetWorkflowExecutionHistoryYARPCResponse = &GetWorkflowExecutionHistoryResponse{} +) + +var yarpcFileDescriptorClosure674d14d2fee4e473 = [][]byte{ + // uber/cadence/api/v1/service_workflow.proto + []byte{ + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0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0xa4, 0xb9, 0xc7, 0x2b, 0xd8, 0x92, + 0xa5, 0x6d, 0x68, 0xc1, 0x96, 0x1c, 0xd1, 0x44, 0x32, 0x98, 0x1b, 0x6c, 0xa2, 0xc8, 0xbd, 0x22, + 0x47, 0xce, 0xf6, 0x60, 0x8d, 0xf7, 0xce, 0xc5, 0xab, 0x55, 0xfd, 0xde, 0x52, 0x03, 0x59, 0xd1, + 0xed, 0x4c, 0x1e, 0x17, 0x09, 0x1b, 0xd1, 0x5d, 0x35, 0x9e, 0x5c, 0x1c, 0x98, 0x99, 0xf4, 0xec, + 0x33, 0x58, 0xf2, 0xa2, 0x8e, 0x09, 0xfe, 0xac, 0xba, 0x11, 0xb3, 0x6d, 0x1e, 0x89, 0x68, 0xdb, + 0xfa, 0xc9, 0x5a, 0x9b, 0x89, 0x83, 0x74, 0xaf, 0xe9, 0x45, 0x9d, 0xb5, 0x81, 0x3f, 0xc6, 0x9b, + 0x6d, 0x0c, 0xb3, 0x7f, 0xf3, 0xf5, 0x7f, 0xe4, 0x1f, 0xd2, 0x98, 0x1d, 0x3f, 0xd8, 0x9b, 0x54, + 0xb4, 0x87, 0xff, 0x09, 0x00, 0x00, 0xff, 0xff, 0x93, 0xb0, 0xf6, 0x4b, 0x32, 0x20, 0x00, 0x00, + }, + // google/protobuf/duration.proto + []byte{ + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4b, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x2f, 0x28, 0xca, 0x2f, 0xc9, 0x4f, 0x2a, 0x4d, 0xd3, 0x4f, 0x29, 0x2d, 0x4a, + 0x2c, 0xc9, 0xcc, 0xcf, 0xd3, 0x03, 0x8b, 0x08, 0xf1, 0x43, 0xe4, 0xf5, 0x60, 0xf2, 0x4a, 0x56, + 0x5c, 0x1c, 0x2e, 0x50, 0x25, 0x42, 0x12, 0x5c, 0xec, 0xc5, 0xa9, 0xc9, 0xf9, 0x79, 0x29, 0xc5, + 0x12, 0x8c, 0x0a, 0x8c, 0x1a, 0xcc, 0x41, 0x30, 0xae, 0x90, 0x08, 0x17, 0x6b, 0x5e, 0x62, 0x5e, + 0x7e, 0xb1, 0x04, 0x93, 0x02, 0xa3, 0x06, 0x6b, 0x10, 0x84, 0xe3, 0xd4, 0xcc, 0xc8, 0x25, 0x9c, + 0x9c, 0x9f, 0xab, 0x87, 0x66, 0xa6, 0x13, 0x2f, 0xcc, 0xc4, 0x00, 0x90, 0x48, 0x00, 0x63, 0x94, + 0x21, 0x54, 0x45, 0x7a, 0x7e, 0x4e, 0x62, 0x5e, 0xba, 0x5e, 0x7e, 0x51, 0x3a, 0xc2, 0x81, 0x25, + 0x95, 0x05, 0xa9, 0xc5, 0xfa, 0xd9, 0x79, 0xf9, 0xe5, 0x79, 0x70, 0xc7, 0x16, 0x24, 0xfd, 0x60, + 0x64, 0x5c, 0xc4, 0xc4, 0xec, 0x1e, 0xe0, 0xb4, 0x8a, 0x49, 0xce, 0x1d, 0xa2, 0x39, 0x00, 0xaa, + 0x43, 0x2f, 0x3c, 0x35, 0x27, 0xc7, 0x1b, 0xa4, 0x3e, 0x04, 0xa4, 0x35, 0x89, 0x0d, 0x6c, 0x94, + 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0xef, 0x8a, 0xb4, 0xc3, 0xfb, 0x00, 0x00, 0x00, + }, + // uber/cadence/api/v1/common.proto + []byte{ + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x55, 0x4f, 0x6f, 0xdb, 0x36, + 0x14, 0x9f, 0xe2, 0xda, 0x49, 0x9f, 0xdd, 0xd4, 0x63, 0xd6, 0xd4, 0xc9, 0xfe, 0x79, 0x06, 0x86, + 0x66, 0x3b, 0x48, 0x88, 0x7b, 0x29, 0x56, 0x14, 0x83, 0x13, 0x3b, 0xab, 0xda, 0x2d, 0x31, 0x64, + 0x23, 0xc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c7, 0x64, 0x4f, 0x91, 0x97, 0x3f, + 0x1b, 0xf3, 0x8f, 0x7a, 0x49, 0x53, 0x36, 0x3f, 0x9d, 0xd4, 0x8a, 0xda, 0xf3, 0xbf, 0x03, 0x00, + 0x00, 0xff, 0xff, 0xdc, 0x8c, 0x77, 0x9a, 0xc7, 0x06, 0x00, 0x00, + }, + // uber/cadence/api/v1/history.proto + []byte{ + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x5c, 0x5f, 0x6c, 0x1c, 0x57, + 0xd5, 0xef, 0xec, 0xda, 0xbb, 0xde, 0xb3, 0x8e, 0x63, 0xdf, 0x24, 0x8e, 0x9d, 0xbf, 0xce, 0x24, + 0x4d, 0x5c, 0xc7, 0x59, 0x27, 0x4e, 0x9a, 0x7c, 0x69, 0xbe, 0xb6, 0x38, 0x8e, 0xad, 0xae, 0x64, + 0x92, 0x68, 0xe2, 0xa4, 0x80, 0x90, 0x96, 0xf1, 0xcc, 0x75, 0x3c, 0xf2, 0xee, 0xcc, 0x76, 0x66, + 0xd6, 0x1b, 0x23, 0xf1, 0xc4, 0x03, 0x12, 0x6a, 0x05, 0x55, 0x85, 0x44, 0x05, 0x08, 0x84, 0x04, + 0x6a, 0x11, 0x52, 0x11, 0x08, 0x01, 0xe2, 0x05, 0x90, 0x10, 0x48, 0xa0, 0xc2, 0x13, 0x2f, 0x3c, + 0xc0, 0x03, 0x0f, 0xf4, 0x8d, 0x07, 0xca, 0x1b, 0x12, 0x9a, 0x3b, 0x77, 0x76, 0x77, 0x66, 0xee, + 0x9d, 0xb9, 0xb3, 0xde, 0xb4, 0xa0, 0xe6, 0xcd, 0x73, 0xe7, 0xdc, 0x33, 0xbf, 0x7b, 0xee, 0x39, + 0xe7, 0x9e, 0x7b, 0xce, 0x59, 0xc3, 0xa9, 0xd6, 0x06, 0xb6, 0x17, 0x34, 0x55, 0xc7, 0xa6, 0x86, + 0x17, 0xd4, 0xa6, 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0x36, 0x89, 0xd7, 0x9d, 0x70, 0x12, 0xca, 0xb4, 0x3f, + 0xa4, 0x57, 0x04, 0xfe, 0x10, 0x11, 0x41, 0xc7, 0xa9, 0xe7, 0xc4, 0x9d, 0x7a, 0x42, 0x9e, 0x5a, + 0xfe, 0xaa, 0x04, 0x73, 0x19, 0x3a, 0x72, 0xba, 0xf9, 0x54, 0x29, 0x94, 0x4f, 0xed, 0x77, 0x67, + 0x92, 0xa0, 0xfd, 0x32, 0x07, 0x2f, 0xec, 0xad, 0x2b, 0x79, 0x60, 0x3a, 0xdf, 0xcd, 0xd5, 0xe5, + 0x42, 0xb9, 0xba, 0xfb, 0x80, 0xe2, 0xdd, 0x2f, 0xd4, 0xbe, 0xcf, 0x8a, 0x75, 0xb8, 0x2a, 0x13, + 0xb1, 0x16, 0x56, 0x34, 0x05, 0x45, 0xcd, 0x32, 0x5d, 0xdb, 0xaa, 0x13, 0x45, 0x1b, 0x55, 0x82, + 0x47, 0x54, 0x81, 0x03, 0x91, 0x46, 0x2e, 0xcb, 0xac, 0xfb, 0x91, 0xf9, 0x88, 0x32, 0x11, 0xea, + 0xaf, 0xba, 0x63, 0xd6, 0x77, 0xe5, 0x37, 0xf2, 0x70, 0x63, 0x0f, 0x5d, 0xcf, 0xe8, 0x7e, 0xaf, + 0xdf, 0x1b, 0xe3, 0xfc, 0xa6, 0x40, 0x88, 0x73, 0x28, 0xed, 0x3c, 0xa0, 0xfb, 0x24, 0x37, 0x87, + 0xca, 0xde, 0x97, 0xa1, 0xbd, 0xee, 0xcb, 0x3c, 0xa0, 0x68, 0xaf, 0x19, 0xad, 0x50, 0xe4, 0x95, + 0x71, 0x23, 0xa4, 0x84, 0x7e, 0x0a, 0x2b, 0xd8, 0xc5, 0x42, 0x68, 0x17, 0xe5, 0x3f, 0x49, 0x70, + 0xad, 0xcf, 0x96, 0x6d, 0x0e, 0x06, 0x89, 0x83, 0xe1, 0x83, 0x55, 0x5c, 0xf9, 0x4b, 0x79, 0xb8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, 0x13, 0xc1, 0x27, 0xb6, + 0xb0, 0x14, 0xfa, 0xe9, 0x7d, 0xff, 0x45, 0x0e, 0x16, 0x32, 0xfe, 0x42, 0xf4, 0xc9, 0x3e, 0x84, + 0xf6, 0x61, 0xce, 0x85, 0xfd, 0xe4, 0xcf, 0x55, 0xa3, 0xee, 0x62, 0x9b, 0x7c, 0xea, 0x38, 0x4c, + 0xaf, 0x3c, 0x58, 0xb9, 0xbd, 0x5e, 0x5b, 0xad, 0xae, 0xad, 0xaf, 0x28, 0xb5, 0xf5, 0x4f, 0xde, + 0x5d, 0xa9, 0x55, 0x6f, 0x3f, 0x58, 0x5a, 0xab, 0xde, 0x1a, 0x7f, 0x0a, 0x9d, 0x84, 0xa3, 0xf1, + 0xd7, 0x4b, 0x6b, 0x6b, 0x35, 0x32, 0x3a, 0x2e, 0xa1, 0x53, 0x70, 0x3c, 0x4e, 0xb0, 0xbc, 0x76, + 0xe7, 0xde, 0x0a, 0x25, 0xc9, 0xdd, 0x7c, 0x00, 0x87, 0x35, 0xab, 0xc1, 0x92, 0xc1, 0xcd, 0x91, + 0xa5, 0xa6, 0x71, 0xd7, 0x0b, 0x61, 0xef, 0x4a, 0x9f, 0x5a, 0x78, 0x68, 0xb8, 0x5b, 0xad, 0x8d, + 0x8a, 0x66, 0x35, 0x16, 0x42, 0xff, 0xe7, 0xb4, 0xf2, 0x10, 0x9b, 0xfe, 0x7f, 0x56, 0xa5, 0xff, + 0xf2, 0xf4, 0x86, 0xda, 0x34, 0x76, 0x2e, 0x6d, 0x14, 0xc8, 0xd8, 0xe5, 0xff, 0x04, 0x00, 0x00, + 0xff, 0xff, 0xee, 0x07, 0x38, 0xbd, 0xd5, 0x55, 0x00, 0x00, + }, + // google/protobuf/timestamp.proto + []byte{ + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4f, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x2f, 0x28, 0xca, 0x2f, 0xc9, 0x4f, 0x2a, 0x4d, 0xd3, 0x2f, 0xc9, 0xcc, 0x4d, + 0x2d, 0x2e, 0x49, 0xcc, 0x2d, 0xd0, 0x03, 0x0b, 0x09, 0xf1, 0x43, 0x14, 0xe8, 0xc1, 0x14, 0x28, + 0x59, 0x73, 0x71, 0x86, 0xc0, 0xd4, 0x08, 0x49, 0x70, 0xb1, 0x17, 0xa7, 0x26, 0xe7, 0xe7, 0xa5, + 0x14, 0x4b, 0x30, 0x2a, 0x30, 0x6a, 0x30, 0x07, 0xc1, 0xb8, 0x42, 0x22, 0x5c, 0xac, 0x79, 0x89, + 0x79, 0xf9, 0xc5, 0x12, 0x4c, 0x0a, 0x8c, 0x1a, 0xac, 0x41, 0x10, 0x8e, 0x53, 0x2b, 0x23, 0x97, + 0x70, 0x72, 0x7e, 0xae, 0x1e, 0x9a, 0xa1, 0x4e, 0x7c, 0x70, 0x23, 0x03, 0x40, 0x42, 0x01, 0x8c, + 0x51, 0x46, 0x50, 0x25, 0xe9, 0xf9, 0x39, 0x89, 0x79, 0xe9, 0x7a, 0xf9, 0x45, 0xe9, 0x48, 0x6e, + 0xac, 0x2c, 0x48, 0x2d, 0xd6, 0xcf, 0xce, 0xcb, 0x2f, 0xcf, 0x43, 0xb8, 0xb7, 0x20, 0xe9, 0x07, + 0x23, 0xe3, 0x22, 0x26, 0x66, 0xf7, 0x00, 0xa7, 0x55, 0x4c, 0x72, 0xee, 0x10, 0xdd, 0x01, 0x50, + 0x2d, 0x7a, 0xe1, 0xa9, 0x39, 0x39, 0xde, 0x20, 0x0d, 0x21, 0x20, 0xbd, 0x49, 0x6c, 0x60, 0xb3, + 0x8c, 0x01, 0x01, 0x00, 0x00, 0xff, 0xff, 0xae, 0x65, 0xce, 0x7d, 0xff, 0x00, 0x00, 0x00, + }, + // uber/cadence/api/v1/tasklist.proto + []byte{ + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0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37, 0x00, 0x00, + 0xff, 0xff, 0x58, 0x62, 0x2b, 0xbf, 0x55, 0x05, 0x00, 0x00, + }, + // google/protobuf/wrappers.proto + []byte{ + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4b, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x2f, 0x28, 0xca, 0x2f, 0xc9, 0x4f, 0x2a, 0x4d, 0xd3, 0x2f, 0x2f, 0x4a, 0x2c, + 0x28, 0x48, 0x2d, 0x2a, 0xd6, 0x03, 0x8b, 0x08, 0xf1, 0x43, 0xe4, 0xf5, 0x60, 0xf2, 0x4a, 0xca, + 0x5c, 0xdc, 0x2e, 0xf9, 0xa5, 0x49, 0x39, 0xa9, 0x61, 0x89, 0x39, 0xa5, 0xa9, 0x42, 0x22, 0x5c, + 0xac, 0x65, 0x20, 0x86, 0x04, 0xa3, 0x02, 0xa3, 0x06, 0x63, 0x10, 0x84, 0xa3, 0xa4, 0xc4, 0xc5, + 0xe5, 0x96, 0x93, 0x9f, 0x58, 0x82, 0x45, 0x0d, 0x13, 0x92, 0x1a, 0xcf, 0xbc, 0x12, 0x33, 0x13, + 0x2c, 0x6a, 0x98, 0x61, 0x6a, 0x94, 0xb9, 0xb8, 0x43, 0x71, 0x29, 0x62, 0x41, 0x35, 0xc8, 0xd8, + 0x08, 0x8b, 0x1a, 0x56, 0x34, 0x83, 0xb0, 0x2a, 0xe2, 0x85, 0x29, 0x52, 0xe4, 0xe2, 0x74, 0xca, + 0xcf, 0xcf, 0xc1, 0xa2, 0x84, 0x03, 0xc9, 0x9c, 0xe0, 0x92, 0xa2, 0xcc, 0xbc, 0x74, 0x2c, 0x8a, + 0x38, 0x91, 0x1c, 0xe4, 0x54, 0x59, 0x92, 0x5a, 0x8c, 0x45, 0x0d, 0x0f, 0x54, 0x8d, 0x53, 0x33, + 0x23, 0x97, 0x70, 0x72, 0x7e, 0xae, 0x1e, 0x5a, 0xf0, 0x3a, 0xf1, 0x86, 0x43, 0xc3, 0x3f, 0x00, + 0x24, 0x12, 0xc0, 0x18, 0x65, 0x08, 0x55, 0x91, 0x9e, 0x9f, 0x93, 0x98, 0x97, 0xae, 0x97, 0x5f, + 0x94, 0x8e, 0x88, 0xab, 0x92, 0xca, 0x82, 0xd4, 0x62, 0xfd, 0xec, 0xbc, 0xfc, 0xf2, 0x3c, 0x78, + 0xbc, 0x15, 0x24, 0xfd, 0x60, 0x64, 0x5c, 0xc4, 0xc4, 0xec, 0x1e, 0xe0, 0xb4, 0x8a, 0x49, 0xce, + 0x1d, 0xa2, 0x39, 0x00, 0xaa, 0x43, 0x2f, 0x3c, 0x35, 0x27, 0xc7, 0x1b, 0xa4, 0x3e, 0x04, 0xa4, + 0x35, 0x89, 0x0d, 0x6c, 0x94, 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0x3c, 0x92, 0x48, 0x30, 0x06, + 0x02, 0x00, 0x00, + }, + // uber/cadence/api/v1/workflow.proto + []byte{ + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x59, 0x4d, 0x6f, 0xdb, 0xca, + 0xd5, 0x7e, 0x29, 0xd9, 0x8e, 0x7d, 0xe4, 0x0f, 0x7a, 0x1c, 0xc7, 0xca, 0xb7, 0xa3, 0xfb, 0x26, + 0x71, 0xd4, 0x1b, 0xf9, 0x3a, 0xb9, 0xb9, 0x69, 0x6e, 0x9a, 0xa6, 0x34, 0x49, 0xc7, 0x4c, 0x64, + 0x4a, 0x1d, 0x51, 0x71, 0x7c, 0x51, 0x94, 0xa0, 0xa5, 0xb1, 0x4d, 0x44, 0x22, 0x05, 0x72, 0x94, + 0xc4, 0xfb, 0x02, 0x5d, 0x77, 0x57, 0xb4, 0x9b, 0xfe, 0x80, 0x02, 0x45, 0x7f, 0x40, 0xd1, 0xa2, + 0x8b, 0xee, 0xba, 0xed, 0xb2, 0xfb, 0xfe, 0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0xc7, 0x63, 0x8f, 0xff, 0x1d, + 0x00, 0x00, 0xff, 0xff, 0x1c, 0xfe, 0xdc, 0x7d, 0x4a, 0x1d, 0x00, 0x00, + }, + // uber/cadence/api/v1/query.proto + []byte{ + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x53, 0x4d, 0x6f, 0xd3, 0x40, + 0x14, 0xc4, 0x41, 0xaa, 0xe8, 0x6b, 0x0b, 0xd6, 0x16, 0x44, 0xa8, 0xfa, 0x11, 0xa5, 0x3d, 0x54, + 0x11, 0xb2, 0x49, 0xe1, 0xd6, 0x93, 0xeb, 0x2c, 0xc8, 0xc8, 0xb5, 0x5d, 0x7b, 0x93, 0x2a, 0x5c, + 0x2c, 0xc7, 0x59, 0x82, 0x69, 0xe2, 0x35, 0xbb, 0x76, 0x42, 0xfe, 0x00, 0x77, 0x7e, 0x0d, 0x7f, + 0x0f, 0xd9, 0x71, 0x48, 0x4a, 0x5c, 0xc4, 0xed, 0x79, 0xde, 0x8c, 0x67, 0x46, 0xab, 0x07, 0x27, + 0xd9, 0x80, 0x72, 0x35, 0x0c, 0x86, 0x34, 0x0e, 0xa9, 0x1a, 0x24, 0x91, 0x3a, 0x6d, 0xab, 0xdf, + 0x32, 0xca, 0xe7, 0x4a, 0xc2, 0x59, 0xca, 0xd0, 0x7e, 0x4e, 0x50, 0x4a, 0x82, 0x12, 0x24, 0x91, + 0x32, 0x6d, 0x1f, 0x34, 0xaa, 0x54, 0x21, 0x9b, 0x4c, 0x58, 0xbc, 0x90, 0x1d, 0x34, 0xab, 0x18, + 0x33, 0xc6, 0xef, 0x3e, 0x8f, 0xd9, 0x6c, 0xc1, 0x69, 0xde, 0xc1, 0xde, 0x6d, 0x89, 0xdc, 0xe4, + 0x8e, 0xe8, 0x08, 0xa0, 0xb0, 0xf6, 0xd3, 0x79, 0x42, 0xeb, 0x52, 0x43, 0x3a, 0xdf, 0x76, 0xb7, + 0x0b, 0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d, 0xf9, 0x10, + 0xf7, 0x03, 0x00, 0x00, + }, +} + +func init() { + yarpc.RegisterClientBuilder( + func(clientConfig transport.ClientConfig, structField reflect.StructField) WorkflowAPIYARPCClient { + return NewWorkflowAPIYARPCClient(clientConfig, protobuf.ClientBuilderOptions(clientConfig, structField)...) + }, + ) +} diff --git a/go/proto/api/v1/tasklist.pb.go b/go/proto/api/v1/tasklist.pb.go new file mode 100644 index 0000000..d5006c6 --- /dev/null +++ b/go/proto/api/v1/tasklist.pb.go @@ -0,0 +1,1946 @@ +// The MIT License (MIT) +// +// Copyright (c) 2021 Uber Technologies, Inc. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +// SOFTWARE. + +// Code generated by protoc-gen-gogo. DO NOT EDIT. +// source: uber/cadence/api/v1/tasklist.proto + +package apiv1 + +import ( + encoding_binary "encoding/binary" + fmt "fmt" + proto "github.com/gogo/protobuf/proto" + types "github.com/gogo/protobuf/types" + io "io" + math "math" + math_bits "math/bits" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package + +type TaskListKind int32 + +const ( + TaskListKind_TASK_LIST_KIND_INVALID TaskListKind = 0 + TaskListKind_TASK_LIST_KIND_NORMAL TaskListKind = 1 + TaskListKind_TASK_LIST_KIND_STICKY TaskListKind = 2 +) + +var TaskListKind_name = map[int32]string{ + 0: "TASK_LIST_KIND_INVALID", + 1: "TASK_LIST_KIND_NORMAL", + 2: "TASK_LIST_KIND_STICKY", +} + +var TaskListKind_value = map[string]int32{ + "TASK_LIST_KIND_INVALID": 0, + "TASK_LIST_KIND_NORMAL": 1, + "TASK_LIST_KIND_STICKY": 2, +} + +func (x TaskListKind) String() string { + return proto.EnumName(TaskListKind_name, int32(x)) +} + +func (TaskListKind) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_216fa006947e00a0, []int{0} +} + +type TaskListType int32 + +const ( + TaskListType_TASK_LIST_TYPE_INVALID TaskListType = 0 + TaskListType_TASK_LIST_TYPE_DECISION TaskListType = 1 + TaskListType_TASK_LIST_TYPE_ACTIVITY TaskListType = 2 +) + +var TaskListType_name = map[int32]string{ + 0: "TASK_LIST_TYPE_INVALID", + 1: "TASK_LIST_TYPE_DECISION", + 2: "TASK_LIST_TYPE_ACTIVITY", +} + +var TaskListType_value = map[string]int32{ + "TASK_LIST_TYPE_INVALID": 0, + "TASK_LIST_TYPE_DECISION": 1, + "TASK_LIST_TYPE_ACTIVITY": 2, +} + +func (x TaskListType) String() string { + return proto.EnumName(TaskListType_name, int32(x)) +} + +func (TaskListType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_216fa006947e00a0, []int{1} +} + +type TaskList struct { + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Kind TaskListKind `protobuf:"varint,2,opt,name=kind,proto3,enum=uber.cadence.api.v1.TaskListKind" json:"kind,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *TaskList) Reset() { *m = TaskList{} } +func (m *TaskList) String() string { return proto.CompactTextString(m) } +func (*TaskList) ProtoMessage() {} +func (*TaskList) Descriptor() ([]byte, []int) { + return fileDescriptor_216fa006947e00a0, []int{0} +} +func (m *TaskList) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *TaskList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_TaskList.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *TaskList) XXX_Merge(src proto.Message) { + xxx_messageInfo_TaskList.Merge(m, src) +} +func (m *TaskList) XXX_Size() int { + return m.Size() +} +func (m *TaskList) XXX_DiscardUnknown() { + xxx_messageInfo_TaskList.DiscardUnknown(m) +} + +var xxx_messageInfo_TaskList proto.InternalMessageInfo + +func (m *TaskList) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *TaskList) GetKind() TaskListKind { + if m != nil { + return m.Kind + } + return TaskListKind_TASK_LIST_KIND_INVALID +} + +type TaskListMetadata struct { + MaxTasksPerSecond *types.DoubleValue `protobuf:"bytes,1,opt,name=max_tasks_per_second,json=maxTasksPerSecond,proto3" json:"max_tasks_per_second,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *TaskListMetadata) Reset() { *m = TaskListMetadata{} } +func (m *TaskListMetadata) String() string { return proto.CompactTextString(m) } +func (*TaskListMetadata) ProtoMessage() {} +func (*TaskListMetadata) Descriptor() ([]byte, []int) { + return fileDescriptor_216fa006947e00a0, []int{1} +} +func (m *TaskListMetadata) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *TaskListMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_TaskListMetadata.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *TaskListMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_TaskListMetadata.Merge(m, src) +} +func (m *TaskListMetadata) XXX_Size() int { + return m.Size() +} +func (m *TaskListMetadata) XXX_DiscardUnknown() { + xxx_messageInfo_TaskListMetadata.DiscardUnknown(m) +} + +var xxx_messageInfo_TaskListMetadata proto.InternalMessageInfo + +func (m *TaskListMetadata) GetMaxTasksPerSecond() *types.DoubleValue { + if m != nil { + return m.MaxTasksPerSecond + } + return nil +} + +type TaskListPartitionMetadata struct { + Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + OwnerHostName string `protobuf:"bytes,2,opt,name=owner_host_name,json=ownerHostName,proto3" json:"owner_host_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *TaskListPartitionMetadata) Reset() { *m = TaskListPartitionMetadata{} } +func (m *TaskListPartitionMetadata) String() string { return proto.CompactTextString(m) } +func (*TaskListPartitionMetadata) ProtoMessage() {} +func (*TaskListPartitionMetadata) Descriptor() ([]byte, []int) { + return fileDescriptor_216fa006947e00a0, []int{2} +} +func (m *TaskListPartitionMetadata) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *TaskListPartitionMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_TaskListPartitionMetadata.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *TaskListPartitionMetadata) XXX_Merge(src proto.Message) { + xxx_messageInfo_TaskListPartitionMetadata.Merge(m, src) +} +func (m *TaskListPartitionMetadata) XXX_Size() int { + return m.Size() +} +func (m *TaskListPartitionMetadata) XXX_DiscardUnknown() { + xxx_messageInfo_TaskListPartitionMetadata.DiscardUnknown(m) +} + +var xxx_messageInfo_TaskListPartitionMetadata proto.InternalMessageInfo + +func (m *TaskListPartitionMetadata) GetKey() string { + if m != nil { + return m.Key + } + return "" +} + +func (m *TaskListPartitionMetadata) GetOwnerHostName() string { + if m != nil { + return m.OwnerHostName + } + return "" +} + +type TaskListStatus struct { + BacklogCountHint int64 `protobuf:"varint,1,opt,name=backlog_count_hint,json=backlogCountHint,proto3" json:"backlog_count_hint,omitempty"` + ReadLevel int64 `protobuf:"varint,2,opt,name=read_level,json=readLevel,proto3" json:"read_level,omitempty"` + AckLevel int64 `protobuf:"varint,3,opt,name=ack_level,json=ackLevel,proto3" json:"ack_level,omitempty"` + RatePerSecond float64 `protobuf:"fixed64,4,opt,name=rate_per_second,json=ratePerSecond,proto3" json:"rate_per_second,omitempty"` + TaskIdBlock *TaskIDBlock `protobuf:"bytes,5,opt,name=task_id_block,json=taskIdBlock,proto3" json:"task_id_block,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *TaskListStatus) Reset() { *m = TaskListStatus{} } +func (m *TaskListStatus) String() string { return proto.CompactTextString(m) } +func (*TaskListStatus) ProtoMessage() {} +func (*TaskListStatus) Descriptor() ([]byte, []int) { + return fileDescriptor_216fa006947e00a0, []int{3} +} +func (m *TaskListStatus) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *TaskListStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_TaskListStatus.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *TaskListStatus) XXX_Merge(src proto.Message) { + xxx_messageInfo_TaskListStatus.Merge(m, src) +} +func (m *TaskListStatus) XXX_Size() int { + return m.Size() +} +func (m *TaskListStatus) XXX_DiscardUnknown() { + xxx_messageInfo_TaskListStatus.DiscardUnknown(m) +} + +var xxx_messageInfo_TaskListStatus proto.InternalMessageInfo + +func (m *TaskListStatus) GetBacklogCountHint() int64 { + if m != nil { + return m.BacklogCountHint + } + return 0 +} + +func (m *TaskListStatus) GetReadLevel() int64 { + if m != nil { + return m.ReadLevel + } + return 0 +} + +func (m *TaskListStatus) GetAckLevel() int64 { + if m != nil { + return m.AckLevel + } + return 0 +} + +func (m *TaskListStatus) GetRatePerSecond() float64 { + if m != nil { + return m.RatePerSecond + } + return 0 +} + +func (m *TaskListStatus) GetTaskIdBlock() *TaskIDBlock { + if m != nil { + return m.TaskIdBlock + } + return nil +} + +type TaskIDBlock struct { + StartId int64 `protobuf:"varint,1,opt,name=start_id,json=startId,proto3" json:"start_id,omitempty"` + EndId int64 `protobuf:"varint,2,opt,name=end_id,json=endId,proto3" json:"end_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *TaskIDBlock) Reset() { *m = TaskIDBlock{} } +func (m *TaskIDBlock) String() string { return proto.CompactTextString(m) } +func (*TaskIDBlock) ProtoMessage() {} +func (*TaskIDBlock) Descriptor() ([]byte, []int) { + return fileDescriptor_216fa006947e00a0, []int{4} +} +func (m *TaskIDBlock) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *TaskIDBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_TaskIDBlock.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *TaskIDBlock) XXX_Merge(src proto.Message) { + xxx_messageInfo_TaskIDBlock.Merge(m, src) +} +func (m *TaskIDBlock) XXX_Size() int { + return m.Size() +} +func (m *TaskIDBlock) XXX_DiscardUnknown() { + xxx_messageInfo_TaskIDBlock.DiscardUnknown(m) +} + +var xxx_messageInfo_TaskIDBlock proto.InternalMessageInfo + +func (m *TaskIDBlock) GetStartId() int64 { + if m != nil { + return m.StartId + } + return 0 +} + +func (m *TaskIDBlock) GetEndId() int64 { + if m != nil { + return m.EndId + } + return 0 +} + +type PollerInfo struct { + LastAccessTime *types.Timestamp `protobuf:"bytes,1,opt,name=last_access_time,json=lastAccessTime,proto3" json:"last_access_time,omitempty"` + Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` + RatePerSecond float64 `protobuf:"fixed64,3,opt,name=rate_per_second,json=ratePerSecond,proto3" json:"rate_per_second,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *PollerInfo) Reset() { *m = PollerInfo{} } +func (m *PollerInfo) String() string { return proto.CompactTextString(m) } +func (*PollerInfo) ProtoMessage() {} +func (*PollerInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_216fa006947e00a0, []int{5} +} +func (m *PollerInfo) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *PollerInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_PollerInfo.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *PollerInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_PollerInfo.Merge(m, src) +} +func (m *PollerInfo) XXX_Size() int { + return m.Size() +} +func (m *PollerInfo) XXX_DiscardUnknown() { + xxx_messageInfo_PollerInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_PollerInfo proto.InternalMessageInfo + +func (m *PollerInfo) GetLastAccessTime() *types.Timestamp { + if m != nil { + return m.LastAccessTime + } + return nil +} + +func (m *PollerInfo) GetIdentity() string { + if m != nil { + return m.Identity + } + return "" +} + +func (m *PollerInfo) GetRatePerSecond() float64 { + if m != nil { + return m.RatePerSecond + } + return 0 +} + +type StickyExecutionAttributes struct { + WorkerTaskList *TaskList `protobuf:"bytes,1,opt,name=worker_task_list,json=workerTaskList,proto3" json:"worker_task_list,omitempty"` + ScheduleToStartTimeout *types.Duration `protobuf:"bytes,2,opt,name=schedule_to_start_timeout,json=scheduleToStartTimeout,proto3" json:"schedule_to_start_timeout,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *StickyExecutionAttributes) Reset() { *m = StickyExecutionAttributes{} } +func (m *StickyExecutionAttributes) String() string { return proto.CompactTextString(m) } +func (*StickyExecutionAttributes) ProtoMessage() {} +func (*StickyExecutionAttributes) Descriptor() ([]byte, []int) { + return fileDescriptor_216fa006947e00a0, []int{6} +} +func (m *StickyExecutionAttributes) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *StickyExecutionAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_StickyExecutionAttributes.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *StickyExecutionAttributes) XXX_Merge(src proto.Message) { + xxx_messageInfo_StickyExecutionAttributes.Merge(m, src) +} +func (m *StickyExecutionAttributes) XXX_Size() int { + return m.Size() +} +func (m *StickyExecutionAttributes) XXX_DiscardUnknown() { + xxx_messageInfo_StickyExecutionAttributes.DiscardUnknown(m) +} + +var xxx_messageInfo_StickyExecutionAttributes proto.InternalMessageInfo + +func (m *StickyExecutionAttributes) GetWorkerTaskList() *TaskList { + if m != nil { + return m.WorkerTaskList + } + return nil +} + +func (m *StickyExecutionAttributes) GetScheduleToStartTimeout() *types.Duration { + if m != nil { + return m.ScheduleToStartTimeout + } + return nil +} + +func init() { + proto.RegisterEnum("uber.cadence.api.v1.TaskListKind", TaskListKind_name, TaskListKind_value) + proto.RegisterEnum("uber.cadence.api.v1.TaskListType", TaskListType_name, TaskListType_value) + proto.RegisterType((*TaskList)(nil), "uber.cadence.api.v1.TaskList") + proto.RegisterType((*TaskListMetadata)(nil), "uber.cadence.api.v1.TaskListMetadata") + proto.RegisterType((*TaskListPartitionMetadata)(nil), "uber.cadence.api.v1.TaskListPartitionMetadata") + proto.RegisterType((*TaskListStatus)(nil), "uber.cadence.api.v1.TaskListStatus") + proto.RegisterType((*TaskIDBlock)(nil), "uber.cadence.api.v1.TaskIDBlock") + proto.RegisterType((*PollerInfo)(nil), "uber.cadence.api.v1.PollerInfo") + proto.RegisterType((*StickyExecutionAttributes)(nil), "uber.cadence.api.v1.StickyExecutionAttributes") +} + +func init() { + proto.RegisterFile("uber/cadence/api/v1/tasklist.proto", fileDescriptor_216fa006947e00a0) +} + +var fileDescriptor_216fa006947e00a0 = []byte{ + // 764 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x54, 0xcb, 0x6e, 0xdc, 0x36, + 0x14, 0xad, 0x3c, 0x4e, 0x3a, 0xa6, 0x6b, 0x47, 0x65, 0x9b, 0xc4, 0x33, 0x69, 0x5c, 0x57, 0x8b, + 0xc0, 0x08, 0x0a, 0x09, 0x76, 0xd1, 0x55, 0x17, 0xc5, 0xd8, 0x63, 0x34, 0x82, 0xc7, 0x93, 0x81, + 0xa4, 0x18, 0x70, 0x37, 0x2c, 0x25, 0xde, 0x8c, 0x09, 0x3d, 0x28, 0x90, 0x94, 0x1f, 0x3f, 0xd2, + 0x8f, 0xe9, 0x17, 0x74, 0xd9, 0x4f, 0x28, 0xbc, 0xea, 0x67, 0x14, 0xa4, 0x34, 0xae, 0x1f, 0xd3, + 0xec, 0xc8, 0x7b, 0xee, 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 0x07, 0xe8, 0xf9, 0x03, 0x6c, 0xfa, 0x3e, 0x3a, 0x19, + 0x4d, 0x5c, 0x67, 0x09, 0x14, 0x27, 0xe1, 0xe1, 0xf1, 0x99, 0xbb, 0xf2, 0x96, 0xfd, 0x97, 0x21, + 0xb9, 0xae, 0xe1, 0x7e, 0x86, 0xe4, 0x6c, 0x76, 0x74, 0x27, 0xc3, 0x2b, 0xf4, 0xf2, 0x01, 0x36, + 0x3e, 0x3a, 0x0c, 0xe3, 0xf0, 0xfd, 0xd4, 0x75, 0x96, 0x80, 0xa3, 0xc3, 0x24, 0x3c, 0x0d, 0x93, + 0x33, 0x77, 0xe5, 0x20, 0xfd, 0xf3, 0x66, 0xdb, 0xf9, 0xeb, 0x66, 0xdb, 0xf9, 0xfb, 0x66, 0xdb, + 0x41, 0x2f, 0x33, 0x51, 0x2e, 0x53, 0xf7, 0xa0, 0x3f, 0xaa, 0xf9, 0xcc, 0x88, 0x33, 0x73, 0x7e, + 0x0d, 0xe6, 0x5c, 0x9f, 0x37, 0xa9, 0x9f, 0x89, 0x32, 0xb8, 0xf7, 0x65, 0xfa, 0x73, 0xa8, 0xda, + 0x3f, 0xac, 0xfb, 0x3d, 0x7f, 0xa2, 0x35, 0xbf, 0xd8, 0x4b, 0x9f, 0x5a, 0xdb, 0x0f, 0xff, 0x06, + 0x00, 0x00, 0xff, 0xff, 0xed, 0xf7, 0x38, 0xe6, 0x61, 0x05, 0x00, 0x00, +} + +func (m *TaskList) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *TaskList) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *TaskList) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.Kind != 0 { + i = encodeVarintTasklist(dAtA, i, uint64(m.Kind)) + i-- + dAtA[i] = 0x10 + } + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarintTasklist(dAtA, i, uint64(len(m.Name))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *TaskListMetadata) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *TaskListMetadata) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *TaskListMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.MaxTasksPerSecond != nil { + { + size, err := m.MaxTasksPerSecond.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTasklist(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *TaskListPartitionMetadata) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *TaskListPartitionMetadata) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *TaskListPartitionMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.OwnerHostName) > 0 { + i -= len(m.OwnerHostName) + copy(dAtA[i:], m.OwnerHostName) + i = encodeVarintTasklist(dAtA, i, uint64(len(m.OwnerHostName))) + i-- + dAtA[i] = 0x12 + } + if len(m.Key) > 0 { + i -= len(m.Key) + copy(dAtA[i:], m.Key) + i = encodeVarintTasklist(dAtA, i, uint64(len(m.Key))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *TaskListStatus) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *TaskListStatus) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *TaskListStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.TaskIdBlock != nil { + { + size, err := m.TaskIdBlock.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTasklist(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a + } + if m.RatePerSecond != 0 { + i -= 8 + encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.RatePerSecond)))) + i-- + dAtA[i] = 0x21 + } + if m.AckLevel != 0 { + i = encodeVarintTasklist(dAtA, i, uint64(m.AckLevel)) + i-- + dAtA[i] = 0x18 + } + if m.ReadLevel != 0 { + i = encodeVarintTasklist(dAtA, i, uint64(m.ReadLevel)) + i-- + dAtA[i] = 0x10 + } + if m.BacklogCountHint != 0 { + i = encodeVarintTasklist(dAtA, i, uint64(m.BacklogCountHint)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *TaskIDBlock) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *TaskIDBlock) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *TaskIDBlock) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.EndId != 0 { + i = encodeVarintTasklist(dAtA, i, uint64(m.EndId)) + i-- + dAtA[i] = 0x10 + } + if m.StartId != 0 { + i = encodeVarintTasklist(dAtA, i, uint64(m.StartId)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *PollerInfo) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *PollerInfo) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *PollerInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.RatePerSecond != 0 { + i -= 8 + encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.RatePerSecond)))) + i-- + dAtA[i] = 0x19 + } + if len(m.Identity) > 0 { + i -= len(m.Identity) + copy(dAtA[i:], m.Identity) + i = encodeVarintTasklist(dAtA, i, uint64(len(m.Identity))) + i-- + dAtA[i] = 0x12 + } + if m.LastAccessTime != nil { + { + size, err := m.LastAccessTime.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTasklist(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *StickyExecutionAttributes) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *StickyExecutionAttributes) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *StickyExecutionAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.ScheduleToStartTimeout != nil { + { + size, err := m.ScheduleToStartTimeout.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTasklist(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if m.WorkerTaskList != nil { + { + size, err := m.WorkerTaskList.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTasklist(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func encodeVarintTasklist(dAtA []byte, offset int, v uint64) int { + offset -= sovTasklist(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *TaskList) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Name) + if l > 0 { + n += 1 + l + sovTasklist(uint64(l)) + } + if m.Kind != 0 { + n += 1 + sovTasklist(uint64(m.Kind)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *TaskListMetadata) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.MaxTasksPerSecond != nil { + l = m.MaxTasksPerSecond.Size() + n += 1 + l + sovTasklist(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *TaskListPartitionMetadata) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Key) + if l > 0 { + n += 1 + l + sovTasklist(uint64(l)) + } + l = len(m.OwnerHostName) + if l > 0 { + n += 1 + l + sovTasklist(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *TaskListStatus) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.BacklogCountHint != 0 { + n += 1 + sovTasklist(uint64(m.BacklogCountHint)) + } + if m.ReadLevel != 0 { + n += 1 + sovTasklist(uint64(m.ReadLevel)) + } + if m.AckLevel != 0 { + n += 1 + sovTasklist(uint64(m.AckLevel)) + } + if m.RatePerSecond != 0 { + n += 9 + } + if m.TaskIdBlock != nil { + l = m.TaskIdBlock.Size() + n += 1 + l + sovTasklist(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *TaskIDBlock) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.StartId != 0 { + n += 1 + sovTasklist(uint64(m.StartId)) + } + if m.EndId != 0 { + n += 1 + sovTasklist(uint64(m.EndId)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *PollerInfo) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.LastAccessTime != nil { + l = m.LastAccessTime.Size() + n += 1 + l + sovTasklist(uint64(l)) + } + l = len(m.Identity) + if l > 0 { + n += 1 + l + sovTasklist(uint64(l)) + } + if m.RatePerSecond != 0 { + n += 9 + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *StickyExecutionAttributes) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.WorkerTaskList != nil { + l = m.WorkerTaskList.Size() + n += 1 + l + sovTasklist(uint64(l)) + } + if m.ScheduleToStartTimeout != nil { + l = m.ScheduleToStartTimeout.Size() + n += 1 + l + sovTasklist(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func sovTasklist(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozTasklist(x uint64) (n int) { + return sovTasklist(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *TaskList) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTasklist + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: TaskList: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: TaskList: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTasklist + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTasklist + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTasklist + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) + } + m.Kind = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTasklist + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Kind |= TaskListKind(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipTasklist(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTasklist + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *TaskListMetadata) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTasklist + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: TaskListMetadata: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: TaskListMetadata: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field MaxTasksPerSecond", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTasklist + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTasklist + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTasklist + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.MaxTasksPerSecond == nil { + m.MaxTasksPerSecond = &types.DoubleValue{} + } + if err := m.MaxTasksPerSecond.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTasklist(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTasklist + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *TaskListPartitionMetadata) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTasklist + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: TaskListPartitionMetadata: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: TaskListPartitionMetadata: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTasklist + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTasklist + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTasklist + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Key = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field OwnerHostName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTasklist + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTasklist + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTasklist + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.OwnerHostName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTasklist(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTasklist + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *TaskListStatus) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTasklist + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: TaskListStatus: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: TaskListStatus: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field BacklogCountHint", wireType) + } + m.BacklogCountHint = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTasklist + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.BacklogCountHint |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ReadLevel", wireType) + } + m.ReadLevel = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTasklist + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ReadLevel |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field AckLevel", wireType) + } + m.AckLevel = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTasklist + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.AckLevel |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 1 { + return fmt.Errorf("proto: wrong wireType = %d for field RatePerSecond", wireType) + } + var v uint64 + if (iNdEx + 8) > l { + return io.ErrUnexpectedEOF + } + v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) + iNdEx += 8 + m.RatePerSecond = float64(math.Float64frombits(v)) + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TaskIdBlock", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTasklist + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTasklist + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTasklist + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.TaskIdBlock == nil { + m.TaskIdBlock = &TaskIDBlock{} + } + if err := m.TaskIdBlock.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTasklist(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTasklist + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *TaskIDBlock) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTasklist + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: TaskIDBlock: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: TaskIDBlock: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field StartId", wireType) + } + m.StartId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTasklist + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.StartId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field EndId", wireType) + } + m.EndId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTasklist + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.EndId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipTasklist(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTasklist + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *PollerInfo) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTasklist + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: PollerInfo: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: PollerInfo: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field LastAccessTime", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTasklist + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTasklist + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTasklist + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.LastAccessTime == nil { + m.LastAccessTime = &types.Timestamp{} + } + if err := m.LastAccessTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Identity", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTasklist + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTasklist + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTasklist + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Identity = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 1 { + return fmt.Errorf("proto: wrong wireType = %d for field RatePerSecond", wireType) + } + var v uint64 + if (iNdEx + 8) > l { + return io.ErrUnexpectedEOF + } + v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) + iNdEx += 8 + m.RatePerSecond = float64(math.Float64frombits(v)) + default: + iNdEx = preIndex + skippy, err := skipTasklist(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTasklist + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *StickyExecutionAttributes) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTasklist + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: StickyExecutionAttributes: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: StickyExecutionAttributes: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkerTaskList", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTasklist + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTasklist + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTasklist + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.WorkerTaskList == nil { + m.WorkerTaskList = &TaskList{} + } + if err := m.WorkerTaskList.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ScheduleToStartTimeout", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTasklist + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTasklist + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTasklist + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.ScheduleToStartTimeout == nil { + m.ScheduleToStartTimeout = &types.Duration{} + } + if err := m.ScheduleToStartTimeout.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTasklist(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTasklist + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func skipTasklist(dAtA []byte) (n int, err error) { + l := len(dAtA) + iNdEx := 0 + depth := 0 + for iNdEx < l { + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowTasklist + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + wireType := int(wire & 0x7) + switch wireType { + case 0: + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowTasklist + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + iNdEx++ + if dAtA[iNdEx-1] < 0x80 { + break + } + } + case 1: + iNdEx += 8 + case 2: + var length int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowTasklist + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + length |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if length < 0 { + return 0, ErrInvalidLengthTasklist + } + iNdEx += length + case 3: + depth++ + case 4: + if depth == 0 { + return 0, ErrUnexpectedEndOfGroupTasklist + } + depth-- + case 5: + iNdEx += 4 + default: + return 0, fmt.Errorf("proto: illegal wireType %d", wireType) + } + if iNdEx < 0 { + return 0, ErrInvalidLengthTasklist + } + if depth == 0 { + return iNdEx, nil + } + } + return 0, io.ErrUnexpectedEOF +} + +var ( + ErrInvalidLengthTasklist = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflowTasklist = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroupTasklist = fmt.Errorf("proto: unexpected end of group") +) diff --git a/go/proto/api/v1/tasklist.pb.yarpc.go b/go/proto/api/v1/tasklist.pb.yarpc.go new file mode 100644 index 0000000..a7a4359 --- /dev/null +++ b/go/proto/api/v1/tasklist.pb.yarpc.go @@ -0,0 +1,129 @@ +// The MIT License (MIT) +// +// Copyright (c) 2021 Uber Technologies, Inc. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +// SOFTWARE. + +// Code generated by protoc-gen-yarpc-go. DO NOT EDIT. +// source: uber/cadence/api/v1/tasklist.proto + +package apiv1 + +var yarpcFileDescriptorClosure216fa006947e00a0 = [][]byte{ + // uber/cadence/api/v1/tasklist.proto + []byte{ + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x54, 0xdd, 0x6e, 0xdb, 0x36, + 0x14, 0x9e, 0xe2, 0xb4, 0x73, 0x98, 0x25, 0xd5, 0xb8, 0xb5, 0x8d, 0xdd, 0x75, 0xcb, 0x74, 0x51, + 0x04, 0xc5, 0x20, 0x21, 0x19, 0x76, 0xb5, 0x8b, 0xc1, 0x89, 0x83, 0x55, 0x88, 0xe3, 0x1a, 0x92, + 0x1a, 0x20, 0xbb, 0xe1, 0x28, 0xf1, 0xd4, 0x21, 0xf4, 0x43, 0x81, 0xa4, 0x92, 0xf8, 0x45, 0xf6, + 0x30, 0x7b, 0xa2, 0x3d, 0xc6, 0x40,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 0x60, 0xf2, 0x4a, 0x56, + 0x5c, 0x1c, 0x2e, 0x50, 0x25, 0x42, 0x12, 0x5c, 0xec, 0xc5, 0xa9, 0xc9, 0xf9, 0x79, 0x29, 0xc5, + 0x12, 0x8c, 0x0a, 0x8c, 0x1a, 0xcc, 0x41, 0x30, 0xae, 0x90, 0x08, 0x17, 0x6b, 0x5e, 0x62, 0x5e, + 0x7e, 0xb1, 0x04, 0x93, 0x02, 0xa3, 0x06, 0x6b, 0x10, 0x84, 0xe3, 0xd4, 0xcc, 0xc8, 0x25, 0x9c, + 0x9c, 0x9f, 0xab, 0x87, 0x66, 0xa6, 0x13, 0x2f, 0xcc, 0xc4, 0x00, 0x90, 0x48, 0x00, 0x63, 0x94, + 0x21, 0x54, 0x45, 0x7a, 0x7e, 0x4e, 0x62, 0x5e, 0xba, 0x5e, 0x7e, 0x51, 0x3a, 0xc2, 0x81, 0x25, + 0x95, 0x05, 0xa9, 0xc5, 0xfa, 0xd9, 0x79, 0xf9, 0xe5, 0x79, 0x70, 0xc7, 0x16, 0x24, 0xfd, 0x60, + 0x64, 0x5c, 0xc4, 0xc4, 0xec, 0x1e, 0xe0, 0xb4, 0x8a, 0x49, 0xce, 0x1d, 0xa2, 0x39, 0x00, 0xaa, + 0x43, 0x2f, 0x3c, 0x35, 0x27, 0xc7, 0x1b, 0xa4, 0x3e, 0x04, 0xa4, 0x35, 0x89, 0x0d, 0x6c, 0x94, + 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0xef, 0x8a, 0xb4, 0xc3, 0xfb, 0x00, 0x00, 0x00, + }, + // google/protobuf/timestamp.proto + []byte{ + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4f, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x2f, 0x28, 0xca, 0x2f, 0xc9, 0x4f, 0x2a, 0x4d, 0xd3, 0x2f, 0xc9, 0xcc, 0x4d, + 0x2d, 0x2e, 0x49, 0xcc, 0x2d, 0xd0, 0x03, 0x0b, 0x09, 0xf1, 0x43, 0x14, 0xe8, 0xc1, 0x14, 0x28, + 0x59, 0x73, 0x71, 0x86, 0xc0, 0xd4, 0x08, 0x49, 0x70, 0xb1, 0x17, 0xa7, 0x26, 0xe7, 0xe7, 0xa5, + 0x14, 0x4b, 0x30, 0x2a, 0x30, 0x6a, 0x30, 0x07, 0xc1, 0xb8, 0x42, 0x22, 0x5c, 0xac, 0x79, 0x89, + 0x79, 0xf9, 0xc5, 0x12, 0x4c, 0x0a, 0x8c, 0x1a, 0xac, 0x41, 0x10, 0x8e, 0x53, 0x2b, 0x23, 0x97, + 0x70, 0x72, 0x7e, 0xae, 0x1e, 0x9a, 0xa1, 0x4e, 0x7c, 0x70, 0x23, 0x03, 0x40, 0x42, 0x01, 0x8c, + 0x51, 0x46, 0x50, 0x25, 0xe9, 0xf9, 0x39, 0x89, 0x79, 0xe9, 0x7a, 0xf9, 0x45, 0xe9, 0x48, 0x6e, + 0xac, 0x2c, 0x48, 0x2d, 0xd6, 0xcf, 0xce, 0xcb, 0x2f, 0xcf, 0x43, 0xb8, 0xb7, 0x20, 0xe9, 0x07, + 0x23, 0xe3, 0x22, 0x26, 0x66, 0xf7, 0x00, 0xa7, 0x55, 0x4c, 0x72, 0xee, 0x10, 0xdd, 0x01, 0x50, + 0x2d, 0x7a, 0xe1, 0xa9, 0x39, 0x39, 0xde, 0x20, 0x0d, 0x21, 0x20, 0xbd, 0x49, 0x6c, 0x60, 0xb3, + 0x8c, 0x01, 0x01, 0x00, 0x00, 0xff, 0xff, 0xae, 0x65, 0xce, 0x7d, 0xff, 0x00, 0x00, 0x00, + }, + // google/protobuf/wrappers.proto + []byte{ + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4b, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x2f, 0x28, 0xca, 0x2f, 0xc9, 0x4f, 0x2a, 0x4d, 0xd3, 0x2f, 0x2f, 0x4a, 0x2c, + 0x28, 0x48, 0x2d, 0x2a, 0xd6, 0x03, 0x8b, 0x08, 0xf1, 0x43, 0xe4, 0xf5, 0x60, 0xf2, 0x4a, 0xca, + 0x5c, 0xdc, 0x2e, 0xf9, 0xa5, 0x49, 0x39, 0xa9, 0x61, 0x89, 0x39, 0xa5, 0xa9, 0x42, 0x22, 0x5c, + 0xac, 0x65, 0x20, 0x86, 0x04, 0xa3, 0x02, 0xa3, 0x06, 0x63, 0x10, 0x84, 0xa3, 0xa4, 0xc4, 0xc5, + 0xe5, 0x96, 0x93, 0x9f, 0x58, 0x82, 0x45, 0x0d, 0x13, 0x92, 0x1a, 0xcf, 0xbc, 0x12, 0x33, 0x13, + 0x2c, 0x6a, 0x98, 0x61, 0x6a, 0x94, 0xb9, 0xb8, 0x43, 0x71, 0x29, 0x62, 0x41, 0x35, 0xc8, 0xd8, + 0x08, 0x8b, 0x1a, 0x56, 0x34, 0x83, 0xb0, 0x2a, 0xe2, 0x85, 0x29, 0x52, 0xe4, 0xe2, 0x74, 0xca, + 0xcf, 0xcf, 0xc1, 0xa2, 0x84, 0x03, 0xc9, 0x9c, 0xe0, 0x92, 0xa2, 0xcc, 0xbc, 0x74, 0x2c, 0x8a, + 0x38, 0x91, 0x1c, 0xe4, 0x54, 0x59, 0x92, 0x5a, 0x8c, 0x45, 0x0d, 0x0f, 0x54, 0x8d, 0x53, 0x33, + 0x23, 0x97, 0x70, 0x72, 0x7e, 0xae, 0x1e, 0x5a, 0xf0, 0x3a, 0xf1, 0x86, 0x43, 0xc3, 0x3f, 0x00, + 0x24, 0x12, 0xc0, 0x18, 0x65, 0x08, 0x55, 0x91, 0x9e, 0x9f, 0x93, 0x98, 0x97, 0xae, 0x97, 0x5f, + 0x94, 0x8e, 0x88, 0xab, 0x92, 0xca, 0x82, 0xd4, 0x62, 0xfd, 0xec, 0xbc, 0xfc, 0xf2, 0x3c, 0x78, + 0xbc, 0x15, 0x24, 0xfd, 0x60, 0x64, 0x5c, 0xc4, 0xc4, 0xec, 0x1e, 0xe0, 0xb4, 0x8a, 0x49, 0xce, + 0x1d, 0xa2, 0x39, 0x00, 0xaa, 0x43, 0x2f, 0x3c, 0x35, 0x27, 0xc7, 0x1b, 0xa4, 0x3e, 0x04, 0xa4, + 0x35, 0x89, 0x0d, 0x6c, 0x94, 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0x3c, 0x92, 0x48, 0x30, 0x06, + 0x02, 0x00, 0x00, + }, +} diff --git a/go/proto/api/v1/visibility.pb.go b/go/proto/api/v1/visibility.pb.go new file mode 100644 index 0000000..a4ecd2f --- /dev/null +++ b/go/proto/api/v1/visibility.pb.go @@ -0,0 +1,1058 @@ +// The MIT License (MIT) +// +// Copyright (c) 2021 Uber Technologies, Inc. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +// SOFTWARE. + +// Code generated by protoc-gen-gogo. DO NOT EDIT. +// source: uber/cadence/api/v1/visibility.proto + +package apiv1 + +import ( + fmt "fmt" + proto "github.com/gogo/protobuf/proto" + types "github.com/gogo/protobuf/types" + io "io" + math "math" + math_bits "math/bits" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package + +type IndexedValueType int32 + +const ( + IndexedValueType_INDEXED_VALUE_TYPE_INVALID IndexedValueType = 0 + IndexedValueType_INDEXED_VALUE_TYPE_STRING IndexedValueType = 1 + IndexedValueType_INDEXED_VALUE_TYPE_KEYWORD IndexedValueType = 2 + IndexedValueType_INDEXED_VALUE_TYPE_INT IndexedValueType = 3 + IndexedValueType_INDEXED_VALUE_TYPE_DOUBLE IndexedValueType = 4 + IndexedValueType_INDEXED_VALUE_TYPE_BOOL IndexedValueType = 5 + IndexedValueType_INDEXED_VALUE_TYPE_DATETIME IndexedValueType = 6 +) + +var IndexedValueType_name = map[int32]string{ + 0: "INDEXED_VALUE_TYPE_INVALID", + 1: "INDEXED_VALUE_TYPE_STRING", + 2: "INDEXED_VALUE_TYPE_KEYWORD", + 3: "INDEXED_VALUE_TYPE_INT", + 4: "INDEXED_VALUE_TYPE_DOUBLE", + 5: "INDEXED_VALUE_TYPE_BOOL", + 6: "INDEXED_VALUE_TYPE_DATETIME", +} + +var IndexedValueType_value = map[string]int32{ + "INDEXED_VALUE_TYPE_INVALID": 0, + "INDEXED_VALUE_TYPE_STRING": 1, + "INDEXED_VALUE_TYPE_KEYWORD": 2, + "INDEXED_VALUE_TYPE_INT": 3, + "INDEXED_VALUE_TYPE_DOUBLE": 4, + "INDEXED_VALUE_TYPE_BOOL": 5, + "INDEXED_VALUE_TYPE_DATETIME": 6, +} + +func (x IndexedValueType) String() string { + return proto.EnumName(IndexedValueType_name, int32(x)) +} + +func (IndexedValueType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_c1b2132ef24217c8, []int{0} +} + +type WorkflowExecutionFilter struct { + WorkflowId string `protobuf:"bytes,1,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"` + RunId string `protobuf:"bytes,2,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *WorkflowExecutionFilter) Reset() { *m = WorkflowExecutionFilter{} } +func (m *WorkflowExecutionFilter) String() string { return proto.CompactTextString(m) } +func (*WorkflowExecutionFilter) ProtoMessage() {} +func (*WorkflowExecutionFilter) Descriptor() ([]byte, []int) { + return fileDescriptor_c1b2132ef24217c8, []int{0} +} +func (m *WorkflowExecutionFilter) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *WorkflowExecutionFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_WorkflowExecutionFilter.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *WorkflowExecutionFilter) XXX_Merge(src proto.Message) { + xxx_messageInfo_WorkflowExecutionFilter.Merge(m, src) +} +func (m *WorkflowExecutionFilter) XXX_Size() int { + return m.Size() +} +func (m *WorkflowExecutionFilter) XXX_DiscardUnknown() { + xxx_messageInfo_WorkflowExecutionFilter.DiscardUnknown(m) +} + +var xxx_messageInfo_WorkflowExecutionFilter proto.InternalMessageInfo + +func (m *WorkflowExecutionFilter) GetWorkflowId() string { + if m != nil { + return m.WorkflowId + } + return "" +} + +func (m *WorkflowExecutionFilter) GetRunId() string { + if m != nil { + return m.RunId + } + return "" +} + +type WorkflowTypeFilter struct { + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *WorkflowTypeFilter) Reset() { *m = WorkflowTypeFilter{} } +func (m *WorkflowTypeFilter) String() string { return proto.CompactTextString(m) } +func (*WorkflowTypeFilter) ProtoMessage() {} +func (*WorkflowTypeFilter) Descriptor() ([]byte, []int) { + return fileDescriptor_c1b2132ef24217c8, []int{1} +} +func (m *WorkflowTypeFilter) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *WorkflowTypeFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_WorkflowTypeFilter.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *WorkflowTypeFilter) XXX_Merge(src proto.Message) { + xxx_messageInfo_WorkflowTypeFilter.Merge(m, src) +} +func (m *WorkflowTypeFilter) XXX_Size() int { + return m.Size() +} +func (m *WorkflowTypeFilter) XXX_DiscardUnknown() { + xxx_messageInfo_WorkflowTypeFilter.DiscardUnknown(m) +} + +var xxx_messageInfo_WorkflowTypeFilter proto.InternalMessageInfo + +func (m *WorkflowTypeFilter) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +type StartTimeFilter struct { + EarliestTime *types.Timestamp `protobuf:"bytes,1,opt,name=earliest_time,json=earliestTime,proto3" json:"earliest_time,omitempty"` + LatestTime *types.Timestamp `protobuf:"bytes,2,opt,name=latest_time,json=latestTime,proto3" json:"latest_time,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *StartTimeFilter) Reset() { *m = StartTimeFilter{} } +func (m *StartTimeFilter) String() string { return proto.CompactTextString(m) } +func (*StartTimeFilter) ProtoMessage() {} +func (*StartTimeFilter) Descriptor() ([]byte, []int) { + return fileDescriptor_c1b2132ef24217c8, []int{2} +} +func (m *StartTimeFilter) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *StartTimeFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_StartTimeFilter.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *StartTimeFilter) XXX_Merge(src proto.Message) { + xxx_messageInfo_StartTimeFilter.Merge(m, src) +} +func (m *StartTimeFilter) XXX_Size() int { + return m.Size() +} +func (m *StartTimeFilter) XXX_DiscardUnknown() { + xxx_messageInfo_StartTimeFilter.DiscardUnknown(m) +} + +var xxx_messageInfo_StartTimeFilter proto.InternalMessageInfo + +func (m *StartTimeFilter) GetEarliestTime() *types.Timestamp { + if m != nil { + return m.EarliestTime + } + return nil +} + +func (m *StartTimeFilter) GetLatestTime() *types.Timestamp { + if m != nil { + return m.LatestTime + } + return nil +} + +type StatusFilter struct { + Status WorkflowExecutionCloseStatus `protobuf:"varint,1,opt,name=status,proto3,enum=uber.cadence.api.v1.WorkflowExecutionCloseStatus" json:"status,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *StatusFilter) Reset() { *m = StatusFilter{} } +func (m *StatusFilter) String() string { return proto.CompactTextString(m) } +func (*StatusFilter) ProtoMessage() {} +func (*StatusFilter) Descriptor() ([]byte, []int) { + return fileDescriptor_c1b2132ef24217c8, []int{3} +} +func (m *StatusFilter) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *StatusFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_StatusFilter.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *StatusFilter) XXX_Merge(src proto.Message) { + xxx_messageInfo_StatusFilter.Merge(m, src) +} +func (m *StatusFilter) XXX_Size() int { + return m.Size() +} +func (m *StatusFilter) XXX_DiscardUnknown() { + xxx_messageInfo_StatusFilter.DiscardUnknown(m) +} + +var xxx_messageInfo_StatusFilter proto.InternalMessageInfo + +func (m *StatusFilter) GetStatus() WorkflowExecutionCloseStatus { + if m != nil { + return m.Status + } + return WorkflowExecutionCloseStatus_WORKFLOW_EXECUTION_CLOSE_STATUS_INVALID +} + +func init() { + proto.RegisterEnum("uber.cadence.api.v1.IndexedValueType", IndexedValueType_name, IndexedValueType_value) + proto.RegisterType((*WorkflowExecutionFilter)(nil), "uber.cadence.api.v1.WorkflowExecutionFilter") + proto.RegisterType((*WorkflowTypeFilter)(nil), "uber.cadence.api.v1.WorkflowTypeFilter") + proto.RegisterType((*StartTimeFilter)(nil), "uber.cadence.api.v1.StartTimeFilter") + proto.RegisterType((*StatusFilter)(nil), "uber.cadence.api.v1.StatusFilter") +} + +func init() { + proto.RegisterFile("uber/cadence/api/v1/visibility.proto", fileDescriptor_c1b2132ef24217c8) +} + +var fileDescriptor_c1b2132ef24217c8 = []byte{ + // 474 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0xcd, 0x6e, 0xd3, 0x40, + 0x14, 0x85, 0x71, 0x68, 0x23, 0xb8, 0x29, 0x60, 0x0d, 0x82, 0x80, 0x2b, 0x12, 0x64, 0xb1, 0xa8, + 0x58, 0x8c, 0x95, 0xb2, 0xec, 0x02, 0x25, 0xd8, 0xa0, 0x11, 0x21, 0x09, 0x8e, 0x9b, 0x12, 0x36, + 0xd6, 0xd8, 0x9e, 0x86, 0x11, 0xb6, 0xc7, 0xb2, 0xc7, 0x69, 0xfb, 0x14, 0xbc, 0x16, 0x4b, 0x1e, + 0x01, 0x65, 0xc9, 0x53, 0x20, 0xff, 0x21, 0x21, 0x1c, 0xb1, 0xb3, 0xcf, 0x3d, 0xe7, 0xd3, 0xdc, + 0x1f, 0x78, 0x91, 0x7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0xab, 0x23, + 0xaf, 0x6f, 0xf8, 0x8c, 0x26, 0x7c, 0x3b, 0xf2, 0xba, 0xa5, 0xf6, 0xea, 0x77, 0x00, 0x00, 0x00, + 0xff, 0xff, 0xe8, 0x16, 0x6d, 0xcb, 0x43, 0x03, 0x00, 0x00, +} + +func (m *WorkflowExecutionFilter) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *WorkflowExecutionFilter) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *WorkflowExecutionFilter) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.RunId) > 0 { + i -= len(m.RunId) + copy(dAtA[i:], m.RunId) + i = encodeVarintVisibility(dAtA, i, uint64(len(m.RunId))) + i-- + dAtA[i] = 0x12 + } + if len(m.WorkflowId) > 0 { + i -= len(m.WorkflowId) + copy(dAtA[i:], m.WorkflowId) + i = encodeVarintVisibility(dAtA, i, uint64(len(m.WorkflowId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *WorkflowTypeFilter) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *WorkflowTypeFilter) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *WorkflowTypeFilter) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarintVisibility(dAtA, i, uint64(len(m.Name))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *StartTimeFilter) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *StartTimeFilter) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *StartTimeFilter) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.LatestTime != nil { + { + size, err := m.LatestTime.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintVisibility(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if m.EarliestTime != nil { + { + size, err := m.EarliestTime.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintVisibility(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *StatusFilter) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *StatusFilter) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *StatusFilter) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.Status != 0 { + i = encodeVarintVisibility(dAtA, i, uint64(m.Status)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func encodeVarintVisibility(dAtA []byte, offset int, v uint64) int { + offset -= sovVisibility(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *WorkflowExecutionFilter) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.WorkflowId) + if l > 0 { + n += 1 + l + sovVisibility(uint64(l)) + } + l = len(m.RunId) + if l > 0 { + n += 1 + l + sovVisibility(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *WorkflowTypeFilter) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Name) + if l > 0 { + n += 1 + l + sovVisibility(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *StartTimeFilter) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.EarliestTime != nil { + l = m.EarliestTime.Size() + n += 1 + l + sovVisibility(uint64(l)) + } + if m.LatestTime != nil { + l = m.LatestTime.Size() + n += 1 + l + sovVisibility(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *StatusFilter) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Status != 0 { + n += 1 + sovVisibility(uint64(m.Status)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func sovVisibility(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozVisibility(x uint64) (n int) { + return sovVisibility(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *WorkflowExecutionFilter) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowVisibility + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: WorkflowExecutionFilter: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: WorkflowExecutionFilter: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowVisibility + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthVisibility + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthVisibility + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.WorkflowId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RunId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowVisibility + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthVisibility + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthVisibility + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.RunId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipVisibility(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthVisibility + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *WorkflowTypeFilter) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowVisibility + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: WorkflowTypeFilter: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: WorkflowTypeFilter: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowVisibility + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthVisibility + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthVisibility + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipVisibility(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthVisibility + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *StartTimeFilter) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowVisibility + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: StartTimeFilter: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: StartTimeFilter: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field EarliestTime", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowVisibility + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthVisibility + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthVisibility + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.EarliestTime == nil { + m.EarliestTime = &types.Timestamp{} + } + if err := m.EarliestTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field LatestTime", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowVisibility + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthVisibility + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthVisibility + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.LatestTime == nil { + m.LatestTime = &types.Timestamp{} + } + if err := m.LatestTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipVisibility(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthVisibility + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *StatusFilter) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowVisibility + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: StatusFilter: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: StatusFilter: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) + } + m.Status = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowVisibility + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Status |= WorkflowExecutionCloseStatus(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipVisibility(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthVisibility + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func skipVisibility(dAtA []byte) (n int, err error) { + l := len(dAtA) + iNdEx := 0 + depth := 0 + for iNdEx < l { + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowVisibility + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + wireType := int(wire & 0x7) + switch wireType { + case 0: + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowVisibility + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + iNdEx++ + if dAtA[iNdEx-1] < 0x80 { + break + } + } + case 1: + iNdEx += 8 + case 2: + var length int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowVisibility + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + length |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if length < 0 { + return 0, ErrInvalidLengthVisibility + } + iNdEx += length + case 3: + depth++ + case 4: + if depth == 0 { + return 0, ErrUnexpectedEndOfGroupVisibility + } + depth-- + case 5: + iNdEx += 4 + default: + return 0, fmt.Errorf("proto: illegal wireType %d", wireType) + } + if iNdEx < 0 { + return 0, ErrInvalidLengthVisibility + } + if depth == 0 { + return iNdEx, nil + } + } + return 0, io.ErrUnexpectedEOF +} + +var ( + ErrInvalidLengthVisibility = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflowVisibility = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroupVisibility = fmt.Errorf("proto: unexpected end of group") +) diff --git a/go/proto/api/v1/visibility.pb.yarpc.go b/go/proto/api/v1/visibility.pb.yarpc.go new file mode 100644 index 0000000..a009770 --- /dev/null +++ b/go/proto/api/v1/visibility.pb.yarpc.go @@ -0,0 +1,361 @@ +// The MIT License (MIT) +// +// Copyright (c) 2021 Uber Technologies, Inc. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +// SOFTWARE. + +// Code generated by protoc-gen-yarpc-go. DO NOT EDIT. +// source: uber/cadence/api/v1/visibility.proto + +package apiv1 + +var yarpcFileDescriptorClosurec1b2132ef24217c8 = [][]byte{ + // uber/cadence/api/v1/visibility.proto + []byte{ + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0xcd, 0x6e, 0xd3, 0x40, + 0x14, 0x85, 0x71, 0x68, 0x23, 0xb8, 0x29, 0x60, 0x0d, 0x82, 0x80, 0x2b, 0x08, 0xb2, 0x58, 0x54, + 0x2c, 0xc6, 0x4a, 0x59, 0x76, 0x81, 0x12, 0x3c, 0xa0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b8, 0x6f, 0x58, 0xf3, 0x7b, 0xb3, 0x54, 0xac, 0xab, 0x2d, 0xac, 0xb5, 0x6f, 0xd6, + 0x5e, 0xa8, 0xef, 0x85, 0x8f, 0x03, 0x19, 0x5b, 0x7f, 0x1d, 0x2b, 0xde, 0xf3, 0xa4, 0x39, 0xec, + 0xf6, 0x6e, 0xcf, 0x58, 0x2a, 0xca, 0xa9, 0x3f, 0xac, 0xb5, 0xb7, 0xbf, 0x03, 0x00, 0x00, 0xff, + 0xff, 0xd7, 0x22, 0x00, 0x73, 0x37, 0x03, 0x00, 0x00, + }, + // google/protobuf/timestamp.proto + []byte{ + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4f, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x2f, 0x28, 0xca, 0x2f, 0xc9, 0x4f, 0x2a, 0x4d, 0xd3, 0x2f, 0xc9, 0xcc, 0x4d, + 0x2d, 0x2e, 0x49, 0xcc, 0x2d, 0xd0, 0x03, 0x0b, 0x09, 0xf1, 0x43, 0x14, 0xe8, 0xc1, 0x14, 0x28, + 0x59, 0x73, 0x71, 0x86, 0xc0, 0xd4, 0x08, 0x49, 0x70, 0xb1, 0x17, 0xa7, 0x26, 0xe7, 0xe7, 0xa5, + 0x14, 0x4b, 0x30, 0x2a, 0x30, 0x6a, 0x30, 0x07, 0xc1, 0xb8, 0x42, 0x22, 0x5c, 0xac, 0x79, 0x89, + 0x79, 0xf9, 0xc5, 0x12, 0x4c, 0x0a, 0x8c, 0x1a, 0xac, 0x41, 0x10, 0x8e, 0x53, 0x2b, 0x23, 0x97, + 0x70, 0x72, 0x7e, 0xae, 0x1e, 0x9a, 0xa1, 0x4e, 0x7c, 0x70, 0x23, 0x03, 0x40, 0x42, 0x01, 0x8c, + 0x51, 0x46, 0x50, 0x25, 0xe9, 0xf9, 0x39, 0x89, 0x79, 0xe9, 0x7a, 0xf9, 0x45, 0xe9, 0x48, 0x6e, + 0xac, 0x2c, 0x48, 0x2d, 0xd6, 0xcf, 0xce, 0xcb, 0x2f, 0xcf, 0x43, 0xb8, 0xb7, 0x20, 0xe9, 0x07, + 0x23, 0xe3, 0x22, 0x26, 0x66, 0xf7, 0x00, 0xa7, 0x55, 0x4c, 0x72, 0xee, 0x10, 0xdd, 0x01, 0x50, + 0x2d, 0x7a, 0xe1, 0xa9, 0x39, 0x39, 0xde, 0x20, 0x0d, 0x21, 0x20, 0xbd, 0x49, 0x6c, 0x60, 0xb3, + 0x8c, 0x01, 0x01, 0x00, 0x00, 0xff, 0xff, 0xae, 0x65, 0xce, 0x7d, 0xff, 0x00, 0x00, 0x00, + }, + // uber/cadence/api/v1/workflow.proto + []byte{ + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x59, 0x4d, 0x6f, 0xdb, 0xca, + 0xd5, 0x7e, 0x29, 0xd9, 0x8e, 0x7d, 0xe4, 0x0f, 0x7a, 0x1c, 0xc7, 0xca, 0xb7, 0xa3, 0xfb, 0x26, + 0x71, 0xd4, 0x1b, 0xf9, 0x3a, 0xb9, 0xb9, 0x69, 0x6e, 0x9a, 0xa6, 0x34, 0x49, 0xc7, 0x4c, 0x64, + 0x4a, 0x1d, 0x51, 0x71, 0x7c, 0x51, 0x94, 0xa0, 0xa5, 0xb1, 0x4d, 0x44, 0x22, 0x05, 0x72, 0x94, + 0xc4, 0xfb, 0x02, 0x5d, 0x77, 0x57, 0xb4, 0x9b, 0xfe, 0x80, 0x02, 0x45, 0x7f, 0x40, 0xd1, 0xa2, + 0x8b, 0xee, 0xba, 0xed, 0xb2, 0xfb, 0xfe, 0x8b, 0x62, 0x86, 0x43, 0x89, 0xb2, 0x3e, 0xa8, 0xb4, + 0xc0, 0xed, 0xce, 0x3c, 0x7c, 0x9e, 0x87, 0x67, 0xce, 0x9c, 0xf3, 0x70, 0x68, 0x41, 0xa1, 0x7b, + 0x4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75, 0x8b, 0x77, 0x53, + 0x11, 0xee, 0xa5, 0xc1, 0xa3, 0x0d, 0x96, 0x33, 0x03, 0x7b, 0x3b, 0x4e, 0x9a, 0xaf, 0x9b, 0x8d, + 0x02, 0x2a, 0x41, 0x31, 0x0d, 0xdd, 0xab, 0x82, 0x26, 0xcf, 0xa0, 0xaf, 0xe1, 0xab, 0xf4, 0xc4, + 0x4d, 0xcb, 0x30, 0xeb, 0xba, 0x66, 0x2b, 0x35, 0xdb, 0xd4, 0x0f, 0xe5, 0xd9, 0x69, 0x96, 0x6b, + 0x19, 0x07, 0xac, 0x3f, 0xeb, 0x96, 0x3c, 0x57, 0xfc, 0xb3, 0x04, 0x57, 0x54, 0xdf, 0xa3, 0xae, + 0xd7, 0x25, 0x4a, 0x68, 0x92, 0x8f, 0x46, 0x74, 0x9e, 0xf1, 0x03, 0x74, 0x17, 0xee, 0xc4, 0xfa, + 0x42, 0xde, 0x36, 0x4c, 0xc3, 0x32, 0x14, 0xab, 0x82, 0x13, 0xf5, 0x9d, 0x08, 0x63, 0x03, 0xa9, + 0xe9, 0x38, 0xaa, 0xeb, 0x78, 0x18, 0xd6, 0x2d, 0x7c, 0x24, 0x5a, 0x21, 0x72, 0x98, 0xf1, 0x58, + 0x15, 0xb3, 0xf9, 0x16, 0xf3, 0x2f, 0x67, 0x8b, 0xbf, 0x97, 0x20, 0x27, 0xbe, 0x45, 0xf9, 0xa7, + 0x4a, 0x1e, 0x2e, 0xb3, 0x05, 0x56, 0xea, 0x96, 0x6d, 0x1d, 0x55, 0xf5, 0xc1, 0x1e, 0x1e, 0xb8, + 0xc3, 0xed, 0xc1, 0xb6, 0x2a, 0x51, 0x75, 0x22, 0x27, 0x19, 0x04, 0x88, 0xa7, 0x30, 0x0c, 0x07, + 0xcb, 0x99, 0x89, 0x98, 0x48, 0x27, 0x8b, 0xae, 0xc1, 0x95, 0x01, 0xcc, 0xbe, 0xae, 0x60, 0x6b, + 0x57, 0x57, 0x2c, 0x79, 0xa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0x00, 0x00, 0x00, + }, + // uber/cadence/api/v1/common.proto + []byte{ + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x55, 0x4f, 0x6f, 0xdb, 0x36, + 0x14, 0x9f, 0xe2, 0xda, 0x49, 0x9f, 0xdd, 0xd4, 0x63, 0xd6, 0xd4, 0xc9, 0xfe, 0x79, 0x06, 0x86, + 0x66, 0x3b, 0x48, 0x88, 0x7b, 0x29, 0x56, 0x14, 0x83, 0x13, 0x3b, 0xab, 0xda, 0x2d, 0x31, 0x64, + 0x23, 0xc1, 0x76, 0x98, 0x40, 0x4b, 0x4f, 0x2e, 0x67, 0x89, 0x14, 0x28, 0xca, 0x89, 0x6f, 0xfb, + 0x24, 0x3b, 0xec, 0x2b, 0xed, 0x0b, 0x0d, 0x94, 0xe8, 0xd8, 0xee, 0x3c, 0xf4, 0x32, 0xec, 0x46, + 0xbe, 0xdf, 0x9f, 0xf7, 0xa3, 0xf0, 0x48, 0x41, 0x3b, 0x9f, 0xa0, 0x74, 0x02, 0x1a, 0x22, 0x0f, + 0xd0, 0xa1, 0x29, 0x73, 0xe6, 0xa7, 0x4e, 0x20, 0x92, 0x44, 0x70, 0x3b, 0x95, 0x42, 0x09, 0x72, + 0xa0, 0x19, 0xb6, 0x61, 0xd8, 0x34, 0x65, 0xf6, 0xfc, 0xf4, 0xf8, 0x8b, 0xa9, 0x10, 0xd3, 0x18, + 0x9d, 0x82, 0x32, 0xc9, 0x23, 0x27, 0xcc, 0x25, 0x55, 0x6c, 0x29, 0xea, 0xbc, 0x85, 0x8f, 0x6f, + 0x84, 0x9c, 0x45, 0xb1, 0xb8, 0x1d, 0xdc, 0x61, 0x90, 0x6b, 0x88, 0x7c, 0x09, 0xf5, 0x5b, 0x53, + 0xf4, 0x59, 0xd8, 0xb2, 0xda, 0xd6, 0xc9, 0x43, 0x0f, 0x96, 0x25, 0x37, 0x24, 0x4f, 0xa0, 0x26, + 0x73, 0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 0xde, 0x4d, 0xd3, 0x22, 0x87, 0x40, 0x36, 0xb1, 0x37, 0xa3, 0xab, 0xcb, 0xe6, + 0x0e, 0x69, 0xc1, 0x27, 0x9b, 0xf5, 0xa1, 0x77, 0x35, 0xbe, 0x7a, 0xde, 0xac, 0x9c, 0x5d, 0xc3, + 0xd3, 0x40, 0x24, 0xdb, 0x86, 0xfc, 0x6c, 0xaf, 0x97, 0xb2, 0xa1, 0x4e, 0x3f, 0xb4, 0x7e, 0x71, + 0xa6, 0x4c, 0xbd, 0xcb, 0x27, 0x76, 0x20, 0x12, 0x67, 0xe3, 0xc7, 0x64, 0x4f, 0x91, 0x97, 0x3f, + 0x1b, 0xf3, 0x8f, 0x7a, 0x49, 0x53, 0x36, 0x3f, 0x9d, 0xd4, 0x8a, 0xda, 0xf3, 0xbf, 0x03, 0x00, + 0x00, 0xff, 0xff, 0xdc, 0x8c, 0x77, 0x9a, 0xc7, 0x06, 0x00, 0x00, + }, + // uber/cadence/api/v1/tasklist.proto + []byte{ + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x54, 0xdd, 0x6e, 0xdb, 0x36, + 0x14, 0x9e, 0xe2, 0xb4, 0x73, 0x98, 0x25, 0xd5, 0xb8, 0xb5, 0x8d, 0xdd, 0x75, 0xcb, 0x74, 0x51, + 0x04, 0xc5, 0x20, 0x21, 0x19, 0x76, 0xb5, 0x8b, 0xc1, 0x89, 0x83, 0x55, 0x88, 0xe3, 0x1a, 0x92, + 0x1a, 0x20, 0xbb, 0xe1, 0x28, 0xf1, 0xd4, 0x21, 0xf4, 0x43, 0x81, 0xa4, 0x92, 0xf8, 0x45, 0xf6, + 0x30, 0x7b, 0xa2, 0x3d, 0xc6, 0x40, 0x4a, 0xf6, 0xdc, 0xc4, 0xeb, 0x1d, 0x79, 0xbe, 0xf3, 0x9d, + 0x9f, 0x8f, 0xe7, 0x10, 0x79, 0x4d, 0x0a, 0x32, 0xc8,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 0x9a, 0xb8, 0xce, 0x06, 0x28, 0x4e, + 0xc2, 0xb3, 0x8b, 0x6b, 0x77, 0xeb, 0x2d, 0xfb, 0x2f, 0x43, 0xb2, 0xa8, 0xe1, 0xd3, 0x0c, 0xc9, + 0xf5, 0xec, 0x7c, 0x2d, 0xc3, 0x2b, 0xf4, 0xf2, 0x01, 0x36, 0x3e, 0x3f, 0x0b, 0xe3, 0xf0, 0xfd, + 0xd4, 0x75, 0x36, 0x80, 0xa3, 0xb3, 0x24, 0xbc, 0x0a, 0x93, 0x6b, 0x77, 0xeb, 0xf4, 0x0a, 0xbd, + 0xcc, 0x44, 0xb9, 0x49, 0xd1, 0xd3, 0xfe, 0xa8, 0xe6, 0x33, 0x23, 0xc8, 0xcc, 0xf9, 0x23, 0x98, + 0x73, 0x7d, 0xd3, 0xa4, 0x7e, 0x26, 0xca, 0xe0, 0x93, 0x6f, 0xd2, 0x9f, 0x43, 0xd5, 0xfe, 0x5b, + 0xdd, 0x8f, 0xf9, 0x2b, 0xad, 0xf9, 0xed, 0x71, 0xfa, 0xd4, 0xda, 0x7e, 0xfe, 0x37, 0x00, 0x00, + 0xff, 0xff, 0x58, 0x62, 0x2b, 0xbf, 0x55, 0x05, 0x00, 0x00, + }, + // google/protobuf/wrappers.proto + []byte{ + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4b, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x2f, 0x28, 0xca, 0x2f, 0xc9, 0x4f, 0x2a, 0x4d, 0xd3, 0x2f, 0x2f, 0x4a, 0x2c, + 0x28, 0x48, 0x2d, 0x2a, 0xd6, 0x03, 0x8b, 0x08, 0xf1, 0x43, 0xe4, 0xf5, 0x60, 0xf2, 0x4a, 0xca, + 0x5c, 0xdc, 0x2e, 0xf9, 0xa5, 0x49, 0x39, 0xa9, 0x61, 0x89, 0x39, 0xa5, 0xa9, 0x42, 0x22, 0x5c, + 0xac, 0x65, 0x20, 0x86, 0x04, 0xa3, 0x02, 0xa3, 0x06, 0x63, 0x10, 0x84, 0xa3, 0xa4, 0xc4, 0xc5, + 0xe5, 0x96, 0x93, 0x9f, 0x58, 0x82, 0x45, 0x0d, 0x13, 0x92, 0x1a, 0xcf, 0xbc, 0x12, 0x33, 0x13, + 0x2c, 0x6a, 0x98, 0x61, 0x6a, 0x94, 0xb9, 0xb8, 0x43, 0x71, 0x29, 0x62, 0x41, 0x35, 0xc8, 0xd8, + 0x08, 0x8b, 0x1a, 0x56, 0x34, 0x83, 0xb0, 0x2a, 0xe2, 0x85, 0x29, 0x52, 0xe4, 0xe2, 0x74, 0xca, + 0xcf, 0xcf, 0xc1, 0xa2, 0x84, 0x03, 0xc9, 0x9c, 0xe0, 0x92, 0xa2, 0xcc, 0xbc, 0x74, 0x2c, 0x8a, + 0x38, 0x91, 0x1c, 0xe4, 0x54, 0x59, 0x92, 0x5a, 0x8c, 0x45, 0x0d, 0x0f, 0x54, 0x8d, 0x53, 0x33, + 0x23, 0x97, 0x70, 0x72, 0x7e, 0xae, 0x1e, 0x5a, 0xf0, 0x3a, 0xf1, 0x86, 0x43, 0xc3, 0x3f, 0x00, + 0x24, 0x12, 0xc0, 0x18, 0x65, 0x08, 0x55, 0x91, 0x9e, 0x9f, 0x93, 0x98, 0x97, 0xae, 0x97, 0x5f, + 0x94, 0x8e, 0x88, 0xab, 0x92, 0xca, 0x82, 0xd4, 0x62, 0xfd, 0xec, 0xbc, 0xfc, 0xf2, 0x3c, 0x78, + 0xbc, 0x15, 0x24, 0xfd, 0x60, 0x64, 0x5c, 0xc4, 0xc4, 0xec, 0x1e, 0xe0, 0xb4, 0x8a, 0x49, 0xce, + 0x1d, 0xa2, 0x39, 0x00, 0xaa, 0x43, 0x2f, 0x3c, 0x35, 0x27, 0xc7, 0x1b, 0xa4, 0x3e, 0x04, 0xa4, + 0x35, 0x89, 0x0d, 0x6c, 0x94, 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0x3c, 0x92, 0x48, 0x30, 0x06, + 0x02, 0x00, 0x00, + }, +} diff --git a/go/proto/api/v1/workflow.pb.go b/go/proto/api/v1/workflow.pb.go new file mode 100644 index 0000000..ab90d46 --- /dev/null +++ b/go/proto/api/v1/workflow.pb.go @@ -0,0 +1,4922 @@ +// The MIT License (MIT) +// +// Copyright (c) 2021 Uber Technologies, Inc. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +// SOFTWARE. + +// Code generated by protoc-gen-gogo. DO NOT EDIT. +// source: uber/cadence/api/v1/workflow.proto + +package apiv1 + +import ( + fmt "fmt" + proto "github.com/gogo/protobuf/proto" + types "github.com/gogo/protobuf/types" + io "io" + math "math" + math_bits "math/bits" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package + +type PendingActivityState int32 + +const ( + PendingActivityState_PENDING_ACTIVITY_STATE_INVALID PendingActivityState = 0 + PendingActivityState_PENDING_ACTIVITY_STATE_SCHEDULED PendingActivityState = 1 + PendingActivityState_PENDING_ACTIVITY_STATE_STARTED PendingActivityState = 2 + PendingActivityState_PENDING_ACTIVITY_STATE_CANCEL_REQUESTED PendingActivityState = 3 +) + +var PendingActivityState_name = map[int32]string{ + 0: "PENDING_ACTIVITY_STATE_INVALID", + 1: "PENDING_ACTIVITY_STATE_SCHEDULED", + 2: "PENDING_ACTIVITY_STATE_STARTED", + 3: "PENDING_ACTIVITY_STATE_CANCEL_REQUESTED", +} + +var PendingActivityState_value = map[string]int32{ + "PENDING_ACTIVITY_STATE_INVALID": 0, + "PENDING_ACTIVITY_STATE_SCHEDULED": 1, + "PENDING_ACTIVITY_STATE_STARTED": 2, + "PENDING_ACTIVITY_STATE_CANCEL_REQUESTED": 3, +} + +func (x PendingActivityState) String() string { + return proto.EnumName(PendingActivityState_name, int32(x)) +} + +func (PendingActivityState) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_2775eefb5053680f, []int{0} +} + +type PendingDecisionState int32 + +const ( + PendingDecisionState_PENDING_DECISION_STATE_INVALID PendingDecisionState = 0 + PendingDecisionState_PENDING_DECISION_STATE_SCHEDULED PendingDecisionState = 1 + PendingDecisionState_PENDING_DECISION_STATE_STARTED PendingDecisionState = 2 +) + +var PendingDecisionState_name = map[int32]string{ + 0: "PENDING_DECISION_STATE_INVALID", + 1: "PENDING_DECISION_STATE_SCHEDULED", + 2: "PENDING_DECISION_STATE_STARTED", +} + +var PendingDecisionState_value = map[string]int32{ + "PENDING_DECISION_STATE_INVALID": 0, + "PENDING_DECISION_STATE_SCHEDULED": 1, + "PENDING_DECISION_STATE_STARTED": 2, +} + +func (x PendingDecisionState) String() string { + return proto.EnumName(PendingDecisionState_name, int32(x)) +} + +func (PendingDecisionState) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_2775eefb5053680f, []int{1} +} + +type WorkflowIdReusePolicy int32 + +const ( + WorkflowIdReusePolicy_WORKFLOW_ID_REUSE_POLICY_INVALID WorkflowIdReusePolicy = 0 + // Allow start a workflow execution using the same workflow ID, + // when workflow not running, and the last execution close state is in [terminated, cancelled, timeouted, failed]. + WorkflowIdReusePolicy_WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE_FAILED_ONLY WorkflowIdReusePolicy = 1 + // Allow start a workflow execution using the same workflow ID, when workflow not running. + WorkflowIdReusePolicy_WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE WorkflowIdReusePolicy = 2 + // Do not allow start a workflow execution using the same workflow ID at all. + WorkflowIdReusePolicy_WORKFLOW_ID_REUSE_POLICY_REJECT_DUPLICATE WorkflowIdReusePolicy = 3 + // If a workflow is running using the same workflow ID, terminate it and start a new one. + WorkflowIdReusePolicy_WORKFLOW_ID_REUSE_POLICY_TERMINATE_IF_RUNNING WorkflowIdReusePolicy = 4 +) + +var WorkflowIdReusePolicy_name = map[int32]string{ + 0: "WORKFLOW_ID_REUSE_POLICY_INVALID", + 1: "WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE_FAILED_ONLY", + 2: "WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE", + 3: "WORKFLOW_ID_REUSE_POLICY_REJECT_DUPLICATE", + 4: "WORKFLOW_ID_REUSE_POLICY_TERMINATE_IF_RUNNING", +} + +var WorkflowIdReusePolicy_value = map[string]int32{ + "WORKFLOW_ID_REUSE_POLICY_INVALID": 0, + "WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE_FAILED_ONLY": 1, + "WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE": 2, + "WORKFLOW_ID_REUSE_POLICY_REJECT_DUPLICATE": 3, + "WORKFLOW_ID_REUSE_POLICY_TERMINATE_IF_RUNNING": 4, +} + +func (x WorkflowIdReusePolicy) String() string { + return proto.EnumName(WorkflowIdReusePolicy_name, int32(x)) +} + +func (WorkflowIdReusePolicy) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_2775eefb5053680f, []int{2} +} + +type ParentClosePolicy int32 + +const ( + ParentClosePolicy_PARENT_CLOSE_POLICY_INVALID ParentClosePolicy = 0 + // Abandon means not doing anything on the child workflow. + ParentClosePolicy_PARENT_CLOSE_POLICY_ABANDON ParentClosePolicy = 1 + // Cancel means requesting cancellation on the child workflow. + ParentClosePolicy_PARENT_CLOSE_POLICY_REQUEST_CANCEL ParentClosePolicy = 2 + // Terminate means terminating the child workflow. + ParentClosePolicy_PARENT_CLOSE_POLICY_TERMINATE ParentClosePolicy = 3 +) + +var ParentClosePolicy_name = map[int32]string{ + 0: "PARENT_CLOSE_POLICY_INVALID", + 1: "PARENT_CLOSE_POLICY_ABANDON", + 2: "PARENT_CLOSE_POLICY_REQUEST_CANCEL", + 3: "PARENT_CLOSE_POLICY_TERMINATE", +} + +var ParentClosePolicy_value = map[string]int32{ + "PARENT_CLOSE_POLICY_INVALID": 0, + "PARENT_CLOSE_POLICY_ABANDON": 1, + "PARENT_CLOSE_POLICY_REQUEST_CANCEL": 2, + "PARENT_CLOSE_POLICY_TERMINATE": 3, +} + +func (x ParentClosePolicy) String() string { + return proto.EnumName(ParentClosePolicy_name, int32(x)) +} + +func (ParentClosePolicy) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_2775eefb5053680f, []int{3} +} + +type WorkflowExecutionCloseStatus int32 + +const ( + WorkflowExecutionCloseStatus_WORKFLOW_EXECUTION_CLOSE_STATUS_INVALID WorkflowExecutionCloseStatus = 0 + WorkflowExecutionCloseStatus_WORKFLOW_EXECUTION_CLOSE_STATUS_COMPLETED WorkflowExecutionCloseStatus = 1 + WorkflowExecutionCloseStatus_WORKFLOW_EXECUTION_CLOSE_STATUS_FAILED WorkflowExecutionCloseStatus = 2 + WorkflowExecutionCloseStatus_WORKFLOW_EXECUTION_CLOSE_STATUS_CANCELED WorkflowExecutionCloseStatus = 3 + WorkflowExecutionCloseStatus_WORKFLOW_EXECUTION_CLOSE_STATUS_TERMINATED WorkflowExecutionCloseStatus = 4 + WorkflowExecutionCloseStatus_WORKFLOW_EXECUTION_CLOSE_STATUS_CONTINUED_AS_NEW WorkflowExecutionCloseStatus = 5 + WorkflowExecutionCloseStatus_WORKFLOW_EXECUTION_CLOSE_STATUS_TIMED_OUT WorkflowExecutionCloseStatus = 6 +) + +var WorkflowExecutionCloseStatus_name = map[int32]string{ + 0: "WORKFLOW_EXECUTION_CLOSE_STATUS_INVALID", + 1: "WORKFLOW_EXECUTION_CLOSE_STATUS_COMPLETED", + 2: "WORKFLOW_EXECUTION_CLOSE_STATUS_FAILED", + 3: "WORKFLOW_EXECUTION_CLOSE_STATUS_CANCELED", + 4: "WORKFLOW_EXECUTION_CLOSE_STATUS_TERMINATED", + 5: "WORKFLOW_EXECUTION_CLOSE_STATUS_CONTINUED_AS_NEW", + 6: "WORKFLOW_EXECUTION_CLOSE_STATUS_TIMED_OUT", +} + +var WorkflowExecutionCloseStatus_value = map[string]int32{ + "WORKFLOW_EXECUTION_CLOSE_STATUS_INVALID": 0, + "WORKFLOW_EXECUTION_CLOSE_STATUS_COMPLETED": 1, + "WORKFLOW_EXECUTION_CLOSE_STATUS_FAILED": 2, + "WORKFLOW_EXECUTION_CLOSE_STATUS_CANCELED": 3, + "WORKFLOW_EXECUTION_CLOSE_STATUS_TERMINATED": 4, + "WORKFLOW_EXECUTION_CLOSE_STATUS_CONTINUED_AS_NEW": 5, + "WORKFLOW_EXECUTION_CLOSE_STATUS_TIMED_OUT": 6, +} + +func (x WorkflowExecutionCloseStatus) String() string { + return proto.EnumName(WorkflowExecutionCloseStatus_name, int32(x)) +} + +func (WorkflowExecutionCloseStatus) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_2775eefb5053680f, []int{4} +} + +type ContinueAsNewInitiator int32 + +const ( + ContinueAsNewInitiator_CONTINUE_AS_NEW_INITIATOR_INVALID ContinueAsNewInitiator = 0 + ContinueAsNewInitiator_CONTINUE_AS_NEW_INITIATOR_DECIDER ContinueAsNewInitiator = 1 + ContinueAsNewInitiator_CONTINUE_AS_NEW_INITIATOR_RETRY_POLICY ContinueAsNewInitiator = 2 + ContinueAsNewInitiator_CONTINUE_AS_NEW_INITIATOR_CRON_SCHEDULE ContinueAsNewInitiator = 3 +) + +var ContinueAsNewInitiator_name = map[int32]string{ + 0: "CONTINUE_AS_NEW_INITIATOR_INVALID", + 1: "CONTINUE_AS_NEW_INITIATOR_DECIDER", + 2: "CONTINUE_AS_NEW_INITIATOR_RETRY_POLICY", + 3: "CONTINUE_AS_NEW_INITIATOR_CRON_SCHEDULE", +} + +var ContinueAsNewInitiator_value = map[string]int32{ + "CONTINUE_AS_NEW_INITIATOR_INVALID": 0, + "CONTINUE_AS_NEW_INITIATOR_DECIDER": 1, + "CONTINUE_AS_NEW_INITIATOR_RETRY_POLICY": 2, + "CONTINUE_AS_NEW_INITIATOR_CRON_SCHEDULE": 3, +} + +func (x ContinueAsNewInitiator) String() string { + return proto.EnumName(ContinueAsNewInitiator_name, int32(x)) +} + +func (ContinueAsNewInitiator) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_2775eefb5053680f, []int{5} +} + +type TimeoutType int32 + +const ( + TimeoutType_TIMEOUT_TYPE_INVALID TimeoutType = 0 + TimeoutType_TIMEOUT_TYPE_START_TO_CLOSE TimeoutType = 1 + TimeoutType_TIMEOUT_TYPE_SCHEDULE_TO_START TimeoutType = 2 + TimeoutType_TIMEOUT_TYPE_SCHEDULE_TO_CLOSE TimeoutType = 3 + TimeoutType_TIMEOUT_TYPE_HEARTBEAT TimeoutType = 4 +) + +var TimeoutType_name = map[int32]string{ + 0: "TIMEOUT_TYPE_INVALID", + 1: "TIMEOUT_TYPE_START_TO_CLOSE", + 2: "TIMEOUT_TYPE_SCHEDULE_TO_START", + 3: "TIMEOUT_TYPE_SCHEDULE_TO_CLOSE", + 4: "TIMEOUT_TYPE_HEARTBEAT", +} + +var TimeoutType_value = map[string]int32{ + "TIMEOUT_TYPE_INVALID": 0, + "TIMEOUT_TYPE_START_TO_CLOSE": 1, + "TIMEOUT_TYPE_SCHEDULE_TO_START": 2, + "TIMEOUT_TYPE_SCHEDULE_TO_CLOSE": 3, + "TIMEOUT_TYPE_HEARTBEAT": 4, +} + +func (x TimeoutType) String() string { + return proto.EnumName(TimeoutType_name, int32(x)) +} + +func (TimeoutType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_2775eefb5053680f, []int{6} +} + +type DecisionTaskTimedOutCause int32 + +const ( + DecisionTaskTimedOutCause_DECISION_TASK_TIMED_OUT_CAUSE_INVALID DecisionTaskTimedOutCause = 0 + DecisionTaskTimedOutCause_DECISION_TASK_TIMED_OUT_CAUSE_TIMEOUT DecisionTaskTimedOutCause = 1 + DecisionTaskTimedOutCause_DECISION_TASK_TIMED_OUT_CAUSE_RESET DecisionTaskTimedOutCause = 2 +) + +var DecisionTaskTimedOutCause_name = map[int32]string{ + 0: "DECISION_TASK_TIMED_OUT_CAUSE_INVALID", + 1: "DECISION_TASK_TIMED_OUT_CAUSE_TIMEOUT", + 2: "DECISION_TASK_TIMED_OUT_CAUSE_RESET", +} + +var DecisionTaskTimedOutCause_value = map[string]int32{ + "DECISION_TASK_TIMED_OUT_CAUSE_INVALID": 0, + "DECISION_TASK_TIMED_OUT_CAUSE_TIMEOUT": 1, + "DECISION_TASK_TIMED_OUT_CAUSE_RESET": 2, +} + +func (x DecisionTaskTimedOutCause) String() string { + return proto.EnumName(DecisionTaskTimedOutCause_name, int32(x)) +} + +func (DecisionTaskTimedOutCause) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_2775eefb5053680f, []int{7} +} + +type DecisionTaskFailedCause int32 + +const ( + DecisionTaskFailedCause_DECISION_TASK_FAILED_CAUSE_INVALID DecisionTaskFailedCause = 0 + DecisionTaskFailedCause_DECISION_TASK_FAILED_CAUSE_UNHANDLED_DECISION DecisionTaskFailedCause = 1 + DecisionTaskFailedCause_DECISION_TASK_FAILED_CAUSE_BAD_SCHEDULE_ACTIVITY_ATTRIBUTES DecisionTaskFailedCause = 2 + DecisionTaskFailedCause_DECISION_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_ACTIVITY_ATTRIBUTES DecisionTaskFailedCause = 3 + DecisionTaskFailedCause_DECISION_TASK_FAILED_CAUSE_BAD_START_TIMER_ATTRIBUTES DecisionTaskFailedCause = 4 + DecisionTaskFailedCause_DECISION_TASK_FAILED_CAUSE_BAD_CANCEL_TIMER_ATTRIBUTES DecisionTaskFailedCause = 5 + DecisionTaskFailedCause_DECISION_TASK_FAILED_CAUSE_BAD_RECORD_MARKER_ATTRIBUTES DecisionTaskFailedCause = 6 + DecisionTaskFailedCause_DECISION_TASK_FAILED_CAUSE_BAD_COMPLETE_WORKFLOW_EXECUTION_ATTRIBUTES DecisionTaskFailedCause = 7 + DecisionTaskFailedCause_DECISION_TASK_FAILED_CAUSE_BAD_FAIL_WORKFLOW_EXECUTION_ATTRIBUTES DecisionTaskFailedCause = 8 + DecisionTaskFailedCause_DECISION_TASK_FAILED_CAUSE_BAD_CANCEL_WORKFLOW_EXECUTION_ATTRIBUTES DecisionTaskFailedCause = 9 + DecisionTaskFailedCause_DECISION_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_ATTRIBUTES DecisionTaskFailedCause = 10 + DecisionTaskFailedCause_DECISION_TASK_FAILED_CAUSE_BAD_CONTINUE_AS_NEW_ATTRIBUTES DecisionTaskFailedCause = 11 + DecisionTaskFailedCause_DECISION_TASK_FAILED_CAUSE_START_TIMER_DUPLICATE_ID DecisionTaskFailedCause = 12 + DecisionTaskFailedCause_DECISION_TASK_FAILED_CAUSE_RESET_STICKY_TASK_LIST DecisionTaskFailedCause = 13 + DecisionTaskFailedCause_DECISION_TASK_FAILED_CAUSE_WORKFLOW_WORKER_UNHANDLED_FAILURE DecisionTaskFailedCause = 14 + DecisionTaskFailedCause_DECISION_TASK_FAILED_CAUSE_BAD_SIGNAL_WORKFLOW_EXECUTION_ATTRIBUTES DecisionTaskFailedCause = 15 + DecisionTaskFailedCause_DECISION_TASK_FAILED_CAUSE_BAD_START_CHILD_EXECUTION_ATTRIBUTES DecisionTaskFailedCause = 16 + DecisionTaskFailedCause_DECISION_TASK_FAILED_CAUSE_FORCE_CLOSE_DECISION DecisionTaskFailedCause = 17 + DecisionTaskFailedCause_DECISION_TASK_FAILED_CAUSE_FAILOVER_CLOSE_DECISION DecisionTaskFailedCause = 18 + DecisionTaskFailedCause_DECISION_TASK_FAILED_CAUSE_BAD_SIGNAL_INPUT_SIZE DecisionTaskFailedCause = 19 + DecisionTaskFailedCause_DECISION_TASK_FAILED_CAUSE_RESET_WORKFLOW DecisionTaskFailedCause = 20 + DecisionTaskFailedCause_DECISION_TASK_FAILED_CAUSE_BAD_BINARY DecisionTaskFailedCause = 21 + DecisionTaskFailedCause_DECISION_TASK_FAILED_CAUSE_SCHEDULE_ACTIVITY_DUPLICATE_ID DecisionTaskFailedCause = 22 + DecisionTaskFailedCause_DECISION_TASK_FAILED_CAUSE_BAD_SEARCH_ATTRIBUTES DecisionTaskFailedCause = 23 +) + +var DecisionTaskFailedCause_name = map[int32]string{ + 0: "DECISION_TASK_FAILED_CAUSE_INVALID", + 1: "DECISION_TASK_FAILED_CAUSE_UNHANDLED_DECISION", + 2: "DECISION_TASK_FAILED_CAUSE_BAD_SCHEDULE_ACTIVITY_ATTRIBUTES", + 3: "DECISION_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_ACTIVITY_ATTRIBUTES", + 4: "DECISION_TASK_FAILED_CAUSE_BAD_START_TIMER_ATTRIBUTES", + 5: "DECISION_TASK_FAILED_CAUSE_BAD_CANCEL_TIMER_ATTRIBUTES", + 6: "DECISION_TASK_FAILED_CAUSE_BAD_RECORD_MARKER_ATTRIBUTES", + 7: "DECISION_TASK_FAILED_CAUSE_BAD_COMPLETE_WORKFLOW_EXECUTION_ATTRIBUTES", + 8: "DECISION_TASK_FAILED_CAUSE_BAD_FAIL_WORKFLOW_EXECUTION_ATTRIBUTES", + 9: "DECISION_TASK_FAILED_CAUSE_BAD_CANCEL_WORKFLOW_EXECUTION_ATTRIBUTES", + 10: "DECISION_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_ATTRIBUTES", + 11: "DECISION_TASK_FAILED_CAUSE_BAD_CONTINUE_AS_NEW_ATTRIBUTES", + 12: "DECISION_TASK_FAILED_CAUSE_START_TIMER_DUPLICATE_ID", + 13: "DECISION_TASK_FAILED_CAUSE_RESET_STICKY_TASK_LIST", + 14: "DECISION_TASK_FAILED_CAUSE_WORKFLOW_WORKER_UNHANDLED_FAILURE", + 15: "DECISION_TASK_FAILED_CAUSE_BAD_SIGNAL_WORKFLOW_EXECUTION_ATTRIBUTES", + 16: "DECISION_TASK_FAILED_CAUSE_BAD_START_CHILD_EXECUTION_ATTRIBUTES", + 17: "DECISION_TASK_FAILED_CAUSE_FORCE_CLOSE_DECISION", + 18: "DECISION_TASK_FAILED_CAUSE_FAILOVER_CLOSE_DECISION", + 19: "DECISION_TASK_FAILED_CAUSE_BAD_SIGNAL_INPUT_SIZE", + 20: "DECISION_TASK_FAILED_CAUSE_RESET_WORKFLOW", + 21: "DECISION_TASK_FAILED_CAUSE_BAD_BINARY", + 22: "DECISION_TASK_FAILED_CAUSE_SCHEDULE_ACTIVITY_DUPLICATE_ID", + 23: "DECISION_TASK_FAILED_CAUSE_BAD_SEARCH_ATTRIBUTES", +} + +var DecisionTaskFailedCause_value = map[string]int32{ + "DECISION_TASK_FAILED_CAUSE_INVALID": 0, + "DECISION_TASK_FAILED_CAUSE_UNHANDLED_DECISION": 1, + "DECISION_TASK_FAILED_CAUSE_BAD_SCHEDULE_ACTIVITY_ATTRIBUTES": 2, + "DECISION_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_ACTIVITY_ATTRIBUTES": 3, + "DECISION_TASK_FAILED_CAUSE_BAD_START_TIMER_ATTRIBUTES": 4, + "DECISION_TASK_FAILED_CAUSE_BAD_CANCEL_TIMER_ATTRIBUTES": 5, + "DECISION_TASK_FAILED_CAUSE_BAD_RECORD_MARKER_ATTRIBUTES": 6, + "DECISION_TASK_FAILED_CAUSE_BAD_COMPLETE_WORKFLOW_EXECUTION_ATTRIBUTES": 7, + "DECISION_TASK_FAILED_CAUSE_BAD_FAIL_WORKFLOW_EXECUTION_ATTRIBUTES": 8, + "DECISION_TASK_FAILED_CAUSE_BAD_CANCEL_WORKFLOW_EXECUTION_ATTRIBUTES": 9, + "DECISION_TASK_FAILED_CAUSE_BAD_REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_ATTRIBUTES": 10, + "DECISION_TASK_FAILED_CAUSE_BAD_CONTINUE_AS_NEW_ATTRIBUTES": 11, + "DECISION_TASK_FAILED_CAUSE_START_TIMER_DUPLICATE_ID": 12, + "DECISION_TASK_FAILED_CAUSE_RESET_STICKY_TASK_LIST": 13, + "DECISION_TASK_FAILED_CAUSE_WORKFLOW_WORKER_UNHANDLED_FAILURE": 14, + "DECISION_TASK_FAILED_CAUSE_BAD_SIGNAL_WORKFLOW_EXECUTION_ATTRIBUTES": 15, + "DECISION_TASK_FAILED_CAUSE_BAD_START_CHILD_EXECUTION_ATTRIBUTES": 16, + "DECISION_TASK_FAILED_CAUSE_FORCE_CLOSE_DECISION": 17, + "DECISION_TASK_FAILED_CAUSE_FAILOVER_CLOSE_DECISION": 18, + "DECISION_TASK_FAILED_CAUSE_BAD_SIGNAL_INPUT_SIZE": 19, + "DECISION_TASK_FAILED_CAUSE_RESET_WORKFLOW": 20, + "DECISION_TASK_FAILED_CAUSE_BAD_BINARY": 21, + "DECISION_TASK_FAILED_CAUSE_SCHEDULE_ACTIVITY_DUPLICATE_ID": 22, + "DECISION_TASK_FAILED_CAUSE_BAD_SEARCH_ATTRIBUTES": 23, +} + +func (x DecisionTaskFailedCause) String() string { + return proto.EnumName(DecisionTaskFailedCause_name, int32(x)) +} + +func (DecisionTaskFailedCause) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_2775eefb5053680f, []int{8} +} + +type ChildWorkflowExecutionFailedCause int32 + +const ( + ChildWorkflowExecutionFailedCause_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_INVALID ChildWorkflowExecutionFailedCause = 0 + ChildWorkflowExecutionFailedCause_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_WORKFLOW_ALREADY_RUNNING ChildWorkflowExecutionFailedCause = 1 +) + +var ChildWorkflowExecutionFailedCause_name = map[int32]string{ + 0: "CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_INVALID", + 1: "CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_WORKFLOW_ALREADY_RUNNING", +} + +var ChildWorkflowExecutionFailedCause_value = map[string]int32{ + "CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_INVALID": 0, + "CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_WORKFLOW_ALREADY_RUNNING": 1, +} + +func (x ChildWorkflowExecutionFailedCause) String() string { + return proto.EnumName(ChildWorkflowExecutionFailedCause_name, int32(x)) +} + +func (ChildWorkflowExecutionFailedCause) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_2775eefb5053680f, []int{9} +} + +type CancelExternalWorkflowExecutionFailedCause int32 + +const ( + CancelExternalWorkflowExecutionFailedCause_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_INVALID CancelExternalWorkflowExecutionFailedCause = 0 + CancelExternalWorkflowExecutionFailedCause_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION CancelExternalWorkflowExecutionFailedCause = 1 +) + +var CancelExternalWorkflowExecutionFailedCause_name = map[int32]string{ + 0: "CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_INVALID", + 1: "CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION", +} + +var CancelExternalWorkflowExecutionFailedCause_value = map[string]int32{ + "CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_INVALID": 0, + "CANCEL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION": 1, +} + +func (x CancelExternalWorkflowExecutionFailedCause) String() string { + return proto.EnumName(CancelExternalWorkflowExecutionFailedCause_name, int32(x)) +} + +func (CancelExternalWorkflowExecutionFailedCause) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_2775eefb5053680f, []int{10} +} + +type SignalExternalWorkflowExecutionFailedCause int32 + +const ( + SignalExternalWorkflowExecutionFailedCause_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_INVALID SignalExternalWorkflowExecutionFailedCause = 0 + SignalExternalWorkflowExecutionFailedCause_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION SignalExternalWorkflowExecutionFailedCause = 1 +) + +var SignalExternalWorkflowExecutionFailedCause_name = map[int32]string{ + 0: "SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_INVALID", + 1: "SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION", +} + +var SignalExternalWorkflowExecutionFailedCause_value = map[string]int32{ + "SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_INVALID": 0, + "SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION": 1, +} + +func (x SignalExternalWorkflowExecutionFailedCause) String() string { + return proto.EnumName(SignalExternalWorkflowExecutionFailedCause_name, int32(x)) +} + +func (SignalExternalWorkflowExecutionFailedCause) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_2775eefb5053680f, []int{11} +} + +type WorkflowExecutionInfo struct { + WorkflowExecution *WorkflowExecution `protobuf:"bytes,1,opt,name=workflow_execution,json=workflowExecution,proto3" json:"workflow_execution,omitempty"` + Type *WorkflowType `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` + StartTime *types.Timestamp `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + CloseTime *types.Timestamp `protobuf:"bytes,4,opt,name=close_time,json=closeTime,proto3" json:"close_time,omitempty"` + CloseStatus WorkflowExecutionCloseStatus `protobuf:"varint,5,opt,name=close_status,json=closeStatus,proto3,enum=uber.cadence.api.v1.WorkflowExecutionCloseStatus" json:"close_status,omitempty"` + HistoryLength int64 `protobuf:"varint,6,opt,name=history_length,json=historyLength,proto3" json:"history_length,omitempty"` + ParentExecutionInfo *ParentExecutionInfo `protobuf:"bytes,7,opt,name=parent_execution_info,json=parentExecutionInfo,proto3" json:"parent_execution_info,omitempty"` + ExecutionTime *types.Timestamp `protobuf:"bytes,8,opt,name=execution_time,json=executionTime,proto3" json:"execution_time,omitempty"` + Memo *Memo `protobuf:"bytes,9,opt,name=memo,proto3" json:"memo,omitempty"` + SearchAttributes *SearchAttributes `protobuf:"bytes,10,opt,name=search_attributes,json=searchAttributes,proto3" json:"search_attributes,omitempty"` + AutoResetPoints *ResetPoints `protobuf:"bytes,11,opt,name=auto_reset_points,json=autoResetPoints,proto3" json:"auto_reset_points,omitempty"` + TaskList string `protobuf:"bytes,12,opt,name=task_list,json=taskList,proto3" json:"task_list,omitempty"` + IsCron bool `protobuf:"varint,13,opt,name=is_cron,json=isCron,proto3" json:"is_cron,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *WorkflowExecutionInfo) Reset() { *m = WorkflowExecutionInfo{} } +func (m *WorkflowExecutionInfo) String() string { return proto.CompactTextString(m) } +func (*WorkflowExecutionInfo) ProtoMessage() {} +func (*WorkflowExecutionInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_2775eefb5053680f, []int{0} +} +func (m *WorkflowExecutionInfo) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *WorkflowExecutionInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_WorkflowExecutionInfo.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *WorkflowExecutionInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_WorkflowExecutionInfo.Merge(m, src) +} +func (m *WorkflowExecutionInfo) XXX_Size() int { + return m.Size() +} +func (m *WorkflowExecutionInfo) XXX_DiscardUnknown() { + xxx_messageInfo_WorkflowExecutionInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_WorkflowExecutionInfo proto.InternalMessageInfo + +func (m *WorkflowExecutionInfo) GetWorkflowExecution() *WorkflowExecution { + if m != nil { + return m.WorkflowExecution + } + return nil +} + +func (m *WorkflowExecutionInfo) GetType() *WorkflowType { + if m != nil { + return m.Type + } + return nil +} + +func (m *WorkflowExecutionInfo) GetStartTime() *types.Timestamp { + if m != nil { + return m.StartTime + } + return nil +} + +func (m *WorkflowExecutionInfo) GetCloseTime() *types.Timestamp { + if m != nil { + return m.CloseTime + } + return nil +} + +func (m *WorkflowExecutionInfo) GetCloseStatus() WorkflowExecutionCloseStatus { + if m != nil { + return m.CloseStatus + } + return WorkflowExecutionCloseStatus_WORKFLOW_EXECUTION_CLOSE_STATUS_INVALID +} + +func (m *WorkflowExecutionInfo) GetHistoryLength() int64 { + if m != nil { + return m.HistoryLength + } + return 0 +} + +func (m *WorkflowExecutionInfo) GetParentExecutionInfo() *ParentExecutionInfo { + if m != nil { + return m.ParentExecutionInfo + } + return nil +} + +func (m *WorkflowExecutionInfo) GetExecutionTime() *types.Timestamp { + if m != nil { + return m.ExecutionTime + } + return nil +} + +func (m *WorkflowExecutionInfo) GetMemo() *Memo { + if m != nil { + return m.Memo + } + return nil +} + +func (m *WorkflowExecutionInfo) GetSearchAttributes() *SearchAttributes { + if m != nil { + return m.SearchAttributes + } + return nil +} + +func (m *WorkflowExecutionInfo) GetAutoResetPoints() *ResetPoints { + if m != nil { + return m.AutoResetPoints + } + return nil +} + +func (m *WorkflowExecutionInfo) GetTaskList() string { + if m != nil { + return m.TaskList + } + return "" +} + +func (m *WorkflowExecutionInfo) GetIsCron() bool { + if m != nil { + return m.IsCron + } + return false +} + +type WorkflowExecutionConfiguration struct { + TaskList *TaskList `protobuf:"bytes,1,opt,name=task_list,json=taskList,proto3" json:"task_list,omitempty"` + ExecutionStartToCloseTimeout *types.Duration `protobuf:"bytes,2,opt,name=execution_start_to_close_timeout,json=executionStartToCloseTimeout,proto3" json:"execution_start_to_close_timeout,omitempty"` + TaskStartToCloseTimeout *types.Duration `protobuf:"bytes,3,opt,name=task_start_to_close_timeout,json=taskStartToCloseTimeout,proto3" json:"task_start_to_close_timeout,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *WorkflowExecutionConfiguration) Reset() { *m = WorkflowExecutionConfiguration{} } +func (m *WorkflowExecutionConfiguration) String() string { return proto.CompactTextString(m) } +func (*WorkflowExecutionConfiguration) ProtoMessage() {} +func (*WorkflowExecutionConfiguration) Descriptor() ([]byte, []int) { + return fileDescriptor_2775eefb5053680f, []int{1} +} +func (m *WorkflowExecutionConfiguration) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *WorkflowExecutionConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_WorkflowExecutionConfiguration.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *WorkflowExecutionConfiguration) XXX_Merge(src proto.Message) { + xxx_messageInfo_WorkflowExecutionConfiguration.Merge(m, src) +} +func (m *WorkflowExecutionConfiguration) XXX_Size() int { + return m.Size() +} +func (m *WorkflowExecutionConfiguration) XXX_DiscardUnknown() { + xxx_messageInfo_WorkflowExecutionConfiguration.DiscardUnknown(m) +} + +var xxx_messageInfo_WorkflowExecutionConfiguration proto.InternalMessageInfo + +func (m *WorkflowExecutionConfiguration) GetTaskList() *TaskList { + if m != nil { + return m.TaskList + } + return nil +} + +func (m *WorkflowExecutionConfiguration) GetExecutionStartToCloseTimeout() *types.Duration { + if m != nil { + return m.ExecutionStartToCloseTimeout + } + return nil +} + +func (m *WorkflowExecutionConfiguration) GetTaskStartToCloseTimeout() *types.Duration { + if m != nil { + return m.TaskStartToCloseTimeout + } + return nil +} + +type ParentExecutionInfo struct { + DomainId string `protobuf:"bytes,1,opt,name=domain_id,json=domainId,proto3" json:"domain_id,omitempty"` + DomainName string `protobuf:"bytes,2,opt,name=domain_name,json=domainName,proto3" json:"domain_name,omitempty"` + WorkflowExecution *WorkflowExecution `protobuf:"bytes,3,opt,name=workflow_execution,json=workflowExecution,proto3" json:"workflow_execution,omitempty"` + InitiatedId int64 `protobuf:"varint,4,opt,name=initiated_id,json=initiatedId,proto3" json:"initiated_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ParentExecutionInfo) Reset() { *m = ParentExecutionInfo{} } +func (m *ParentExecutionInfo) String() string { return proto.CompactTextString(m) } +func (*ParentExecutionInfo) ProtoMessage() {} +func (*ParentExecutionInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_2775eefb5053680f, []int{2} +} +func (m *ParentExecutionInfo) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ParentExecutionInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ParentExecutionInfo.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ParentExecutionInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_ParentExecutionInfo.Merge(m, src) +} +func (m *ParentExecutionInfo) XXX_Size() int { + return m.Size() +} +func (m *ParentExecutionInfo) XXX_DiscardUnknown() { + xxx_messageInfo_ParentExecutionInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_ParentExecutionInfo proto.InternalMessageInfo + +func (m *ParentExecutionInfo) GetDomainId() string { + if m != nil { + return m.DomainId + } + return "" +} + +func (m *ParentExecutionInfo) GetDomainName() string { + if m != nil { + return m.DomainName + } + return "" +} + +func (m *ParentExecutionInfo) GetWorkflowExecution() *WorkflowExecution { + if m != nil { + return m.WorkflowExecution + } + return nil +} + +func (m *ParentExecutionInfo) GetInitiatedId() int64 { + if m != nil { + return m.InitiatedId + } + return 0 +} + +type ExternalExecutionInfo struct { + WorkflowExecution *WorkflowExecution `protobuf:"bytes,1,opt,name=workflow_execution,json=workflowExecution,proto3" json:"workflow_execution,omitempty"` + InitiatedId int64 `protobuf:"varint,2,opt,name=initiated_id,json=initiatedId,proto3" json:"initiated_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ExternalExecutionInfo) Reset() { *m = ExternalExecutionInfo{} } +func (m *ExternalExecutionInfo) String() string { return proto.CompactTextString(m) } +func (*ExternalExecutionInfo) ProtoMessage() {} +func (*ExternalExecutionInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_2775eefb5053680f, []int{3} +} +func (m *ExternalExecutionInfo) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ExternalExecutionInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ExternalExecutionInfo.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ExternalExecutionInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_ExternalExecutionInfo.Merge(m, src) +} +func (m *ExternalExecutionInfo) XXX_Size() int { + return m.Size() +} +func (m *ExternalExecutionInfo) XXX_DiscardUnknown() { + xxx_messageInfo_ExternalExecutionInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_ExternalExecutionInfo proto.InternalMessageInfo + +func (m *ExternalExecutionInfo) GetWorkflowExecution() *WorkflowExecution { + if m != nil { + return m.WorkflowExecution + } + return nil +} + +func (m *ExternalExecutionInfo) GetInitiatedId() int64 { + if m != nil { + return m.InitiatedId + } + return 0 +} + +type PendingActivityInfo struct { + ActivityId string `protobuf:"bytes,1,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"` + ActivityType *ActivityType `protobuf:"bytes,2,opt,name=activity_type,json=activityType,proto3" json:"activity_type,omitempty"` + State PendingActivityState `protobuf:"varint,3,opt,name=state,proto3,enum=uber.cadence.api.v1.PendingActivityState" json:"state,omitempty"` + HeartbeatDetails *Payload `protobuf:"bytes,4,opt,name=heartbeat_details,json=heartbeatDetails,proto3" json:"heartbeat_details,omitempty"` + LastHeartbeatTime *types.Timestamp `protobuf:"bytes,5,opt,name=last_heartbeat_time,json=lastHeartbeatTime,proto3" json:"last_heartbeat_time,omitempty"` + LastStartedTime *types.Timestamp `protobuf:"bytes,6,opt,name=last_started_time,json=lastStartedTime,proto3" json:"last_started_time,omitempty"` + Attempt int32 `protobuf:"varint,7,opt,name=attempt,proto3" json:"attempt,omitempty"` + MaximumAttempts int32 `protobuf:"varint,8,opt,name=maximum_attempts,json=maximumAttempts,proto3" json:"maximum_attempts,omitempty"` + ScheduledTime *types.Timestamp `protobuf:"bytes,9,opt,name=scheduled_time,json=scheduledTime,proto3" json:"scheduled_time,omitempty"` + ExpirationTime *types.Timestamp `protobuf:"bytes,10,opt,name=expiration_time,json=expirationTime,proto3" json:"expiration_time,omitempty"` + LastFailure *Failure `protobuf:"bytes,11,opt,name=last_failure,json=lastFailure,proto3" json:"last_failure,omitempty"` + LastWorkerIdentity string `protobuf:"bytes,12,opt,name=last_worker_identity,json=lastWorkerIdentity,proto3" json:"last_worker_identity,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *PendingActivityInfo) Reset() { *m = PendingActivityInfo{} } +func (m *PendingActivityInfo) String() string { return proto.CompactTextString(m) } +func (*PendingActivityInfo) ProtoMessage() {} +func (*PendingActivityInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_2775eefb5053680f, []int{4} +} +func (m *PendingActivityInfo) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *PendingActivityInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_PendingActivityInfo.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *PendingActivityInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_PendingActivityInfo.Merge(m, src) +} +func (m *PendingActivityInfo) XXX_Size() int { + return m.Size() +} +func (m *PendingActivityInfo) XXX_DiscardUnknown() { + xxx_messageInfo_PendingActivityInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_PendingActivityInfo proto.InternalMessageInfo + +func (m *PendingActivityInfo) GetActivityId() string { + if m != nil { + return m.ActivityId + } + return "" +} + +func (m *PendingActivityInfo) GetActivityType() *ActivityType { + if m != nil { + return m.ActivityType + } + return nil +} + +func (m *PendingActivityInfo) GetState() PendingActivityState { + if m != nil { + return m.State + } + return PendingActivityState_PENDING_ACTIVITY_STATE_INVALID +} + +func (m *PendingActivityInfo) GetHeartbeatDetails() *Payload { + if m != nil { + return m.HeartbeatDetails + } + return nil +} + +func (m *PendingActivityInfo) GetLastHeartbeatTime() *types.Timestamp { + if m != nil { + return m.LastHeartbeatTime + } + return nil +} + +func (m *PendingActivityInfo) GetLastStartedTime() *types.Timestamp { + if m != nil { + return m.LastStartedTime + } + return nil +} + +func (m *PendingActivityInfo) GetAttempt() int32 { + if m != nil { + return m.Attempt + } + return 0 +} + +func (m *PendingActivityInfo) GetMaximumAttempts() int32 { + if m != nil { + return m.MaximumAttempts + } + return 0 +} + +func (m *PendingActivityInfo) GetScheduledTime() *types.Timestamp { + if m != nil { + return m.ScheduledTime + } + return nil +} + +func (m *PendingActivityInfo) GetExpirationTime() *types.Timestamp { + if m != nil { + return m.ExpirationTime + } + return nil +} + +func (m *PendingActivityInfo) GetLastFailure() *Failure { + if m != nil { + return m.LastFailure + } + return nil +} + +func (m *PendingActivityInfo) GetLastWorkerIdentity() string { + if m != nil { + return m.LastWorkerIdentity + } + return "" +} + +type PendingChildExecutionInfo struct { + WorkflowExecution *WorkflowExecution `protobuf:"bytes,1,opt,name=workflow_execution,json=workflowExecution,proto3" json:"workflow_execution,omitempty"` + WorkflowTypeName string `protobuf:"bytes,2,opt,name=workflow_type_name,json=workflowTypeName,proto3" json:"workflow_type_name,omitempty"` + InitiatedId int64 `protobuf:"varint,3,opt,name=initiated_id,json=initiatedId,proto3" json:"initiated_id,omitempty"` + ParentClosePolicy ParentClosePolicy `protobuf:"varint,4,opt,name=parent_close_policy,json=parentClosePolicy,proto3,enum=uber.cadence.api.v1.ParentClosePolicy" json:"parent_close_policy,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *PendingChildExecutionInfo) Reset() { *m = PendingChildExecutionInfo{} } +func (m *PendingChildExecutionInfo) String() string { return proto.CompactTextString(m) } +func (*PendingChildExecutionInfo) ProtoMessage() {} +func (*PendingChildExecutionInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_2775eefb5053680f, []int{5} +} +func (m *PendingChildExecutionInfo) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *PendingChildExecutionInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_PendingChildExecutionInfo.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *PendingChildExecutionInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_PendingChildExecutionInfo.Merge(m, src) +} +func (m *PendingChildExecutionInfo) XXX_Size() int { + return m.Size() +} +func (m *PendingChildExecutionInfo) XXX_DiscardUnknown() { + xxx_messageInfo_PendingChildExecutionInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_PendingChildExecutionInfo proto.InternalMessageInfo + +func (m *PendingChildExecutionInfo) GetWorkflowExecution() *WorkflowExecution { + if m != nil { + return m.WorkflowExecution + } + return nil +} + +func (m *PendingChildExecutionInfo) GetWorkflowTypeName() string { + if m != nil { + return m.WorkflowTypeName + } + return "" +} + +func (m *PendingChildExecutionInfo) GetInitiatedId() int64 { + if m != nil { + return m.InitiatedId + } + return 0 +} + +func (m *PendingChildExecutionInfo) GetParentClosePolicy() ParentClosePolicy { + if m != nil { + return m.ParentClosePolicy + } + return ParentClosePolicy_PARENT_CLOSE_POLICY_INVALID +} + +type PendingDecisionInfo struct { + State PendingDecisionState `protobuf:"varint,1,opt,name=state,proto3,enum=uber.cadence.api.v1.PendingDecisionState" json:"state,omitempty"` + ScheduledTime *types.Timestamp `protobuf:"bytes,2,opt,name=scheduled_time,json=scheduledTime,proto3" json:"scheduled_time,omitempty"` + StartedTime *types.Timestamp `protobuf:"bytes,3,opt,name=started_time,json=startedTime,proto3" json:"started_time,omitempty"` + Attempt int32 `protobuf:"varint,4,opt,name=attempt,proto3" json:"attempt,omitempty"` + OriginalScheduledTime *types.Timestamp `protobuf:"bytes,5,opt,name=original_scheduled_time,json=originalScheduledTime,proto3" json:"original_scheduled_time,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *PendingDecisionInfo) Reset() { *m = PendingDecisionInfo{} } +func (m *PendingDecisionInfo) String() string { return proto.CompactTextString(m) } +func (*PendingDecisionInfo) ProtoMessage() {} +func (*PendingDecisionInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_2775eefb5053680f, []int{6} +} +func (m *PendingDecisionInfo) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *PendingDecisionInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_PendingDecisionInfo.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *PendingDecisionInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_PendingDecisionInfo.Merge(m, src) +} +func (m *PendingDecisionInfo) XXX_Size() int { + return m.Size() +} +func (m *PendingDecisionInfo) XXX_DiscardUnknown() { + xxx_messageInfo_PendingDecisionInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_PendingDecisionInfo proto.InternalMessageInfo + +func (m *PendingDecisionInfo) GetState() PendingDecisionState { + if m != nil { + return m.State + } + return PendingDecisionState_PENDING_DECISION_STATE_INVALID +} + +func (m *PendingDecisionInfo) GetScheduledTime() *types.Timestamp { + if m != nil { + return m.ScheduledTime + } + return nil +} + +func (m *PendingDecisionInfo) GetStartedTime() *types.Timestamp { + if m != nil { + return m.StartedTime + } + return nil +} + +func (m *PendingDecisionInfo) GetAttempt() int32 { + if m != nil { + return m.Attempt + } + return 0 +} + +func (m *PendingDecisionInfo) GetOriginalScheduledTime() *types.Timestamp { + if m != nil { + return m.OriginalScheduledTime + } + return nil +} + +type ActivityLocalDispatchInfo struct { + ActivityId string `protobuf:"bytes,1,opt,name=activity_id,json=activityId,proto3" json:"activity_id,omitempty"` + ScheduledTime *types.Timestamp `protobuf:"bytes,2,opt,name=scheduled_time,json=scheduledTime,proto3" json:"scheduled_time,omitempty"` + StartedTime *types.Timestamp `protobuf:"bytes,3,opt,name=started_time,json=startedTime,proto3" json:"started_time,omitempty"` + ScheduledTimeOfThisAttempt *types.Timestamp `protobuf:"bytes,4,opt,name=scheduled_time_of_this_attempt,json=scheduledTimeOfThisAttempt,proto3" json:"scheduled_time_of_this_attempt,omitempty"` + TaskToken []byte `protobuf:"bytes,5,opt,name=task_token,json=taskToken,proto3" json:"task_token,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ActivityLocalDispatchInfo) Reset() { *m = ActivityLocalDispatchInfo{} } +func (m *ActivityLocalDispatchInfo) String() string { return proto.CompactTextString(m) } +func (*ActivityLocalDispatchInfo) ProtoMessage() {} +func (*ActivityLocalDispatchInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_2775eefb5053680f, []int{7} +} +func (m *ActivityLocalDispatchInfo) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ActivityLocalDispatchInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ActivityLocalDispatchInfo.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ActivityLocalDispatchInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_ActivityLocalDispatchInfo.Merge(m, src) +} +func (m *ActivityLocalDispatchInfo) XXX_Size() int { + return m.Size() +} +func (m *ActivityLocalDispatchInfo) XXX_DiscardUnknown() { + xxx_messageInfo_ActivityLocalDispatchInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_ActivityLocalDispatchInfo proto.InternalMessageInfo + +func (m *ActivityLocalDispatchInfo) GetActivityId() string { + if m != nil { + return m.ActivityId + } + return "" +} + +func (m *ActivityLocalDispatchInfo) GetScheduledTime() *types.Timestamp { + if m != nil { + return m.ScheduledTime + } + return nil +} + +func (m *ActivityLocalDispatchInfo) GetStartedTime() *types.Timestamp { + if m != nil { + return m.StartedTime + } + return nil +} + +func (m *ActivityLocalDispatchInfo) GetScheduledTimeOfThisAttempt() *types.Timestamp { + if m != nil { + return m.ScheduledTimeOfThisAttempt + } + return nil +} + +func (m *ActivityLocalDispatchInfo) GetTaskToken() []byte { + if m != nil { + return m.TaskToken + } + return nil +} + +type ResetPoints struct { + Points []*ResetPointInfo `protobuf:"bytes,1,rep,name=points,proto3" json:"points,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ResetPoints) Reset() { *m = ResetPoints{} } +func (m *ResetPoints) String() string { return proto.CompactTextString(m) } +func (*ResetPoints) ProtoMessage() {} +func (*ResetPoints) Descriptor() ([]byte, []int) { + return fileDescriptor_2775eefb5053680f, []int{8} +} +func (m *ResetPoints) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ResetPoints) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ResetPoints.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ResetPoints) XXX_Merge(src proto.Message) { + xxx_messageInfo_ResetPoints.Merge(m, src) +} +func (m *ResetPoints) XXX_Size() int { + return m.Size() +} +func (m *ResetPoints) XXX_DiscardUnknown() { + xxx_messageInfo_ResetPoints.DiscardUnknown(m) +} + +var xxx_messageInfo_ResetPoints proto.InternalMessageInfo + +func (m *ResetPoints) GetPoints() []*ResetPointInfo { + if m != nil { + return m.Points + } + return nil +} + +type ResetPointInfo struct { + BinaryChecksum string `protobuf:"bytes,1,opt,name=binary_checksum,json=binaryChecksum,proto3" json:"binary_checksum,omitempty"` + RunId string `protobuf:"bytes,2,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"` + FirstDecisionCompletedId int64 `protobuf:"varint,3,opt,name=first_decision_completed_id,json=firstDecisionCompletedId,proto3" json:"first_decision_completed_id,omitempty"` + CreatedTime *types.Timestamp `protobuf:"bytes,4,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"` + ExpiringTime *types.Timestamp `protobuf:"bytes,5,opt,name=expiring_time,json=expiringTime,proto3" json:"expiring_time,omitempty"` + Resettable bool `protobuf:"varint,6,opt,name=resettable,proto3" json:"resettable,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ResetPointInfo) Reset() { *m = ResetPointInfo{} } +func (m *ResetPointInfo) String() string { return proto.CompactTextString(m) } +func (*ResetPointInfo) ProtoMessage() {} +func (*ResetPointInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_2775eefb5053680f, []int{9} +} +func (m *ResetPointInfo) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ResetPointInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ResetPointInfo.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ResetPointInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_ResetPointInfo.Merge(m, src) +} +func (m *ResetPointInfo) XXX_Size() int { + return m.Size() +} +func (m *ResetPointInfo) XXX_DiscardUnknown() { + xxx_messageInfo_ResetPointInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_ResetPointInfo proto.InternalMessageInfo + +func (m *ResetPointInfo) GetBinaryChecksum() string { + if m != nil { + return m.BinaryChecksum + } + return "" +} + +func (m *ResetPointInfo) GetRunId() string { + if m != nil { + return m.RunId + } + return "" +} + +func (m *ResetPointInfo) GetFirstDecisionCompletedId() int64 { + if m != nil { + return m.FirstDecisionCompletedId + } + return 0 +} + +func (m *ResetPointInfo) GetCreatedTime() *types.Timestamp { + if m != nil { + return m.CreatedTime + } + return nil +} + +func (m *ResetPointInfo) GetExpiringTime() *types.Timestamp { + if m != nil { + return m.ExpiringTime + } + return nil +} + +func (m *ResetPointInfo) GetResettable() bool { + if m != nil { + return m.Resettable + } + return false +} + +func init() { + proto.RegisterEnum("uber.cadence.api.v1.PendingActivityState", PendingActivityState_name, PendingActivityState_value) + proto.RegisterEnum("uber.cadence.api.v1.PendingDecisionState", PendingDecisionState_name, PendingDecisionState_value) + proto.RegisterEnum("uber.cadence.api.v1.WorkflowIdReusePolicy", WorkflowIdReusePolicy_name, WorkflowIdReusePolicy_value) + proto.RegisterEnum("uber.cadence.api.v1.ParentClosePolicy", ParentClosePolicy_name, ParentClosePolicy_value) + proto.RegisterEnum("uber.cadence.api.v1.WorkflowExecutionCloseStatus", WorkflowExecutionCloseStatus_name, WorkflowExecutionCloseStatus_value) + proto.RegisterEnum("uber.cadence.api.v1.ContinueAsNewInitiator", ContinueAsNewInitiator_name, ContinueAsNewInitiator_value) + proto.RegisterEnum("uber.cadence.api.v1.TimeoutType", TimeoutType_name, TimeoutType_value) + proto.RegisterEnum("uber.cadence.api.v1.DecisionTaskTimedOutCause", DecisionTaskTimedOutCause_name, DecisionTaskTimedOutCause_value) + proto.RegisterEnum("uber.cadence.api.v1.DecisionTaskFailedCause", DecisionTaskFailedCause_name, DecisionTaskFailedCause_value) + proto.RegisterEnum("uber.cadence.api.v1.ChildWorkflowExecutionFailedCause", ChildWorkflowExecutionFailedCause_name, ChildWorkflowExecutionFailedCause_value) + proto.RegisterEnum("uber.cadence.api.v1.CancelExternalWorkflowExecutionFailedCause", CancelExternalWorkflowExecutionFailedCause_name, CancelExternalWorkflowExecutionFailedCause_value) + proto.RegisterEnum("uber.cadence.api.v1.SignalExternalWorkflowExecutionFailedCause", SignalExternalWorkflowExecutionFailedCause_name, SignalExternalWorkflowExecutionFailedCause_value) + proto.RegisterType((*WorkflowExecutionInfo)(nil), "uber.cadence.api.v1.WorkflowExecutionInfo") + proto.RegisterType((*WorkflowExecutionConfiguration)(nil), "uber.cadence.api.v1.WorkflowExecutionConfiguration") + proto.RegisterType((*ParentExecutionInfo)(nil), "uber.cadence.api.v1.ParentExecutionInfo") + proto.RegisterType((*ExternalExecutionInfo)(nil), "uber.cadence.api.v1.ExternalExecutionInfo") + proto.RegisterType((*PendingActivityInfo)(nil), "uber.cadence.api.v1.PendingActivityInfo") + proto.RegisterType((*PendingChildExecutionInfo)(nil), "uber.cadence.api.v1.PendingChildExecutionInfo") + proto.RegisterType((*PendingDecisionInfo)(nil), "uber.cadence.api.v1.PendingDecisionInfo") + proto.RegisterType((*ActivityLocalDispatchInfo)(nil), "uber.cadence.api.v1.ActivityLocalDispatchInfo") + proto.RegisterType((*ResetPoints)(nil), "uber.cadence.api.v1.ResetPoints") + proto.RegisterType((*ResetPointInfo)(nil), "uber.cadence.api.v1.ResetPointInfo") +} + +func init() { + proto.RegisterFile("uber/cadence/api/v1/workflow.proto", fileDescriptor_2775eefb5053680f) +} + +var fileDescriptor_2775eefb5053680f = []byte{ + // 2302 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x59, 0xcf, 0x6f, 0xdb, 0xc8, + 0x15, 0x2e, 0x25, 0xdb, 0xb1, 0x9f, 0xfc, 0x83, 0x1e, 0xc7, 0x6b, 0x25, 0xd9, 0x38, 0x8e, 0xb6, + 0x49, 0x1c, 0x75, 0x23, 0xaf, 0x93, 0xcd, 0xa6, 0xd9, 0x34, 0x4d, 0x69, 0x92, 0x8e, 0x99, 0xc8, + 0x94, 0x3a, 0xa2, 0xe2, 0x78, 0x51, 0x94, 0xa0, 0xa5, 0xb1, 0x4d, 0x44, 0x22, 0x05, 0x92, 0x4a, + 0xe2, 0x7b, 0x81, 0x9e, 0x7b, 0x2b, 0xda, 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 0x10, 0x66, 0x82, + 0x8b, 0x0e, 0xc9, 0x67, 0x98, 0xd0, 0xcd, 0x89, 0x42, 0xc6, 0x45, 0x87, 0x60, 0x06, 0x47, 0x8f, + 0x01, 0xfc, 0xc0, 0xf2, 0x02, 0x93, 0x96, 0x21, 0x9f, 0x65, 0xe4, 0xab, 0xa5, 0xb0, 0x46, 0xa5, + 0xa8, 0x46, 0x25, 0x23, 0xaa, 0x11, 0x5e, 0x60, 0x68, 0x7a, 0x4d, 0xa9, 0x8d, 0x96, 0xeb, 0x93, + 0x90, 0x3a, 0x93, 0x4e, 0x65, 0x68, 0x46, 0x35, 0x60, 0x31, 0xa4, 0xfa, 0x81, 0x15, 0x74, 0xfd, + 0xfc, 0xec, 0x96, 0xb0, 0xbd, 0x7c, 0x7f, 0x77, 0xba, 0xd5, 0xcb, 0x94, 0x59, 0x63, 0x44, 0x9c, + 0x6b, 0xf4, 0x2f, 0xd0, 0x2d, 0x58, 0x3e, 0xb7, 0xfd, 0xc0, 0xf5, 0x2e, 0xcc, 0x16, 0x71, 0xce, + 0x82, 0xf3, 0xfc, 0xdc, 0x96, 0xb0, 0x9d, 0xc5, 0x4b, 0x3c, 0x5a, 0x66, 0x41, 0xf4, 0x13, 0x58, + 0xef, 0x58, 0x1e, 0x71, 0x82, 0x7e, 0xf9, 0x4d, 0xdb, 0x39, 0x75, 0xf3, 0x97, 0xd8, 0x12, 0xb6, + 0x13, 0xb3, 0xa8, 0x32, 0xc6, 0xc0, 0x4e, 0xe2, 0xb5, 0xce, 0x68, 0x10, 0x49, 0xb0, 0xdc, 0x97, + 0x65, 0x95, 0x99, 0x4f, 0xad, 0xcc, 0x52, 0x8f, 0xc1, 0xaa, 0x73, 0x0f, 0x66, 0xda, 0xa4, 0xed, + 0xe6, 0x17, 0x18, 0xf1, 0x4a, 0x62, 0x3e, 0x87, 0xa4, 0xed, 0x62, 0x06, 0x43, 0x18, 0x56, 0x7d, + 0x62, 0x79, 0x8d, 0x73, 0xd3, 0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1b, 0xa6, 0x71, 0x5c, + 0x55, 0x07, 0x7b, 0x78, 0xe0, 0x0e, 0xb3, 0x07, 0xd3, 0xa8, 0x84, 0xd5, 0x09, 0x9d, 0x64, 0x10, + 0xc0, 0x9f, 0x42, 0x31, 0x0c, 0x2c, 0x66, 0x26, 0x62, 0x42, 0x9d, 0x2c, 0xba, 0x0a, 0x9f, 0x0c, + 0x60, 0x0e, 0x54, 0x09, 0x1b, 0x7b, 0xaa, 0x64, 0x88, 0x33, 0xc5, 0x5f, 0x09, 0x70, 0x25, 0x72, + 0x42, 0x83, 0xbe, 0x58, 0xed, 0x36, 0x69, 0x56, 0xba, 0x81, 0x6c, 0x75, 0x7d, 0x82, 0xee, 0xc2, + 0xad, 0x9e, 0x87, 0x19, 0x52, 0xed, 0x65, 0x7f, 0xaf, 0x4c, 0x59, 0xa2, 0xc3, 0xdd, 0x5f, 0x4d, + 0x2a, 0x94, 0xa7, 0x20, 0x0a, 0xe8, 0x0e, 0x7c, 0x36, 0x19, 0x8a, 0xd5, 0x9a, 0x6a, 0x88, 0x99, + 0xe2, 0x3f, 0x72, 0xb0, 0x11, 0x4f, 0x8e, 0x1e, 0xe8, 0x49, 0x33, 0x4c, 0xed, 0x36, 0x14, 0x06, + 0x45, 0xb8, 0xcf, 0x0d, 0xe7, 0xb5, 0x0b, 0xf7, 0x26, 0xe0, 0xea, 0xfa, 0x81, 0xa4, 0x2b, 0xf4, + 0x3a, 0x02, 0x89, 0x02, 0x7a, 0x06, 0x4f, 0x26, 0x50, 0xf6, 0x24, 0xa5, 0x5f, 0xe5, 0xde, 0x1b, + 0x47, 0x32, 0x0c, 0xac, 0xed, 0xd5, 0x0d, 0xb5, 0x26, 0x66, 0x90, 0x0a, 0x52, 0x8a, 0xc0, 0xa0, + 0x0f, 0x25, 0xca, 0x64, 0xd1, 0x63, 0x78, 0x98, 0x96, 0x47, 0xd8, 0x32, 0xda, 0xa1, 0x8a, 0xe3, + 0xd4, 0x19, 0xf4, 0x35, 0x7c, 0x95, 0x42, 0xe5, 0x4f, 0x1e, 0xe1, 0xce, 0xa2, 0x27, 0xf0, 0x28, + 0x35, 0x7b, 0xb9, 0x82, 0x15, 0xf3, 0x50, 0xc2, 0x2f, 0x07, 0xc9, 0x73, 0x48, 0x03, 0x35, 0xed, + 0xc1, 0xdc, 0xdd, 0xcc, 0x04, 0x5f, 0x88, 0x49, 0x5d, 0x9a, 0xa2, 0x8a, 0x34, 0x90, 0x22, 0x33, + 0x8f, 0x9e, 0x83, 0x3c, 0x5d, 0x29, 0x26, 0x0b, 0x2d, 0xa0, 0xd7, 0x60, 0x7c, 0xdc, 0xae, 0xaa, + 0xaf, 0x0d, 0x15, 0xeb, 0x52, 0x9a, 0x32, 0xa0, 0xa7, 0xf0, 0x38, 0xb5, 0x68, 0x83, 0xfe, 0x13, + 0xa3, 0xe7, 0xd0, 0x23, 0x78, 0x30, 0x81, 0x1e, 0xef, 0x91, 0xfe, 0xa9, 0x40, 0x53, 0xc4, 0x45, + 0xf4, 0x10, 0x76, 0x27, 0x10, 0xd9, 0x14, 0x9a, 0x35, 0x43, 0x93, 0x5f, 0x1e, 0x87, 0xb7, 0xcb, + 0x5a, 0xcd, 0x10, 0x97, 0xd0, 0x8f, 0xe0, 0x07, 0x13, 0x68, 0xbd, 0xc5, 0xd2, 0x3f, 0x54, 0x1c, + 0x1b, 0x31, 0x0a, 0xab, 0x63, 0x55, 0x5c, 0x9e, 0x62, 0x4f, 0x6a, 0xda, 0xf3, 0xf4, 0xca, 0xad, + 0x20, 0x19, 0x9e, 0x4d, 0x35, 0x22, 0xf2, 0x81, 0x56, 0x56, 0x92, 0x45, 0x44, 0xf4, 0x00, 0x76, + 0x26, 0x88, 0xec, 0x57, 0xb0, 0xac, 0xf2, 0x37, 0x56, 0xcf, 0x24, 0x56, 0xd1, 0x57, 0x70, 0x7f, + 0x12, 0x49, 0xd2, 0xca, 0x95, 0x57, 0x2a, 0x1e, 0xe6, 0x21, 0xfa, 0x1a, 0x9d,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d9, 0xc1, 0x79, 0xf7, 0xa4, 0xd4, 0x70, 0xdb, 0x3b, 0x03, 0xbf, 0x45, 0x96, 0xce, 0x88, 0x13, + 0xfe, 0xb2, 0xc9, 0x7f, 0x96, 0x7c, 0x62, 0x75, 0xec, 0xb7, 0xbb, 0x27, 0x73, 0x2c, 0xf6, 0xe0, + 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xdf, 0xa4, 0xf1, 0x62, 0x56, 0x1d, 0x00, 0x00, +} + +func (m *WorkflowExecutionInfo) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *WorkflowExecutionInfo) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *WorkflowExecutionInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.IsCron { + i-- + if m.IsCron { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x68 + } + if len(m.TaskList) > 0 { + i -= len(m.TaskList) + copy(dAtA[i:], m.TaskList) + i = encodeVarintWorkflow(dAtA, i, uint64(len(m.TaskList))) + i-- + dAtA[i] = 0x62 + } + if m.AutoResetPoints != nil { + { + size, err := m.AutoResetPoints.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintWorkflow(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x5a + } + if m.SearchAttributes != nil { + { + size, err := m.SearchAttributes.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintWorkflow(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x52 + } + if m.Memo != nil { + { + size, err := m.Memo.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintWorkflow(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x4a + } + if m.ExecutionTime != nil { + { + size, err := m.ExecutionTime.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintWorkflow(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x42 + } + if m.ParentExecutionInfo != nil { + { + size, err := m.ParentExecutionInfo.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintWorkflow(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x3a + } + if m.HistoryLength != 0 { + i = encodeVarintWorkflow(dAtA, i, uint64(m.HistoryLength)) + i-- + dAtA[i] = 0x30 + } + if m.CloseStatus != 0 { + i = encodeVarintWorkflow(dAtA, i, uint64(m.CloseStatus)) + i-- + dAtA[i] = 0x28 + } + if m.CloseTime != nil { + { + size, err := m.CloseTime.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintWorkflow(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 + } + if m.StartTime != nil { + { + size, err := m.StartTime.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintWorkflow(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + if m.Type != nil { + { + size, err := m.Type.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintWorkflow(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if m.WorkflowExecution != nil { + { + size, err := m.WorkflowExecution.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintWorkflow(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *WorkflowExecutionConfiguration) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *WorkflowExecutionConfiguration) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *WorkflowExecutionConfiguration) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.TaskStartToCloseTimeout != nil { + { + size, err := m.TaskStartToCloseTimeout.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintWorkflow(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + if m.ExecutionStartToCloseTimeout != nil { + { + size, err := m.ExecutionStartToCloseTimeout.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintWorkflow(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if m.TaskList != nil { + { + size, err := m.TaskList.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintWorkflow(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ParentExecutionInfo) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ParentExecutionInfo) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ParentExecutionInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.InitiatedId != 0 { + i = encodeVarintWorkflow(dAtA, i, uint64(m.InitiatedId)) + i-- + dAtA[i] = 0x20 + } + if m.WorkflowExecution != nil { + { + size, err := m.WorkflowExecution.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintWorkflow(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + if len(m.DomainName) > 0 { + i -= len(m.DomainName) + copy(dAtA[i:], m.DomainName) + i = encodeVarintWorkflow(dAtA, i, uint64(len(m.DomainName))) + i-- + dAtA[i] = 0x12 + } + if len(m.DomainId) > 0 { + i -= len(m.DomainId) + copy(dAtA[i:], m.DomainId) + i = encodeVarintWorkflow(dAtA, i, uint64(len(m.DomainId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ExternalExecutionInfo) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ExternalExecutionInfo) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ExternalExecutionInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.InitiatedId != 0 { + i = encodeVarintWorkflow(dAtA, i, uint64(m.InitiatedId)) + i-- + dAtA[i] = 0x10 + } + if m.WorkflowExecution != nil { + { + size, err := m.WorkflowExecution.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintWorkflow(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *PendingActivityInfo) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *PendingActivityInfo) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *PendingActivityInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.LastWorkerIdentity) > 0 { + i -= len(m.LastWorkerIdentity) + copy(dAtA[i:], m.LastWorkerIdentity) + i = encodeVarintWorkflow(dAtA, i, uint64(len(m.LastWorkerIdentity))) + i-- + dAtA[i] = 0x62 + } + if m.LastFailure != nil { + { + size, err := m.LastFailure.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintWorkflow(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x5a + } + if m.ExpirationTime != nil { + { + size, err := m.ExpirationTime.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintWorkflow(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x52 + } + if m.ScheduledTime != nil { + { + size, err := m.ScheduledTime.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintWorkflow(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x4a + } + if m.MaximumAttempts != 0 { + i = encodeVarintWorkflow(dAtA, i, uint64(m.MaximumAttempts)) + i-- + dAtA[i] = 0x40 + } + if m.Attempt != 0 { + i = encodeVarintWorkflow(dAtA, i, uint64(m.Attempt)) + i-- + dAtA[i] = 0x38 + } + if m.LastStartedTime != nil { + { + size, err := m.LastStartedTime.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintWorkflow(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x32 + } + if m.LastHeartbeatTime != nil { + { + size, err := m.LastHeartbeatTime.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintWorkflow(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a + } + if m.HeartbeatDetails != nil { + { + size, err := m.HeartbeatDetails.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintWorkflow(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 + } + if m.State != 0 { + i = encodeVarintWorkflow(dAtA, i, uint64(m.State)) + i-- + dAtA[i] = 0x18 + } + if m.ActivityType != nil { + { + size, err := m.ActivityType.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintWorkflow(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if len(m.ActivityId) > 0 { + i -= len(m.ActivityId) + copy(dAtA[i:], m.ActivityId) + i = encodeVarintWorkflow(dAtA, i, uint64(len(m.ActivityId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *PendingChildExecutionInfo) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *PendingChildExecutionInfo) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *PendingChildExecutionInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.ParentClosePolicy != 0 { + i = encodeVarintWorkflow(dAtA, i, uint64(m.ParentClosePolicy)) + i-- + dAtA[i] = 0x20 + } + if m.InitiatedId != 0 { + i = encodeVarintWorkflow(dAtA, i, uint64(m.InitiatedId)) + i-- + dAtA[i] = 0x18 + } + if len(m.WorkflowTypeName) > 0 { + i -= len(m.WorkflowTypeName) + copy(dAtA[i:], m.WorkflowTypeName) + i = encodeVarintWorkflow(dAtA, i, uint64(len(m.WorkflowTypeName))) + i-- + dAtA[i] = 0x12 + } + if m.WorkflowExecution != nil { + { + size, err := m.WorkflowExecution.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintWorkflow(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *PendingDecisionInfo) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *PendingDecisionInfo) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *PendingDecisionInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.OriginalScheduledTime != nil { + { + size, err := m.OriginalScheduledTime.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintWorkflow(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a + } + if m.Attempt != 0 { + i = encodeVarintWorkflow(dAtA, i, uint64(m.Attempt)) + i-- + dAtA[i] = 0x20 + } + if m.StartedTime != nil { + { + size, err := m.StartedTime.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintWorkflow(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + if m.ScheduledTime != nil { + { + size, err := m.ScheduledTime.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintWorkflow(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if m.State != 0 { + i = encodeVarintWorkflow(dAtA, i, uint64(m.State)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *ActivityLocalDispatchInfo) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ActivityLocalDispatchInfo) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ActivityLocalDispatchInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.TaskToken) > 0 { + i -= len(m.TaskToken) + copy(dAtA[i:], m.TaskToken) + i = encodeVarintWorkflow(dAtA, i, uint64(len(m.TaskToken))) + i-- + dAtA[i] = 0x2a + } + if m.ScheduledTimeOfThisAttempt != nil { + { + size, err := m.ScheduledTimeOfThisAttempt.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintWorkflow(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 + } + if m.StartedTime != nil { + { + size, err := m.StartedTime.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintWorkflow(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + if m.ScheduledTime != nil { + { + size, err := m.ScheduledTime.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintWorkflow(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if len(m.ActivityId) > 0 { + i -= len(m.ActivityId) + copy(dAtA[i:], m.ActivityId) + i = encodeVarintWorkflow(dAtA, i, uint64(len(m.ActivityId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ResetPoints) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ResetPoints) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ResetPoints) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if len(m.Points) > 0 { + for iNdEx := len(m.Points) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Points[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintWorkflow(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *ResetPointInfo) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ResetPointInfo) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ResetPointInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.XXX_unrecognized != nil { + i -= len(m.XXX_unrecognized) + copy(dAtA[i:], m.XXX_unrecognized) + } + if m.Resettable { + i-- + if m.Resettable { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x30 + } + if m.ExpiringTime != nil { + { + size, err := m.ExpiringTime.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintWorkflow(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a + } + if m.CreatedTime != nil { + { + size, err := m.CreatedTime.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintWorkflow(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 + } + if m.FirstDecisionCompletedId != 0 { + i = encodeVarintWorkflow(dAtA, i, uint64(m.FirstDecisionCompletedId)) + i-- + dAtA[i] = 0x18 + } + if len(m.RunId) > 0 { + i -= len(m.RunId) + copy(dAtA[i:], m.RunId) + i = encodeVarintWorkflow(dAtA, i, uint64(len(m.RunId))) + i-- + dAtA[i] = 0x12 + } + if len(m.BinaryChecksum) > 0 { + i -= len(m.BinaryChecksum) + copy(dAtA[i:], m.BinaryChecksum) + i = encodeVarintWorkflow(dAtA, i, uint64(len(m.BinaryChecksum))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func encodeVarintWorkflow(dAtA []byte, offset int, v uint64) int { + offset -= sovWorkflow(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *WorkflowExecutionInfo) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.WorkflowExecution != nil { + l = m.WorkflowExecution.Size() + n += 1 + l + sovWorkflow(uint64(l)) + } + if m.Type != nil { + l = m.Type.Size() + n += 1 + l + sovWorkflow(uint64(l)) + } + if m.StartTime != nil { + l = m.StartTime.Size() + n += 1 + l + sovWorkflow(uint64(l)) + } + if m.CloseTime != nil { + l = m.CloseTime.Size() + n += 1 + l + sovWorkflow(uint64(l)) + } + if m.CloseStatus != 0 { + n += 1 + sovWorkflow(uint64(m.CloseStatus)) + } + if m.HistoryLength != 0 { + n += 1 + sovWorkflow(uint64(m.HistoryLength)) + } + if m.ParentExecutionInfo != nil { + l = m.ParentExecutionInfo.Size() + n += 1 + l + sovWorkflow(uint64(l)) + } + if m.ExecutionTime != nil { + l = m.ExecutionTime.Size() + n += 1 + l + sovWorkflow(uint64(l)) + } + if m.Memo != nil { + l = m.Memo.Size() + n += 1 + l + sovWorkflow(uint64(l)) + } + if m.SearchAttributes != nil { + l = m.SearchAttributes.Size() + n += 1 + l + sovWorkflow(uint64(l)) + } + if m.AutoResetPoints != nil { + l = m.AutoResetPoints.Size() + n += 1 + l + sovWorkflow(uint64(l)) + } + l = len(m.TaskList) + if l > 0 { + n += 1 + l + sovWorkflow(uint64(l)) + } + if m.IsCron { + n += 2 + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *WorkflowExecutionConfiguration) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.TaskList != nil { + l = m.TaskList.Size() + n += 1 + l + sovWorkflow(uint64(l)) + } + if m.ExecutionStartToCloseTimeout != nil { + l = m.ExecutionStartToCloseTimeout.Size() + n += 1 + l + sovWorkflow(uint64(l)) + } + if m.TaskStartToCloseTimeout != nil { + l = m.TaskStartToCloseTimeout.Size() + n += 1 + l + sovWorkflow(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *ParentExecutionInfo) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.DomainId) + if l > 0 { + n += 1 + l + sovWorkflow(uint64(l)) + } + l = len(m.DomainName) + if l > 0 { + n += 1 + l + sovWorkflow(uint64(l)) + } + if m.WorkflowExecution != nil { + l = m.WorkflowExecution.Size() + n += 1 + l + sovWorkflow(uint64(l)) + } + if m.InitiatedId != 0 { + n += 1 + sovWorkflow(uint64(m.InitiatedId)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *ExternalExecutionInfo) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.WorkflowExecution != nil { + l = m.WorkflowExecution.Size() + n += 1 + l + sovWorkflow(uint64(l)) + } + if m.InitiatedId != 0 { + n += 1 + sovWorkflow(uint64(m.InitiatedId)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *PendingActivityInfo) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ActivityId) + if l > 0 { + n += 1 + l + sovWorkflow(uint64(l)) + } + if m.ActivityType != nil { + l = m.ActivityType.Size() + n += 1 + l + sovWorkflow(uint64(l)) + } + if m.State != 0 { + n += 1 + sovWorkflow(uint64(m.State)) + } + if m.HeartbeatDetails != nil { + l = m.HeartbeatDetails.Size() + n += 1 + l + sovWorkflow(uint64(l)) + } + if m.LastHeartbeatTime != nil { + l = m.LastHeartbeatTime.Size() + n += 1 + l + sovWorkflow(uint64(l)) + } + if m.LastStartedTime != nil { + l = m.LastStartedTime.Size() + n += 1 + l + sovWorkflow(uint64(l)) + } + if m.Attempt != 0 { + n += 1 + sovWorkflow(uint64(m.Attempt)) + } + if m.MaximumAttempts != 0 { + n += 1 + sovWorkflow(uint64(m.MaximumAttempts)) + } + if m.ScheduledTime != nil { + l = m.ScheduledTime.Size() + n += 1 + l + sovWorkflow(uint64(l)) + } + if m.ExpirationTime != nil { + l = m.ExpirationTime.Size() + n += 1 + l + sovWorkflow(uint64(l)) + } + if m.LastFailure != nil { + l = m.LastFailure.Size() + n += 1 + l + sovWorkflow(uint64(l)) + } + l = len(m.LastWorkerIdentity) + if l > 0 { + n += 1 + l + sovWorkflow(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *PendingChildExecutionInfo) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.WorkflowExecution != nil { + l = m.WorkflowExecution.Size() + n += 1 + l + sovWorkflow(uint64(l)) + } + l = len(m.WorkflowTypeName) + if l > 0 { + n += 1 + l + sovWorkflow(uint64(l)) + } + if m.InitiatedId != 0 { + n += 1 + sovWorkflow(uint64(m.InitiatedId)) + } + if m.ParentClosePolicy != 0 { + n += 1 + sovWorkflow(uint64(m.ParentClosePolicy)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *PendingDecisionInfo) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.State != 0 { + n += 1 + sovWorkflow(uint64(m.State)) + } + if m.ScheduledTime != nil { + l = m.ScheduledTime.Size() + n += 1 + l + sovWorkflow(uint64(l)) + } + if m.StartedTime != nil { + l = m.StartedTime.Size() + n += 1 + l + sovWorkflow(uint64(l)) + } + if m.Attempt != 0 { + n += 1 + sovWorkflow(uint64(m.Attempt)) + } + if m.OriginalScheduledTime != nil { + l = m.OriginalScheduledTime.Size() + n += 1 + l + sovWorkflow(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *ActivityLocalDispatchInfo) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ActivityId) + if l > 0 { + n += 1 + l + sovWorkflow(uint64(l)) + } + if m.ScheduledTime != nil { + l = m.ScheduledTime.Size() + n += 1 + l + sovWorkflow(uint64(l)) + } + if m.StartedTime != nil { + l = m.StartedTime.Size() + n += 1 + l + sovWorkflow(uint64(l)) + } + if m.ScheduledTimeOfThisAttempt != nil { + l = m.ScheduledTimeOfThisAttempt.Size() + n += 1 + l + sovWorkflow(uint64(l)) + } + l = len(m.TaskToken) + if l > 0 { + n += 1 + l + sovWorkflow(uint64(l)) + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *ResetPoints) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Points) > 0 { + for _, e := range m.Points { + l = e.Size() + n += 1 + l + sovWorkflow(uint64(l)) + } + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func (m *ResetPointInfo) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.BinaryChecksum) + if l > 0 { + n += 1 + l + sovWorkflow(uint64(l)) + } + l = len(m.RunId) + if l > 0 { + n += 1 + l + sovWorkflow(uint64(l)) + } + if m.FirstDecisionCompletedId != 0 { + n += 1 + sovWorkflow(uint64(m.FirstDecisionCompletedId)) + } + if m.CreatedTime != nil { + l = m.CreatedTime.Size() + n += 1 + l + sovWorkflow(uint64(l)) + } + if m.ExpiringTime != nil { + l = m.ExpiringTime.Size() + n += 1 + l + sovWorkflow(uint64(l)) + } + if m.Resettable { + n += 2 + } + if m.XXX_unrecognized != nil { + n += len(m.XXX_unrecognized) + } + return n +} + +func sovWorkflow(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozWorkflow(x uint64) (n int) { + return sovWorkflow(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *WorkflowExecutionInfo) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: WorkflowExecutionInfo: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: WorkflowExecutionInfo: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowExecution", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthWorkflow + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.WorkflowExecution == nil { + m.WorkflowExecution = &WorkflowExecution{} + } + if err := m.WorkflowExecution.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthWorkflow + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Type == nil { + m.Type = &WorkflowType{} + } + if err := m.Type.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field StartTime", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthWorkflow + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.StartTime == nil { + m.StartTime = &types.Timestamp{} + } + if err := m.StartTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CloseTime", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthWorkflow + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.CloseTime == nil { + m.CloseTime = &types.Timestamp{} + } + if err := m.CloseTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field CloseStatus", wireType) + } + m.CloseStatus = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.CloseStatus |= WorkflowExecutionCloseStatus(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 6: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field HistoryLength", wireType) + } + m.HistoryLength = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.HistoryLength |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ParentExecutionInfo", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthWorkflow + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.ParentExecutionInfo == nil { + m.ParentExecutionInfo = &ParentExecutionInfo{} + } + if err := m.ParentExecutionInfo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 8: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ExecutionTime", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthWorkflow + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.ExecutionTime == nil { + m.ExecutionTime = &types.Timestamp{} + } + if err := m.ExecutionTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 9: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Memo", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthWorkflow + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Memo == nil { + m.Memo = &Memo{} + } + if err := m.Memo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 10: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SearchAttributes", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthWorkflow + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.SearchAttributes == nil { + m.SearchAttributes = &SearchAttributes{} + } + if err := m.SearchAttributes.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 11: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AutoResetPoints", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthWorkflow + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.AutoResetPoints == nil { + m.AutoResetPoints = &ResetPoints{} + } + if err := m.AutoResetPoints.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 12: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TaskList", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthWorkflow + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TaskList = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 13: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IsCron", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.IsCron = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skipWorkflow(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthWorkflow + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *WorkflowExecutionConfiguration) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: WorkflowExecutionConfiguration: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: WorkflowExecutionConfiguration: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TaskList", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthWorkflow + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.TaskList == nil { + m.TaskList = &TaskList{} + } + if err := m.TaskList.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ExecutionStartToCloseTimeout", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthWorkflow + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.ExecutionStartToCloseTimeout == nil { + m.ExecutionStartToCloseTimeout = &types.Duration{} + } + if err := m.ExecutionStartToCloseTimeout.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TaskStartToCloseTimeout", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthWorkflow + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.TaskStartToCloseTimeout == nil { + m.TaskStartToCloseTimeout = &types.Duration{} + } + if err := m.TaskStartToCloseTimeout.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipWorkflow(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthWorkflow + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ParentExecutionInfo) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ParentExecutionInfo: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ParentExecutionInfo: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DomainId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthWorkflow + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.DomainId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DomainName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthWorkflow + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.DomainName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowExecution", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthWorkflow + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.WorkflowExecution == nil { + m.WorkflowExecution = &WorkflowExecution{} + } + if err := m.WorkflowExecution.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field InitiatedId", wireType) + } + m.InitiatedId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.InitiatedId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipWorkflow(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthWorkflow + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ExternalExecutionInfo) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ExternalExecutionInfo: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ExternalExecutionInfo: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowExecution", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthWorkflow + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.WorkflowExecution == nil { + m.WorkflowExecution = &WorkflowExecution{} + } + if err := m.WorkflowExecution.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field InitiatedId", wireType) + } + m.InitiatedId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.InitiatedId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipWorkflow(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthWorkflow + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *PendingActivityInfo) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: PendingActivityInfo: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: PendingActivityInfo: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ActivityId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthWorkflow + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ActivityId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ActivityType", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthWorkflow + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.ActivityType == nil { + m.ActivityType = &ActivityType{} + } + if err := m.ActivityType.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) + } + m.State = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.State |= PendingActivityState(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field HeartbeatDetails", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthWorkflow + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.HeartbeatDetails == nil { + m.HeartbeatDetails = &Payload{} + } + if err := m.HeartbeatDetails.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field LastHeartbeatTime", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthWorkflow + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.LastHeartbeatTime == nil { + m.LastHeartbeatTime = &types.Timestamp{} + } + if err := m.LastHeartbeatTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field LastStartedTime", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthWorkflow + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.LastStartedTime == nil { + m.LastStartedTime = &types.Timestamp{} + } + if err := m.LastStartedTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 7: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Attempt", wireType) + } + m.Attempt = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Attempt |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 8: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MaximumAttempts", wireType) + } + m.MaximumAttempts = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.MaximumAttempts |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 9: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ScheduledTime", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthWorkflow + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.ScheduledTime == nil { + m.ScheduledTime = &types.Timestamp{} + } + if err := m.ScheduledTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 10: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ExpirationTime", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthWorkflow + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.ExpirationTime == nil { + m.ExpirationTime = &types.Timestamp{} + } + if err := m.ExpirationTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 11: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field LastFailure", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthWorkflow + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.LastFailure == nil { + m.LastFailure = &Failure{} + } + if err := m.LastFailure.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 12: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field LastWorkerIdentity", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthWorkflow + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.LastWorkerIdentity = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipWorkflow(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthWorkflow + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *PendingChildExecutionInfo) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: PendingChildExecutionInfo: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: PendingChildExecutionInfo: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowExecution", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthWorkflow + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.WorkflowExecution == nil { + m.WorkflowExecution = &WorkflowExecution{} + } + if err := m.WorkflowExecution.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field WorkflowTypeName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthWorkflow + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.WorkflowTypeName = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field InitiatedId", wireType) + } + m.InitiatedId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.InitiatedId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ParentClosePolicy", wireType) + } + m.ParentClosePolicy = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ParentClosePolicy |= ParentClosePolicy(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipWorkflow(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthWorkflow + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *PendingDecisionInfo) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: PendingDecisionInfo: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: PendingDecisionInfo: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field State", wireType) + } + m.State = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.State |= PendingDecisionState(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ScheduledTime", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthWorkflow + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.ScheduledTime == nil { + m.ScheduledTime = &types.Timestamp{} + } + if err := m.ScheduledTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field StartedTime", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthWorkflow + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.StartedTime == nil { + m.StartedTime = &types.Timestamp{} + } + if err := m.StartedTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Attempt", wireType) + } + m.Attempt = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Attempt |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field OriginalScheduledTime", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthWorkflow + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.OriginalScheduledTime == nil { + m.OriginalScheduledTime = &types.Timestamp{} + } + if err := m.OriginalScheduledTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipWorkflow(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthWorkflow + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ActivityLocalDispatchInfo) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ActivityLocalDispatchInfo: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ActivityLocalDispatchInfo: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ActivityId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthWorkflow + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ActivityId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ScheduledTime", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthWorkflow + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.ScheduledTime == nil { + m.ScheduledTime = &types.Timestamp{} + } + if err := m.ScheduledTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field StartedTime", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthWorkflow + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.StartedTime == nil { + m.StartedTime = &types.Timestamp{} + } + if err := m.StartedTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ScheduledTimeOfThisAttempt", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthWorkflow + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.ScheduledTimeOfThisAttempt == nil { + m.ScheduledTimeOfThisAttempt = &types.Timestamp{} + } + if err := m.ScheduledTimeOfThisAttempt.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TaskToken", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthWorkflow + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TaskToken = append(m.TaskToken[:0], dAtA[iNdEx:postIndex]...) + if m.TaskToken == nil { + m.TaskToken = []byte{} + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipWorkflow(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthWorkflow + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ResetPoints) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ResetPoints: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ResetPoints: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Points", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthWorkflow + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Points = append(m.Points, &ResetPointInfo{}) + if err := m.Points[len(m.Points)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipWorkflow(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthWorkflow + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ResetPointInfo) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ResetPointInfo: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ResetPointInfo: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field BinaryChecksum", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthWorkflow + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.BinaryChecksum = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RunId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthWorkflow + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.RunId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field FirstDecisionCompletedId", wireType) + } + m.FirstDecisionCompletedId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.FirstDecisionCompletedId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CreatedTime", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthWorkflow + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.CreatedTime == nil { + m.CreatedTime = &types.Timestamp{} + } + if err := m.CreatedTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ExpiringTime", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthWorkflow + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthWorkflow + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.ExpiringTime == nil { + m.ExpiringTime = &types.Timestamp{} + } + if err := m.ExpiringTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 6: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Resettable", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowWorkflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Resettable = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skipWorkflow(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthWorkflow + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func skipWorkflow(dAtA []byte) (n int, err error) { + l := len(dAtA) + iNdEx := 0 + depth := 0 + for iNdEx < l { + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowWorkflow + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + wireType := int(wire & 0x7) + switch wireType { + case 0: + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowWorkflow + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + iNdEx++ + if dAtA[iNdEx-1] < 0x80 { + break + } + } + case 1: + iNdEx += 8 + case 2: + var length int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowWorkflow + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + length |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if length < 0 { + return 0, ErrInvalidLengthWorkflow + } + iNdEx += length + case 3: + depth++ + case 4: + if depth == 0 { + return 0, ErrUnexpectedEndOfGroupWorkflow + } + depth-- + case 5: + iNdEx += 4 + default: + return 0, fmt.Errorf("proto: illegal wireType %d", wireType) + } + if iNdEx < 0 { + return 0, ErrInvalidLengthWorkflow + } + if depth == 0 { + return iNdEx, nil + } + } + return 0, io.ErrUnexpectedEOF +} + +var ( + ErrInvalidLengthWorkflow = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflowWorkflow = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroupWorkflow = fmt.Errorf("proto: unexpected end of group") +) diff --git a/go/proto/api/v1/workflow.pb.yarpc.go b/go/proto/api/v1/workflow.pb.yarpc.go new file mode 100644 index 0000000..ea5282f --- /dev/null +++ b/go/proto/api/v1/workflow.pb.yarpc.go @@ -0,0 +1,329 @@ +// The MIT License (MIT) +// +// Copyright (c) 2021 Uber Technologies, Inc. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +// SOFTWARE. + +// Code generated by protoc-gen-yarpc-go. DO NOT EDIT. +// source: uber/cadence/api/v1/workflow.proto + +package apiv1 + +var yarpcFileDescriptorClosure2775eefb5053680f = [][]byte{ + // uber/cadence/api/v1/workflow.proto + []byte{ + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 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74, 0x17, 0xee, 0xc4, 0xfa, + 0x42, 0xde, 0x36, 0x4c, 0xc3, 0x32, 0x14, 0xab, 0x82, 0x13, 0xf5, 0x9d, 0x08, 0x63, 0x03, 0xa9, + 0xe9, 0x38, 0xaa, 0xeb, 0x78, 0x18, 0xd6, 0x2d, 0x7c, 0x24, 0x5a, 0x21, 0x72, 0x98, 0xf1, 0x58, + 0x15, 0xb3, 0xf9, 0x16, 0xf3, 0x2f, 0x67, 0x8b, 0xbf, 0x97, 0x20, 0x27, 0xbe, 0x45, 0xf9, 0xa7, + 0x4a, 0x1e, 0x2e, 0xb3, 0x05, 0x56, 0xea, 0x96, 0x6d, 0x1d, 0x55, 0xf5, 0xc1, 0x1e, 0x1e, 0xb8, + 0xc3, 0xed, 0xc1, 0xb6, 0x2a, 0x51, 0x75, 0x22, 0x27, 0x19, 0x04, 0x88, 0xa7, 0x30, 0x0c, 0x07, + 0xcb, 0x99, 0x89, 0x98, 0x48, 0x27, 0x8b, 0xae, 0xc1, 0x95, 0x01, 0xcc, 0xbe, 0xae, 0x60, 0x6b, + 0x57, 0x57, 0x2c, 0x79, 0xa6, 0xf8, 0x1b, 0x09, 0xae, 0xc6, 0x4e, 0x68, 0xb1, 0x17, 0xab, 0xdb, + 0x26, 0xcd, 0x4a, 0x97, 0xaa, 0x4e, 0x37, 0x24, 0xe8, 0x01, 0xdc, 0xed, 0x79, 0x98, 0xa5, 0xd4, + 0xde, 0xf4, 0xf7, 0xca, 0x56, 0x15, 0x36, 0xdc, 0xfd, 0xd5, 0xa4, 0x42, 0x45, 0x0a, 0xb2, 0x84, + 0xee, 0xc3, 0x17, 0x93, 0xa1, 0x58, 0xaf, 0xe9, 0x96, 0x9c, 0x29, 0xfe, 0x23, 0x07, 0x1b, 0xc9, + 0xe4, 0xd8, 0x81, 0x9e, 0x34, 0xa3, 0xd4, 0xee, 0x41, 0x61, 0x50, 0x44, 0xf8, 0xdc, 0xc5, 0xbc, + 0x76, 0xe0, 0xe1, 0x04,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04, 0x93, 0x02, 0xa3, 0x06, 0x6b, 0x10, 0x84, 0xe3, 0xd4, 0xcc, 0xc8, 0x25, 0x9c, + 0x9c, 0x9f, 0xab, 0x87, 0x66, 0xa6, 0x13, 0x2f, 0xcc, 0xc4, 0x00, 0x90, 0x48, 0x00, 0x63, 0x94, + 0x21, 0x54, 0x45, 0x7a, 0x7e, 0x4e, 0x62, 0x5e, 0xba, 0x5e, 0x7e, 0x51, 0x3a, 0xc2, 0x81, 0x25, + 0x95, 0x05, 0xa9, 0xc5, 0xfa, 0xd9, 0x79, 0xf9, 0xe5, 0x79, 0x70, 0xc7, 0x16, 0x24, 0xfd, 0x60, + 0x64, 0x5c, 0xc4, 0xc4, 0xec, 0x1e, 0xe0, 0xb4, 0x8a, 0x49, 0xce, 0x1d, 0xa2, 0x39, 0x00, 0xaa, + 0x43, 0x2f, 0x3c, 0x35, 0x27, 0xc7, 0x1b, 0xa4, 0x3e, 0x04, 0xa4, 0x35, 0x89, 0x0d, 0x6c, 0x94, + 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0xef, 0x8a, 0xb4, 0xc3, 0xfb, 0x00, 0x00, 0x00, + }, + // google/protobuf/timestamp.proto + []byte{ + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4f, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x2f, 0x28, 0xca, 0x2f, 0xc9, 0x4f, 0x2a, 0x4d, 0xd3, 0x2f, 0xc9, 0xcc, 0x4d, + 0x2d, 0x2e, 0x49, 0xcc, 0x2d, 0xd0, 0x03, 0x0b, 0x09, 0xf1, 0x43, 0x14, 0xe8, 0xc1, 0x14, 0x28, + 0x59, 0x73, 0x71, 0x86, 0xc0, 0xd4, 0x08, 0x49, 0x70, 0xb1, 0x17, 0xa7, 0x26, 0xe7, 0xe7, 0xa5, + 0x14, 0x4b, 0x30, 0x2a, 0x30, 0x6a, 0x30, 0x07, 0xc1, 0xb8, 0x42, 0x22, 0x5c, 0xac, 0x79, 0x89, + 0x79, 0xf9, 0xc5, 0x12, 0x4c, 0x0a, 0x8c, 0x1a, 0xac, 0x41, 0x10, 0x8e, 0x53, 0x2b, 0x23, 0x97, + 0x70, 0x72, 0x7e, 0xae, 0x1e, 0x9a, 0xa1, 0x4e, 0x7c, 0x70, 0x23, 0x03, 0x40, 0x42, 0x01, 0x8c, + 0x51, 0x46, 0x50, 0x25, 0xe9, 0xf9, 0x39, 0x89, 0x79, 0xe9, 0x7a, 0xf9, 0x45, 0xe9, 0x48, 0x6e, + 0xac, 0x2c, 0x48, 0x2d, 0xd6, 0xcf, 0xce, 0xcb, 0x2f, 0xcf, 0x43, 0xb8, 0xb7, 0x20, 0xe9, 0x07, + 0x23, 0xe3, 0x22, 0x26, 0x66, 0xf7, 0x00, 0xa7, 0x55, 0x4c, 0x72, 0xee, 0x10, 0xdd, 0x01, 0x50, + 0x2d, 0x7a, 0xe1, 0xa9, 0x39, 0x39, 0xde, 0x20, 0x0d, 0x21, 0x20, 0xbd, 0x49, 0x6c, 0x60, 0xb3, + 0x8c, 0x01, 0x01, 0x00, 0x00, 0xff, 0xff, 0xae, 0x65, 0xce, 0x7d, 0xff, 0x00, 0x00, 0x00, + }, + // uber/cadence/api/v1/common.proto + []byte{ + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x55, 0x4f, 0x6f, 0xdb, 0x36, + 0x14, 0x9f, 0xe2, 0xda, 0x49, 0x9f, 0xdd, 0xd4, 0x63, 0xd6, 0xd4, 0xc9, 0xfe, 0x79, 0x06, 0x86, + 0x66, 0x3b, 0x48, 0x88, 0x7b, 0x29, 0x56, 0x14, 0x83, 0x13, 0x3b, 0xab, 0xda, 0x2d, 0x31, 0x64, + 0x23, 0xc1, 0x76, 0x98, 0x40, 0x4b, 0x4f, 0x2e, 0x67, 0x89, 0x14, 0x28, 0xca, 0x89, 0x6f, 0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3f, 0x9d, 0xd4, 0x8a, 0xda, 0xf3, 0xbf, 0x03, 0x00, + 0x00, 0xff, 0xff, 0xdc, 0x8c, 0x77, 0x9a, 0xc7, 0x06, 0x00, 0x00, + }, + // uber/cadence/api/v1/tasklist.proto + []byte{ + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x54, 0xdd, 0x6e, 0xdb, 0x36, + 0x14, 0x9e, 0xe2, 0xb4, 0x73, 0x98, 0x25, 0xd5, 0xb8, 0xb5, 0x8d, 0xdd, 0x75, 0xcb, 0x74, 0x51, + 0x04, 0xc5, 0x20, 0x21, 0x19, 0x76, 0xb5, 0x8b, 0xc1, 0x89, 0x83, 0x55, 0x88, 0xe3, 0x1a, 0x92, + 0x1a, 0x20, 0xbb, 0xe1, 0x28, 0xf1, 0xd4, 0x21, 0xf4, 0x43, 0x81, 0xa4, 0x92, 0xf8, 0x45, 0xf6, + 0x30, 0x7b, 0xa2, 0x3d, 0xc6, 0x40, 0x4a, 0xf6, 0xdc, 0xc4, 0xeb, 0x1d, 0x79, 0xbe, 0xf3, 0x9d, + 0x9f, 0x8f, 0xe7, 0x10, 0x79, 0x4d, 0x0a, 0x32, 0xc8, 0x28, 0x83, 0x2a, 0x83, 0x80, 0xd6, 0x3c, + 0xb8, 0x3d, 0x0e, 0x34, 0x55, 0x79, 0xc1, 0x95, 0xf6, 0x6b, 0x29, 0xb4, 0xc0, 0xdf, 0x18, 0x1f, + 0xbf, 0xf3, 0xf1, 0x69, 0xcd, 0xfd, 0xdb, 0xe3, 0xe1, 0xf7, 0x73, 0x21, 0xe6, 0x05, 0x04, 0xd6, + 0x25, 0x6d, 0x3e, 0x06, 0xac, 0x91, 0x54, 0x73, 0x51, 0xb5, 0xa4, 0xe1, 0x0f, 0x0f, 0x71, 0xcd, + 0x4b, 0x50, 0x9a, 0x96, 0x75, 0xe7, 0xf0, 0x28, 0xc0, 0x9d, 0xa4, 0x75, 0x0d, 0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c, 0xf9, 0x23, 0x98, + 0x73, 0x7d, 0xd3, 0xa4, 0x7e, 0x26, 0xca, 0xe0, 0x93, 0x6f, 0xd2, 0x9f, 0x43, 0xd5, 0xfe, 0x5b, + 0xdd, 0x8f, 0xf9, 0x2b, 0xad, 0xf9, 0xed, 0x71, 0xfa, 0xd4, 0xda, 0x7e, 0xfe, 0x37, 0x00, 0x00, + 0xff, 0xff, 0x58, 0x62, 0x2b, 0xbf, 0x55, 0x05, 0x00, 0x00, + }, + // google/protobuf/wrappers.proto + []byte{ + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4b, 0xcf, 0xcf, 0x4f, + 0xcf, 0x49, 0xd5, 0x2f, 0x28, 0xca, 0x2f, 0xc9, 0x4f, 0x2a, 0x4d, 0xd3, 0x2f, 0x2f, 0x4a, 0x2c, + 0x28, 0x48, 0x2d, 0x2a, 0xd6, 0x03, 0x8b, 0x08, 0xf1, 0x43, 0xe4, 0xf5, 0x60, 0xf2, 0x4a, 0xca, + 0x5c, 0xdc, 0x2e, 0xf9, 0xa5, 0x49, 0x39, 0xa9, 0x61, 0x89, 0x39, 0xa5, 0xa9, 0x42, 0x22, 0x5c, + 0xac, 0x65, 0x20, 0x86, 0x04, 0xa3, 0x02, 0xa3, 0x06, 0x63, 0x10, 0x84, 0xa3, 0xa4, 0xc4, 0xc5, + 0xe5, 0x96, 0x93, 0x9f, 0x58, 0x82, 0x45, 0x0d, 0x13, 0x92, 0x1a, 0xcf, 0xbc, 0x12, 0x33, 0x13, + 0x2c, 0x6a, 0x98, 0x61, 0x6a, 0x94, 0xb9, 0xb8, 0x43, 0x71, 0x29, 0x62, 0x41, 0x35, 0xc8, 0xd8, + 0x08, 0x8b, 0x1a, 0x56, 0x34, 0x83, 0xb0, 0x2a, 0xe2, 0x85, 0x29, 0x52, 0xe4, 0xe2, 0x74, 0xca, + 0xcf, 0xcf, 0xc1, 0xa2, 0x84, 0x03, 0xc9, 0x9c, 0xe0, 0x92, 0xa2, 0xcc, 0xbc, 0x74, 0x2c, 0x8a, + 0x38, 0x91, 0x1c, 0xe4, 0x54, 0x59, 0x92, 0x5a, 0x8c, 0x45, 0x0d, 0x0f, 0x54, 0x8d, 0x53, 0x33, + 0x23, 0x97, 0x70, 0x72, 0x7e, 0xae, 0x1e, 0x5a, 0xf0, 0x3a, 0xf1, 0x86, 0x43, 0xc3, 0x3f, 0x00, + 0x24, 0x12, 0xc0, 0x18, 0x65, 0x08, 0x55, 0x91, 0x9e, 0x9f, 0x93, 0x98, 0x97, 0xae, 0x97, 0x5f, + 0x94, 0x8e, 0x88, 0xab, 0x92, 0xca, 0x82, 0xd4, 0x62, 0xfd, 0xec, 0xbc, 0xfc, 0xf2, 0x3c, 0x78, + 0xbc, 0x15, 0x24, 0xfd, 0x60, 0x64, 0x5c, 0xc4, 0xc4, 0xec, 0x1e, 0xe0, 0xb4, 0x8a, 0x49, 0xce, + 0x1d, 0xa2, 0x39, 0x00, 0xaa, 0x43, 0x2f, 0x3c, 0x35, 0x27, 0xc7, 0x1b, 0xa4, 0x3e, 0x04, 0xa4, + 0x35, 0x89, 0x0d, 0x6c, 0x94, 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0x3c, 0x92, 0x48, 0x30, 0x06, + 0x02, 0x00, 0x00, + }, +}